rubygems-update 3.5.6 → 3.5.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +54 -0
  3. data/Manifest.txt +7 -4
  4. data/bundler/CHANGELOG.md +30 -0
  5. data/bundler/lib/bundler/build_metadata.rb +2 -2
  6. data/bundler/lib/bundler/cli/binstubs.rb +1 -1
  7. data/bundler/lib/bundler/cli/plugin.rb +3 -2
  8. data/bundler/lib/bundler/cli.rb +1 -1
  9. data/bundler/lib/bundler/dsl.rb +16 -1
  10. data/bundler/lib/bundler/gem_version_promoter.rb +42 -38
  11. data/bundler/lib/bundler/man/bundle-add.1 +1 -1
  12. data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
  13. data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
  14. data/bundler/lib/bundler/man/bundle-check.1 +1 -1
  15. data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
  16. data/bundler/lib/bundler/man/bundle-config.1 +1 -1
  17. data/bundler/lib/bundler/man/bundle-console.1 +1 -1
  18. data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
  19. data/bundler/lib/bundler/man/bundle-exec.1 +1 -1
  20. data/bundler/lib/bundler/man/bundle-gem.1 +1 -1
  21. data/bundler/lib/bundler/man/bundle-help.1 +1 -1
  22. data/bundler/lib/bundler/man/bundle-info.1 +1 -1
  23. data/bundler/lib/bundler/man/bundle-init.1 +1 -1
  24. data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
  25. data/bundler/lib/bundler/man/bundle-install.1 +3 -3
  26. data/bundler/lib/bundler/man/bundle-install.1.ronn +2 -2
  27. data/bundler/lib/bundler/man/bundle-list.1 +1 -1
  28. data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
  29. data/bundler/lib/bundler/man/bundle-open.1 +1 -1
  30. data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
  31. data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
  32. data/bundler/lib/bundler/man/bundle-plugin.1 +7 -4
  33. data/bundler/lib/bundler/man/bundle-plugin.1.ronn +7 -3
  34. data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
  35. data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
  36. data/bundler/lib/bundler/man/bundle-show.1 +1 -1
  37. data/bundler/lib/bundler/man/bundle-update.1 +1 -1
  38. data/bundler/lib/bundler/man/bundle-version.1 +1 -1
  39. data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
  40. data/bundler/lib/bundler/man/bundle.1 +1 -1
  41. data/bundler/lib/bundler/man/gemfile.5 +3 -3
  42. data/bundler/lib/bundler/man/gemfile.5.ronn +2 -2
  43. data/bundler/lib/bundler/plugin/installer/path.rb +18 -0
  44. data/bundler/lib/bundler/plugin/installer.rb +36 -16
  45. data/bundler/lib/bundler/plugin/source_list.rb +4 -4
  46. data/bundler/lib/bundler/resolver/candidate.rb +1 -1
  47. data/bundler/lib/bundler/resolver.rb +54 -24
  48. data/bundler/lib/bundler/self_manager.rb +1 -1
  49. data/bundler/lib/bundler/settings.rb +10 -7
  50. data/bundler/lib/bundler/source/rubygems.rb +2 -2
  51. data/bundler/lib/bundler/source_list.rb +2 -2
  52. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +4 -3
  53. data/bundler/lib/bundler/templates/newgem/rubocop.yml.tt +0 -5
  54. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +1 -0
  55. data/bundler/lib/bundler/vendored_net_http.rb +7 -3
  56. data/bundler/lib/bundler/vendored_timeout.rb +7 -3
  57. data/bundler/lib/bundler/version.rb +1 -1
  58. data/lib/rubygems/command.rb +1 -1
  59. data/lib/rubygems/command_manager.rb +2 -1
  60. data/lib/rubygems/commands/build_command.rb +2 -11
  61. data/lib/rubygems/commands/help_command.rb +2 -2
  62. data/lib/rubygems/commands/rdoc_command.rb +1 -8
  63. data/lib/rubygems/commands/rebuild_command.rb +264 -0
  64. data/lib/rubygems/config_file.rb +20 -8
  65. data/lib/rubygems/defaults.rb +4 -4
  66. data/lib/rubygems/dependency.rb +2 -2
  67. data/lib/rubygems/dependency_list.rb +1 -1
  68. data/lib/rubygems/ext/cargo_builder.rb +1 -1
  69. data/lib/rubygems/gemcutter_utilities.rb +1 -1
  70. data/lib/rubygems/gemspec_helpers.rb +19 -0
  71. data/lib/rubygems/package.rb +2 -2
  72. data/lib/rubygems/remote_fetcher.rb +1 -1
  73. data/lib/rubygems/request.rb +1 -1
  74. data/lib/rubygems/request_set.rb +1 -1
  75. data/lib/rubygems/resolver/spec_specification.rb +7 -0
  76. data/lib/rubygems/s3_uri_signer.rb +1 -1
  77. data/lib/rubygems/safe_yaml.rb +10 -1
  78. data/lib/rubygems/security.rb +1 -1
  79. data/lib/rubygems/specification.rb +1 -1
  80. data/lib/rubygems/specification_policy.rb +9 -1
  81. data/lib/rubygems/util/licenses.rb +43 -0
  82. data/lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb +1 -1
  83. data/lib/rubygems/vendored_net_http.rb +5 -0
  84. data/lib/rubygems/vendored_timeout.rb +5 -0
  85. data/lib/rubygems.rb +2 -2
  86. data/rubygems-update.gemspec +1 -1
  87. metadata +10 -7
  88. data/lib/rubygems/net/http.rb +0 -3
  89. data/lib/rubygems/timeout.rb +0 -3
  90. /data/lib/rubygems/{optparse.rb → vendored_optparse.rb} +0 -0
  91. /data/lib/rubygems/{tsort.rb → vendored_tsort.rb} +0 -0
@@ -28,6 +28,7 @@ class Gem::Licenses
28
28
  AGPL-3.0-or-later
29
29
  AMDPLPA
30
30
  AML
31
+ AML-glslang
31
32
  AMPAS
32
33
  ANTLR-PD
33
34
  ANTLR-PD-fallback
@@ -42,6 +43,7 @@ class Gem::Licenses
42
43
  Abstyles
43
44
  AdaCore-doc
44
45
  Adobe-2006
46
+ Adobe-Display-PostScript
45
47
  Adobe-Glyph
46
48
  Adobe-Utopia
47
49
  Afmparse
@@ -57,6 +59,7 @@ class Gem::Licenses
57
59
  Artistic-2.0
58
60
  BSD-1-Clause
59
61
  BSD-2-Clause
62
+ BSD-2-Clause-Darwin
60
63
  BSD-2-Clause-Patent
61
64
  BSD-2-Clause-Views
62
65
  BSD-3-Clause
@@ -71,6 +74,7 @@ class Gem::Licenses
71
74
  BSD-3-Clause-No-Nuclear-Warranty
72
75
  BSD-3-Clause-Open-MPI
73
76
  BSD-3-Clause-Sun
77
+ BSD-3-Clause-acpica
74
78
  BSD-3-Clause-flex
75
79
  BSD-4-Clause
76
80
  BSD-4-Clause-Shortened
@@ -82,7 +86,9 @@ class Gem::Licenses
82
86
  BSD-Inferno-Nettverk
83
87
  BSD-Protection
84
88
  BSD-Source-Code
89
+ BSD-Source-beginning-file
85
90
  BSD-Systemics
91
+ BSD-Systemics-W3Works
86
92
  BSL-1.0
87
93
  BUSL-1.1
88
94
  Baekmuk
@@ -96,6 +102,7 @@ class Gem::Licenses
96
102
  BlueOak-1.0.0
97
103
  Boehm-GC
98
104
  Borceux
105
+ Brian-Gladman-2-Clause
99
106
  Brian-Gladman-3-Clause
100
107
  C-UDA-1.0
101
108
  CAL-1.0
@@ -107,6 +114,7 @@ class Gem::Licenses
107
114
  CC-BY-2.5-AU
108
115
  CC-BY-3.0
109
116
  CC-BY-3.0-AT
117
+ CC-BY-3.0-AU
110
118
  CC-BY-3.0-DE
111
119
  CC-BY-3.0-IGO
112
120
  CC-BY-3.0-NL
@@ -172,6 +180,7 @@ class Gem::Licenses
172
180
  CERN-OHL-W-2.0
173
181
  CFITSIO
174
182
  CMU-Mach
183
+ CMU-Mach-nodoc
175
184
  CNRI-Jython
176
185
  CNRI-Python
177
186
  CNRI-Python-GPL-Compatible
@@ -181,6 +190,7 @@ class Gem::Licenses
181
190
  CPOL-1.02
182
191
  CUA-OPL-1.0
183
192
  Caldera
193
+ Caldera-no-preamble
184
194
  ClArtistic
185
195
  Clips
186
196
  Community-Spec-1.0
@@ -191,10 +201,12 @@ class Gem::Licenses
191
201
  CrystalStacker
192
202
  Cube
193
203
  D-FSL-1.0
204
+ DEC-3-Clause
194
205
  DL-DE-BY-2.0
195
206
  DL-DE-ZERO-2.0
196
207
  DOC
197
208
  DRL-1.0
209
+ DRL-1.1
198
210
  DSDP
199
211
  Dotseqn
200
212
  ECL-1.0
@@ -215,6 +227,7 @@ class Gem::Licenses
215
227
  FBM
216
228
  FDK-AAC
217
229
  FSFAP
230
+ FSFAP-no-warranty-disclaimer
218
231
  FSFUL
219
232
  FSFULLR
220
233
  FSFULLRWD
@@ -225,6 +238,7 @@ class Gem::Licenses
225
238
  FreeBSD-DOC
226
239
  FreeImage
227
240
  Furuseth
241
+ GCR-docs
228
242
  GD
229
243
  GFDL-1.1-invariants-only
230
244
  GFDL-1.1-invariants-or-later
@@ -260,6 +274,10 @@ class Gem::Licenses
260
274
  HP-1989
261
275
  HPND
262
276
  HPND-DEC
277
+ HPND-Fenneberg-Livingston
278
+ HPND-INRIA-IMAG
279
+ HPND-Kevlin-Henney
280
+ HPND-MIT-disclaimer
263
281
  HPND-Markus-Kuhn
264
282
  HPND-Pbmplus
265
283
  HPND-UC
@@ -267,6 +285,7 @@ class Gem::Licenses
267
285
  HPND-doc-sell
268
286
  HPND-export-US
269
287
  HPND-export-US-modify
288
+ HPND-sell-MIT-disclaimer-xserver
270
289
  HPND-sell-regexpr
271
290
  HPND-sell-variant
272
291
  HPND-sell-variant-MIT-disclaimer
@@ -281,6 +300,7 @@ class Gem::Licenses
281
300
  IPA
282
301
  IPL-1.0
283
302
  ISC
303
+ ISC-Veillard
284
304
  ImageMagick
285
305
  Imlib2
286
306
  Info-ZIP
@@ -306,6 +326,7 @@ class Gem::Licenses
306
326
  LGPL-3.0-or-later
307
327
  LGPLLR
308
328
  LOOP
329
+ LPD-document
309
330
  LPL-1.0
310
331
  LPL-1.02
311
332
  LPPL-1.0
@@ -350,6 +371,8 @@ class Gem::Licenses
350
371
  MS-PL
351
372
  MS-RL
352
373
  MTLL
374
+ Mackerras-3-Clause
375
+ Mackerras-3-Clause-acknowledgment
353
376
  MakeIndex
354
377
  Martin-Birgmeier
355
378
  McPhee-slideshow
@@ -434,6 +457,8 @@ class Gem::Licenses
434
457
  OSL-3.0
435
458
  OpenPBS-2.3
436
459
  OpenSSL
460
+ OpenSSL-standalone
461
+ OpenVision
437
462
  PADL
438
463
  PDDL-1.0
439
464
  PHP-3.0
@@ -441,6 +466,7 @@ class Gem::Licenses
441
466
  PSF-2.0
442
467
  Parity-6.0.0
443
468
  Parity-7.0.0
469
+ Pixar
444
470
  Plexus
445
471
  PolyForm-Noncommercial-1.0.0
446
472
  PolyForm-Small-Business-1.0.0
@@ -459,6 +485,7 @@ class Gem::Licenses
459
485
  Rdisc
460
486
  Ruby
461
487
  SAX-PD
488
+ SAX-PD-2.0
462
489
  SCEA
463
490
  SGI-B-1.0
464
491
  SGI-B-1.1
@@ -476,6 +503,7 @@ class Gem::Licenses
476
503
  SPL-1.0
477
504
  SSH-OpenSSH
478
505
  SSH-short
506
+ SSLeay-standalone
479
507
  SSPL-1.0
480
508
  SWL
481
509
  Saxpath
@@ -489,11 +517,13 @@ class Gem::Licenses
489
517
  Spencer-94
490
518
  Spencer-99
491
519
  SugarCRM-1.1.3
520
+ Sun-PPP
492
521
  SunPro
493
522
  Symlinks
494
523
  TAPR-OHL-1.0
495
524
  TCL
496
525
  TCP-wrappers
526
+ TGPPL-1.0
497
527
  TMate
498
528
  TORQUE-1.1
499
529
  TOSL
@@ -506,8 +536,10 @@ class Gem::Licenses
506
536
  TermReadKey
507
537
  UCAR
508
538
  UCL-1.0
539
+ UMich-Merit
509
540
  UPL-1.0
510
541
  URT-RLE
542
+ Unicode-3.0
511
543
  Unicode-DFS-2015
512
544
  Unicode-DFS-2016
513
545
  Unicode-TOU
@@ -542,6 +574,7 @@ class Gem::Licenses
542
574
  Zimbra-1.3
543
575
  Zimbra-1.4
544
576
  Zlib
577
+ bcrypt-Solar-Designer
545
578
  blessing
546
579
  bzip2-1.0.6
547
580
  check-cvs
@@ -557,6 +590,8 @@ class Gem::Licenses
557
590
  fwlw
558
591
  gSOAP-1.3b
559
592
  gnuplot
593
+ gtkbook
594
+ hdparm
560
595
  iMatix
561
596
  libpng-2.0
562
597
  libselinux-1.0
@@ -564,6 +599,7 @@ class Gem::Licenses
564
599
  libutil-David-Nugent
565
600
  lsof
566
601
  magaz
602
+ mailprio
567
603
  metamail
568
604
  mpi-permissive
569
605
  mpich2
@@ -572,12 +608,15 @@ class Gem::Licenses
572
608
  psfrag
573
609
  psutils
574
610
  python-ldap
611
+ radvd
575
612
  snprintf
613
+ softSurfer
576
614
  ssh-keyscan
577
615
  swrule
578
616
  ulem
579
617
  w3m
580
618
  xinetd
619
+ xkeyboard-config-Zinoviev
581
620
  xlock
582
621
  xpp
583
622
  zlib-acknowledgement
@@ -626,6 +665,7 @@ class Gem::Licenses
626
665
  Autoconf-exception-generic
627
666
  Autoconf-exception-generic-3.0
628
667
  Autoconf-exception-macro
668
+ Bison-exception-1.24
629
669
  Bison-exception-2.2
630
670
  Bootloader-exception
631
671
  CLISP-exception-2.0
@@ -638,6 +678,7 @@ class Gem::Licenses
638
678
  GCC-exception-2.0-note
639
679
  GCC-exception-3.1
640
680
  GNAT-exception
681
+ GNOME-examples-exception
641
682
  GNU-compiler-exception
642
683
  GPL-3.0-interface-exception
643
684
  GPL-3.0-linking-exception
@@ -645,6 +686,7 @@ class Gem::Licenses
645
686
  GPL-CC-1.0
646
687
  GStreamer-exception-2005
647
688
  GStreamer-exception-2008
689
+ Gmsh-exception
648
690
  KiCad-libraries-exception
649
691
  LGPL-3.0-linking-exception
650
692
  LLGPL
@@ -671,6 +713,7 @@ class Gem::Licenses
671
713
  WxWindows-exception-3.1
672
714
  cryptsetup-OpenSSL-exception
673
715
  eCos-exception-2.0
716
+ fmt-exception
674
717
  freertos-exception-2.0
675
718
  gnu-javamail-exception
676
719
  i2p-gpl-java-exception
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative '../../../../tsort'
3
+ require_relative '../../../../vendored_tsort'
4
4
 
5
5
  require_relative 'dependency_graph/log'
6
6
  require_relative 'dependency_graph/vertex'
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Ruby 3.3 and RubyGems 3.5 is already load Gem::Timeout from lib/rubygems/net/http.rb
4
+ # We should avoid to load it again
5
+ require_relative "vendor/net-http/lib/net/http" unless defined?(Gem::Net::HTTP)
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Ruby 3.3 and RubyGems 3.5 is already load Gem::Timeout from lib/rubygems/timeout.rb
4
+ # We should avoid to load it again
5
+ require_relative "vendor/timeout/lib/timeout" unless defined?(Gem::Timeout)
data/lib/rubygems.rb CHANGED
@@ -9,7 +9,7 @@
9
9
  require "rbconfig"
10
10
 
11
11
  module Gem
12
- VERSION = "3.5.6"
12
+ VERSION = "3.5.8"
13
13
  end
14
14
 
15
15
  # Must be first since it unloads the prelude from 1.9.2
@@ -1225,7 +1225,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
1225
1225
 
1226
1226
  def find_unresolved_default_spec(path)
1227
1227
  default_spec = @path_to_default_spec_map[path]
1228
- return default_spec if default_spec && loaded_specs[default_spec.name] != default_spec
1228
+ default_spec if default_spec && loaded_specs[default_spec.name] != default_spec
1229
1229
  end
1230
1230
 
1231
1231
  ##
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rubygems-update"
5
- s.version = "3.5.6"
5
+ s.version = "3.5.8"
6
6
  s.authors = ["Jim Weirich", "Chad Fowler", "Eric Hodel", "Luis Lavena", "Aaron Patterson", "Samuel Giddins", "André Arko", "Evan Phoenix", "Hiroshi SHIBATA"]
7
7
  s.email = ["", "", "drbrain@segment7.net", "luislavena@gmail.com", "aaron@tenderlovemaking.com", "segiddins@segiddins.me", "andre@arko.net", "evan@phx.io", "hsbt@ruby-lang.org"]
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-update
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.6
4
+ version: 3.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich
@@ -16,7 +16,7 @@ authors:
16
16
  autorequire:
17
17
  bindir: exe
18
18
  cert_chain: []
19
- date: 2024-02-06 00:00:00.000000000 Z
19
+ date: 2024-04-11 00:00:00.000000000 Z
20
20
  dependencies: []
21
21
  description: |-
22
22
  A package (also known as a library) contains a set of functionality
@@ -246,6 +246,7 @@ files:
246
246
  - bundler/lib/bundler/plugin/index.rb
247
247
  - bundler/lib/bundler/plugin/installer.rb
248
248
  - bundler/lib/bundler/plugin/installer/git.rb
249
+ - bundler/lib/bundler/plugin/installer/path.rb
249
250
  - bundler/lib/bundler/plugin/installer/rubygems.rb
250
251
  - bundler/lib/bundler/plugin/source_list.rb
251
252
  - bundler/lib/bundler/process_lock.rb
@@ -465,6 +466,7 @@ files:
465
466
  - lib/rubygems/commands/push_command.rb
466
467
  - lib/rubygems/commands/query_command.rb
467
468
  - lib/rubygems/commands/rdoc_command.rb
469
+ - lib/rubygems/commands/rebuild_command.rb
468
470
  - lib/rubygems/commands/search_command.rb
469
471
  - lib/rubygems/commands/server_command.rb
470
472
  - lib/rubygems/commands/setup_command.rb
@@ -506,6 +508,7 @@ files:
506
508
  - lib/rubygems/gemcutter_utilities/webauthn_listener.rb
507
509
  - lib/rubygems/gemcutter_utilities/webauthn_listener/response.rb
508
510
  - lib/rubygems/gemcutter_utilities/webauthn_poller.rb
511
+ - lib/rubygems/gemspec_helpers.rb
509
512
  - lib/rubygems/install_default_message.rb
510
513
  - lib/rubygems/install_message.rb
511
514
  - lib/rubygems/install_update_options.rb
@@ -513,9 +516,7 @@ files:
513
516
  - lib/rubygems/installer_uninstaller_utils.rb
514
517
  - lib/rubygems/local_remote_options.rb
515
518
  - lib/rubygems/name_tuple.rb
516
- - lib/rubygems/net/http.rb
517
519
  - lib/rubygems/openssl.rb
518
- - lib/rubygems/optparse.rb
519
520
  - lib/rubygems/package.rb
520
521
  - lib/rubygems/package/digest_io.rb
521
522
  - lib/rubygems/package/file_source.rb
@@ -601,8 +602,6 @@ files:
601
602
  - lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
602
603
  - lib/rubygems/stub_specification.rb
603
604
  - lib/rubygems/text.rb
604
- - lib/rubygems/timeout.rb
605
- - lib/rubygems/tsort.rb
606
605
  - lib/rubygems/uninstaller.rb
607
606
  - lib/rubygems/unknown_command_spell_checker.rb
608
607
  - lib/rubygems/update_suggestion.rb
@@ -690,6 +689,10 @@ files:
690
689
  - lib/rubygems/vendor/uri/lib/uri/ws.rb
691
690
  - lib/rubygems/vendor/uri/lib/uri/wss.rb
692
691
  - lib/rubygems/vendored_molinillo.rb
692
+ - lib/rubygems/vendored_net_http.rb
693
+ - lib/rubygems/vendored_optparse.rb
694
+ - lib/rubygems/vendored_timeout.rb
695
+ - lib/rubygems/vendored_tsort.rb
693
696
  - lib/rubygems/version.rb
694
697
  - lib/rubygems/version_option.rb
695
698
  - lib/rubygems/yaml_serializer.rb
@@ -722,7 +725,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
722
725
  - !ruby/object:Gem::Version
723
726
  version: '0'
724
727
  requirements: []
725
- rubygems_version: 3.5.6
728
+ rubygems_version: 3.5.8
726
729
  signing_key:
727
730
  specification_version: 4
728
731
  summary: RubyGems is a package management framework for Ruby. This gem is downloaded
@@ -1,3 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "../vendor/net-http/lib/net/http"
@@ -1,3 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "vendor/timeout/lib/timeout"
File without changes
File without changes