ruby-changes:61512
From: David <ko1@a...>
Date: Fri, 5 Jun 2020 07:33:42 +0900 (JST)
Subject: [ruby-changes:61512] c91915c183 (master): [rubygems/rubygems] Fix typo
https://git.ruby-lang.org/ruby.git/commit/?id=c91915c183 From c91915c1838e2492a433b00179f0cef5d72abde0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Fri, 22 May 2020 13:19:06 +0200 Subject: [rubygems/rubygems] Fix typo Co-authored-by: Carsten Wirth <carsten.wirth@h...> https://github.com/rubygems/rubygems/commit/c7c5ca68db diff --git a/lib/bundler/injector.rb b/lib/bundler/injector.rb index 2cdda57..767c5ff 100644 --- a/lib/bundler/injector.rb +++ b/lib/bundler/injector.rb @@ -183,7 +183,7 @@ module Bundler https://github.com/ruby/ruby/blob/trunk/lib/bundler/injector.rb#L183 # remove lines which match the regex new_gemfile = IO.readlines(gemfile_path).reject {|line| line.match(patterns) } - # remove lone \n and append them with other strings + # remove line \n and append them with other strings new_gemfile.each_with_index do |_line, index| if new_gemfile[index + 1] == "\n" new_gemfile[index] += new_gemfile[index + 1] -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/