mirror of
https://github.com/inspec/inspec
synced 2025-02-16 14:08:36 +00:00
Another attempt with use of source block
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
This commit is contained in:
parent
ee8d449527
commit
ee2b2a41fd
1 changed files with 51 additions and 52 deletions
103
Gemfile
103
Gemfile
|
@ -1,54 +1,53 @@
|
|||
source "https://rubygems.org" do
|
||||
gem "inspec", path: "."
|
||||
|
||||
# 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.
|
||||
gem "inspec-bin", path: "./inspec-bin"
|
||||
|
||||
gem "ffi", ">= 1.9.14", "!= 1.13.0", "!= 1.14.2"
|
||||
|
||||
# inspec tests depend text output that changed in the 3.10 release
|
||||
# but our runtime dep is still 3.9+
|
||||
gem "rspec", ">= 3.10"
|
||||
|
||||
group :omnibus do
|
||||
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
|
||||
end
|
||||
|
||||
group :test do
|
||||
gem "chefstyle"
|
||||
gem "concurrent-ruby"
|
||||
gem "json_schemer"
|
||||
gem "m"
|
||||
gem "minitest-sprint", "~> 1.0"
|
||||
gem "minitest", "5.15.0"
|
||||
gem "mocha"
|
||||
gem "nokogiri"
|
||||
gem "pry-byebug"
|
||||
gem "pry"
|
||||
gem "rake"
|
||||
gem "simplecov"
|
||||
gem "simplecov_json_formatter"
|
||||
gem "webmock"
|
||||
end
|
||||
|
||||
group :deploy do
|
||||
gem "inquirer"
|
||||
end
|
||||
end
|
||||
|
||||
# For Chef internal builds, allows preview versions of gems if available.
|
||||
# if ENV["ARTIFACTORY_BASE_URL"]
|
||||
# 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
|
||||
# end
|
||||
gem "chef-licensing", source: "#{ENV["ARTIFACTORY_BASE_URL"]}/artifactory/api/gems/omnibus-gems-local/"
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "inspec", path: "."
|
||||
|
||||
# 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.
|
||||
gem "inspec-bin", path: "./inspec-bin"
|
||||
|
||||
gem "ffi", ">= 1.9.14", "!= 1.13.0", "!= 1.14.2"
|
||||
|
||||
# inspec tests depend text output that changed in the 3.10 release
|
||||
# but our runtime dep is still 3.9+
|
||||
gem "rspec", ">= 3.10"
|
||||
|
||||
group :omnibus do
|
||||
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
|
||||
end
|
||||
|
||||
group :test do
|
||||
gem "chefstyle"
|
||||
gem "concurrent-ruby"
|
||||
gem "json_schemer"
|
||||
gem "m"
|
||||
gem "minitest-sprint", "~> 1.0"
|
||||
gem "minitest", "5.15.0"
|
||||
gem "mocha"
|
||||
gem "nokogiri"
|
||||
gem "pry-byebug"
|
||||
gem "pry"
|
||||
gem "rake"
|
||||
gem "simplecov"
|
||||
gem "simplecov_json_formatter"
|
||||
gem "webmock"
|
||||
end
|
||||
|
||||
group :deploy do
|
||||
gem "inquirer"
|
||||
if ENV["ARTIFACTORY_BASE_URL"]
|
||||
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
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue