diff options
author | brainopia <brainopia@evilmartians.com> | 2012-08-23 14:23:57 +0400 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2012-08-24 17:40:03 -0700 |
commit | b81f06c4750bca084a2e7769bebf617cca43525f (patch) | |
tree | 66dd9a5902699d13d707eab3256ada85eba38583 /lib/bundler/lockfile_parser.rb | |
parent | 6d87967452c5ac0b1488e216a14b199a9e5a26b5 (diff) | |
download | bundler-b81f06c4750bca084a2e7769bebf617cca43525f.tar.gz |
Ignore new line breaks when parsing lockfile
Diffstat (limited to 'lib/bundler/lockfile_parser.rb')
-rw-r--r-- | lib/bundler/lockfile_parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/lockfile_parser.rb b/lib/bundler/lockfile_parser.rb index eca9183a55..058633e409 100644 --- a/lib/bundler/lockfile_parser.rb +++ b/lib/bundler/lockfile_parser.rb @@ -21,7 +21,7 @@ module Bundler @specs = [] @state = :source - lockfile.split(/(\r?\n)+/).each do |line| + lockfile.split(/(?:\r?\n)+/).each do |line| if line == "DEPENDENCIES" @state = :dependency elsif line == "PLATFORMS" |