bundler 1.7.1 → 1.7.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/bundler/installer.rb +3 -0
- data/lib/bundler/source/path.rb +1 -1
- data/lib/bundler/source/rubygems.rb +1 -0
- data/lib/bundler/source_list.rb +2 -1
- data/lib/bundler/version.rb +1 -1
- data/spec/bundler/source_list_spec.rb +3 -3
- data/spec/lock/lockfile_spec.rb +40 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 255979ae6f36fa64f98d2b107eddf7f1be2399d3
|
4
|
+
data.tar.gz: 0ef6bf64f268ec9d6cb84fa7f90e70dd67188f77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bd4bf2ba3b85fbabf842ff5708fc084742871501df7605e6283132bba8df8ec6dcb8ba92e7c870dd9ca8c9beba9de5869709ac19ceac28a1cf69ebb1677f39b
|
7
|
+
data.tar.gz: 2e7462d45fd546e05bfff85934c3b96ebae507e0f4a5b43f68c989ce7dc914d47cfd6b558e96b2215d8d99e10fbd9194b32a3d307e278da2089f30c21b5a6b6f
|
data/CHANGELOG.md
CHANGED
data/lib/bundler/installer.rb
CHANGED
@@ -118,6 +118,9 @@ module Bundler
|
|
118
118
|
end
|
119
119
|
|
120
120
|
post_install_message
|
121
|
+
rescue Errno::ENOSPC
|
122
|
+
raise Bundler::InstallError, "Your disk is out of space. Free some " \
|
123
|
+
"space to be able to install your bundle."
|
121
124
|
rescue Exception => e
|
122
125
|
# if install hook failed or gem signature is bad, just die
|
123
126
|
raise e if e.is_a?(Bundler::InstallHookError) || e.is_a?(Bundler::SecurityError)
|
data/lib/bundler/source/path.rb
CHANGED
data/lib/bundler/source_list.rb
CHANGED
@@ -37,7 +37,8 @@ module Bundler
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def lock_sources
|
40
|
-
(path_sources + git_sources)
|
40
|
+
lock_sources = (path_sources + git_sources).sort_by(&:to_s)
|
41
|
+
lock_sources << combine_rubygems_sources
|
41
42
|
end
|
42
43
|
|
43
44
|
def replace_sources!(replacement_sources)
|
data/lib/bundler/version.rb
CHANGED
@@ -2,5 +2,5 @@ module Bundler
|
|
2
2
|
# We're doing this because we might write tests that deal
|
3
3
|
# with other versions of bundler and we are unsure how to
|
4
4
|
# handle this better.
|
5
|
-
VERSION = "1.7.
|
5
|
+
VERSION = "1.7.2" unless defined?(::Bundler::VERSION)
|
6
6
|
end
|
@@ -291,12 +291,12 @@ describe Bundler::SourceList do
|
|
291
291
|
source_list.add_git_source('uri' => 'git://first-git.org/path.git')
|
292
292
|
|
293
293
|
expect(source_list.lock_sources).to eq [
|
294
|
-
Bundler::Source::Path.new('path' => '/first/path/to/gem'),
|
295
|
-
Bundler::Source::Path.new('path' => '/second/path/to/gem'),
|
296
|
-
Bundler::Source::Path.new('path' => '/third/path/to/gem'),
|
297
294
|
Bundler::Source::Git.new('uri' => 'git://first-git.org/path.git'),
|
298
295
|
Bundler::Source::Git.new('uri' => 'git://second-git.org/path.git'),
|
299
296
|
Bundler::Source::Git.new('uri' => 'git://third-git.org/path.git'),
|
297
|
+
Bundler::Source::Path.new('path' => '/first/path/to/gem'),
|
298
|
+
Bundler::Source::Path.new('path' => '/second/path/to/gem'),
|
299
|
+
Bundler::Source::Path.new('path' => '/third/path/to/gem'),
|
300
300
|
Bundler::Source::Rubygems.new('remotes' => [
|
301
301
|
'https://first-rubygems.org',
|
302
302
|
'https://second-rubygems.org',
|
data/spec/lock/lockfile_spec.rb
CHANGED
@@ -144,7 +144,7 @@ describe "the lockfile format" do
|
|
144
144
|
G
|
145
145
|
end
|
146
146
|
|
147
|
-
it "does not
|
147
|
+
it "does not asplode when a platform specific dependency is present and the Gemfile has not been resolved on that platform" do
|
148
148
|
build_lib "omg", :path => lib_path('omg')
|
149
149
|
|
150
150
|
gemfile <<-G
|
@@ -285,6 +285,45 @@ describe "the lockfile format" do
|
|
285
285
|
G
|
286
286
|
end
|
287
287
|
|
288
|
+
it "sorts serialized sources by type" do
|
289
|
+
build_lib "foo"
|
290
|
+
bar = build_git "bar"
|
291
|
+
|
292
|
+
install_gemfile <<-G
|
293
|
+
source "file://#{gem_repo1}"
|
294
|
+
|
295
|
+
gem "rack"
|
296
|
+
gem "foo", :path => "#{lib_path("foo-1.0")}"
|
297
|
+
gem "bar", :git => "#{lib_path("bar-1.0")}"
|
298
|
+
G
|
299
|
+
|
300
|
+
lockfile_should_be <<-G
|
301
|
+
GIT
|
302
|
+
remote: #{lib_path("bar-1.0")}
|
303
|
+
revision: #{bar.ref_for('master')}
|
304
|
+
specs:
|
305
|
+
bar (1.0)
|
306
|
+
|
307
|
+
PATH
|
308
|
+
remote: #{lib_path("foo-1.0")}
|
309
|
+
specs:
|
310
|
+
foo (1.0)
|
311
|
+
|
312
|
+
GEM
|
313
|
+
remote: file:#{gem_repo1}/
|
314
|
+
specs:
|
315
|
+
rack (1.0.0)
|
316
|
+
|
317
|
+
PLATFORMS
|
318
|
+
#{generic(Gem::Platform.local)}
|
319
|
+
|
320
|
+
DEPENDENCIES
|
321
|
+
bar!
|
322
|
+
foo!
|
323
|
+
rack
|
324
|
+
G
|
325
|
+
end
|
326
|
+
|
288
327
|
it "lists gems alphabetically" do
|
289
328
|
install_gemfile <<-G
|
290
329
|
source "file://#{gem_repo1}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- André Arko
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-08-
|
14
|
+
date: 2014-08-24 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rdiscount
|