bundler 2.2.27 → 2.2.31

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.

Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +52 -1
  3. data/README.md +1 -1
  4. data/lib/bundler/build_metadata.rb +2 -2
  5. data/lib/bundler/cli/gem.rb +86 -8
  6. data/lib/bundler/cli/info.rb +11 -4
  7. data/lib/bundler/cli/issue.rb +4 -3
  8. data/lib/bundler/cli/remove.rb +1 -2
  9. data/lib/bundler/cli.rb +4 -1
  10. data/lib/bundler/compact_index_client.rb +2 -2
  11. data/lib/bundler/definition.rb +14 -9
  12. data/lib/bundler/digest.rb +71 -0
  13. data/lib/bundler/errors.rb +18 -2
  14. data/lib/bundler/fetcher.rb +2 -1
  15. data/lib/bundler/friendly_errors.rb +5 -30
  16. data/lib/bundler/gem_helper.rb +6 -17
  17. data/lib/bundler/lockfile_parser.rb +1 -0
  18. data/lib/bundler/man/bundle-add.1 +1 -1
  19. data/lib/bundler/man/bundle-binstubs.1 +1 -1
  20. data/lib/bundler/man/bundle-cache.1 +1 -1
  21. data/lib/bundler/man/bundle-check.1 +1 -1
  22. data/lib/bundler/man/bundle-clean.1 +1 -1
  23. data/lib/bundler/man/bundle-config.1 +3 -3
  24. data/lib/bundler/man/bundle-config.1.ronn +2 -2
  25. data/lib/bundler/man/bundle-doctor.1 +1 -1
  26. data/lib/bundler/man/bundle-exec.1 +1 -1
  27. data/lib/bundler/man/bundle-gem.1 +14 -1
  28. data/lib/bundler/man/bundle-gem.1.ronn +16 -0
  29. data/lib/bundler/man/bundle-info.1 +1 -1
  30. data/lib/bundler/man/bundle-init.1 +1 -1
  31. data/lib/bundler/man/bundle-inject.1 +1 -1
  32. data/lib/bundler/man/bundle-install.1 +1 -1
  33. data/lib/bundler/man/bundle-list.1 +1 -1
  34. data/lib/bundler/man/bundle-lock.1 +1 -1
  35. data/lib/bundler/man/bundle-open.1 +1 -1
  36. data/lib/bundler/man/bundle-outdated.1 +1 -1
  37. data/lib/bundler/man/bundle-platform.1 +1 -1
  38. data/lib/bundler/man/bundle-pristine.1 +1 -1
  39. data/lib/bundler/man/bundle-remove.1 +1 -1
  40. data/lib/bundler/man/bundle-show.1 +1 -1
  41. data/lib/bundler/man/bundle-update.1 +1 -1
  42. data/lib/bundler/man/bundle-viz.1 +1 -1
  43. data/lib/bundler/man/bundle.1 +1 -1
  44. data/lib/bundler/man/gemfile.5 +1 -1
  45. data/lib/bundler/rubygems_ext.rb +4 -0
  46. data/lib/bundler/rubygems_gem_installer.rb +20 -4
  47. data/lib/bundler/rubygems_integration.rb +26 -9
  48. data/lib/bundler/runtime.rb +2 -2
  49. data/lib/bundler/source/git/git_proxy.rb +5 -2
  50. data/lib/bundler/source/git.rb +22 -4
  51. data/lib/bundler/source/rubygems.rb +36 -72
  52. data/lib/bundler/spec_set.rb +1 -1
  53. data/lib/bundler/templates/newgem/Gemfile.tt +5 -2
  54. data/lib/bundler/templates/newgem/Rakefile.tt +5 -1
  55. data/lib/bundler/templates/newgem/newgem.gemspec.tt +13 -13
  56. data/lib/bundler/templates/newgem/standard.yml.tt +4 -0
  57. data/lib/bundler/vendor/connection_pool/LICENSE +20 -0
  58. data/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +19 -21
  59. data/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +1 -1
  60. data/lib/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +57 -0
  61. data/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +39 -74
  62. data/lib/bundler/vendor/fileutils/LICENSE.txt +22 -0
  63. data/lib/bundler/vendor/molinillo/LICENSE +9 -0
  64. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +2 -2
  65. data/lib/bundler/vendor/net-http-persistent/README.rdoc +82 -0
  66. data/lib/bundler/vendor/thor/LICENSE.md +20 -0
  67. data/lib/bundler/vendor/tsort/LICENSE.txt +22 -0
  68. data/lib/bundler/vendor/tsort/lib/tsort.rb +453 -0
  69. data/lib/bundler/vendor/uri/LICENSE.txt +22 -0
  70. data/lib/bundler/vendored_tsort.rb +4 -0
  71. data/lib/bundler/version.rb +1 -1
  72. data/lib/bundler/worker.rb +2 -2
  73. data/lib/bundler.rb +2 -1
  74. metadata +18 -7
  75. data/lib/bundler/vendor/connection_pool/lib/connection_pool/monotonic_time.rb +0 -66
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.27
4
+ version: 2.2.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Arko
@@ -19,10 +19,10 @@ authors:
19
19
  - Terence Lee
20
20
  - Carl Lerche
21
21
  - Yehuda Katz
22
- autorequire:
22
+ autorequire:
23
23
  bindir: exe
24
24
  cert_chain: []
25
- date: 2021-09-03 00:00:00.000000000 Z
25
+ date: 2021-11-08 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
@@ -83,6 +83,7 @@ files:
83
83
  - lib/bundler/dependency.rb
84
84
  - lib/bundler/deployment.rb
85
85
  - lib/bundler/deprecate.rb
86
+ - lib/bundler/digest.rb
86
87
  - lib/bundler/dsl.rb
87
88
  - lib/bundler/endpoint_specification.rb
88
89
  - lib/bundler/env.rb
@@ -236,6 +237,7 @@ files:
236
237
  - lib/bundler/templates/newgem/rubocop.yml.tt
237
238
  - lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
238
239
  - lib/bundler/templates/newgem/spec/spec_helper.rb.tt
240
+ - lib/bundler/templates/newgem/standard.yml.tt
239
241
  - lib/bundler/templates/newgem/test/minitest/newgem_test.rb.tt
240
242
  - lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt
241
243
  - lib/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt
@@ -246,11 +248,14 @@ files:
246
248
  - lib/bundler/ui/shell.rb
247
249
  - lib/bundler/ui/silent.rb
248
250
  - lib/bundler/uri_credentials_filter.rb
251
+ - lib/bundler/vendor/connection_pool/LICENSE
249
252
  - lib/bundler/vendor/connection_pool/lib/connection_pool.rb
250
- - lib/bundler/vendor/connection_pool/lib/connection_pool/monotonic_time.rb
251
253
  - lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb
252
254
  - lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb
255
+ - lib/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb
256
+ - lib/bundler/vendor/fileutils/LICENSE.txt
253
257
  - lib/bundler/vendor/fileutils/lib/fileutils.rb
258
+ - lib/bundler/vendor/molinillo/LICENSE
254
259
  - lib/bundler/vendor/molinillo/lib/molinillo.rb
255
260
  - lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb
256
261
  - lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb
@@ -271,10 +276,12 @@ files:
271
276
  - lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb
272
277
  - lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb
273
278
  - lib/bundler/vendor/molinillo/lib/molinillo/state.rb
279
+ - lib/bundler/vendor/net-http-persistent/README.rdoc
274
280
  - lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb
275
281
  - lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb
276
282
  - lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb
277
283
  - lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb
284
+ - lib/bundler/vendor/thor/LICENSE.md
278
285
  - lib/bundler/vendor/thor/lib/thor.rb
279
286
  - lib/bundler/vendor/thor/lib/thor/actions.rb
280
287
  - lib/bundler/vendor/thor/lib/thor/actions/create_file.rb
@@ -307,6 +314,9 @@ files:
307
314
  - lib/bundler/vendor/thor/lib/thor/util.rb
308
315
  - lib/bundler/vendor/thor/lib/thor/version.rb
309
316
  - lib/bundler/vendor/tmpdir/lib/tmpdir.rb
317
+ - lib/bundler/vendor/tsort/LICENSE.txt
318
+ - lib/bundler/vendor/tsort/lib/tsort.rb
319
+ - lib/bundler/vendor/uri/LICENSE.txt
310
320
  - lib/bundler/vendor/uri/lib/uri.rb
311
321
  - lib/bundler/vendor/uri/lib/uri/common.rb
312
322
  - lib/bundler/vendor/uri/lib/uri/file.rb
@@ -325,6 +335,7 @@ files:
325
335
  - lib/bundler/vendored_persistent.rb
326
336
  - lib/bundler/vendored_thor.rb
327
337
  - lib/bundler/vendored_tmpdir.rb
338
+ - lib/bundler/vendored_tsort.rb
328
339
  - lib/bundler/vendored_uri.rb
329
340
  - lib/bundler/version.rb
330
341
  - lib/bundler/version_ranges.rb
@@ -339,7 +350,7 @@ metadata:
339
350
  changelog_uri: https://github.com/rubygems/rubygems/blob/master/bundler/CHANGELOG.md
340
351
  homepage_uri: https://bundler.io/
341
352
  source_code_uri: https://github.com/rubygems/rubygems/
342
- post_install_message:
353
+ post_install_message:
343
354
  rdoc_options: []
344
355
  require_paths:
345
356
  - lib
@@ -354,8 +365,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
354
365
  - !ruby/object:Gem::Version
355
366
  version: 2.5.2
356
367
  requirements: []
357
- rubygems_version: 3.2.27
358
- signing_key:
368
+ rubygems_version: 3.2.31
369
+ signing_key:
359
370
  specification_version: 4
360
371
  summary: The best way to manage your application's dependencies
361
372
  test_files: []
@@ -1,66 +0,0 @@
1
- # Global monotonic clock from Concurrent Ruby 1.0.
2
- # Copyright (c) Jerry D'Antonio -- released under the MIT license.
3
- # Slightly modified; used with permission.
4
- # https://github.com/ruby-concurrency/concurrent-ruby
5
-
6
- require 'thread'
7
-
8
- class Bundler::ConnectionPool
9
-
10
- class_definition = Class.new do
11
-
12
- if defined?(Process::CLOCK_MONOTONIC)
13
-
14
- # @!visibility private
15
- def get_time
16
- Process.clock_gettime(Process::CLOCK_MONOTONIC)
17
- end
18
-
19
- elsif defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
20
-
21
- # @!visibility private
22
- def get_time
23
- java.lang.System.nanoTime() / 1_000_000_000.0
24
- end
25
-
26
- else
27
-
28
- # @!visibility private
29
- def initialize
30
- @mutex = Mutex.new
31
- @last_time = Time.now.to_f
32
- end
33
-
34
- # @!visibility private
35
- def get_time
36
- @mutex.synchronize do
37
- now = Time.now.to_f
38
- if @last_time < now
39
- @last_time = now
40
- else # clock has moved back in time
41
- @last_time += 0.000_001
42
- end
43
- end
44
- end
45
- end
46
- end
47
-
48
- ##
49
- # Clock that cannot be set and represents monotonic time since
50
- # some unspecified starting point.
51
- #
52
- # @!visibility private
53
- GLOBAL_MONOTONIC_CLOCK = class_definition.new
54
- private_constant :GLOBAL_MONOTONIC_CLOCK
55
-
56
- class << self
57
- ##
58
- # Returns the current time a tracked by the application monotonic clock.
59
- #
60
- # @return [Float] The current monotonic time when `since` not given else
61
- # the elapsed monotonic time between `since` and the current time
62
- def monotonic_time
63
- GLOBAL_MONOTONIC_CLOCK.get_time
64
- end
65
- end
66
- end