rubygems-update 3.6.4 → 3.6.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc81b948a826d45be9743560cd9a4c6ffe9d92e0dea79ebb9d187dac9866f7f5
4
- data.tar.gz: 36d43dc2ba4926c708fb9b37aea3b24f6027a32cb05fce0fe9f506ab0fa5c99a
3
+ metadata.gz: 5d1ec8a0b30ce414d0ea85439f4759b5142e0d75936af1cb6942f99487de49da
4
+ data.tar.gz: b9298777fcbf694f471da4b1ca6e2a533e21d50358b601cf6b040ee5c0ffb828
5
5
  SHA512:
6
- metadata.gz: be2f64f101857b2b2f915eddef37db8050a9efd0e7a6da467592bdd82fd8bd6ffa0fdfe6a7ac4b34f20c52a7286b22dba8d50755ed5120a0ed15225664832c45
7
- data.tar.gz: bbbc5bb8a5eb27416612738b05c053850546b538990db7be844ebf5afaeeb2c0c2d2c3edca38d66c769624884257567da16b2e0f2317b448026d854b58e56ee1
6
+ metadata.gz: 47499f9c05064f71bd1fa0819a47bce356b3495923cc8920a56677667a64811ec44e328079b549a8b53d1b6a8a9bed3a28ee6c82f0f959754a2405b8fce196b4
7
+ data.tar.gz: 4190fea70cdfdf8e212c7c7fe6c5e71a6228b1235bb5d9f229bfae52a514f43331df82232bef5085d11907cc14ee522f40e9af60b4c3b54ae4ee81dc021127f1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ # 3.6.5 / 2025-02-20
2
+
3
+ ## Enhancements:
4
+
5
+ * Installs bundler 2.6.5 as a default gem.
6
+
7
+ ## Documentation:
8
+
9
+ * Removed `gem server` from `gem help`. Pull request
10
+ [#8507](https://github.com/rubygems/rubygems/pull/8507) by hsbt
11
+
1
12
  # 3.6.4 / 2025-02-17
2
13
 
3
14
  ## Enhancements:
data/bundler/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ # 2.6.5 (February 20, 2025)
2
+
3
+ ## Enhancements:
4
+
5
+ - Fix lockfile platforms inconveniently added on JRuby [#8494](https://github.com/rubygems/rubygems/pull/8494)
6
+
7
+ ## Bug fixes:
8
+
9
+ - Fix resolver issue due to ill-defined version ranges being created [#8503](https://github.com/rubygems/rubygems/pull/8503)
10
+ - Make sure empty gems are not reinstalled every time [#8502](https://github.com/rubygems/rubygems/pull/8502)
11
+
1
12
  # 2.6.4 (February 17, 2025)
2
13
 
3
14
  ## Enhancements:
@@ -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 = "2025-02-17".freeze
8
- @git_commit_sha = "87f7bf0ac12".freeze
7
+ @built_at = "2025-02-20".freeze
8
+ @git_commit_sha = "cffd973142d".freeze
9
9
  @release = true
10
10
  # end ivars
11
11
 
@@ -490,7 +490,7 @@ module Bundler
490
490
  end
491
491
 
492
492
  def validate_platforms!
493
- return if current_platform_locked?
493
+ return if current_platform_locked? || @platforms.include?(Gem::Platform::RUBY)
494
494
 
495
495
  raise ProductionError, "Your bundle only supports platforms #{@platforms.map(&:to_s)} " \
496
496
  "but your local platform is #{local_platform}. " \
@@ -731,7 +731,7 @@ module Bundler
731
731
  end
732
732
 
733
733
  def start_resolution
734
- local_platform_needed_for_resolvability = @most_specific_non_local_locked_ruby_platform && !@platforms.include?(local_platform)
734
+ local_platform_needed_for_resolvability = @most_specific_non_local_locked_platform && !@platforms.include?(local_platform)
735
735
  @platforms << local_platform if local_platform_needed_for_resolvability
736
736
  add_platform(Gem::Platform::RUBY) if RUBY_ENGINE == "truffleruby"
737
737
 
@@ -739,9 +739,9 @@ module Bundler
739
739
 
740
740
  @resolved_bundler_version = result.find {|spec| spec.name == "bundler" }&.version
741
741
 
742
- if @most_specific_non_local_locked_ruby_platform
743
- if spec_set_incomplete_for_platform?(result, @most_specific_non_local_locked_ruby_platform)
744
- @platforms.delete(@most_specific_non_local_locked_ruby_platform)
742
+ if @most_specific_non_local_locked_platform
743
+ if spec_set_incomplete_for_platform?(result, @most_specific_non_local_locked_platform)
744
+ @platforms.delete(@most_specific_non_local_locked_platform)
745
745
  elsif local_platform_needed_for_resolvability
746
746
  @platforms.delete(local_platform)
747
747
  end
@@ -758,23 +758,23 @@ module Bundler
758
758
 
759
759
  def current_platform_locked?
760
760
  @platforms.any? do |bundle_platform|
761
- MatchPlatform.platforms_match?(bundle_platform, local_platform)
761
+ generic_local_platform == bundle_platform || local_platform === bundle_platform
762
762
  end
763
763
  end
764
764
 
765
765
  def add_current_platform
766
766
  return if @platforms.include?(local_platform)
767
767
 
768
- @most_specific_non_local_locked_ruby_platform = find_most_specific_locked_ruby_platform
769
- return if @most_specific_non_local_locked_ruby_platform
768
+ @most_specific_non_local_locked_platform = find_most_specific_locked_platform
769
+ return if @most_specific_non_local_locked_platform
770
770
 
771
771
  @new_platforms << local_platform
772
772
  @platforms << local_platform
773
773
  true
774
774
  end
775
775
 
776
- def find_most_specific_locked_ruby_platform
777
- return unless generic_local_platform_is_ruby? && current_platform_locked?
776
+ def find_most_specific_locked_platform
777
+ return unless current_platform_locked?
778
778
 
779
779
  @most_specific_locked_platform
780
780
  end
@@ -237,7 +237,7 @@ module Bundler
237
237
  sorted_versions[high]
238
238
  end
239
239
 
240
- range = PubGrub::VersionRange.new(min: low, max: high, include_min: true)
240
+ range = PubGrub::VersionRange.new(min: low, max: high, include_min: !low.nil?)
241
241
 
242
242
  self_constraint = PubGrub::VersionConstraint.new(package, range: range)
243
243
 
@@ -259,7 +259,7 @@ module Gem
259
259
  end
260
260
 
261
261
  def installation_missing?
262
- !default_gem? && (!Dir.exist?(full_gem_path) || Dir.empty?(full_gem_path))
262
+ !default_gem? && !File.directory?(full_gem_path)
263
263
  end
264
264
 
265
265
  unless VALIDATES_FOR_RESOLUTION
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Bundler
4
- VERSION = "2.6.4".freeze
4
+ VERSION = "2.6.5".freeze
5
5
 
6
6
  def self.bundler_major_version
7
7
  @bundler_major_version ||= VERSION.split(".").first.to_i
@@ -650,9 +650,6 @@ RubyGems is a package manager for Ruby.
650
650
  gem help platforms gem platforms guide
651
651
  gem help <COMMAND> show help on COMMAND
652
652
  (e.g. 'gem help install')
653
- gem server present a web page at
654
- http://localhost:8808/
655
- with info about installed gems
656
653
  Further information:
657
654
  https://guides.rubygems.org
658
655
  HELP
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.5"
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.5"
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.5
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-02-20 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.5
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.