rubygems-update 3.5.19 → 3.5.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/bundler/CHANGELOG.md +13 -0
- data/bundler/lib/bundler/build_metadata.rb +2 -2
- data/bundler/lib/bundler/cli/install.rb +5 -1
- data/bundler/lib/bundler/cli/outdated.rb +15 -17
- data/bundler/lib/bundler/definition.rb +1 -1
- data/bundler/lib/bundler/self_manager.rb +4 -4
- data/bundler/lib/bundler/source/git.rb +6 -1
- data/bundler/lib/bundler/version.rb +1 -1
- 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: 3b333e62d8d40ff14565906d7d6eeebc3528d75a867bb55976b8e0af689041de
|
4
|
+
data.tar.gz: b02067c1f5d373b50050680c8c5f30a37755687bcffbaf97af74ffa22ea2002b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 301d3005afa49dc6123b57f592feb69ba519c5844794df524a2193a2cf9ee30e347ff0336063c20e945e96fa0aa04390790d1d166980dfc25deffc2fa8328ed5
|
7
|
+
data.tar.gz: 68bdf50470713768ff3baa8a9a9e13f249d6580d73d0cb95c63d2f791e0391eb9e5940c51c36262b852ed2f1f98b2784a5d724d98de2702b4433460acff542b8
|
data/CHANGELOG.md
CHANGED
data/bundler/CHANGELOG.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
# 2.5.20 (September 24, 2024)
|
2
|
+
|
3
|
+
## Enhancements:
|
4
|
+
|
5
|
+
- Don't try to auto-install dev versions of Bundler not available remotely [#8045](https://github.com/rubygems/rubygems/pull/8045)
|
6
|
+
- Don't try to install locked bundler when `--local` is passed [#8041](https://github.com/rubygems/rubygems/pull/8041)
|
7
|
+
|
8
|
+
## Bug fixes:
|
9
|
+
|
10
|
+
- Fix `bundler/inline` overwriting lockfiles [#8055](https://github.com/rubygems/rubygems/pull/8055)
|
11
|
+
- Ensure refs directory in cached git source [#8047](https://github.com/rubygems/rubygems/pull/8047)
|
12
|
+
- Fix `bundle outdated` with `--group` option [#8052](https://github.com/rubygems/rubygems/pull/8052)
|
13
|
+
|
1
14
|
# 2.5.19 (September 18, 2024)
|
2
15
|
|
3
16
|
## 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 = "2024-09-
|
8
|
-
@git_commit_sha = "
|
7
|
+
@built_at = "2024-09-24".freeze
|
8
|
+
@git_commit_sha = "a0fc99594a".freeze
|
9
9
|
@release = true
|
10
10
|
# end ivars
|
11
11
|
|
@@ -12,7 +12,11 @@ module Bundler
|
|
12
12
|
|
13
13
|
warn_if_root
|
14
14
|
|
15
|
-
|
15
|
+
if options[:local]
|
16
|
+
Bundler.self_manager.restart_with_locked_bundler_if_needed
|
17
|
+
else
|
18
|
+
Bundler.self_manager.install_locked_bundler_and_restart_with_it_if_needed
|
19
|
+
end
|
16
20
|
|
17
21
|
Bundler::SharedHelpers.set_env "RB_USER_INSTALL", "1" if Gem.freebsd_platform?
|
18
22
|
|
@@ -97,28 +97,26 @@ module Bundler
|
|
97
97
|
}
|
98
98
|
end
|
99
99
|
|
100
|
-
if
|
100
|
+
relevant_outdated_gems = if options_include_groups
|
101
|
+
outdated_gems.group_by {|g| g[:groups] }.sort.flat_map do |groups, gems|
|
102
|
+
contains_group = groups.split(", ").include?(options[:group])
|
103
|
+
next unless options[:groups] || contains_group
|
104
|
+
|
105
|
+
gems
|
106
|
+
end.compact
|
107
|
+
else
|
108
|
+
outdated_gems
|
109
|
+
end
|
110
|
+
|
111
|
+
if relevant_outdated_gems.empty?
|
101
112
|
unless options[:parseable]
|
102
113
|
Bundler.ui.info(nothing_outdated_message)
|
103
114
|
end
|
104
115
|
else
|
105
|
-
if
|
106
|
-
relevant_outdated_gems
|
107
|
-
contains_group = groups.split(", ").include?(options[:group])
|
108
|
-
next unless options[:groups] || contains_group
|
109
|
-
|
110
|
-
gems
|
111
|
-
end.compact
|
112
|
-
|
113
|
-
if options[:parseable]
|
114
|
-
print_gems(relevant_outdated_gems)
|
115
|
-
else
|
116
|
-
print_gems_table(relevant_outdated_gems)
|
117
|
-
end
|
118
|
-
elsif options[:parseable]
|
119
|
-
print_gems(outdated_gems)
|
116
|
+
if options[:parseable]
|
117
|
+
print_gems(relevant_outdated_gems)
|
120
118
|
else
|
121
|
-
print_gems_table(
|
119
|
+
print_gems_table(relevant_outdated_gems)
|
122
120
|
end
|
123
121
|
|
124
122
|
exit 1
|
@@ -317,7 +317,7 @@ module Bundler
|
|
317
317
|
|
318
318
|
def lock(file_or_preserve_unknown_sections = false, preserve_unknown_sections_or_unused = false)
|
319
319
|
if [true, false, nil].include?(file_or_preserve_unknown_sections)
|
320
|
-
target_lockfile = lockfile
|
320
|
+
target_lockfile = lockfile
|
321
321
|
preserve_unknown_sections = file_or_preserve_unknown_sections
|
322
322
|
else
|
323
323
|
target_lockfile = file_or_preserve_unknown_sections
|
@@ -98,10 +98,10 @@ module Bundler
|
|
98
98
|
|
99
99
|
def needs_switching?
|
100
100
|
autoswitching_applies? &&
|
101
|
-
|
102
|
-
|
103
|
-
!
|
104
|
-
|
101
|
+
Bundler.settings[:version] != "system" &&
|
102
|
+
released?(restart_version) &&
|
103
|
+
!running?(restart_version) &&
|
104
|
+
!updating?
|
105
105
|
end
|
106
106
|
|
107
107
|
def autoswitching_applies?
|
@@ -188,7 +188,7 @@ module Bundler
|
|
188
188
|
end
|
189
189
|
|
190
190
|
def specs(*)
|
191
|
-
|
191
|
+
set_up_app_cache!(app_cache_path) if use_app_cache?
|
192
192
|
|
193
193
|
if requires_checkout? && !@copied
|
194
194
|
FileUtils.rm_rf(app_cache_path) if use_app_cache? && git_proxy.not_a_bare_repository?
|
@@ -320,6 +320,11 @@ module Bundler
|
|
320
320
|
@install_path = path
|
321
321
|
end
|
322
322
|
|
323
|
+
def set_up_app_cache!(path)
|
324
|
+
FileUtils.mkdir_p(path.join("refs"))
|
325
|
+
set_cache_path!(path)
|
326
|
+
end
|
327
|
+
|
323
328
|
def has_app_cache?
|
324
329
|
cached_revision && super
|
325
330
|
end
|
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.5.
|
5
|
+
s.version = "3.5.20"
|
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.5.
|
4
|
+
version: 3.5.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Weirich
|
@@ -16,7 +16,7 @@ authors:
|
|
16
16
|
autorequire:
|
17
17
|
bindir: exe
|
18
18
|
cert_chain: []
|
19
|
-
date: 2024-09-
|
19
|
+
date: 2024-09-24 00:00:00.000000000 Z
|
20
20
|
dependencies: []
|
21
21
|
description: |-
|
22
22
|
A package (also known as a library) contains a set of functionality
|
@@ -737,7 +737,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
737
737
|
- !ruby/object:Gem::Version
|
738
738
|
version: '0'
|
739
739
|
requirements: []
|
740
|
-
rubygems_version: 3.5.
|
740
|
+
rubygems_version: 3.5.20
|
741
741
|
signing_key:
|
742
742
|
specification_version: 4
|
743
743
|
summary: RubyGems is a package management framework for Ruby. This gem is downloaded
|