bundler 1.13.0 → 1.13.1
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22596756e05afe393c806e7be6f01eecb6481455
|
4
|
+
data.tar.gz: 182b0814c59dfb8bf1552bcccabaecb33fc5437d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a40c512a0b0c523b141906b1b27577345e6b774a0d8b64f5d5a21c574de0e30a6d27ab1f493b0881898a0232ec330c02615550ca7ed6992e5f23f327338127bd
|
7
|
+
data.tar.gz: 6003c4ed54dac0f68cccbd61305c7f2b4fc05a73bd694b57cf6a4b58923186469390b02da27105fb9156bfa0e3863dfa87d3abba0e47324f46dcc01498ce2402
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## 1.13.1 (2016-09-13)
|
2
|
+
|
3
|
+
Bugfixes:
|
4
|
+
|
5
|
+
- ensure that `Gem::Source` is available, fixing several exceptions (#4944, @dekellum)
|
6
|
+
- ensure that dependency resolution works when multiple gems have the same dependency (#4961, @segiddins)
|
7
|
+
|
1
8
|
## 1.13.0 (2016-09-05)
|
2
9
|
|
3
10
|
This space deliberately left blank.
|
data/lib/bundler/rubygems_ext.rb
CHANGED
@@ -8,6 +8,16 @@ end
|
|
8
8
|
|
9
9
|
require "rubygems"
|
10
10
|
require "rubygems/specification"
|
11
|
+
|
12
|
+
begin
|
13
|
+
# Possible use in Gem::Specification#source below and require
|
14
|
+
# shouldn't be deferred.
|
15
|
+
require "rubygems/source"
|
16
|
+
rescue LoadError
|
17
|
+
# Not available before Rubygems 2.0.0, ignore
|
18
|
+
nil
|
19
|
+
end
|
20
|
+
|
11
21
|
require "bundler/match_platform"
|
12
22
|
|
13
23
|
module Gem
|
@@ -184,6 +184,8 @@ module Bundler::Molinillo
|
|
184
184
|
raise VersionConflict.new(c) unless state
|
185
185
|
activated.rewind_to(sliced_states.first || :initial_state) if sliced_states
|
186
186
|
state.conflicts = c
|
187
|
+
index = states.size - 1
|
188
|
+
@parent_of.reject! { |_, i| i >= index }
|
187
189
|
end
|
188
190
|
end
|
189
191
|
|
@@ -209,7 +211,10 @@ module Bundler::Molinillo
|
|
209
211
|
# @return [Object] the requirement that led to `requirement` being added
|
210
212
|
# to the list of requirements.
|
211
213
|
def parent_of(requirement)
|
212
|
-
|
214
|
+
return unless requirement
|
215
|
+
return unless index = @parent_of[requirement]
|
216
|
+
return unless parent_state = @states[index]
|
217
|
+
parent_state.requirement
|
213
218
|
end
|
214
219
|
|
215
220
|
# @return [Object] the requirement that led to a version of a possibility
|
@@ -418,7 +423,8 @@ module Bundler::Molinillo
|
|
418
423
|
debug(depth) { "Requiring nested dependencies (#{nested_dependencies.join(', ')})" }
|
419
424
|
nested_dependencies.each do |d|
|
420
425
|
activated.add_child_vertex(name_for(d), nil, [name_for(activated_spec)], d)
|
421
|
-
|
426
|
+
parent_index = states.size - 1
|
427
|
+
@parent_of[d] ||= parent_index
|
422
428
|
end
|
423
429
|
|
424
430
|
push_state_for_requirements(requirements + nested_dependencies, !nested_dependencies.empty?)
|
data/lib/bundler/version.rb
CHANGED
@@ -7,5 +7,5 @@ module Bundler
|
|
7
7
|
# We're doing this because we might write tests that deal
|
8
8
|
# with other versions of bundler and we are unsure how to
|
9
9
|
# handle this better.
|
10
|
-
VERSION = "1.13.
|
10
|
+
VERSION = "1.13.1" unless defined?(::Bundler::VERSION)
|
11
11
|
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.13.
|
4
|
+
version: 1.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- André Arko
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-09-
|
12
|
+
date: 2016-09-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: automatiek
|