bundler 2.2.18 → 2.2.19

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: f6d906edb7a9048324bea1cb57d8f5c6a3624f12f6333231cdba75b3b90c780f
4
- data.tar.gz: 0e622ba68d42202c59c1a4ada4e6e01fd004fac72ccb4b84b5085b0c59e60aba
3
+ metadata.gz: f548c756c0741d65927b08b2c07251da3cca30b625ee99804f60b8cf54b33fc4
4
+ data.tar.gz: bd562afc3f27ae44a64ecb03cc08d6c23613dbfb7377f20a7f291a060be714c0
5
5
  SHA512:
6
- metadata.gz: b76743e7abb16ca1feb285932b5761b872ecc1a03fb826fe32b624f714989a5f25050ba9ff43d59b2492657069d2216e4aa4ca4ba7b9302e1e13452494b2ec48
7
- data.tar.gz: ffde8ec8ad9167dbe2f48d03a2fe7ee8c142e8e31101e8b2900e1c519681a995c670607ffd09dbeaca587e0072448b545e93686c7e81b6fbeb7c571f72393944
6
+ metadata.gz: a4eef293c1421bb73fbe81dcc2b1a83297403d0b04dfa7d7c28075208b31376c5eda471b183e856ee158d4654edaf9f575b2cef549177358dcb38b49437b1f9f
7
+ data.tar.gz: 964f2af21c28d469a4712853c4e2766f20f14848716f0537c1c3fb3ca0254b435a81671879985e7fb3eac273a39edae3d649f0e0f6e65c437336e38d4adab5d0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # 2.2.19 (May 31, 2021)
2
+
3
+ ## Bug fixes:
4
+
5
+ - Restore support for configuration keys with dashes [#4582](https://github.com/rubygems/rubygems/pull/4582)
6
+ - Fix some cached gems being unintentionally ignored when using rubygems 3.2.18 [#4623](https://github.com/rubygems/rubygems/pull/4623)
7
+
1
8
  # 2.2.18 (May 25, 2021)
2
9
 
3
10
  ## Security 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 = "2021-05-25".freeze
8
- @git_commit_sha = "6a9e89bacd".freeze
7
+ @built_at = "2021-05-31".freeze
8
+ @git_commit_sha = "43f80b12c0".freeze
9
9
  @release = true
10
10
  # end ivars
11
11
 
@@ -442,7 +442,20 @@ module Bundler
442
442
  valid_file = file.exist? && !file.size.zero?
443
443
  return {} unless valid_file
444
444
  require_relative "yaml_serializer"
445
- YAMLSerializer.load file.read
445
+ YAMLSerializer.load(file.read).inject({}) do |config, (k, v)|
446
+ new_k = k
447
+
448
+ if k.include?("-")
449
+ Bundler.ui.warn "Your #{file} config includes `#{k}`, which contains the dash character (`-`).\n" \
450
+ "This is deprecated, because configuration through `ENV` should be possible, but `ENV` keys cannot include dashes.\n" \
451
+ "Please edit #{file} and replace any dashes in configuration keys with a triple underscore (`___`)."
452
+
453
+ new_k = k.gsub("-", "___")
454
+ end
455
+
456
+ config[new_k] = v
457
+ config
458
+ end
446
459
  end
447
460
  end
448
461
 
@@ -398,10 +398,6 @@ module Bundler
398
398
  next if gemfile =~ /^bundler\-[\d\.]+?\.gem/
399
399
  s ||= Bundler.rubygems.spec_from_gem(gemfile)
400
400
  s.source = self
401
- if Bundler.rubygems.spec_missing_extensions?(s, false)
402
- Bundler.ui.debug "Source #{self} is ignoring #{s} because it is missing extensions"
403
- next
404
- end
405
401
  idx << s
406
402
  end
407
403
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Bundler
4
- VERSION = "2.2.18".freeze
4
+ VERSION = "2.2.19".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.18
4
+ version: 2.2.19
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: 2021-05-25 00:00:00.000000000 Z
25
+ date: 2021-05-31 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
@@ -357,7 +357,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
357
357
  - !ruby/object:Gem::Version
358
358
  version: 2.5.2
359
359
  requirements: []
360
- rubygems_version: 3.2.18
360
+ rubygems_version: 3.2.19
361
361
  signing_key:
362
362
  specification_version: 4
363
363
  summary: The best way to manage your application's dependencies