2015-06-07 17:50:15 +00:00
lib = File . expand_path ( '../lib' , __FILE__ )
$LOAD_PATH . unshift ( lib ) unless $LOAD_PATH . include? ( lib )
2015-10-26 03:04:18 +00:00
require 'inspec/version'
2015-06-07 17:50:15 +00:00
Gem :: Specification . new do | spec |
2015-10-26 03:04:18 +00:00
spec . name = 'inspec'
spec . version = Inspec :: VERSION
2015-09-03 21:18:28 +00:00
spec . authors = [ 'Dominik Richter' ]
2015-10-26 03:04:18 +00:00
spec . email = [ 'dominik.richter@gmail.com' ]
2016-01-16 00:59:38 +00:00
spec . summary = 'Infrastructure and compliance testing.'
spec . description = 'InSpec provides a framework for creating end-to-end infrastructure tests. You can use it for integration or even compliance testing. Create fully portable test profiles and use them in your workflow to ensure stability and security. Integrate InSpec in your change lifecycle for local testing, CI/CD, and deployment verification.'
2018-10-08 13:34:04 +00:00
spec . homepage = 'https://github.com/inspec/inspec'
2016-02-28 03:24:21 +00:00
spec . license = 'Apache-2.0'
2015-06-07 17:50:15 +00:00
2018-12-12 16:23:19 +00:00
# the gemfile and gemspec are necessary for appbundler so don't remove it
spec . files = %w{ Gemfile inspec.gemspec README.md LICENSE } + Dir . glob (
2018-10-12 03:25:01 +00:00
'{bin,lib,etc}/**/*' , File :: FNM_DOTMATCH
2015-11-12 23:47:01 +00:00
) . reject { | f | File . directory? ( f ) }
2015-06-07 17:50:15 +00:00
spec . test_files = spec . files . grep ( %r{ ^(test|spec|features)/ } )
2019-03-31 21:32:20 +00:00
. reject { | f | File . directory? ( f ) || f =~ %r{ lib/plugins/.*/test/ } }
2015-09-03 21:18:28 +00:00
spec . require_paths = [ 'lib' ]
2015-06-07 17:50:15 +00:00
2019-04-17 04:21:46 +00:00
spec . required_ruby_version = '>= 2.4'
2017-03-27 16:59:56 +00:00
2019-02-20 17:56:42 +00:00
spec . add_dependency 'train' , '~> 2.0' # Inspec 4 must have train 2+
2019-04-01 19:10:16 +00:00
# Train plugins we ship with InSpec
spec . add_dependency 'train-habitat' , '~> 0.1'
2019-02-20 17:56:42 +00:00
spec . add_dependency 'train-aws' , '~> 0.1'
2019-04-01 19:10:16 +00:00
# Implementation dependencies
2019-04-25 19:54:09 +00:00
spec . add_dependency 'license-acceptance' , '>= 0.2.13' , '< 2.0'
2018-03-21 17:44:28 +00:00
spec . add_dependency 'thor' , '~> 0.20'
2016-08-23 21:35:20 +00:00
spec . add_dependency 'json' , '>= 1.8' , '< 3.0'
2015-08-10 00:01:11 +00:00
spec . add_dependency 'method_source' , '~> 0.8'
2018-09-12 20:41:17 +00:00
spec . add_dependency 'rubyzip' , '~> 1.2' , '>= 1.2.2'
2016-04-17 00:32:16 +00:00
spec . add_dependency 'rspec' , '~> 3'
2015-09-08 11:45:19 +00:00
spec . add_dependency 'rspec-its' , '~> 1.2'
2015-11-03 09:15:20 +00:00
spec . add_dependency 'pry' , '~> 0'
2016-05-06 15:38:56 +00:00
spec . add_dependency 'hashie' , '~> 3.4'
2016-08-23 11:09:57 +00:00
spec . add_dependency 'mixlib-log'
2017-04-20 13:00:45 +00:00
spec . add_dependency 'sslshake' , '~> 1.2'
2016-09-06 20:45:52 +00:00
spec . add_dependency 'parallel' , '~> 1.9'
2017-02-02 21:13:03 +00:00
spec . add_dependency 'faraday' , '>=0.9.0'
2018-12-12 16:44:16 +00:00
spec . add_dependency 'tty-table' , '~> 0.10'
spec . add_dependency 'tty-prompt' , '~> 0.17'
2018-05-16 19:20:25 +00:00
# Used for Azure profile until integrated into train
spec . add_dependency 'faraday_middleware' , '~> 0.12.2'
2017-11-08 10:41:00 +00:00
spec . add_dependency 'tomlrb' , '~> 1.2'
2017-04-04 18:51:19 +00:00
spec . add_dependency 'addressable' , '~> 2.4'
2017-04-05 14:09:03 +00:00
spec . add_dependency 'parslet' , '~> 1.5'
2017-05-18 12:20:10 +00:00
spec . add_dependency 'semverse'
2017-06-29 15:01:32 +00:00
spec . add_dependency 'htmlentities'
2018-09-07 18:25:31 +00:00
spec . add_dependency 'multipart-post'
2018-09-25 14:29:18 +00:00
spec . add_dependency 'term-ansicolor'
2015-06-07 17:50:15 +00:00
end