From a1d0c048df2a4bd9fd85bd241fbf343f04ee2ae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 8 Nov 2023 12:37:24 +0100 Subject: [rubygems/rubygems] Fix daily Bundler CI Daily Bundler CI against ruby-head is failing because ruby-head now uses bigdecimal 3.1.5, so that gets locked by this spec. This change should make the test stable until bigdecimal 99.1.5 is bundled with Ruby :) https://github.com/rubygems/rubygems/commit/830326041f --- spec/bundler/commands/lock_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') diff --git a/spec/bundler/commands/lock_spec.rb b/spec/bundler/commands/lock_spec.rb index fa89b98c8d..fd2462d4f3 100644 --- a/spec/bundler/commands/lock_spec.rb +++ b/spec/bundler/commands/lock_spec.rb @@ -387,7 +387,7 @@ RSpec.describe "bundle lock" do build_gem "sequel", "5.72.0" do |s| s.add_dependency "bigdecimal", ">= 0" end - build_gem "bigdecimal", %w[1.4.4 3.1.4] + build_gem "bigdecimal", %w[1.4.4 99.1.4] end gemfile <<~G @@ -417,7 +417,7 @@ RSpec.describe "bundle lock" do it "adds the latest version of the new dependency" do bundle "lock --minor --update sequel" - expect(the_bundle.locked_gems.specs.map(&:full_name)).to eq(%w[sequel-5.72.0 bigdecimal-3.1.4].sort) + expect(the_bundle.locked_gems.specs.map(&:full_name)).to eq(%w[sequel-5.72.0 bigdecimal-99.1.4].sort) end end -- cgit v1.2.3