bundler-patch 0.10.3 → 0.10.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21dd52c3650783e93595df84c5c7002c89bbd807
4
- data.tar.gz: 0d5330980d755392b93617687282407a0fdf6102
3
+ metadata.gz: 621d370daa4220636771b1cdada19350d866797f
4
+ data.tar.gz: 694a377520e067ecc93690a7c7036f5046dc1702
5
5
  SHA512:
6
- metadata.gz: 9533c7201da5a85748a87dcbe6a4dab402acf86ae35a04b3712a2af3a231e8574b0477f24e2d712aa2fbc56c338bb2411286ccc9e0dcff2da78758d0489f9e79
7
- data.tar.gz: 5cf61ad997dcd7d79eb43a89b102597754655bd7abe65799ba1301dbe4cf65d2dac1763fd70e3674c488b582129b1483d50561dd6cff9e544ca43f4127f76a05
6
+ metadata.gz: df7910ec37f1ffd133e688db6d4252b3dac4d46ef52f311716f053c6b6a8cf35b5349643469aec956847497ace476415965e41dab5c4b32de01e3dd1163605df
7
+ data.tar.gz: dbcbfed4101b53ff2209768ed4f05db5913f1d5380a64fd85a96309b4d30715fbb96d97e7fcf710a58f57d0d3436b4605e8e4087f60c11a339def376be5e68b5
@@ -1 +1 @@
1
- 2.3.1
1
+ 2.3.3
@@ -23,3 +23,5 @@ matrix:
23
23
  env: BUNDLER_TEST_VERSION=1.12.5
24
24
  - rvm: 2.3.1
25
25
  env: BUNDLER_TEST_VERSION=1.13.5
26
+ - rvm: 2.3.3
27
+ env: BUNDLER_TEST_VERSION=1.14.3
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_dependency 'slop', '~> 3.0'
24
24
  spec.add_dependency 'bundler', '~> 1.7'
25
25
 
26
- spec.add_development_dependency 'bundler-fixture', '~> 1.3'
26
+ spec.add_development_dependency 'bundler-fixture', '~> 1.3', '>= 1.3.2'
27
27
  spec.add_development_dependency 'pry'
28
28
  spec.add_development_dependency 'rake', '~> 10.0'
29
29
  spec.add_development_dependency 'rspec', '~> 3.5'
@@ -16,7 +16,8 @@ module Bundler::Patch
16
16
  else
17
17
  # Run a resolve against the locally available gems
18
18
  base = last_resolve.is_a?(Bundler::SpecSet) ? Bundler::SpecSet.new(last_resolve) : []
19
- if Gem::Version.new(Bundler::VERSION) >= Gem::Version.new('1.13.0.rc.2')
19
+ bundler_version = Gem::Version.new(Bundler::VERSION)
20
+ if bundler_version >= Gem::Version.new('1.13.0.rc.2')
20
21
  require 'bundler/patch/gem_version_patch_promoter'
21
22
 
22
23
  gvpp = Bundler::Patch::GemVersionPatchPromoter.new(@gem_version_promoter.locked_specs, @gem_version_promoter.unlock_gems)
@@ -24,7 +25,12 @@ module Bundler::Patch
24
25
  gvpp.strict = @strict
25
26
  gvpp.minimal = @prefer_minimal
26
27
  gvpp.gems_to_update = @gems_to_update
27
- resolver = Bundler::Resolver.new(index, source_requirements, base, nil, gvpp, additional_base_requirements_for_resolve)
28
+
29
+ if bundler_version >= Gem::Version.new('1.14.0.rc.1')
30
+ resolver = Bundler::Resolver.new(index, source_requirements, base, gvpp, additional_base_requirements_for_resolve, platforms)
31
+ else
32
+ resolver = Bundler::Resolver.new(index, source_requirements, base, nil, gvpp, additional_base_requirements_for_resolve)
33
+ end
28
34
  else
29
35
  resolver = ConservativeResolver.new(index, source_requirements, base)
30
36
  locked_specs = if @unlocking && @locked_specs.length == 0
@@ -1,5 +1,5 @@
1
1
  module Bundler
2
2
  module Patch
3
- VERSION = '0.10.3'
3
+ VERSION = '0.10.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler-patch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.3
4
+ version: 0.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - chrismo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-06 00:00:00.000000000 Z
11
+ date: 2017-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler-advise
@@ -65,6 +65,9 @@ dependencies:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
67
  version: '1.3'
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: 1.3.2
68
71
  type: :development
69
72
  prerelease: false
70
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -72,6 +75,9 @@ dependencies:
72
75
  - - "~>"
73
76
  - !ruby/object:Gem::Version
74
77
  version: '1.3'
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 1.3.2
75
81
  - !ruby/object:Gem::Dependency
76
82
  name: pry
77
83
  requirement: !ruby/object:Gem::Requirement