summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Arko <mail@arko.net>2015-05-09 11:55:06 +0100
committerAndré Arko <mail@arko.net>2015-05-09 11:55:06 +0100
commit10c36b352360655363ff137faaf293313bfc2f16 (patch)
tree5371308457cb2d585ef27be3bde61d313ece7ab4
parent73cec1c5b51dd6f9a7d6712ea6832f89ce9cb4f8 (diff)
parentb38b7f3d3de2f66385eb14f25fbdc500b0d2bfdf (diff)
downloadbundler-10c36b352360655363ff137faaf293313bfc2f16.tar.gz
Merge pull request #3636 from bundler/seg-flexible-spacing
[LockfileParser] Allow reverting BUNDLED WITH padding to 2 spaces
-rw-r--r--lib/bundler/lockfile_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/lockfile_parser.rb b/lib/bundler/lockfile_parser.rb
index c08aa76301..21367fe70c 100644
--- a/lib/bundler/lockfile_parser.rb
+++ b/lib/bundler/lockfile_parser.rb
@@ -179,7 +179,7 @@ module Bundler
end
def parse_bundled_with(line)
- line = line[3..-1]
+ line = line.strip
if Gem::Version.correct?(line)
@bundler_version = Gem::Version.create(line)
end