bundler 1.14.1 → 1.14.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a2f2fe939ed0384b141862cc12d83951b736cbf
4
- data.tar.gz: dbecc9fbf2be0e82b375c1a01557118f8614e3f8
3
+ metadata.gz: 7ab010bff890baf19768622a2dde3e079fd4ab6b
4
+ data.tar.gz: ca12ee1b5eb41e1a0e63949c6f2bfdc4c4a56a18
5
5
  SHA512:
6
- metadata.gz: 7aa823d4059a45cbaadbda9ea1a6b8f3f4959e4fea2458c7815a9516556189ba233a5fa4b9af988f2a0e97a8cdc4cfa95f253b9d02f45ec9dd6e4aba6c71af7d
7
- data.tar.gz: 32f88271adbd25309c95404379e8a098a91e80fd7c4c06287d19abf7483a96c4f95a75d821c9814933b1681155b0f595e321693d033f094d4c841fe6b7ede141
6
+ metadata.gz: 416e77e9b0faf8e368a9e54baaf06f6cd017cf2cafd13f3c8af5fd08acbdb7a61815b2884559514df638be6bb4a290f8d77673ae4d3bda32e887a591f8f956fe
7
+ data.tar.gz: 56762f2ff50d22275e5e12ea4a96faf6f23bfb612869d2508b0e3a012c6ff09aee1a64cd15cd2e557b7cebcbc3a9543271532f3c69a19ddf4bed80b78d4ec6b9
@@ -1,3 +1,10 @@
1
+ ## 1.14.2 (2017-01-22)
2
+
3
+ Bugfixes:
4
+
5
+ - fix using `force_ruby_platform` on windows (#5344, @segiddins)
6
+ - fix an incorrect version conflict error when using `gemspec` on multiple platforms (#5340, @segiddins)
7
+
1
8
  ## 1.14.1 (2017-01-21)
2
9
 
3
10
  Bugfixes:
@@ -58,15 +58,15 @@ module Bundler
58
58
  end
59
59
 
60
60
  def mswin64?
61
- Bundler::WINDOWS && Bundler.local_platform.os == "mswin64" && Bundler.local_platform.cpu == "x64"
61
+ Bundler::WINDOWS && Bundler.local_platform != Gem::Platform::RUBY && Bundler.local_platform.os == "mswin64" && Bundler.local_platform.cpu == "x64"
62
62
  end
63
63
 
64
64
  def mingw?
65
- Bundler::WINDOWS && Bundler.local_platform.os == "mingw32" && Bundler.local_platform.cpu != "x64"
65
+ Bundler::WINDOWS && Bundler.local_platform != Gem::Platform::RUBY && Bundler.local_platform.os == "mingw32" && Bundler.local_platform.cpu != "x64"
66
66
  end
67
67
 
68
68
  def x64_mingw?
69
- Bundler::WINDOWS && Bundler.local_platform.os == "mingw32" && Bundler.local_platform.cpu == "x64"
69
+ Bundler::WINDOWS && Bundler.local_platform != Gem::Platform::RUBY && Bundler.local_platform.os == "mingw32" && Bundler.local_platform.cpu == "x64"
70
70
  end
71
71
 
72
72
  (KNOWN_MINOR_VERSIONS + KNOWN_MAJOR_VERSIONS).each do |version|
@@ -104,7 +104,9 @@ module Bundler
104
104
 
105
105
  add_current_platform unless Bundler.settings[:frozen]
106
106
 
107
+ converge_gemspec_sources
107
108
  @path_changes = converge_paths
109
+ @source_changes = converge_sources
108
110
 
109
111
  unless @unlock[:lock_shared_dependencies]
110
112
  eager_unlock = expand_dependencies(@unlock[:gems])
@@ -113,7 +115,6 @@ module Bundler
113
115
 
114
116
  @gem_version_promoter = create_gem_version_promoter
115
117
 
116
- @source_changes = converge_sources
117
118
  @dependency_changes = converge_dependencies
118
119
  @local_changes = converge_locals
119
120
 
@@ -627,15 +628,20 @@ module Bundler
627
628
  gemspec_source || source
628
629
  end
629
630
 
630
- def converge_sources
631
- changes = false
632
-
631
+ def converge_gemspec_sources
633
632
  @locked_sources.map! do |source|
634
633
  converge_path_source_to_gemspec_source(source)
635
634
  end
636
635
  @locked_specs.each do |spec|
637
636
  spec.source &&= converge_path_source_to_gemspec_source(spec.source)
638
637
  end
638
+ @locked_deps.each do |dep|
639
+ dep.source &&= converge_path_source_to_gemspec_source(dep.source)
640
+ end
641
+ end
642
+
643
+ def converge_sources
644
+ changes = false
639
645
 
640
646
  # Get the Rubygems sources from the Gemfile.lock
641
647
  locked_gem_sources = @locked_sources.select {|s| s.is_a?(Source::Rubygems) }
@@ -67,6 +67,10 @@ module Bundler
67
67
  def all_dependencies
68
68
  @spec.dependencies
69
69
  end
70
+
71
+ def to_s
72
+ "#<#{self.class} #{@spec.full_name} (#{state})>"
73
+ end
70
74
  end
71
75
 
72
76
  def self.call(*args)
@@ -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.14.1" unless defined?(::Bundler::VERSION)
10
+ VERSION = "1.14.2" 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.14.1
4
+ version: 1.14.2
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: 2017-01-21 00:00:00.000000000 Z
12
+ date: 2017-01-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: automatiek