bundler 2.1.0 → 2.1.1
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/cli/exec.rb +3 -12
- data/lib/bundler/rubygems_integration.rb +8 -0
- data/lib/bundler/setup.rb +5 -0
- 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: 4cc0a71e765b27ffb15501a912f2c5d44c78a978da6b7bdf59a863fa401c4ecf
|
4
|
+
data.tar.gz: 3458392859f76d896ec97b3f45ca2dc68ffb2a7512fa7a8498557a3c9f4a81f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ad6af5ddd2da1be83fd0df6e50e3808fb4eb73bba4e94bbfc4690bcb2a566bfc29af77a5bcffdc047f900138b3b1b88074bd6ea0d9a052ca1aa9e7ee7fb4680
|
7
|
+
data.tar.gz: 16d9d4a621cb5857157a7362182d269ad87b8a902eece6f88fa00024eb502463872d507d4ddf0e95b035ed1497bccb10f2d8d201f954fa438a3fb29e1a6a28fa
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## 2.1.1 (December 17, 2019)
|
2
|
+
|
3
|
+
Bugfixes:
|
4
|
+
|
5
|
+
- Fix some cases of shelling out to `rubygems` still being silent [#7493](https://github.com/bundler/bundler/pull/7493)
|
6
|
+
- Restore compatibility with `rubygems-bundler` so that binstubs work under `RVM` [#7498](https://github.com/bundler/bundler/pull/7498)
|
7
|
+
|
1
8
|
## 2.1.0 (December 15, 2019)
|
2
9
|
|
3
10
|
Features:
|
@@ -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 = "2019-12-
|
8
|
-
@git_commit_sha = "
|
7
|
+
@built_at = "2019-12-18".freeze
|
8
|
+
@git_commit_sha = "8bd21aa0f5".freeze
|
9
9
|
@release = true
|
10
10
|
# end ivars
|
11
11
|
|
data/lib/bundler/cli/exec.rb
CHANGED
@@ -25,12 +25,12 @@ module Bundler
|
|
25
25
|
SharedHelpers.set_bundle_environment
|
26
26
|
if bin_path = Bundler.which(cmd)
|
27
27
|
if !Bundler.settings[:disable_exec_load] && ruby_shebang?(bin_path)
|
28
|
-
return
|
28
|
+
return kernel_load(bin_path, *args)
|
29
29
|
end
|
30
|
-
|
30
|
+
kernel_exec(bin_path, *args)
|
31
31
|
else
|
32
32
|
# exec using the given command
|
33
|
-
|
33
|
+
kernel_exec(cmd, *args)
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
@@ -89,14 +89,5 @@ module Bundler
|
|
89
89
|
first_line = File.open(file, "rb") {|f| f.read(possibilities.map(&:size).max) }
|
90
90
|
possibilities.any? {|shebang| first_line.start_with?(shebang) }
|
91
91
|
end
|
92
|
-
|
93
|
-
def with_verbose_rubygems
|
94
|
-
old_ui = Gem::DefaultUserInteraction.ui
|
95
|
-
Gem::DefaultUserInteraction.ui = nil
|
96
|
-
|
97
|
-
yield
|
98
|
-
ensure
|
99
|
-
Gem::DefaultUserInteraction.ui = old_ui
|
100
|
-
end
|
101
92
|
end
|
102
93
|
end
|
@@ -525,6 +525,14 @@ module Bundler
|
|
525
525
|
end
|
526
526
|
end
|
527
527
|
|
528
|
+
def plain_specs
|
529
|
+
Gem::Specification._all
|
530
|
+
end
|
531
|
+
|
532
|
+
def plain_specs=(specs)
|
533
|
+
Gem::Specification.all = specs
|
534
|
+
end
|
535
|
+
|
528
536
|
def fetch_specs(remote, name)
|
529
537
|
path = remote.uri.to_s + "#{name}.#{Gem.marshal_version}.gz"
|
530
538
|
fetcher = gem_remote_fetcher
|
data/lib/bundler/setup.rb
CHANGED
@@ -19,4 +19,9 @@ if Bundler::SharedHelpers.in_bundle?
|
|
19
19
|
else
|
20
20
|
Bundler.ui.silence { Bundler.setup }
|
21
21
|
end
|
22
|
+
|
23
|
+
# We might be in the middle of shelling out to rubygems
|
24
|
+
# (RUBYOPT=-rbundler/setup), so we need to give rubygems the opportunity of
|
25
|
+
# not being silent.
|
26
|
+
Gem::DefaultUserInteraction.ui = nil
|
22
27
|
end
|
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.1.
|
4
|
+
version: 2.1.1
|
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: 2019-12-
|
25
|
+
date: 2019-12-18 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
|
@@ -366,7 +366,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
366
366
|
- !ruby/object:Gem::Version
|
367
367
|
version: 2.5.2
|
368
368
|
requirements: []
|
369
|
-
rubygems_version: 3.
|
369
|
+
rubygems_version: 3.1.1
|
370
370
|
signing_key:
|
371
371
|
specification_version: 4
|
372
372
|
summary: The best way to manage your application's dependencies
|