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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/bundler/build_metadata.rb +2 -2
- data/lib/bundler/settings.rb +14 -1
- data/lib/bundler/source/rubygems.rb +0 -4
- data/lib/bundler/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f548c756c0741d65927b08b2c07251da3cca30b625ee99804f60b8cf54b33fc4
|
4
|
+
data.tar.gz: bd562afc3f27ae44a64ecb03cc08d6c23613dbfb7377f20a7f291a060be714c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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-
|
8
|
-
@git_commit_sha = "
|
7
|
+
@built_at = "2021-05-31".freeze
|
8
|
+
@git_commit_sha = "43f80b12c0".freeze
|
9
9
|
@release = true
|
10
10
|
# end ivars
|
11
11
|
|
data/lib/bundler/settings.rb
CHANGED
@@ -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
|
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
|
|
data/lib/bundler/version.rb
CHANGED
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.
|
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
|
+
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.
|
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
|