summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2025-03-12 19:26:06 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-03-24 13:25:07 +0900
commitafda30774c8165428ca886945889c8747c66e599 (patch)
treebaa47b84feb31729da64690ce7c7266ea0f6f962
parent4e1df25b158f35d0aef09ce6e6fd278392cc8230 (diff)
[rubygems/rubygems] Reword log message about current platform being missing
It reads better this way I think. https://github.com/rubygems/rubygems/commit/ce9743290d
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12968
-rw-r--r--lib/bundler/definition.rb2
-rw-r--r--spec/bundler/commands/install_spec.rb2
-rw-r--r--spec/bundler/runtime/setup_spec.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index 287037aa2f..9db2ff04a1 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -810,7 +810,7 @@ module Bundler
[
[@source_changes, "the list of sources changed"],
[@dependency_changes, "the dependencies in your gemfile changed"],
- [@current_platform_missing, "your lockfile does not include the current platform"],
+ [@current_platform_missing, "your lockfile is missing the current platform"],
[@new_platforms.any?, "you are adding a new platform to your lockfile"],
[@path_changes, "the gemspecs for path gems changed"],
[@local_changes, "the gemspecs for git local gems changed"],
diff --git a/spec/bundler/commands/install_spec.rb b/spec/bundler/commands/install_spec.rb
index b6b4bbcb28..630909d7ce 100644
--- a/spec/bundler/commands/install_spec.rb
+++ b/spec/bundler/commands/install_spec.rb
@@ -1368,7 +1368,7 @@ RSpec.describe "bundle install with gem sources" do
it "adds the current platform to the lockfile" do
bundle "install --verbose"
- expect(out).to include("re-resolving dependencies because your lockfile does not include the current platform")
+ expect(out).to include("re-resolving dependencies because your lockfile is missing the current platform")
expect(out).not_to include("you are adding a new platform to your lockfile")
expect(lockfile).to eq <<~L
diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb
index fd7b38b05d..200d30302d 100644
--- a/spec/bundler/runtime/setup_spec.rb
+++ b/spec/bundler/runtime/setup_spec.rb
@@ -1683,7 +1683,7 @@ end
RUBY
end
- expect(err).to include("Your lockfile does not include the current platform, but can't be updated because file system is read-only")
+ expect(err).to include("Your lockfile is missing the current platform, but can't be updated because file system is read-only")
end
end
end