summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-01-28 23:47:29 -0800
committerGitHub <noreply@github.com>2019-01-28 23:47:29 -0800
commit173b57aa854907921a6f205b31ced351122c80a8 (patch)
treedb2d87973c32faddf97dc2d97139cd8a1c1d281a
parentfad2d09ca9d06dd98dd726c6ab622f46e7085995 (diff)
parent96473006eb6c22b89098fbbe10ade6235d280661 (diff)
downloadchef-173b57aa854907921a6f205b31ced351122c80a8.tar.gz
Merge pull request #8174 from chef/bump_rubygems
Update Rubygems to 3.0.2
-rw-r--r--.travis.yml4
-rw-r--r--omnibus_overrides.rb2
-rw-r--r--spec/unit/knife/bootstrap_spec.rb1
3 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 70e02c3613..9f944415fb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -376,6 +376,10 @@ matrix:
env:
- RSPEC_OPENSUSELEAP=42
- KITCHEN_YAML=kitchen.travis.yml
+ - env:
+ TEST_GEM: poise/halite
+ script: bundle exec tasks/bin/run_external_test $TEST_GEM master rake spec
+ rvm: 2.5.3
notifications:
on_change: true
diff --git a/omnibus_overrides.rb b/omnibus_overrides.rb
index c5775d5264..92aba60f2a 100644
--- a/omnibus_overrides.rb
+++ b/omnibus_overrides.rb
@@ -4,7 +4,7 @@
#
# NOTE: You MUST update omnibus-software when adding new versions of
# software here: bundle exec rake dependencies:update_omnibus_gemfile_lock
-override :rubygems, version: "2.7.7"
+override :rubygems, version: "3.0.2"
override :bundler, version: "1.17.3"
override "nokogiri", version: "1.10.1"
override "libffi", version: "3.2.1"
diff --git a/spec/unit/knife/bootstrap_spec.rb b/spec/unit/knife/bootstrap_spec.rb
index 624261fb8b..258d193cf1 100644
--- a/spec/unit/knife/bootstrap_spec.rb
+++ b/spec/unit/knife/bootstrap_spec.rb
@@ -442,6 +442,7 @@ describe Chef::Knife::Bootstrap do
end
it "doesn't create /etc/chef/trusted_certs if :trusted_certs_dir is empty" do
+ allow(Dir).to receive(:glob).and_call_original
expect(Dir).to receive(:glob).with(File.join(trusted_certs_dir, "*.{crt,pem}")).and_return([])
expect(rendered_template).not_to match(%r{mkdir -p /etc/chef/trusted_certs})
end