diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2021-03-18 10:26:11 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2021-03-18 10:26:11 -0700 |
commit | e21142b3b66392e19e6fe08e31f7499607420897 (patch) | |
tree | 05152caa9967845321fb4d110af462bc0eebc77d /spec/unit/node/attribute_spec.rb | |
parent | 12265fccc388abe416d89e1f06df546d6b024747 (diff) | |
download | chef-lcg/ruby-3.0.tar.gz |
ruby 3.0 fixes and post-bundle-install hooklcg/ruby-3.0
Mostly this is all fixes necessary for ruby 3.0
There's the addition of the appbundle hook which lets us better pull
git gems into appbundler
Note carefully how after adding the post-bundle-install.rb that
trying to pre appbundle-update ohai pulls in chef/chef as bundle
installed git gem which fails to install so we go back to only
using one appbundle-update on chef/chef and removing the chef/ohai
one (which may fix other bugs).
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/node/attribute_spec.rb')
-rw-r--r-- | spec/unit/node/attribute_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/node/attribute_spec.rb b/spec/unit/node/attribute_spec.rb index 6e78725bd9..e73d449225 100644 --- a/spec/unit/node/attribute_spec.rb +++ b/spec/unit/node/attribute_spec.rb @@ -898,7 +898,7 @@ describe Chef::Node::Attribute do end end - describe "index" do + describe "index", ruby: "< 3.0.0" do # Hash#index is deprecated and triggers warnings. def silence old_verbose = $VERBOSE |