forked from mitre/inspec_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinspec_tools.gemspec
More file actions
46 lines (40 loc) · 1.96 KB
/
inspec_tools.gemspec
File metadata and controls
46 lines (40 loc) · 1.96 KB
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
# coding: utf-8
# rubocop:disable Style/GuardClause
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'inspec_tools/version'
Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
spec.name = 'inspec_tools'
spec.version = InspecTools::VERSION
spec.authors = ['Robert Thew', 'Matthew Dromazos', 'Rony Xavier', 'Aaron Lippold']
spec.email = ['rthew@mitre.org']
spec.summary = 'Converter utils for Inspec'
spec.description = 'Converter utils for Inspec that can be included as a gem or used from the command line'
spec.homepage = 'https://github.com/mitre/inspec_tools'
spec.license = 'Apache-2.0'
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
else
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
end
spec.files = Dir.glob('{lib,test,exe}/**/*') + %w{CHANGELOG.md Guardfile LICENSE.md Rakefile README.md}
spec.bindir = 'exe'
spec.executables << 'inspec_tools'
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.add_dependency 'colorize', '~> 0'
spec.add_dependency 'inspec', '~> 3.0'
spec.add_dependency 'nokogiri', '~> 1.8'
spec.add_dependency 'nokogiri-happymapper', '~> 0'
spec.add_dependency 'OptionParser', '~> 0'
spec.add_dependency 'pdf-reader', '~> 2.1', '>= 2.1.0'
spec.add_dependency 'roo', '~> 2.7'
spec.add_dependency 'thor', '~> 0.19'
spec.add_dependency 'word_wrap', '~> 1.0', '~> 1.0.0'
spec.add_development_dependency 'bundler', '~> 2.0'
spec.add_development_dependency 'minitest', '~> 5.0'
spec.add_development_dependency 'pry', '~> 0'
spec.add_dependency 'rake', '~> 10.0'
end