2023-08-17 21:45:12 +00:00
|
|
|
# For Chef internal builds, allows preview versions of gems if available.
|
|
|
|
if ENV["ARTIFACTORY_BASE_URL"]
|
2023-08-30 23:26:13 +00:00
|
|
|
source ENV["ARTIFACTORY_BASE_URL"] + "/artifactory/api/gems/omnibus-gems-local/" do
|
|
|
|
# TODO: either fully populate this list, or revert back to non-block format
|
|
|
|
# to sweep all Chef gems from Artifactory.
|
|
|
|
gem "chef-licensing"
|
|
|
|
end
|
2023-08-17 21:45:12 +00:00
|
|
|
end
|
|
|
|
|
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
|
2023-02-24 10:05: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-02-24 09:33:59 +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
|