aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/lockfile_generator.rb
diff options
context:
space:
mode:
authorAleksandr Varnin <10187586+cmrd-senya@users.noreply.github.com>2022-08-24 19:09:10 +0300
committergit <svn-admin@ruby-lang.org>2022-08-28 02:04:14 +0900
commit381d8e43ce33378345a834b3e554e977f157351a (patch)
tree663548614702d88f2b385f70cd43c9cb343c31ca /lib/bundler/lockfile_generator.rb
parent13d2225c460cfc3daa679acb89433289527a844f (diff)
downloadruby-381d8e43ce33378345a834b3e554e977f157351a.tar.gz
[rubygems/rubygems] Bundler: make to_lock consistent between Gem::Dependency and Bundler::Dependency
https://github.com/rubygems/rubygems/commit/971d57cf5a
Diffstat (limited to 'lib/bundler/lockfile_generator.rb')
-rw-r--r--lib/bundler/lockfile_generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/lockfile_generator.rb b/lib/bundler/lockfile_generator.rb
index 0578a93fdc..23413dbdd6 100644
--- a/lib/bundler/lockfile_generator.rb
+++ b/lib/bundler/lockfile_generator.rb
@@ -60,7 +60,7 @@ module Bundler
handled = []
definition.dependencies.sort_by(&:to_s).each do |dep|
next if handled.include?(dep.name)
- out << dep.to_lock
+ out << dep.to_lock << "\n"
handled << dep.name
end
end