rubygems-update 3.4.2 → 3.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -4
- data/bundler/CHANGELOG.md +19 -1
- data/bundler/UPGRADING.md +1 -1
- data/bundler/lib/bundler/build_metadata.rb +2 -2
- data/bundler/lib/bundler/cli/open.rb +6 -4
- data/bundler/lib/bundler/cli.rb +1 -0
- data/bundler/lib/bundler/definition.rb +8 -3
- data/bundler/lib/bundler/dsl.rb +2 -2
- data/bundler/lib/bundler/lazy_specification.rb +28 -33
- data/bundler/lib/bundler/man/bundle-open.1 +21 -1
- data/bundler/lib/bundler/man/bundle-open.1.ronn +9 -1
- data/bundler/lib/bundler/resolver/candidate.rb +12 -7
- data/bundler/lib/bundler/resolver.rb +6 -5
- data/bundler/lib/bundler/templates/newgem/Cargo.toml.tt +1 -1
- data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +1 -1
- data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +1 -1
- data/bundler/lib/bundler/version.rb +1 -1
- data/lib/rubygems/commands/owner_command.rb +1 -1
- data/lib/rubygems/ext/cargo_builder.rb +1 -1
- data/lib/rubygems/platform.rb +1 -1
- data/lib/rubygems.rb +1 -1
- data/rubygems-update.gemspec +1 -1
- data/test/rubygems/test_gem_request_set_lockfile_parser.rb +4 -4
- 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: ea0dc92a8c2b9c77f350a299c75d894d9cf62dcd841bdceb82990cf0c3173089
|
4
|
+
data.tar.gz: bd630bc8ee7e8453efc849359fed24af280b88602207ba0e1e05d8ed2802d4a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9bf62a3e6d05b1f03bfb5e93781eb1e0ba0fb9c3d6b32692bbb96aa62119b8407e13646afb3f91a0bb170ddc7a8974799611299f12d94bc162b28f07acd010b
|
7
|
+
data.tar.gz: 66041a9e9a6f7a3bd2ac6a6da9934ad3d9af90ab50668b028b1ee758608f884493c1bed46af996583fb7cee15d2c0f11094d068429c0a618b90da9721314dfcf
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
# 3.4.3 / 2023-01-06
|
2
|
+
|
3
|
+
## Enhancements:
|
4
|
+
|
5
|
+
* Installs bundler 2.4.3 as a default gem.
|
6
|
+
|
7
|
+
## Documentation:
|
8
|
+
|
9
|
+
* Fix several typos. Pull request #6224 by jdufresne
|
10
|
+
|
1
11
|
# 3.4.2 / 2023-01-01
|
2
12
|
|
3
13
|
## Enhancements:
|
@@ -637,7 +647,7 @@
|
|
637
647
|
|
638
648
|
## Security fixes:
|
639
649
|
|
640
|
-
* Verify
|
650
|
+
* Verify platform before installing to avoid potential remote code
|
641
651
|
execution. Pull request #4667 by sonalkr132
|
642
652
|
|
643
653
|
## Enhancements:
|
@@ -4269,7 +4279,7 @@ work focused on moving functionality out of Gem::SourceIndex and
|
|
4269
4279
|
Gem::GemPathSearcher into Gem::Specification where it belongs.
|
4270
4280
|
|
4271
4281
|
After installing RubyGems 1.8.0 you will see deprecations when loading your
|
4272
|
-
|
4282
|
+
existing gems. Run `gem pristine --all --no-extensions` to regenerate your
|
4273
4283
|
gem specifications safely.
|
4274
4284
|
|
4275
4285
|
Currently RubyGems does not save the build arguments used to build gems with
|
@@ -4796,8 +4806,8 @@ http://gems.rubyforge.org will continue to work for the foreseeable future.
|
|
4796
4806
|
Steve Purcell.
|
4797
4807
|
* `gem generate_index`
|
4798
4808
|
* Can now generate an RSS feed.
|
4799
|
-
* Modern
|
4800
|
-
* Legacy
|
4809
|
+
* Modern indices can now be updated incrementally.
|
4810
|
+
* Legacy indices can be updated separately from modern.
|
4801
4811
|
|
4802
4812
|
## Bug fixes:
|
4803
4813
|
|
data/bundler/CHANGELOG.md
CHANGED
@@ -1,3 +1,21 @@
|
|
1
|
+
# 2.4.3 (January 6, 2023)
|
2
|
+
|
3
|
+
## Enhancements:
|
4
|
+
|
5
|
+
- Enhance `bundle open` command to allow opening subdir/file of gem [#6146](https://github.com/rubygems/rubygems/pull/6146)
|
6
|
+
|
7
|
+
## Bug fixes:
|
8
|
+
|
9
|
+
- Fix pointing GitHub sources to PRs [#6241](https://github.com/rubygems/rubygems/pull/6241)
|
10
|
+
- Fix version ranges incorrectly handling platforms [#6240](https://github.com/rubygems/rubygems/pull/6240)
|
11
|
+
- Cleanup unnecessary gems when removing lockfile platforms [#6234](https://github.com/rubygems/rubygems/pull/6234)
|
12
|
+
- When auto-removing RUBY platform don't add specific platform if not needed [#6233](https://github.com/rubygems/rubygems/pull/6233)
|
13
|
+
- Fallback to selecting installable candidates if possible when materializing specs [#6225](https://github.com/rubygems/rubygems/pull/6225)
|
14
|
+
|
15
|
+
## Documentation:
|
16
|
+
|
17
|
+
- Fix several typos [#6224](https://github.com/rubygems/rubygems/pull/6224)
|
18
|
+
|
1
19
|
# 2.4.2 (January 1, 2023)
|
2
20
|
|
3
21
|
## Performance:
|
@@ -1518,7 +1536,7 @@ Changes
|
|
1518
1536
|
|
1519
1537
|
- avoid new RubyGems warning about unsafe YAML loading (to keep output consistent) (@segiddins)
|
1520
1538
|
- load digest subclasses in a thread-safe manner (@segiddins, @colby-swandale)
|
1521
|
-
- avoid
|
1539
|
+
- avoid unused variable warnings under ruby 2.5 (@amatsuda)
|
1522
1540
|
- fix printing the same message twice in verbose mode ([#6028](https://github.com/rubygems/bundler/issues/6028), @akhramov)
|
1523
1541
|
- allow `SignalException`s to bubble up to the interpreter during `bundle exec` ([#6090](https://github.com/rubygems/bundler/issues/6090), @dekellum)
|
1524
1542
|
- avoid activating stdlib digest under Ruby 2.5 (@segiddins)
|
data/bundler/UPGRADING.md
CHANGED
@@ -103,7 +103,7 @@ in the upcoming 3 version.
|
|
103
103
|
|
104
104
|
#### Cancelled CLI deprecations
|
105
105
|
|
106
|
-
These deprecations have been
|
106
|
+
These deprecations have been initially announced before, but the deprecations
|
107
107
|
were cancelled before the release of Bundler 2.1.0 in [rubygems/bundler#7475](https://github.com/rubygems/bundler/pull/7475).
|
108
108
|
|
109
109
|
* ~The `bundle update` command will no longer update all gems, you'll need to pass `--all` to it.~ (postponed)
|
@@ -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 = "2023-01-
|
8
|
-
@git_commit_sha = "
|
7
|
+
@built_at = "2023-01-06".freeze
|
8
|
+
@git_commit_sha = "ed1f27f75c".freeze
|
9
9
|
@release = true
|
10
10
|
# end ivars
|
11
11
|
|
@@ -2,23 +2,25 @@
|
|
2
2
|
|
3
3
|
module Bundler
|
4
4
|
class CLI::Open
|
5
|
-
attr_reader :options, :name
|
5
|
+
attr_reader :options, :name, :path
|
6
6
|
def initialize(options, name)
|
7
7
|
@options = options
|
8
8
|
@name = name
|
9
|
+
@path = options[:path] unless options[:path].nil?
|
9
10
|
end
|
10
11
|
|
11
12
|
def run
|
13
|
+
raise InvalidOption, "Cannot specify `--path` option without a value" if !@path.nil? && @path.empty?
|
12
14
|
editor = [ENV["BUNDLER_EDITOR"], ENV["VISUAL"], ENV["EDITOR"]].find {|e| !e.nil? && !e.empty? }
|
13
15
|
return Bundler.ui.info("To open a bundled gem, set $EDITOR or $BUNDLER_EDITOR") unless editor
|
14
16
|
return unless spec = Bundler::CLI::Common.select_spec(name, :regex_match)
|
15
17
|
if spec.default_gem?
|
16
18
|
Bundler.ui.info "Unable to open #{name} because it's a default gem, so the directory it would normally be installed to does not exist."
|
17
19
|
else
|
18
|
-
|
19
|
-
Dir.chdir(
|
20
|
+
root_path = spec.full_gem_path
|
21
|
+
Dir.chdir(root_path) do
|
20
22
|
require "shellwords"
|
21
|
-
command = Shellwords.split(editor)
|
23
|
+
command = Shellwords.split(editor) << File.join([root_path, path].compact)
|
22
24
|
Bundler.with_original_env do
|
23
25
|
system(*command)
|
24
26
|
end || Bundler.ui.info("Could not run '#{command.join(" ")}'")
|
data/bundler/lib/bundler/cli.rb
CHANGED
@@ -509,6 +509,7 @@ module Bundler
|
|
509
509
|
subcommand "config", Config
|
510
510
|
|
511
511
|
desc "open GEM", "Opens the source directory of the given bundled gem"
|
512
|
+
method_option "path", :type => :string, :lazy_default => "", :banner => "Open relative path of the gem source."
|
512
513
|
def open(name)
|
513
514
|
require_relative "cli/open"
|
514
515
|
Open.new(options, name).run
|
@@ -79,6 +79,7 @@ module Bundler
|
|
79
79
|
@locked_bundler_version = nil
|
80
80
|
@locked_ruby_version = nil
|
81
81
|
@new_platform = nil
|
82
|
+
@removed_platform = nil
|
82
83
|
|
83
84
|
if lockfile && File.exist?(lockfile)
|
84
85
|
@lockfile_contents = Bundler.read_file(lockfile)
|
@@ -129,7 +130,7 @@ module Bundler
|
|
129
130
|
end
|
130
131
|
@unlocking ||= @unlock[:ruby] ||= (!@locked_ruby_version ^ !@ruby_version)
|
131
132
|
|
132
|
-
add_current_platform unless
|
133
|
+
add_current_platform unless Bundler.frozen_bundle?
|
133
134
|
|
134
135
|
converge_path_sources_to_gemspec_sources
|
135
136
|
@path_changes = converge_paths
|
@@ -267,7 +268,7 @@ module Bundler
|
|
267
268
|
SpecSet.new(filter_specs(@locked_specs, @dependencies - deleted_deps))
|
268
269
|
else
|
269
270
|
Bundler.ui.debug "Found no changes, using resolution from the lockfile"
|
270
|
-
if @locked_gems.may_include_redundant_platform_specific_gems?
|
271
|
+
if @removed_platform || @locked_gems.may_include_redundant_platform_specific_gems?
|
271
272
|
SpecSet.new(filter_specs(@locked_specs, @dependencies))
|
272
273
|
else
|
273
274
|
@locked_specs
|
@@ -446,7 +447,9 @@ module Bundler
|
|
446
447
|
end
|
447
448
|
|
448
449
|
def remove_platform(platform)
|
449
|
-
|
450
|
+
removed_platform = @platforms.delete(Gem::Platform.new(platform))
|
451
|
+
@removed_platform ||= removed_platform
|
452
|
+
return if removed_platform
|
450
453
|
raise InvalidOption, "Unable to remove the platform `#{platform}` since the only platforms are #{@platforms.join ", "}"
|
451
454
|
end
|
452
455
|
|
@@ -584,6 +587,8 @@ module Bundler
|
|
584
587
|
end
|
585
588
|
|
586
589
|
def add_current_platform
|
590
|
+
return if current_ruby_platform_locked?
|
591
|
+
|
587
592
|
add_platform(local_platform)
|
588
593
|
end
|
589
594
|
|
data/bundler/lib/bundler/dsl.rb
CHANGED
@@ -277,8 +277,8 @@ module Bundler
|
|
277
277
|
if repo_name =~ GITHUB_PULL_REQUEST_URL
|
278
278
|
{
|
279
279
|
"git" => "https://github.com/#{$1}.git",
|
280
|
-
"branch" =>
|
281
|
-
"ref" =>
|
280
|
+
"branch" => nil,
|
281
|
+
"ref" => "refs/pull/#{$2}/head",
|
282
282
|
"tag" => nil,
|
283
283
|
}
|
284
284
|
else
|
@@ -16,7 +16,6 @@ module Bundler
|
|
16
16
|
@dependencies = []
|
17
17
|
@platform = platform || Gem::Platform::RUBY
|
18
18
|
@source = source
|
19
|
-
@specification = nil
|
20
19
|
@force_ruby_platform = default_force_ruby_platform
|
21
20
|
end
|
22
21
|
|
@@ -80,37 +79,41 @@ module Bundler
|
|
80
79
|
def materialize_for_installation
|
81
80
|
source.local!
|
82
81
|
|
83
|
-
|
84
|
-
|
82
|
+
matching_specs = source.specs.search(use_exact_resolved_specifications? ? self : [name, version])
|
83
|
+
return self if matching_specs.empty?
|
85
84
|
|
86
|
-
|
85
|
+
candidates = if use_exact_resolved_specifications?
|
86
|
+
matching_specs
|
87
87
|
else
|
88
|
-
|
89
|
-
end
|
88
|
+
target_platform = ruby_platform_materializes_to_ruby_platform? ? platform : local_platform
|
90
89
|
|
91
|
-
|
90
|
+
installable_candidates = GemHelpers.select_best_platform_match(matching_specs, target_platform)
|
92
91
|
|
93
|
-
|
94
|
-
|
92
|
+
specification = __materialize__(installable_candidates)
|
93
|
+
return specification unless specification.nil?
|
95
94
|
|
96
|
-
|
97
|
-
|
98
|
-
search = candidates.reverse.find do |spec|
|
99
|
-
spec.is_a?(StubSpecification) ||
|
100
|
-
(spec.matches_current_ruby? &&
|
101
|
-
spec.matches_current_rubygems?)
|
102
|
-
end
|
103
|
-
if search.nil? && Bundler.frozen_bundle?
|
104
|
-
search = candidates.last
|
105
|
-
else
|
106
|
-
search.dependencies = dependencies if search && search.full_name == full_name && (search.is_a?(RemoteSpecification) || search.is_a?(EndpointSpecification))
|
95
|
+
if target_platform != platform
|
96
|
+
installable_candidates = GemHelpers.select_best_platform_match(matching_specs, platform)
|
107
97
|
end
|
108
|
-
|
98
|
+
|
99
|
+
installable_candidates
|
109
100
|
end
|
101
|
+
|
102
|
+
__materialize__(candidates)
|
110
103
|
end
|
111
104
|
|
112
|
-
def
|
113
|
-
|
105
|
+
def __materialize__(candidates)
|
106
|
+
search = candidates.reverse.find do |spec|
|
107
|
+
spec.is_a?(StubSpecification) ||
|
108
|
+
(spec.matches_current_ruby? &&
|
109
|
+
spec.matches_current_rubygems?)
|
110
|
+
end
|
111
|
+
if search.nil? && Bundler.frozen_bundle?
|
112
|
+
search = candidates.last
|
113
|
+
else
|
114
|
+
search.dependencies = dependencies if search && search.full_name == full_name && (search.is_a?(RemoteSpecification) || search.is_a?(EndpointSpecification))
|
115
|
+
end
|
116
|
+
search
|
114
117
|
end
|
115
118
|
|
116
119
|
def to_s
|
@@ -132,16 +135,8 @@ module Bundler
|
|
132
135
|
|
133
136
|
private
|
134
137
|
|
135
|
-
def
|
136
|
-
|
137
|
-
end
|
138
|
-
|
139
|
-
def method_missing(method, *args, &blk)
|
140
|
-
raise "LazySpecification has not been materialized yet (calling :#{method} #{args.inspect})" unless @specification
|
141
|
-
|
142
|
-
return super unless respond_to?(method)
|
143
|
-
|
144
|
-
@specification.send(method, *args, &blk)
|
138
|
+
def use_exact_resolved_specifications?
|
139
|
+
@use_exact_resolved_specifications ||= !source.is_a?(Source::Path) && ruby_platform_materializes_to_ruby_platform?
|
145
140
|
end
|
146
141
|
|
147
142
|
#
|
@@ -7,7 +7,7 @@
|
|
7
7
|
\fBbundle\-open\fR \- Opens the source directory for a gem in your bundle
|
8
8
|
.
|
9
9
|
.SH "SYNOPSIS"
|
10
|
-
\fBbundle open\fR [GEM]
|
10
|
+
\fBbundle open\fR [GEM] [\-\-path=PATH]
|
11
11
|
.
|
12
12
|
.SH "DESCRIPTION"
|
13
13
|
Opens the source directory of the provided GEM in your editor\.
|
@@ -30,3 +30,23 @@ bundle open \'rack\'
|
|
30
30
|
.
|
31
31
|
.P
|
32
32
|
Will open the source directory for the \'rack\' gem in your bundle\.
|
33
|
+
.
|
34
|
+
.IP "" 4
|
35
|
+
.
|
36
|
+
.nf
|
37
|
+
|
38
|
+
bundle open \'rack\' \-\-path \'README\.md\'
|
39
|
+
.
|
40
|
+
.fi
|
41
|
+
.
|
42
|
+
.IP "" 0
|
43
|
+
.
|
44
|
+
.P
|
45
|
+
Will open the README\.md file of the \'rack\' gem source in your bundle\.
|
46
|
+
.
|
47
|
+
.SH "OPTIONS"
|
48
|
+
.
|
49
|
+
.TP
|
50
|
+
\fB\-\-path\fR
|
51
|
+
Specify GEM source relative path to open\.
|
52
|
+
|
@@ -3,7 +3,7 @@ bundle-open(1) -- Opens the source directory for a gem in your bundle
|
|
3
3
|
|
4
4
|
## SYNOPSIS
|
5
5
|
|
6
|
-
`bundle open` [GEM]
|
6
|
+
`bundle open` [GEM] [--path=PATH]
|
7
7
|
|
8
8
|
## DESCRIPTION
|
9
9
|
|
@@ -17,3 +17,11 @@ Example:
|
|
17
17
|
bundle open 'rack'
|
18
18
|
|
19
19
|
Will open the source directory for the 'rack' gem in your bundle.
|
20
|
+
|
21
|
+
bundle open 'rack' --path 'README.md'
|
22
|
+
|
23
|
+
Will open the README.md file of the 'rack' gem source in your bundle.
|
24
|
+
|
25
|
+
## OPTIONS
|
26
|
+
* `--path`:
|
27
|
+
Specify GEM source relative path to open.
|
@@ -41,6 +41,18 @@ module Bundler
|
|
41
41
|
@spec_group.to_specs(package.force_ruby_platform?)
|
42
42
|
end
|
43
43
|
|
44
|
+
def generic!
|
45
|
+
@ruby_only = true
|
46
|
+
|
47
|
+
self
|
48
|
+
end
|
49
|
+
|
50
|
+
def platform_specific!
|
51
|
+
@ruby_only = false
|
52
|
+
|
53
|
+
self
|
54
|
+
end
|
55
|
+
|
44
56
|
def prerelease?
|
45
57
|
@version.prerelease?
|
46
58
|
end
|
@@ -53,27 +65,20 @@ module Bundler
|
|
53
65
|
[@version, @ruby_only ? -1 : 1]
|
54
66
|
end
|
55
67
|
|
56
|
-
def canonical?
|
57
|
-
!@spec_group.empty?
|
58
|
-
end
|
59
|
-
|
60
68
|
def <=>(other)
|
61
69
|
return unless other.is_a?(self.class)
|
62
|
-
return @version <=> other.version unless canonical? && other.canonical?
|
63
70
|
|
64
71
|
sort_obj <=> other.sort_obj
|
65
72
|
end
|
66
73
|
|
67
74
|
def ==(other)
|
68
75
|
return unless other.is_a?(self.class)
|
69
|
-
return @version == other.version unless canonical? && other.canonical?
|
70
76
|
|
71
77
|
sort_obj == other.sort_obj
|
72
78
|
end
|
73
79
|
|
74
80
|
def eql?(other)
|
75
81
|
return unless other.is_a?(self.class)
|
76
|
-
return @version.eql?(other.version) unless canonical? || other.canonical?
|
77
82
|
|
78
83
|
sort_obj.eql?(other.sort_obj)
|
79
84
|
end
|
@@ -337,7 +337,8 @@ module Bundler
|
|
337
337
|
|
338
338
|
def requirement_to_range(requirement)
|
339
339
|
ranges = requirement.requirements.map do |(op, version)|
|
340
|
-
ver = Resolver::Candidate.new(version)
|
340
|
+
ver = Resolver::Candidate.new(version).generic!
|
341
|
+
platform_ver = Resolver::Candidate.new(version).platform_specific!
|
341
342
|
|
342
343
|
case op
|
343
344
|
when "~>"
|
@@ -345,17 +346,17 @@ module Bundler
|
|
345
346
|
bump = Resolver::Candidate.new(version.bump.to_s + ".A")
|
346
347
|
PubGrub::VersionRange.new(:name => name, :min => ver, :max => bump, :include_min => true)
|
347
348
|
when ">"
|
348
|
-
PubGrub::VersionRange.new(:min =>
|
349
|
+
PubGrub::VersionRange.new(:min => platform_ver)
|
349
350
|
when ">="
|
350
351
|
PubGrub::VersionRange.new(:min => ver, :include_min => true)
|
351
352
|
when "<"
|
352
353
|
PubGrub::VersionRange.new(:max => ver)
|
353
354
|
when "<="
|
354
|
-
PubGrub::VersionRange.new(:max =>
|
355
|
+
PubGrub::VersionRange.new(:max => platform_ver, :include_max => true)
|
355
356
|
when "="
|
356
|
-
PubGrub::VersionRange.new(:min => ver, :max =>
|
357
|
+
PubGrub::VersionRange.new(:min => ver, :max => platform_ver, :include_min => true, :include_max => true)
|
357
358
|
when "!="
|
358
|
-
PubGrub::VersionRange.new(:min => ver, :max =>
|
359
|
+
PubGrub::VersionRange.new(:min => ver, :max => platform_ver, :include_min => true, :include_max => true).invert
|
359
360
|
else
|
360
361
|
raise "bad version specifier: #{op}"
|
361
362
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# This Cargo.toml is here to let externals tools (IDEs, etc.) know that this is
|
2
|
-
# a Rust project. Your extensions
|
2
|
+
# a Rust project. Your extensions dependencies should be added to the Cargo.toml
|
3
3
|
# in the ext/ directory.
|
4
4
|
|
5
5
|
[workspace]
|
@@ -148,7 +148,7 @@ module Bundler::PubGrub
|
|
148
148
|
while !ranges.empty?
|
149
149
|
ne = []
|
150
150
|
range = ranges.shift
|
151
|
-
while !ranges.empty? && ranges[0].min == range.max
|
151
|
+
while !ranges.empty? && ranges[0].min.to_s == range.max.to_s
|
152
152
|
ne << range.max
|
153
153
|
range = range.span(ranges.shift)
|
154
154
|
end
|
@@ -15,7 +15,7 @@ The owner command lets you add and remove owners of a gem on a push
|
|
15
15
|
server (the default is https://rubygems.org). Multiple owners can be
|
16
16
|
added or removed at the same time, if the flag is given multiple times.
|
17
17
|
|
18
|
-
The supported user identifiers are
|
18
|
+
The supported user identifiers are dependent on the push server.
|
19
19
|
For rubygems.org, both e-mail and handle are supported, even though the
|
20
20
|
user identifier field is called "email".
|
21
21
|
|
@@ -203,7 +203,7 @@ class Gem::Ext::CargoBuilder < Gem::Ext::Builder
|
|
203
203
|
!!Gem::WIN_PATTERNS.find {|r| target_platform =~ r }
|
204
204
|
end
|
205
205
|
|
206
|
-
# Interpolate
|
206
|
+
# Interpolate substitution vars in the arg (i.e. $(DEFFILE))
|
207
207
|
def maybe_resolve_ldflag_variable(input_arg, dest_dir)
|
208
208
|
var_matches = input_arg.match(/\$\((\w+)\)/)
|
209
209
|
|
data/lib/rubygems/platform.rb
CHANGED
@@ -158,7 +158,7 @@ class Gem::Platform
|
|
158
158
|
# Of note, this method is not commutative. Indeed the OS 'linux' has a
|
159
159
|
# special case: the version is the libc name, yet while "no version" stands
|
160
160
|
# as a wildcard for a binary gem platform (as for other OSes), for the
|
161
|
-
# runtime platform "no version" stands for 'gnu'. To be able to
|
161
|
+
# runtime platform "no version" stands for 'gnu'. To be able to distinguish
|
162
162
|
# these, the method receiver is the gem platform, while the argument is
|
163
163
|
# the runtime platform.
|
164
164
|
#
|
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.4.
|
5
|
+
s.version = "3.4.3"
|
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
|
|
@@ -275,7 +275,7 @@ DEPENDENCIES
|
|
275
275
|
Gem::Resolver::LockSet === set
|
276
276
|
end
|
277
277
|
|
278
|
-
refute lockfile_set, "
|
278
|
+
refute lockfile_set, "found a LockSet"
|
279
279
|
|
280
280
|
git_set = @set.sets.find do |set|
|
281
281
|
Gem::Resolver::GitSet === set
|
@@ -318,7 +318,7 @@ DEPENDENCIES
|
|
318
318
|
Gem::Resolver::LockSet === set
|
319
319
|
end
|
320
320
|
|
321
|
-
refute lockfile_set, "
|
321
|
+
refute lockfile_set, "found a LockSet"
|
322
322
|
|
323
323
|
git_set = @set.sets.find do |set|
|
324
324
|
Gem::Resolver::GitSet === set
|
@@ -355,7 +355,7 @@ DEPENDENCIES
|
|
355
355
|
Gem::Resolver::LockSet === set
|
356
356
|
end
|
357
357
|
|
358
|
-
refute lockfile_set, "
|
358
|
+
refute lockfile_set, "found a LockSet"
|
359
359
|
|
360
360
|
git_set = @set.sets.find do |set|
|
361
361
|
Gem::Resolver::GitSet === set
|
@@ -392,7 +392,7 @@ DEPENDENCIES
|
|
392
392
|
Gem::Resolver::LockSet === set
|
393
393
|
end
|
394
394
|
|
395
|
-
refute lockfile_set, "
|
395
|
+
refute lockfile_set, "found a LockSet"
|
396
396
|
|
397
397
|
git_set = @set.sets.find do |set|
|
398
398
|
Gem::Resolver::GitSet === set
|
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.4.
|
4
|
+
version: 3.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Weirich
|
@@ -16,7 +16,7 @@ authors:
|
|
16
16
|
autorequire:
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
|
-
date: 2023-01-
|
19
|
+
date: 2023-01-06 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
|
@@ -834,7 +834,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
834
834
|
- !ruby/object:Gem::Version
|
835
835
|
version: '0'
|
836
836
|
requirements: []
|
837
|
-
rubygems_version: 3.4.
|
837
|
+
rubygems_version: 3.4.3
|
838
838
|
signing_key:
|
839
839
|
specification_version: 4
|
840
840
|
summary: RubyGems is a package management framework for Ruby.
|