bundler 1.10.1 → 1.10.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 +13 -5
- data/CHANGELOG.md +6 -0
- data/lib/bundler/resolver.rb +9 -5
- data/lib/bundler/rubygems_integration.rb +7 -0
- data/lib/bundler/version.rb +1 -1
- metadata +16 -17
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YjNkYWY4MzNjOGQxZjE5ODZmZjk4ODcyNDAxNGZkMDMzZTI3ODEzYg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
OTA4YjBmMTFhZjM0ZDhmMjY0NGY1M2I5Mjc0MTY3MzIxNTZiYjc2ZA==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NDhkZmM0MTA0NDZlMjg4YTViY2Q4MTUxOTIxOTJhMWJmYmVmYjNiMmJmNDNl
|
10
|
+
OTEyNzk2YzUwM2ViN2JhNTU5N2FhZDBmYmM1ZjQxMDI1N2YxODdiODA4N2Uy
|
11
|
+
NmI5MDczN2FkMjM5ZjBlMzgxZDVhOWE2M2E1Y2YwMTNhZTU5YWQ=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
ZjcwNTM2MWQwNzIwMGEzYmM2MTI5MWU0MmI1ZjVkZjAwN2VjYzYwMGJiNDU4
|
14
|
+
MjdkYTUyMWY4MGIzOTYxYTk2OGM0ZTBlZTcyOWJiYzQ4YzU1YTEzNzM2NTRm
|
15
|
+
MDE2ZGExMDY0MWY1ZWYxYmMxNWM3MGI2NTYxNzkxOTgzNDliMTY=
|
data/CHANGELOG.md
CHANGED
data/lib/bundler/resolver.rb
CHANGED
@@ -305,12 +305,16 @@ module Bundler
|
|
305
305
|
def amount_constrained(dependency)
|
306
306
|
@amount_constrained ||= {}
|
307
307
|
@amount_constrained[dependency.name] ||= begin
|
308
|
-
|
309
|
-
|
310
|
-
if all.size == 0
|
311
|
-
0
|
308
|
+
if base = @base[dependency.name] and !base.empty?
|
309
|
+
dependency.requirement.satisfied_by?(base.first.version) ? 0 : 1
|
312
310
|
else
|
313
|
-
|
311
|
+
base_dep = Dependency.new dependency.name, '>= 0.a'
|
312
|
+
all = search_for(DepProxy.new base_dep, dependency.__platform)
|
313
|
+
if all.size == 0
|
314
|
+
0
|
315
|
+
else
|
316
|
+
search_for(dependency).size.to_f / all.size.to_f
|
317
|
+
end
|
314
318
|
end
|
315
319
|
end
|
316
320
|
end
|
@@ -482,6 +482,13 @@ module Bundler
|
|
482
482
|
def stub_rubygems(specs)
|
483
483
|
stub_source_index(specs)
|
484
484
|
end
|
485
|
+
|
486
|
+
def validate(spec)
|
487
|
+
# Missing summary is downgraded to a warning in later versions,
|
488
|
+
# so we set it to an empty string to prevent an exception here.
|
489
|
+
spec.summary ||= ""
|
490
|
+
Bundler.ui.silence { spec.validate(false) }
|
491
|
+
end
|
485
492
|
end
|
486
493
|
|
487
494
|
# Rubygems 1.8.5-1.8.19
|
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.10.
|
5
|
+
VERSION = "1.10.2" unless defined?(::Bundler::VERSION)
|
6
6
|
end
|
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.10.
|
4
|
+
version: 1.10.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: 2015-05-
|
14
|
+
date: 2015-05-30 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: mustache
|
@@ -31,56 +31,56 @@ dependencies:
|
|
31
31
|
name: rake
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
requirements:
|
34
|
-
- -
|
34
|
+
- - ~>
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: '10.0'
|
37
37
|
type: :development
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ~>
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '10.0'
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: rdiscount
|
46
46
|
requirement: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
48
|
-
- -
|
48
|
+
- - ~>
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: '1.6'
|
51
51
|
type: :development
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- -
|
55
|
+
- - ~>
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: '1.6'
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: ronn
|
60
60
|
requirement: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
|
-
- -
|
62
|
+
- - ~>
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: 0.7.3
|
65
65
|
type: :development
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- -
|
69
|
+
- - ~>
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: 0.7.3
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
73
|
name: rspec
|
74
74
|
requirement: !ruby/object:Gem::Requirement
|
75
75
|
requirements:
|
76
|
-
- -
|
76
|
+
- - ~>
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '3.0'
|
79
79
|
type: :development
|
80
80
|
prerelease: false
|
81
81
|
version_requirements: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
|
-
- -
|
83
|
+
- - ~>
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '3.0'
|
86
86
|
description: Bundler manages an application's dependencies through its entire life,
|
@@ -93,9 +93,9 @@ executables:
|
|
93
93
|
extensions: []
|
94
94
|
extra_rdoc_files: []
|
95
95
|
files:
|
96
|
-
-
|
97
|
-
-
|
98
|
-
-
|
96
|
+
- .gitignore
|
97
|
+
- .rspec
|
98
|
+
- .travis.yml
|
99
99
|
- CHANGELOG.md
|
100
100
|
- CODE_OF_CONDUCT.md
|
101
101
|
- CONTRIBUTING.md
|
@@ -305,19 +305,18 @@ require_paths:
|
|
305
305
|
- lib
|
306
306
|
required_ruby_version: !ruby/object:Gem::Requirement
|
307
307
|
requirements:
|
308
|
-
- -
|
308
|
+
- - ! '>='
|
309
309
|
- !ruby/object:Gem::Version
|
310
310
|
version: 1.8.7
|
311
311
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
312
312
|
requirements:
|
313
|
-
- -
|
313
|
+
- - ! '>='
|
314
314
|
- !ruby/object:Gem::Version
|
315
315
|
version: 1.3.6
|
316
316
|
requirements: []
|
317
317
|
rubyforge_project:
|
318
|
-
rubygems_version: 2.4.
|
318
|
+
rubygems_version: 2.4.7
|
319
319
|
signing_key:
|
320
320
|
specification_version: 4
|
321
321
|
summary: The best way to manage your application's dependencies
|
322
322
|
test_files: []
|
323
|
-
has_rdoc:
|