2019-06-11 22:24:35 +00:00
|
|
|
source "https://rubygems.org"
|
2019-01-08 22:13:23 +00:00
|
|
|
|
2019-06-11 22:24:35 +00:00
|
|
|
gem "inspec", path: "."
|
2019-04-29 23:37:55 +00:00
|
|
|
|
|
|
|
# This dependency is NOT used for normal gem deployment
|
|
|
|
# - instead, inspec-bin gemspec-depends on inspec
|
|
|
|
#
|
|
|
|
# However, AppBundler requires a top-level Gemfile.lock with inspec-bin
|
|
|
|
# in it in order to package the executable. Hence the odd backwards dependency.
|
2019-06-11 22:24:35 +00:00
|
|
|
gem "inspec-bin", path: "./inspec-bin"
|
2015-06-19 13:06:13 +00:00
|
|
|
|
2021-01-06 16:18:21 +00:00
|
|
|
gem "ffi", ">= 1.9.14", "!= 1.13.0", "!= 1.14.2"
|
2016-07-06 00:41:01 +00:00
|
|
|
|
2020-11-30 20:41:26 +00:00
|
|
|
if Gem.ruby_version.to_s.start_with?("2.5")
|
|
|
|
# 16.7.23 required ruby 2.6+
|
|
|
|
gem "chef-utils", "< 16.7.23" # TODO: remove when we drop ruby 2.5
|
|
|
|
end
|
|
|
|
|
2021-01-12 21:51:17 +00:00
|
|
|
# inspec tests depend text output that changed in the 3.10 release
|
|
|
|
# but our runtime dep is still 3.9+
|
|
|
|
gem "rspec", ">= 3.10"
|
|
|
|
|
2019-03-02 01:39:39 +00:00
|
|
|
group :omnibus do
|
2019-06-11 22:24:35 +00:00
|
|
|
gem "rb-readline"
|
|
|
|
gem "appbundler"
|
|
|
|
gem "ed25519" # ed25519 ssh key support done here as its a native gem we can't put in the gemspec
|
|
|
|
gem "bcrypt_pbkdf" # ed25519 ssh key support done here as its a native gem we can't put in the gemspec
|
2019-03-02 01:39:39 +00:00
|
|
|
end
|
|
|
|
|
2015-09-18 20:51:18 +00:00
|
|
|
group :test do
|
2021-05-06 08:29:36 +00:00
|
|
|
gem "chefstyle", "~> 2.0.3"
|
2019-06-11 22:24:35 +00:00
|
|
|
gem "concurrent-ruby", "~> 1.0"
|
2020-12-01 22:17:12 +00:00
|
|
|
gem "html-proofer", platforms: :ruby # do not attempt to run proofer on windows
|
2021-03-01 08:56:28 +00:00
|
|
|
gem "json_schemer", ">= 0.2.1", "< 0.2.19"
|
2020-12-01 22:17:12 +00:00
|
|
|
gem "m"
|
|
|
|
gem "minitest-sprint", "~> 1.0"
|
|
|
|
gem "minitest", "~> 5.5"
|
2019-06-11 22:24:35 +00:00
|
|
|
gem "mocha", "~> 1.1"
|
2020-12-01 22:17:12 +00:00
|
|
|
gem "nokogiri", "~> 1.9"
|
|
|
|
gem "pry-byebug"
|
|
|
|
gem "pry", "~> 0.10"
|
|
|
|
gem "rake", ">= 10"
|
2019-06-11 22:24:35 +00:00
|
|
|
gem "ruby-progressbar", "~> 1.8"
|
2020-12-16 07:37:05 +00:00
|
|
|
gem "simplecov", "~> 0.18"
|
2019-06-11 22:24:35 +00:00
|
|
|
gem "webmock", "~> 3.0"
|
2015-09-18 20:51:18 +00:00
|
|
|
end
|
2015-09-18 06:06:11 +00:00
|
|
|
|
2016-09-27 18:00:01 +00:00
|
|
|
group :deploy do
|
2019-06-11 22:24:35 +00:00
|
|
|
gem "inquirer"
|
2020-12-10 16:40:03 +00:00
|
|
|
end
|
2021-05-03 01:53:24 +00:00
|
|
|
|
|
|
|
# Only include Test Kitchen support if we are on Ruby 2.7 or higher
|
|
|
|
# as chef-zero support requires Ruby 2.6
|
|
|
|
# See https://github.com/inspec/inspec/pull/5341
|
|
|
|
if Gem.ruby_version >= Gem::Version.new("2.7.0")
|
|
|
|
group :kitchen do
|
|
|
|
gem "berkshelf"
|
2021-06-14 17:36:24 +00:00
|
|
|
gem "chef", ">= 16.0" # Required to allow net-ssh > 6
|
2021-05-03 01:53:24 +00:00
|
|
|
gem "test-kitchen", ">= 2.8"
|
|
|
|
gem "kitchen-inspec", ">= 2.0"
|
|
|
|
gem "kitchen-dokken", ">= 2.11"
|
|
|
|
gem "git"
|
|
|
|
end
|
|
|
|
end
|