bundler 0.9.25 → 0.9.26
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bundler might be problematic. Click here for more details.
- data/CHANGELOG.md +8 -2
- data/lib/bundler/cli.rb +3 -2
- data/lib/bundler/definition.rb +6 -1
- data/lib/bundler/installer.rb +1 -1
- data/lib/bundler/spec_set.rb +0 -4
- data/lib/bundler/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,15 @@
|
|
1
|
+
## 0.9.26
|
2
|
+
|
3
|
+
Features:
|
4
|
+
|
5
|
+
- error nicely on incompatible 0.10 lockfiles
|
6
|
+
|
1
7
|
## 0.9.25 (May 3, 2010)
|
2
8
|
|
3
9
|
Bugfixes:
|
4
10
|
|
5
|
-
-
|
6
|
-
-
|
11
|
+
- explicitly coerce Pathname objects to Strings for Ruby 1.9
|
12
|
+
- fix some newline weirdness in output from install command
|
7
13
|
|
8
14
|
## 0.9.24 (April 22, 2010)
|
9
15
|
|
data/lib/bundler/cli.rb
CHANGED
@@ -72,6 +72,7 @@ module Bundler
|
|
72
72
|
method_option "relock", :type => :boolean, :banner => "Unlock, install the gems, and relock."
|
73
73
|
method_option "disable-shared-gems", :type => :boolean, :banner => "Do not use any shared gems, such as the system gem repository."
|
74
74
|
method_option "gemfile", :type => :string, :banner => "Use the specified gemfile instead of Gemfile"
|
75
|
+
method_option "no-cache", :type => :boolean, :banner => "Don't update the existing gem cache."
|
75
76
|
method_option "no-prune", :type => :boolean, :banner => "Don't remove stale gems from the cache."
|
76
77
|
def install(path = nil)
|
77
78
|
opts = options.dup
|
@@ -94,7 +95,7 @@ module Bundler
|
|
94
95
|
end
|
95
96
|
|
96
97
|
lock if options[:relock]
|
97
|
-
cache if Bundler.root.join("vendor/cache").exist?
|
98
|
+
cache if Bundler.root.join("vendor/cache").exist? && !options[:no_cache]
|
98
99
|
Bundler.ui.confirm "Your bundle is complete! " +
|
99
100
|
"Use `bundle show [gemname]` to see where a bundled gem is installed."
|
100
101
|
rescue GemNotFound => e
|
@@ -130,7 +131,7 @@ module Bundler
|
|
130
131
|
end
|
131
132
|
end
|
132
133
|
|
133
|
-
desc "show GEM", "Shows all gems that are part of the bundle, or the path to a given gem"
|
134
|
+
desc "show [GEM]", "Shows all gems that are part of the bundle, or the path to a given gem"
|
134
135
|
def show(gem_name = nil)
|
135
136
|
if gem_name
|
136
137
|
Bundler.ui.info locate_gem(gem_name)
|
data/lib/bundler/definition.rb
CHANGED
@@ -13,7 +13,12 @@ module Bundler
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def self.from_lock(lockfile)
|
16
|
-
|
16
|
+
begin
|
17
|
+
locked_definition = Locked.new(YAML.load_file(lockfile))
|
18
|
+
rescue ArgumentError
|
19
|
+
raise GemfileError, "Your Gemfile.lock was generated by Bundler 0.10.\n" +
|
20
|
+
"You must delete it if you wish to use Bundler 0.9."
|
21
|
+
end
|
17
22
|
|
18
23
|
hash = Digest::SHA1.hexdigest(File.read("#{Bundler.root}/Gemfile"))
|
19
24
|
unless locked_definition.hash == hash
|
data/lib/bundler/installer.rb
CHANGED
data/lib/bundler/spec_set.rb
CHANGED
data/lib/bundler/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 9
|
8
|
-
-
|
9
|
-
version: 0.9.
|
8
|
+
- 26
|
9
|
+
version: 0.9.26
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Carl Lerche
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-
|
19
|
+
date: 2010-06-08 00:00:00 -04:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|