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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1b0f254fde45e5334d616c37efb448b0c3213d5681d141a3652fe6aa59e3f4a
4
- data.tar.gz: 3c6f21c091483b75be54095df2449cc31f12dce5800473b57fabe7efa1536368
3
+ metadata.gz: 4cc0a71e765b27ffb15501a912f2c5d44c78a978da6b7bdf59a863fa401c4ecf
4
+ data.tar.gz: 3458392859f76d896ec97b3f45ca2dc68ffb2a7512fa7a8498557a3c9f4a81f5
5
5
  SHA512:
6
- metadata.gz: d55cf58680c59ed903fa27d6b90e73d9609b9373ccf51041bbfdd31b56449ee40eb1d927c0ef1278aa977d85a912e06f90accaa958a36376abee465c11ad846b
7
- data.tar.gz: 67860aa75e4883107d5c8c3afd76a388bea176a6b39382e1258ceafec35afa993aed49b82d2cce92da64e41739dafbbc65fba01ce9ca80470490d44474fabf7e
6
+ metadata.gz: 5ad6af5ddd2da1be83fd0df6e50e3808fb4eb73bba4e94bbfc4690bcb2a566bfc29af77a5bcffdc047f900138b3b1b88074bd6ea0d9a052ca1aa9e7ee7fb4680
7
+ data.tar.gz: 16d9d4a621cb5857157a7362182d269ad87b8a902eece6f88fa00024eb502463872d507d4ddf0e95b035ed1497bccb10f2d8d201f954fa438a3fb29e1a6a28fa
@@ -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-15".freeze
8
- @git_commit_sha = "683fe9799e".freeze
7
+ @built_at = "2019-12-18".freeze
8
+ @git_commit_sha = "8bd21aa0f5".freeze
9
9
  @release = true
10
10
  # end ivars
11
11
 
@@ -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 with_verbose_rubygems { kernel_load(bin_path, *args) }
28
+ return kernel_load(bin_path, *args)
29
29
  end
30
- with_verbose_rubygems { kernel_exec(bin_path, *args) }
30
+ kernel_exec(bin_path, *args)
31
31
  else
32
32
  # exec using the given command
33
- with_verbose_rubygems { kernel_exec(cmd, *args) }
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
@@ -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
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Bundler
4
- VERSION = "2.1.0".freeze
4
+ VERSION = "2.1.1".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.1.0
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-15 00:00:00.000000000 Z
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.0.6
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