-
Notifications
You must be signed in to change notification settings - Fork 198
/
Copy pathrecog-content.gemspec
46 lines (40 loc) · 1.6 KB
/
recog-content.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
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = 'recog-content'
s.version = '0.0.1'
s.required_ruby_version = '>= 2.5'
s.authors = [
'Rapid7 Research'
]
s.email = [
]
s.homepage = 'https://www.github.com/rapid7/recog'
s.summary = 'Network service fingerprint database and utilities'
s.description = '
recog-content is the Recog fingerprint database and management utilities. Recog is a framework for
identifying products, services, operating systems, and hardware by matching fingerprints against
datareturned from various network probes. Recog makes it simply to extract useful information from
web server banners, snmp system description fields, and a whole lot more.
'.gsub(/\s+/, ' ').strip
s.files = %w[Gemfile Rakefile COPYING LICENSE README.md recog-content.gemspec .yardopts] +
Dir.glob('bin/*') +
Dir.glob('features**/*') +
Dir.glob('xml/*')
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.executables = s.files.grep(%r{^bin/}).map { |f| File.basename(f) }
# ---- Dependencies ----
s.add_development_dependency 'rspec'
s.add_development_dependency 'yard'
if RUBY_PLATFORM =~ /java/
# markdown formatting for yard
s.add_development_dependency 'kramdown'
else
# markdown formatting for yard
s.add_development_dependency 'redcarpet'
end
s.add_development_dependency 'aruba'
s.add_development_dependency 'cucumber'
s.add_development_dependency 'simplecov'
s.add_runtime_dependency 'recog'
end