-
Notifications
You must be signed in to change notification settings - Fork 60
/
logstash-integration-kafka.gemspec
58 lines (50 loc) · 2.08 KB
/
logstash-integration-kafka.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Gem::Specification.new do |s|
s.name = 'logstash-integration-kafka'
s.version = '11.5.3'
s.licenses = ['Apache-2.0']
s.summary = "Integration with Kafka - input and output plugins"
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline "+
"using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program."
s.authors = ["Elastic"]
s.email = '[email protected]'
s.homepage = "http://www.elastic.co/guide/en/logstash/current/index.html"
s.require_paths = ['lib', 'vendor/jar-dependencies']
# Files
s.files = Dir.glob(%w(
lib/**/*
spec/**/*
*.gemspec
*.md
CONTRIBUTORS
Gemfile
LICENSE
NOTICE.TXT
vendor/jar-dependencies/**/*.jar
vendor/jar-dependencies/**/*.rb
VERSION docs/**/*
))
# Tests
s.test_files = s.files.grep(%r{^(test|spec|features)/})
# Special flag to let us know this is actually a logstash plugin
s.metadata = {
"logstash_plugin" => "true",
"logstash_group" => "integration",
"integration_plugins" => "logstash-input-kafka,logstash-output-kafka"
}
s.add_development_dependency 'jar-dependencies', '>= 0.3.12'
s.platform = RUBY_PLATFORM
# Gem dependencies
s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
s.add_runtime_dependency "logstash-core", ">= 8.3.0"
s.add_runtime_dependency 'logstash-codec-json'
s.add_runtime_dependency 'logstash-codec-plain'
s.add_runtime_dependency 'stud', '>= 0.0.22', '< 0.1.0'
s.add_runtime_dependency "manticore", '>= 0.5.4', '< 1.0.0'
s.add_runtime_dependency 'logstash-mixin-deprecation_logger_support', '~>1.0'
s.add_development_dependency 'logstash-devutils'
s.add_development_dependency 'logstash-codec-line'
s.add_development_dependency 'rspec-wait'
s.add_development_dependency 'digest-crc', '~> 0.5.1' # 0.6.0 started using a C-ext
s.add_development_dependency 'ruby-kafka' # depends on digest-crc
s.add_development_dependency 'snappy'
end