diff options
author | Andre Arko <andre@arko.net> | 2010-06-07 19:41:53 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2010-06-08 12:19:34 -0400 |
commit | e0e79df7ccd3b665f631c120d4e8be573c76d651 (patch) | |
tree | c04a369b6d31977ef9b116f694a39924aec51a2f /lib/bundler/lockfile_parser.rb | |
parent | ef62ee67590926c8706ce6ce1286d0bf686a139d (diff) | |
download | bundler-e0e79df7ccd3b665f631c120d4e8be573c76d651.tar.gz |
Upgrade 0.9 lockfiles to 1.0 lockfiles in-place
Diffstat (limited to 'lib/bundler/lockfile_parser.rb')
-rw-r--r-- | lib/bundler/lockfile_parser.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/bundler/lockfile_parser.rb b/lib/bundler/lockfile_parser.rb index 4e97a29aa0..ce682b139a 100644 --- a/lib/bundler/lockfile_parser.rb +++ b/lib/bundler/lockfile_parser.rb @@ -11,13 +11,6 @@ module Bundler @specs = [] @state = :source - # Check for 0.9 lockfile, removing it if found - if lockfile[0..2] == "---" - Bundler.ui.warn "Removing Gemfile.lock generated by Bundler 0.9" - FileUtils.rm_rf(lockfile) - return nil - end - lockfile.split(/\n+/).each do |line| if line == "DEPENDENCIES" @state = :dependency @@ -99,5 +92,6 @@ module Bundler @platforms << Gem::Platform.new($1) end end + end end
\ No newline at end of file |