bundler 2.6.4 → 2.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/lib/bundler/build_metadata.rb +2 -2
- data/lib/bundler/definition.rb +10 -10
- data/lib/bundler/resolver.rb +1 -1
- data/lib/bundler/rubygems_ext.rb +1 -1
- data/lib/bundler/version.rb +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: 244b150c10d3a97538eb2fca0bfd11f4f1d52498e017a412cb22cafab11b95d9
|
4
|
+
data.tar.gz: 3c09d427c503b26379f13fdb225368e2d7987f9588b6f1c3e9691145fb8b90ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9edd329b4f4e36c9bfce9ad4468f764d011afe7f774439d6700f49064201fbe06bf1c374a938a96ae24933df34344c142f6db071324306b4255a235da2f1ff20
|
7
|
+
data.tar.gz: e26f55ba1f69d938047333d1065f1cc75ebf4c865ba966ba5355084681263392928c3f902fbd26d94077ac51dabfd1aacad4a2329b7c934fbc689f363761f4db
|
data/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
|
|
data/lib/bundler/definition.rb
CHANGED
@@ -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
|
data/lib/bundler/resolver.rb
CHANGED
@@ -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/bundler/rubygems_ext.rb
CHANGED
data/lib/bundler/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- André Arko
|
@@ -21,7 +21,7 @@ authors:
|
|
21
21
|
- Yehuda Katz
|
22
22
|
bindir: exe
|
23
23
|
cert_chain: []
|
24
|
-
date: 2025-02-
|
24
|
+
date: 2025-02-20 00:00:00.000000000 Z
|
25
25
|
dependencies: []
|
26
26
|
description: Bundler manages an application's dependencies through its entire life,
|
27
27
|
across many machines, systematically and repeatably
|
@@ -411,7 +411,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
411
411
|
- !ruby/object:Gem::Version
|
412
412
|
version: 3.3.3
|
413
413
|
requirements: []
|
414
|
-
rubygems_version: 3.6.
|
414
|
+
rubygems_version: 3.6.5
|
415
415
|
specification_version: 4
|
416
416
|
summary: The best way to manage your application's dependencies
|
417
417
|
test_files: []
|