rubygems-update 3.6.4 → 3.6.6

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 (70) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/bundler/CHANGELOG.md +38 -0
  4. data/bundler/lib/bundler/build_metadata.rb +2 -2
  5. data/bundler/lib/bundler/checksum.rb +1 -1
  6. data/bundler/lib/bundler/cli/doctor.rb +14 -14
  7. data/bundler/lib/bundler/cli/inject.rb +2 -2
  8. data/bundler/lib/bundler/cli/lock.rb +2 -1
  9. data/bundler/lib/bundler/compact_index_client/updater.rb +2 -1
  10. data/bundler/lib/bundler/definition.rb +68 -57
  11. data/bundler/lib/bundler/errors.rb +18 -0
  12. data/bundler/lib/bundler/injector.rb +9 -9
  13. data/bundler/lib/bundler/man/bundle-add.1 +1 -1
  14. data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
  15. data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
  16. data/bundler/lib/bundler/man/bundle-check.1 +1 -1
  17. data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
  18. data/bundler/lib/bundler/man/bundle-config.1 +6 -6
  19. data/bundler/lib/bundler/man/bundle-config.1.ronn +9 -4
  20. data/bundler/lib/bundler/man/bundle-console.1 +1 -1
  21. data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
  22. data/bundler/lib/bundler/man/bundle-env.1 +1 -1
  23. data/bundler/lib/bundler/man/bundle-exec.1 +3 -3
  24. data/bundler/lib/bundler/man/bundle-exec.1.ronn +2 -2
  25. data/bundler/lib/bundler/man/bundle-fund.1 +1 -1
  26. data/bundler/lib/bundler/man/bundle-gem.1 +1 -1
  27. data/bundler/lib/bundler/man/bundle-help.1 +1 -1
  28. data/bundler/lib/bundler/man/bundle-info.1 +1 -1
  29. data/bundler/lib/bundler/man/bundle-init.1 +1 -1
  30. data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
  31. data/bundler/lib/bundler/man/bundle-install.1 +1 -1
  32. data/bundler/lib/bundler/man/bundle-issue.1 +1 -1
  33. data/bundler/lib/bundler/man/bundle-licenses.1 +1 -1
  34. data/bundler/lib/bundler/man/bundle-list.1 +1 -1
  35. data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
  36. data/bundler/lib/bundler/man/bundle-open.1 +1 -1
  37. data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
  38. data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
  39. data/bundler/lib/bundler/man/bundle-plugin.1 +1 -1
  40. data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
  41. data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
  42. data/bundler/lib/bundler/man/bundle-show.1 +1 -1
  43. data/bundler/lib/bundler/man/bundle-update.1 +1 -1
  44. data/bundler/lib/bundler/man/bundle-version.1 +1 -1
  45. data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
  46. data/bundler/lib/bundler/man/bundle.1 +1 -1
  47. data/bundler/lib/bundler/man/gemfile.5 +1 -1
  48. data/bundler/lib/bundler/plugin/index.rb +1 -1
  49. data/bundler/lib/bundler/resolver/candidate.rb +11 -8
  50. data/bundler/lib/bundler/resolver.rb +1 -1
  51. data/bundler/lib/bundler/rubygems_ext.rb +1 -1
  52. data/bundler/lib/bundler/shared_helpers.rb +4 -0
  53. data/bundler/lib/bundler/source/git/git_proxy.rb +6 -0
  54. data/bundler/lib/bundler/source/git.rb +5 -1
  55. data/bundler/lib/bundler/source/rubygems/remote.rb +11 -3
  56. data/bundler/lib/bundler/vendor/uri/lib/uri/common.rb +7 -3
  57. data/bundler/lib/bundler/vendor/uri/lib/uri/generic.rb +12 -11
  58. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +6 -6
  59. data/bundler/lib/bundler/vendor/uri/lib/uri/version.rb +1 -1
  60. data/bundler/lib/bundler/version.rb +1 -1
  61. data/lib/rubygems/command.rb +0 -3
  62. data/lib/rubygems/local_remote_options.rb +2 -2
  63. data/lib/rubygems/rdoc.rb +8 -4
  64. data/lib/rubygems/vendor/uri/lib/uri/common.rb +7 -3
  65. data/lib/rubygems/vendor/uri/lib/uri/generic.rb +12 -11
  66. data/lib/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb +6 -6
  67. data/lib/rubygems/vendor/uri/lib/uri/version.rb +1 -1
  68. data/lib/rubygems.rb +1 -1
  69. data/rubygems-update.gemspec +1 -1
  70. metadata +3 -3
@@ -737,12 +737,12 @@ module Gem::URI
737
737
  end
738
738
  private :check_registry
739
739
 
740
- def set_registry(v) #:nodoc:
740
+ def set_registry(v) # :nodoc:
741
741
  raise InvalidURIError, "cannot set registry"
742
742
  end
743
743
  protected :set_registry
744
744
 
745
- def registry=(v)
745
+ def registry=(v) # :nodoc:
746
746
  raise InvalidURIError, "cannot set registry"
747
747
  end
748
748
 
@@ -1133,17 +1133,16 @@ module Gem::URI
1133
1133
  base.fragment=(nil)
1134
1134
 
1135
1135
  # RFC2396, Section 5.2, 4)
1136
- if !authority
1137
- base.set_path(merge_path(base.path, rel.path)) if base.path && rel.path
1138
- else
1139
- # RFC2396, Section 5.2, 4)
1140
- base.set_path(rel.path) if rel.path
1136
+ if authority
1137
+ base.set_userinfo(rel.userinfo)
1138
+ base.set_host(rel.host)
1139
+ base.set_port(rel.port || base.default_port)
1140
+ base.set_path(rel.path)
1141
+ elsif base.path && rel.path
1142
+ base.set_path(merge_path(base.path, rel.path))
1141
1143
  end
1142
1144
 
1143
1145
  # RFC2396, Section 5.2, 7)
1144
- base.set_userinfo(rel.userinfo) if rel.userinfo
1145
- base.set_host(rel.host) if rel.host
1146
- base.set_port(rel.port) if rel.port
1147
1146
  base.query = rel.query if rel.query
1148
1147
  base.fragment=(rel.fragment) if rel.fragment
1149
1148
 
@@ -1392,10 +1391,12 @@ module Gem::URI
1392
1391
  end
1393
1392
  end
1394
1393
 
1394
+ # Returns the hash value.
1395
1395
  def hash
1396
1396
  self.component_ary.hash
1397
1397
  end
1398
1398
 
1399
+ # Compares with _oth_ for Hash.
1399
1400
  def eql?(oth)
1400
1401
  self.class == oth.class &&
1401
1402
  parser == oth.parser &&
@@ -1438,7 +1439,7 @@ module Gem::URI
1438
1439
  end
1439
1440
  end
1440
1441
 
1441
- def inspect
1442
+ def inspect # :nodoc:
1442
1443
  "#<#{self.class} #{self}>"
1443
1444
  end
1444
1445
 
@@ -321,14 +321,14 @@ module Gem::URI
321
321
  str.gsub(escaped) { [$&[1, 2]].pack('H2').force_encoding(enc) }
322
322
  end
323
323
 
324
- @@to_s = Kernel.instance_method(:to_s)
325
- if @@to_s.respond_to?(:bind_call)
326
- def inspect
327
- @@to_s.bind_call(self)
324
+ TO_S = Kernel.instance_method(:to_s) # :nodoc:
325
+ if TO_S.respond_to?(:bind_call)
326
+ def inspect # :nodoc:
327
+ TO_S.bind_call(self)
328
328
  end
329
329
  else
330
- def inspect
331
- @@to_s.bind(self).call
330
+ def inspect # :nodoc:
331
+ TO_S.bind(self).call
332
332
  end
333
333
  end
334
334
 
@@ -1,6 +1,6 @@
1
1
  module Gem::URI
2
2
  # :stopdoc:
3
- VERSION_CODE = '010002'.freeze
3
+ VERSION_CODE = '010003'.freeze
4
4
  VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze
5
5
  # :startdoc:
6
6
  end
data/lib/rubygems.rb CHANGED
@@ -9,7 +9,7 @@
9
9
  require "rbconfig"
10
10
 
11
11
  module Gem
12
- VERSION = "3.6.4"
12
+ VERSION = "3.6.6"
13
13
  end
14
14
 
15
15
  # Must be first since it unloads the prelude from 1.9.2
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rubygems-update"
5
- s.version = "3.6.4"
5
+ s.version = "3.6.6"
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.6.4
4
+ version: 3.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich
@@ -15,7 +15,7 @@ authors:
15
15
  - Hiroshi SHIBATA
16
16
  bindir: exe
17
17
  cert_chain: []
18
- date: 2025-02-17 00:00:00.000000000 Z
18
+ date: 2025-03-13 00:00:00.000000000 Z
19
19
  dependencies: []
20
20
  description: |-
21
21
  A package (also known as a library) contains a set of functionality
@@ -746,7 +746,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
746
746
  - !ruby/object:Gem::Version
747
747
  version: '0'
748
748
  requirements: []
749
- rubygems_version: 3.6.4
749
+ rubygems_version: 3.6.6
750
750
  specification_version: 4
751
751
  summary: RubyGems is a package management framework for Ruby. This gem is downloaded
752
752
  and installed by `gem update --system`, so that the `gem` CLI can update itself.