summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2025-03-14 18:34:32 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-03-24 13:25:07 +0900
commit131559f6715cc2c0f7d681a6fd71a979e91500dd (patch)
treebc2d7aea91297417b21b87aeb1db7abd4dfbd008
parent9c1be12f99af34924c90f6848903480246f07365 (diff)
[rubygems/rubygems] Rename block variable
It's a dependency, not a specification. https://github.com/rubygems/rubygems/commit/9d78f5aa14
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12968
-rw-r--r--lib/bundler/definition.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index 2e1192d46e..0e1ca67a18 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -833,7 +833,7 @@ module Bundler
end
def dependencies_for_source_changed?(source, locked_source)
- deps_for_source = @dependencies.select {|s| s.source == source }
+ deps_for_source = @dependencies.select {|dep| dep.source == source }
locked_deps_for_source = locked_dependencies.select {|dep| dep.source == locked_source }
deps_for_source.uniq.sort != locked_deps_for_source.sort