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
|
|
|
|
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
|
2022-11-29 17:13:49 +00:00
|
|
|
gem "chefstyle", "~> 2.2.2"
|
2019-06-11 22:24:35 +00:00
|
|
|
gem "concurrent-ruby", "~> 1.0"
|
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"
|
2022-06-27 15:37:30 +00:00
|
|
|
gem "minitest", "5.15.0"
|
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"
|
2022-02-07 03:09:38 +00:00
|
|
|
gem "simplecov", "~> 0.21"
|
|
|
|
gem "simplecov_json_formatter"
|
2019-06-11 22:24:35 +00:00
|
|
|
gem "webmock", "~> 3.0"
|
2023-04-04 13:59:43 +00:00
|
|
|
|
|
|
|
if Gem.ruby_version >= Gem::Version.new("3.0.0")
|
|
|
|
# html-proofer has a dep on io-event, which is ruby-3 only
|
|
|
|
gem "html-proofer", "~> 3.19.4", platforms: :ruby # do not attempt to run proofer on windows. Pinned to 3.19.4 as test is breaking in updated versions.
|
|
|
|
end
|
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
|
2021-12-16 08:16:24 +00:00
|
|
|
|
|
|
|
if Gem.ruby_version < Gem::Version.new("2.7.0")
|
|
|
|
gem "activesupport", "6.1.4.4"
|
|
|
|
end
|