rubygems-update 3.6.4 → 3.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/bundler/CHANGELOG.md +11 -0
- data/bundler/lib/bundler/build_metadata.rb +2 -2
- data/bundler/lib/bundler/definition.rb +10 -10
- data/bundler/lib/bundler/resolver.rb +1 -1
- data/bundler/lib/bundler/rubygems_ext.rb +1 -1
- data/bundler/lib/bundler/version.rb +1 -1
- data/lib/rubygems/command.rb +0 -3
- data/lib/rubygems.rb +1 -1
- data/rubygems-update.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d1ec8a0b30ce414d0ea85439f4759b5142e0d75936af1cb6942f99487de49da
|
4
|
+
data.tar.gz: b9298777fcbf694f471da4b1ca6e2a533e21d50358b601cf6b040ee5c0ffb828
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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-
|
8
|
-
@git_commit_sha = "
|
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 = @
|
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 @
|
743
|
-
if spec_set_incomplete_for_platform?(result, @
|
744
|
-
@platforms.delete(@
|
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
|
-
|
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
|
-
@
|
769
|
-
return if @
|
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
|
777
|
-
return unless
|
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:
|
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
|
|
data/lib/rubygems/command.rb
CHANGED
@@ -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
data/rubygems-update.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "rubygems-update"
|
5
|
-
s.version = "3.6.
|
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
|
+
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-
|
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.
|
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.
|