-
Notifications
You must be signed in to change notification settings - Fork 0
/
fluent-plugin-shodan.gemspec
53 lines (47 loc) · 1.6 KB
/
fluent-plugin-shodan.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
# encoding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |s|
s.name = 'fluent-plugin-shodan'
s.version = '0.0.3'
s.required_rubygems_version = Gem::Specification.new('>=0') if s.respond_to? :required_rubygems_version=
s.authors = ['srilumpa']
s.date = Time.new.strftime('%Y-%m-%d')
s.email = '[email protected]'
s.license = 'Apache-2.0'
s.homepage = 'https://github.com/srilumpa/fluent-plugin-shodan'
s.summary = 'Fluentd plugin to extract data from Shodan'
s.extra_rdoc_files = [
'README.md'
]
s.files = [
'AUTHORS',
'VERSION',
'lib/fluent/plugin/in_shodan_alert.rb',
'lib/fluent/plugin/in_shodan_search.rb'
]
s.test_files = [
'test/test_in_shodan_alert.rb',
'test/test_in_shodan_search.rb'
]
s.require_paths = ['lib']
if s.respond_to? :specification_version
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0')
s.add_runtime_dependency('fluentd', ['>= 0.12.0', '< 2'])
s.add_runtime_dependency('shodanz', ['~> 2.0'])
s.add_runtime_dependency('io-console')
else
s.add_dependency('fluentd', ['>= 0.12.0', '< 2'])
s.add_dependency('shodanz', ['~> 2.0'])
s.add_dependency('io-console')
end
else
s.add_dependency('fluentd', ['>= 0.12.0', '< 2'])
s.add_dependency('shodanz', ['~> 2.0'])
s.add_dependency('io-console')
end
s.add_development_dependency 'bundler', '~> 2'
s.add_development_dependency 'rake', '~> 13'
s.add_development_dependency 'test-unit', '~> 3.5'
end