summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2025-03-17 12:51:47 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-03-24 13:25:07 +0900
commit164952cef3929035ff0d83b2432942b15118493d (patch)
treeb35f332eefa356c276fc29ac7ef4be11a8eaf3d6
parent20f57c5dc1a4b4169e749d86e4f1fa1022951c9a (diff)
[rubygems/rubygems] Remove unnecessary replacement of locked dependencies sources
The `converge_dependencies` method already replaces the source of the dependency with an equivalent source from the Gemfile if possible. https://github.com/rubygems/rubygems/commit/a449e7ba19
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12968
-rw-r--r--lib/bundler/definition.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index f15118df03..85be660a1c 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -917,9 +917,6 @@ module Bundler
@locked_specs.each do |spec|
spec.source &&= converge_path_source_to_gemspec_source(spec.source)
end
- @locked_deps.each do |_, dep|
- dep.source &&= converge_path_source_to_gemspec_source(dep.source)
- end
end
def converge_sources