bundler 2.2.1 → 2.2.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
  SHA256:
3
- metadata.gz: 828d688b53800760eabd11c4c520dbff151ef88b6029ee4368ed7b47bb9c9bc5
4
- data.tar.gz: 76b9369b4bd4d2ad94a993f38032154072382cf6a60b30d37b64e170af46de7e
3
+ metadata.gz: 87387b9f72e30a787aa9c773a5437015916914e31ea4938341e300a46aca04b4
4
+ data.tar.gz: 3048c8736eac41c151ea005306bc5c3ed4f28c74d11f96da86dbdea47fe158d7
5
5
  SHA512:
6
- metadata.gz: 4eef0f08b20de1250d50239fbf189b222452199ee28a9056ecc31a320c983b532213c1e3f6d5df54b719fcb88ac6f97d6dec161a64f36c78223edb38708d8bad
7
- data.tar.gz: b771b91e794af665a128a62cc7f30130ff4dd3a3ad38bb49ef51d4dddaf1d6d875561e84a229ccea03ef8a2cab5c268bb4d7bbbd93ef8a855c74fb7c181bd4bf
6
+ metadata.gz: cab74e52ba7effecbab97ce894aa5c5f8e12f5200c994198d03bbaf3984eb299f991b0044af1691ab2573c3d8e10d0ae49f9f1b626837ca9c9d3deec3deb7ebd
7
+ data.tar.gz: aa1a8882ccd7375c98e7a8baccdc5f5e0bcedad47dbe39ecede1d4e326f9e4a9d939e7867309e21ef115b32274936600988fa21008208b9ea2c54841a77df2b3
@@ -1,3 +1,10 @@
1
+ # 2.2.2 (December 17, 2020)
2
+
3
+ ## Bug fixes:
4
+
5
+ - Fix resolver crash when a candidate has 0 matching platforms [#4163](https://github.com/rubygems/rubygems/pull/4163)
6
+ - Restore change to copy global with/without config locally upon `bundle install` [#4154](https://github.com/rubygems/rubygems/pull/4154)
7
+
1
8
  # 2.2.1 (December 14, 2020)
2
9
 
3
10
  ## Bug fixes:
@@ -4,8 +4,8 @@ module Bundler
4
4
  # Represents metadata from when the Bundler gem was built.
5
5
  module BuildMetadata
6
6
  # begin ivars
7
- @built_at = "2020-12-14".freeze
8
- @git_commit_sha = "b98d6b2035".freeze
7
+ @built_at = "2020-12-17".freeze
8
+ @git_commit_sha = "d85cd5b7c3".freeze
9
9
  @release = true
10
10
  # end ivars
11
11
 
@@ -152,18 +152,27 @@ module Bundler
152
152
 
153
153
  check_for_group_conflicts_in_cli_options
154
154
 
155
+ Bundler.settings.set_command_option :with, nil if options[:with] == []
156
+ Bundler.settings.set_command_option :without, nil if options[:without] == []
157
+
155
158
  with = options.fetch(:with, [])
156
159
  with |= Bundler.settings[:with].map(&:to_s)
157
160
  with -= options[:without] if options[:without]
158
- with = nil if options[:with] == []
159
161
 
160
162
  without = options.fetch(:without, [])
161
163
  without |= Bundler.settings[:without].map(&:to_s)
162
164
  without -= options[:with] if options[:with]
163
- without = nil if options[:without] == []
164
165
 
165
- Bundler.settings.set_command_option :without, without
166
- Bundler.settings.set_command_option :with, with
166
+ options[:with] = with
167
+ options[:without] = without
168
+
169
+ unless Bundler.settings[:without] == options[:without] && Bundler.settings[:with] == options[:with]
170
+ # need to nil them out first to get around validation for backwards compatibility
171
+ Bundler.settings.set_command_option :without, nil
172
+ Bundler.settings.set_command_option :with, nil
173
+ Bundler.settings.set_command_option :without, options[:without] - options[:with]
174
+ Bundler.settings.set_command_option :with, options[:with]
175
+ end
167
176
  end
168
177
 
169
178
  def normalize_settings
@@ -190,7 +199,7 @@ module Bundler
190
199
 
191
200
  Bundler.settings.set_command_option_if_given :clean, options["clean"]
192
201
 
193
- normalize_groups if options[:without] || options[:with]
202
+ normalize_groups
194
203
 
195
204
  options[:force] = options[:redownload]
196
205
  end
@@ -155,6 +155,8 @@ module Bundler
155
155
  search.each do |sg|
156
156
  next unless sg.for?(platform)
157
157
  sg_all_platforms = sg.copy_for(self.class.sort_platforms(@platforms).reverse)
158
+ next unless sg_all_platforms
159
+
158
160
  selected_sgs << sg_all_platforms
159
161
 
160
162
  next if sg_all_platforms.activated_platforms == [Gem::Platform::RUBY]
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Bundler
4
- VERSION = "2.2.1".freeze
4
+ VERSION = "2.2.2".freeze
5
5
 
6
6
  def self.bundler_major_version
7
7
  @bundler_major_version ||= VERSION.split(".").first.to_i
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: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Arko
@@ -22,7 +22,7 @@ authors:
22
22
  autorequire:
23
23
  bindir: exe
24
24
  cert_chain: []
25
- date: 2020-12-14 00:00:00.000000000 Z
25
+ date: 2020-12-17 00:00:00.000000000 Z
26
26
  dependencies: []
27
27
  description: Bundler manages an application's dependencies through its entire life,
28
28
  across many machines, systematically and repeatably
@@ -350,7 +350,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
350
350
  - !ruby/object:Gem::Version
351
351
  version: 2.5.2
352
352
  requirements: []
353
- rubygems_version: 3.2.0
353
+ rubygems_version: 3.2.1
354
354
  signing_key:
355
355
  specification_version: 4
356
356
  summary: The best way to manage your application's dependencies