rubygems-update 3.6.1 → 3.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +40 -0
  3. data/bundler/CHANGELOG.md +32 -0
  4. data/bundler/README.md +1 -1
  5. data/bundler/lib/bundler/build_metadata.rb +2 -2
  6. data/bundler/lib/bundler/cli/outdated.rb +6 -4
  7. data/bundler/lib/bundler/definition.rb +2 -2
  8. data/bundler/lib/bundler/dependency.rb +1 -1
  9. data/bundler/lib/bundler/feature_flag.rb +2 -6
  10. data/bundler/lib/bundler/installer.rb +15 -1
  11. data/bundler/lib/bundler/man/bundle-add.1 +3 -3
  12. data/bundler/lib/bundler/man/bundle-binstubs.1 +3 -3
  13. data/bundler/lib/bundler/man/bundle-cache.1 +3 -3
  14. data/bundler/lib/bundler/man/bundle-check.1 +3 -3
  15. data/bundler/lib/bundler/man/bundle-clean.1 +3 -3
  16. data/bundler/lib/bundler/man/bundle-config.1 +3 -3
  17. data/bundler/lib/bundler/man/bundle-console.1 +3 -3
  18. data/bundler/lib/bundler/man/bundle-doctor.1 +3 -3
  19. data/bundler/lib/bundler/man/bundle-env.1 +3 -3
  20. data/bundler/lib/bundler/man/bundle-exec.1 +3 -3
  21. data/bundler/lib/bundler/man/bundle-fund.1 +3 -3
  22. data/bundler/lib/bundler/man/bundle-gem.1 +3 -3
  23. data/bundler/lib/bundler/man/bundle-help.1 +3 -3
  24. data/bundler/lib/bundler/man/bundle-info.1 +3 -3
  25. data/bundler/lib/bundler/man/bundle-init.1 +3 -3
  26. data/bundler/lib/bundler/man/bundle-inject.1 +3 -3
  27. data/bundler/lib/bundler/man/bundle-install.1 +3 -3
  28. data/bundler/lib/bundler/man/bundle-issue.1 +3 -3
  29. data/bundler/lib/bundler/man/bundle-licenses.1 +3 -3
  30. data/bundler/lib/bundler/man/bundle-list.1 +3 -3
  31. data/bundler/lib/bundler/man/bundle-lock.1 +4 -4
  32. data/bundler/lib/bundler/man/bundle-lock.1.ronn +1 -1
  33. data/bundler/lib/bundler/man/bundle-open.1 +3 -3
  34. data/bundler/lib/bundler/man/bundle-outdated.1 +3 -3
  35. data/bundler/lib/bundler/man/bundle-platform.1 +3 -3
  36. data/bundler/lib/bundler/man/bundle-plugin.1 +3 -3
  37. data/bundler/lib/bundler/man/bundle-pristine.1 +3 -3
  38. data/bundler/lib/bundler/man/bundle-remove.1 +3 -3
  39. data/bundler/lib/bundler/man/bundle-show.1 +3 -3
  40. data/bundler/lib/bundler/man/bundle-update.1 +3 -3
  41. data/bundler/lib/bundler/man/bundle-version.1 +3 -3
  42. data/bundler/lib/bundler/man/bundle-viz.1 +3 -3
  43. data/bundler/lib/bundler/man/bundle.1 +3 -3
  44. data/bundler/lib/bundler/man/gemfile.5 +3 -3
  45. data/bundler/lib/bundler/plugin/index.rb +4 -0
  46. data/bundler/lib/bundler/resolver/base.rb +2 -1
  47. data/bundler/lib/bundler/resolver/package.rb +1 -1
  48. data/bundler/lib/bundler/resolver.rb +2 -1
  49. data/bundler/lib/bundler/ruby_dsl.rb +12 -3
  50. data/bundler/lib/bundler/rubygems_integration.rb +0 -12
  51. data/bundler/lib/bundler/self_manager.rb +3 -2
  52. data/bundler/lib/bundler/source/git.rb +1 -0
  53. data/bundler/lib/bundler/spec_set.rb +16 -2
  54. data/bundler/lib/bundler/version.rb +1 -1
  55. data/bundler/lib/bundler.rb +10 -30
  56. data/doc/rubygems/POLICIES.md +1 -1
  57. data/lib/rubygems/commands/environment_command.rb +5 -0
  58. data/lib/rubygems/rdoc.rb +10 -1
  59. data/lib/rubygems/requirement.rb +4 -3
  60. data/lib/rubygems/safe_marshal/reader.rb +31 -14
  61. data/lib/rubygems/safe_marshal/visitors/to_ruby.rb +29 -16
  62. data/lib/rubygems/specification.rb +3 -11
  63. data/lib/rubygems/uninstaller.rb +0 -1
  64. data/lib/rubygems/util/licenses.rb +19 -0
  65. data/lib/rubygems/version.rb +4 -1
  66. data/lib/rubygems.rb +9 -2
  67. data/rubygems-update.gemspec +1 -1
  68. metadata +3 -4
@@ -104,6 +104,7 @@ class Gem::Licenses
104
104
  Bitstream-Vera
105
105
  BlueOak-1.0.0
106
106
  Boehm-GC
107
+ Boehm-GC-without-fee
107
108
  Borceux
108
109
  Brian-Gladman-2-Clause
109
110
  Brian-Gladman-3-Clause
@@ -163,6 +164,8 @@ class Gem::Licenses
163
164
  CC-BY-SA-3.0-IGO
164
165
  CC-BY-SA-4.0
165
166
  CC-PDDC
167
+ CC-PDM-1.0
168
+ CC-SA-1.0
166
169
  CC0-1.0
167
170
  CDDL-1.0
168
171
  CDDL-1.1
@@ -213,6 +216,7 @@ class Gem::Licenses
213
216
  DRL-1.1
214
217
  DSDP
215
218
  DocBook-Schema
219
+ DocBook-Stylesheet
216
220
  DocBook-XML
217
221
  Dotseqn
218
222
  ECL-1.0
@@ -320,6 +324,7 @@ class Gem::Licenses
320
324
  Imlib2
321
325
  Info-ZIP
322
326
  Inner-Net-2.0
327
+ InnoSetup
323
328
  Intel
324
329
  Intel-ACPI
325
330
  Interbase-1.0
@@ -364,9 +369,11 @@ class Gem::Licenses
364
369
  Linux-man-pages-copyleft-2-para
365
370
  Linux-man-pages-copyleft-var
366
371
  Lucida-Bitmap-Fonts
372
+ MIPS
367
373
  MIT
368
374
  MIT-0
369
375
  MIT-CMU
376
+ MIT-Click
370
377
  MIT-Festival
371
378
  MIT-Khronos-old
372
379
  MIT-Modern-Variant
@@ -517,6 +524,7 @@ class Gem::Licenses
517
524
  SISSL
518
525
  SISSL-1.2
519
526
  SL
527
+ SMAIL-GPL
520
528
  SMLNJ
521
529
  SMPPL
522
530
  SNIA
@@ -530,6 +538,7 @@ class Gem::Licenses
530
538
  SchemeReport
531
539
  Sendmail
532
540
  Sendmail-8.23
541
+ Sendmail-Open-Source-1.1
533
542
  SimPL-2.0
534
543
  Sleepycat
535
544
  Soundex
@@ -555,6 +564,8 @@ class Gem::Licenses
555
564
  TU-Berlin-1.0
556
565
  TU-Berlin-2.0
557
566
  TermReadKey
567
+ ThirdEye
568
+ TrustedQSL
558
569
  UCAR
559
570
  UCL-1.0
560
571
  UMich-Merit
@@ -598,6 +609,7 @@ class Gem::Licenses
598
609
  Zimbra-1.4
599
610
  Zlib
600
611
  any-OSI
612
+ any-OSI-perl-modules
601
613
  bcrypt-Solar-Designer
602
614
  blessing
603
615
  bzip2-1.0.6
@@ -614,6 +626,7 @@ class Gem::Licenses
614
626
  etalab-2.0
615
627
  fwlw
616
628
  gSOAP-1.3b
629
+ generic-xts
617
630
  gnuplot
618
631
  gtkbook
619
632
  hdparm
@@ -642,6 +655,7 @@ class Gem::Licenses
642
655
  threeparttable
643
656
  ulem
644
657
  w3m
658
+ wwl
645
659
  xinetd
646
660
  xkeyboard-config-Zinoviev
647
661
  xlock
@@ -698,6 +712,7 @@ class Gem::Licenses
698
712
  Bison-exception-1.24
699
713
  Bison-exception-2.2
700
714
  Bootloader-exception
715
+ CGAL-linking-exception
701
716
  CLISP-exception-2.0
702
717
  Classpath-exception-2.0
703
718
  DigiRule-FOSS-exception
@@ -710,6 +725,7 @@ class Gem::Licenses
710
725
  GNAT-exception
711
726
  GNOME-examples-exception
712
727
  GNU-compiler-exception
728
+ GPL-3.0-389-ds-base-exception
713
729
  GPL-3.0-interface-exception
714
730
  GPL-3.0-linking-exception
715
731
  GPL-3.0-linking-source-exception
@@ -717,6 +733,7 @@ class Gem::Licenses
717
733
  GStreamer-exception-2005
718
734
  GStreamer-exception-2008
719
735
  Gmsh-exception
736
+ Independent-modules-exception
720
737
  KiCad-libraries-exception
721
738
  LGPL-3.0-linking-exception
722
739
  LLGPL
@@ -749,9 +766,11 @@ class Gem::Licenses
749
766
  fmt-exception
750
767
  freertos-exception-2.0
751
768
  gnu-javamail-exception
769
+ harbour-exception
752
770
  i2p-gpl-java-exception
753
771
  libpri-OpenH323-exception
754
772
  mif-exception
773
+ mxml-exception
755
774
  openvpn-openssl-exception
756
775
  romic-exception
757
776
  stunnel-exception
@@ -288,7 +288,10 @@ class Gem::Version
288
288
  # 1.3.5 and earlier) compatibility.
289
289
 
290
290
  def marshal_load(array)
291
- initialize array[0]
291
+ string = array[0]
292
+ raise TypeError, "wrong version string" unless string.is_a?(String)
293
+
294
+ initialize string
292
295
  end
293
296
 
294
297
  def yaml_initialize(tag, map) # :nodoc:
data/lib/rubygems.rb CHANGED
@@ -9,7 +9,7 @@
9
9
  require "rbconfig"
10
10
 
11
11
  module Gem
12
- VERSION = "3.6.1"
12
+ VERSION = "3.6.3"
13
13
  end
14
14
 
15
15
  # Must be first since it unloads the prelude from 1.9.2
@@ -815,7 +815,14 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
815
815
 
816
816
  File.open(path, mode) do |io|
817
817
  begin
818
- io.flock(File::LOCK_EX)
818
+ # Try to get a lock without blocking.
819
+ # If we do, the file is locked.
820
+ # Otherwise, explain why we're waiting and get a lock, but block this time.
821
+ if io.flock(File::LOCK_EX | File::LOCK_NB) != 0
822
+ warn "Waiting for another process to let go of lock: #{path}"
823
+ io.flock(File::LOCK_EX)
824
+ end
825
+ io.puts(Process.pid)
819
826
  rescue Errno::ENOSYS, Errno::ENOTSUP
820
827
  end
821
828
  yield io
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rubygems-update"
5
- s.version = "3.6.1"
5
+ s.version = "3.6.3"
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,9 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-update
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.1
4
+ version: 3.6.3
5
5
  platform: ruby
6
- original_platform: ''
7
6
  authors:
8
7
  - Jim Weirich
9
8
  - Chad Fowler
@@ -16,7 +15,7 @@ authors:
16
15
  - Hiroshi SHIBATA
17
16
  bindir: exe
18
17
  cert_chain: []
19
- date: 2024-12-17 00:00:00.000000000 Z
18
+ date: 2025-01-16 00:00:00.000000000 Z
20
19
  dependencies: []
21
20
  description: |-
22
21
  A package (also known as a library) contains a set of functionality
@@ -747,7 +746,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
747
746
  - !ruby/object:Gem::Version
748
747
  version: '0'
749
748
  requirements: []
750
- rubygems_version: 3.6.1
749
+ rubygems_version: 3.6.3
751
750
  specification_version: 4
752
751
  summary: RubyGems is a package management framework for Ruby. This gem is downloaded
753
752
  and installed by `gem update --system`, so that the `gem` CLI can update itself.