2023-08-17 17:45:12 -04:00
|
|
|
# For Chef internal builds, allows preview versions of gems if available.
|
|
|
|
if ENV["ARTIFACTORY_BASE_URL"]
|
2023-08-30 19:26:13 -04: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 17:45:12 -04:00
|
|
|
end
|
|
|
|
|
2019-06-11 15:24:35 -07:00
|
|
|
source "https://rubygems.org"
|
2019-01-08 14:13:23 -08:00
|
|
|
|
2019-06-11 15:24:35 -07:00
|
|
|
gem "inspec", path: "."
|
2019-04-29 19:37:55 -04: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 15:24:35 -07:00
|
|
|
gem "inspec-bin", path: "./inspec-bin"
|
2015-06-19 15:06:13 +02:00
|
|
|
|
2021-01-06 11:18:21 -05:00
|
|
|
gem "ffi", ">= 1.9.14", "!= 1.13.0", "!= 1.14.2"
|
2016-07-06 02:41:01 +02:00
|
|
|
|
2021-01-12 13:51:17 -08: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-01 17:39:39 -08:00
|
|
|
group :omnibus do
|
2019-06-11 15:24:35 -07: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-01 17:39:39 -08:00
|
|
|
end
|
|
|
|
|
2015-09-18 22:51:18 +02:00
|
|
|
group :test do
|
2023-02-24 15:35:49 +05:30
|
|
|
gem "chefstyle", "~> 2.2.2"
|
2019-06-11 15:24:35 -07:00
|
|
|
gem "concurrent-ruby", "~> 1.0"
|
2023-09-29 15:49:52 +05:30
|
|
|
gem "json_schemer", ">= 0.2.1", "< 2.0.1"
|
2020-12-01 14:17:12 -08:00
|
|
|
gem "m"
|
|
|
|
gem "minitest-sprint", "~> 1.0"
|
2022-06-27 21:07:30 +05:30
|
|
|
gem "minitest", "5.15.0"
|
2019-06-11 15:24:35 -07:00
|
|
|
gem "mocha", "~> 1.1"
|
2020-12-01 14:17:12 -08:00
|
|
|
gem "nokogiri", "~> 1.9"
|
|
|
|
gem "pry-byebug"
|
|
|
|
gem "pry", "~> 0.10"
|
|
|
|
gem "rake", ">= 10"
|
2022-02-06 22:09:38 -05:00
|
|
|
gem "simplecov", "~> 0.21"
|
|
|
|
gem "simplecov_json_formatter"
|
2019-06-11 15:24:35 -07:00
|
|
|
gem "webmock", "~> 3.0"
|
2023-02-24 15:03:59 +05:30
|
|
|
|
|
|
|
if Gem.ruby_version >= Gem::Version.new("3.0.0")
|
|
|
|
# html-proofer has a dep on io-event, which is ruby-3 only
|
2023-09-29 16:50:16 +05:30
|
|
|
gem "html-proofer", "~> 5.0.8", platforms: :ruby # do not attempt to run proofer on windows. Pinned to 3.19.4 as test is breaking in updated versions.
|
2023-02-24 15:03:59 +05:30
|
|
|
end
|
2015-09-18 22:51:18 +02:00
|
|
|
end
|
2015-09-18 08:06:11 +02:00
|
|
|
|
2016-09-27 14:00:01 -04:00
|
|
|
group :deploy do
|
2019-06-11 15:24:35 -07:00
|
|
|
gem "inquirer"
|
2020-12-10 11:40:03 -05:00
|
|
|
end
|