bundler 2.5.13 → 2.5.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d55a4e4a51daffe5907ad748a96349876c9797fdf174433a32754c3d062236b
4
- data.tar.gz: 3650a3a40f4b01e274b4a72f5a167354600e9d404aa3b688f8bb006023877eb3
3
+ metadata.gz: e72f84d19fe7fbbf434d993f34d7b4cd12272cd72d4c61d6f02e7eb664f5058b
4
+ data.tar.gz: d80704aaae9adfb1132c0902c4acfd0e41e4a082d4d7a5b8c174f0a4a14d28e1
5
5
  SHA512:
6
- metadata.gz: 3f558a26f42b927607933af8ad62e30a9ee6350dfe8230584b8e9d57fbd414f5b4239ac119c289dbf52ca7881cd956d69255f44b4e389e87d522c168ff67178b
7
- data.tar.gz: b50b14773bd8b8aab8d938b322c1e93e0454bef759fedd74a054dc64cdc25d85990c1a9e843e5a8ba2be15fd937ca73d64a41dce76496ad5fcb2f2bcca562953
6
+ metadata.gz: 5f3e9bea39eb37f092d0372e596a4803ed3ada1f70f00d0406554dc170ffef9f1c451cc98636d608669f673d199efa97c639f72c69be3adab05d417580d43a6e
7
+ data.tar.gz: e1694c53d80fda23087d492e6a6264e230c12cc7a488c479987550afcbb51904284b6476ab62eea7f992ac051675f564f2596d9dce9f7ba9f543a9e382d165df
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 2.5.14 (June 21, 2024)
2
+
3
+ ## Bug fixes:
4
+
5
+ - Fix credentials being re-added when re-resolving without a full unlock [#7767](https://github.com/rubygems/rubygems/pull/7767)
6
+ - Fix `bundle update <gem_name>` edge case [#7770](https://github.com/rubygems/rubygems/pull/7770)
7
+ - Fix `bundle fund` when the gemfile contains optional groups [#7758](https://github.com/rubygems/rubygems/pull/7758)
8
+
1
9
  # 2.5.13 (June 14, 2024)
2
10
 
3
11
  ## Bug fixes:
@@ -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 = "2024-06-14".freeze
8
- @git_commit_sha = "5525a3d9b0".freeze
7
+ @built_at = "2024-06-21".freeze
8
+ @git_commit_sha = "72920bc230".freeze
9
9
  @release = true
10
10
  # end ivars
11
11
 
@@ -16,7 +16,7 @@ module Bundler
16
16
  deps = if groups.any?
17
17
  Bundler.definition.dependencies_for(groups)
18
18
  else
19
- Bundler.definition.current_dependencies
19
+ Bundler.definition.requested_dependencies
20
20
  end
21
21
 
22
22
  fund_info = deps.each_with_object([]) do |dep, arr|
@@ -1058,6 +1058,7 @@ module Bundler
1058
1058
  (@new_platform && platforms.last == platform) ||
1059
1059
  @path_changes ||
1060
1060
  @dependency_changes ||
1061
+ @locked_spec_with_invalid_deps ||
1061
1062
  !@originally_locked_specs.incomplete_for_platform?(dependencies, platform)
1062
1063
 
1063
1064
  remove_platform(platform)
@@ -10,7 +10,7 @@ module Bundler
10
10
  # Ask for X gems per API request
11
11
  API_REQUEST_SIZE = 50
12
12
 
13
- attr_reader :remotes
13
+ attr_accessor :remotes
14
14
 
15
15
  def initialize(options = {})
16
16
  @options = options
@@ -20,9 +20,10 @@ module Bundler
20
20
  @allow_cached = false
21
21
  @allow_local = options["allow_local"] || false
22
22
  @checksum_store = Checksum::Store.new
23
- @original_remotes = nil
24
23
 
25
24
  Array(options["remotes"]).reverse_each {|r| add_remote(r) }
25
+
26
+ @lockfile_remotes = @remotes if options["from_lockfile"]
26
27
  end
27
28
 
28
29
  def caches
@@ -92,12 +93,7 @@ module Bundler
92
93
 
93
94
  def self.from_lock(options)
94
95
  options["remotes"] = Array(options.delete("remote")).reverse
95
- new(options)
96
- end
97
-
98
- def remotes=(new_remotes)
99
- @original_remotes = @remotes
100
- @remotes = new_remotes
96
+ new(options.merge("from_lockfile" => true))
101
97
  end
102
98
 
103
99
  def to_lock
@@ -470,7 +466,7 @@ module Bundler
470
466
  private
471
467
 
472
468
  def lockfile_remotes
473
- @original_remotes || credless_remotes
469
+ @lockfile_remotes || credless_remotes
474
470
  end
475
471
 
476
472
  # Checks if the requested spec exists in the global cache. If it does,
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Bundler
4
- VERSION = "2.5.13".freeze
4
+ VERSION = "2.5.14".freeze
5
5
 
6
6
  def self.bundler_major_version
7
7
  @bundler_major_version ||= VERSION.split(".").first.to_i
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.5.13
4
+ version: 2.5.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Arko
@@ -22,7 +22,7 @@ authors:
22
22
  autorequire:
23
23
  bindir: exe
24
24
  cert_chain: []
25
- date: 2024-06-14 00:00:00.000000000 Z
25
+ date: 2024-06-21 00:00:00.000000000 Z
26
26
  dependencies: []
27
27
  description: Bundler manages an application's dependencies through its entire life,
28
28
  across many machines, systematically and repeatably
@@ -400,7 +400,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
400
400
  - !ruby/object:Gem::Version
401
401
  version: 3.2.3
402
402
  requirements: []
403
- rubygems_version: 3.5.13
403
+ rubygems_version: 3.5.14
404
404
  signing_key:
405
405
  specification_version: 4
406
406
  summary: The best way to manage your application's dependencies