rubygems-update 3.3.15 → 3.3.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/Manifest.txt +5 -2
- data/bundler/CHANGELOG.md +6 -0
- data/bundler/lib/bundler/build_metadata.rb +2 -2
- data/bundler/lib/bundler/cli/cache.rb +1 -1
- data/bundler/lib/bundler/cli/install.rb +0 -2
- data/bundler/lib/bundler/cli.rb +2 -6
- data/bundler/lib/bundler/definition.rb +16 -20
- data/bundler/lib/bundler/dependency.rb +2 -0
- data/bundler/lib/bundler/dsl.rb +1 -3
- data/bundler/lib/bundler/errors.rb +2 -0
- data/bundler/lib/bundler/fetcher/base.rb +6 -8
- data/bundler/lib/bundler/fetcher.rb +4 -0
- data/bundler/lib/bundler/plugin/api/source.rb +3 -3
- data/bundler/lib/bundler/resolver.rb +10 -12
- data/bundler/lib/bundler/rubygems_gem_installer.rb +8 -0
- data/bundler/lib/bundler/rubygems_integration.rb +3 -21
- data/bundler/lib/bundler/source/git.rb +5 -7
- data/bundler/lib/bundler/source/rubygems.rb +77 -76
- data/bundler/lib/bundler/version.rb +1 -1
- data/lib/rubygems/commands/install_command.rb +1 -1
- data/lib/rubygems/commands/sources_command.rb +1 -1
- data/lib/rubygems/core_ext/kernel_require.rb +1 -1
- data/lib/rubygems/errors.rb +1 -1
- data/lib/rubygems/ext/builder.rb +3 -3
- data/lib/rubygems/ext/cargo_builder/link_flag_converter.rb +23 -0
- data/lib/rubygems/ext/cargo_builder.rb +87 -64
- data/lib/rubygems/gemcutter_utilities.rb +1 -1
- data/lib/rubygems/request.rb +1 -1
- data/lib/rubygems/source/git.rb +2 -2
- data/lib/rubygems/source.rb +2 -9
- data/lib/rubygems/source_list.rb +1 -5
- data/lib/rubygems/specification.rb +28 -4
- data/lib/rubygems/specification_policy.rb +1 -1
- data/lib/rubygems/uri.rb +41 -26
- data/lib/rubygems/util.rb +1 -1
- data/lib/rubygems.rb +1 -2
- data/rubygems-update.gemspec +1 -1
- data/test/rubygems/data/excon-0.7.7.gemspec.rz +0 -0
- data/test/rubygems/data/{null-type.gemspec.rz → pry-0.4.7.gemspec.rz} +0 -0
- data/test/rubygems/helper.rb +2 -2
- data/test/rubygems/test_gem.rb +1 -1
- data/test/rubygems/test_gem_commands_sources_command.rb +50 -0
- data/test/rubygems/test_gem_config_file.rb +3 -3
- data/test/rubygems/test_gem_ext_cargo_builder/custom_name/Cargo.lock +86 -74
- data/test/rubygems/test_gem_ext_cargo_builder/custom_name/Cargo.toml +1 -2
- data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.lock +86 -74
- data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.toml +1 -2
- data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/build.rb +2 -2
- data/test/rubygems/test_gem_ext_cargo_builder.rb +50 -19
- data/test/rubygems/test_gem_ext_cargo_builder_link_flag_converter.rb +33 -0
- data/test/rubygems/test_gem_ext_cargo_builder_unit.rb +75 -0
- data/test/rubygems/test_gem_gemcutter_utilities.rb +1 -1
- data/test/rubygems/test_gem_package.rb +1 -1
- data/test/rubygems/test_gem_remote_fetcher.rb +15 -15
- data/test/rubygems/test_gem_resolver.rb +1 -1
- data/test/rubygems/test_gem_specification.rb +14 -6
- data/test/rubygems/test_require.rb +10 -10
- data/test/rubygems/test_rubygems.rb +3 -3
- metadata +8 -5
- data/lib/rubygems/psych_additions.rb +0 -10
@@ -705,7 +705,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
705
705
|
def test_fetch_http_with_additional_headers
|
706
706
|
ENV["http_proxy"] = @proxy_uri
|
707
707
|
ENV["no_proxy"] = URI::parse(@server_uri).host
|
708
|
-
fetcher = Gem::RemoteFetcher.new nil, nil, {"X-Captain" => "murphy"}
|
708
|
+
fetcher = Gem::RemoteFetcher.new nil, nil, { "X-Captain" => "murphy" }
|
709
709
|
@fetcher = fetcher
|
710
710
|
assert_equal "murphy", fetcher.fetch_path(@server_uri)
|
711
711
|
end
|
@@ -745,7 +745,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
745
745
|
|
746
746
|
def test_fetch_s3_config_creds
|
747
747
|
Gem.configuration[:s3_source] = {
|
748
|
-
'my-bucket' => {:id => 'testuser', :secret => 'testpass'},
|
748
|
+
'my-bucket' => { :id => 'testuser', :secret => 'testpass' },
|
749
749
|
}
|
750
750
|
url = 's3://my-bucket/gems/specs.4.8.gz'
|
751
751
|
Time.stub :now, Time.at(1561353581) do
|
@@ -757,7 +757,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
757
757
|
|
758
758
|
def test_fetch_s3_config_creds_with_region
|
759
759
|
Gem.configuration[:s3_source] = {
|
760
|
-
'my-bucket' => {:id => 'testuser', :secret => 'testpass', :region => 'us-west-2'},
|
760
|
+
'my-bucket' => { :id => 'testuser', :secret => 'testpass', :region => 'us-west-2' },
|
761
761
|
}
|
762
762
|
url = 's3://my-bucket/gems/specs.4.8.gz'
|
763
763
|
Time.stub :now, Time.at(1561353581) do
|
@@ -769,7 +769,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
769
769
|
|
770
770
|
def test_fetch_s3_config_creds_with_token
|
771
771
|
Gem.configuration[:s3_source] = {
|
772
|
-
'my-bucket' => {:id => 'testuser', :secret => 'testpass', :security_token => 'testtoken'},
|
772
|
+
'my-bucket' => { :id => 'testuser', :secret => 'testpass', :security_token => 'testtoken' },
|
773
773
|
}
|
774
774
|
url = 's3://my-bucket/gems/specs.4.8.gz'
|
775
775
|
Time.stub :now, Time.at(1561353581) do
|
@@ -784,7 +784,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
784
784
|
ENV['AWS_SECRET_ACCESS_KEY'] = 'testpass'
|
785
785
|
ENV['AWS_SESSION_TOKEN'] = nil
|
786
786
|
Gem.configuration[:s3_source] = {
|
787
|
-
'my-bucket' => {:provider => 'env'},
|
787
|
+
'my-bucket' => { :provider => 'env' },
|
788
788
|
}
|
789
789
|
url = 's3://my-bucket/gems/specs.4.8.gz'
|
790
790
|
Time.stub :now, Time.at(1561353581) do
|
@@ -800,7 +800,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
800
800
|
ENV['AWS_SECRET_ACCESS_KEY'] = 'testpass'
|
801
801
|
ENV['AWS_SESSION_TOKEN'] = nil
|
802
802
|
Gem.configuration[:s3_source] = {
|
803
|
-
'my-bucket' => {:provider => 'env', :region => 'us-west-2'},
|
803
|
+
'my-bucket' => { :provider => 'env', :region => 'us-west-2' },
|
804
804
|
}
|
805
805
|
url = 's3://my-bucket/gems/specs.4.8.gz'
|
806
806
|
Time.stub :now, Time.at(1561353581) do
|
@@ -816,7 +816,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
816
816
|
ENV['AWS_SECRET_ACCESS_KEY'] = 'testpass'
|
817
817
|
ENV['AWS_SESSION_TOKEN'] = 'testtoken'
|
818
818
|
Gem.configuration[:s3_source] = {
|
819
|
-
'my-bucket' => {:provider => 'env'},
|
819
|
+
'my-bucket' => { :provider => 'env' },
|
820
820
|
}
|
821
821
|
url = 's3://my-bucket/gems/specs.4.8.gz'
|
822
822
|
Time.stub :now, Time.at(1561353581) do
|
@@ -836,7 +836,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
836
836
|
|
837
837
|
def test_fetch_s3_instance_profile_creds
|
838
838
|
Gem.configuration[:s3_source] = {
|
839
|
-
'my-bucket' => {:provider => 'instance_profile'},
|
839
|
+
'my-bucket' => { :provider => 'instance_profile' },
|
840
840
|
}
|
841
841
|
|
842
842
|
url = 's3://my-bucket/gems/specs.4.8.gz'
|
@@ -850,7 +850,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
850
850
|
|
851
851
|
def test_fetch_s3_instance_profile_creds_with_region
|
852
852
|
Gem.configuration[:s3_source] = {
|
853
|
-
'my-bucket' => {:provider => 'instance_profile', :region => 'us-west-2'},
|
853
|
+
'my-bucket' => { :provider => 'instance_profile', :region => 'us-west-2' },
|
854
854
|
}
|
855
855
|
|
856
856
|
url = 's3://my-bucket/gems/specs.4.8.gz'
|
@@ -864,7 +864,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
864
864
|
|
865
865
|
def test_fetch_s3_instance_profile_creds_with_token
|
866
866
|
Gem.configuration[:s3_source] = {
|
867
|
-
'my-bucket' => {:provider => 'instance_profile'},
|
867
|
+
'my-bucket' => { :provider => 'instance_profile' },
|
868
868
|
}
|
869
869
|
|
870
870
|
url = 's3://my-bucket/gems/specs.4.8.gz'
|
@@ -894,7 +894,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
894
894
|
|
895
895
|
def test_fetch_s3_no_host
|
896
896
|
Gem.configuration[:s3_source] = {
|
897
|
-
'my-bucket' => {:id => 'testuser', :secret => 'testpass'},
|
897
|
+
'my-bucket' => { :id => 'testuser', :secret => 'testpass' },
|
898
898
|
}
|
899
899
|
|
900
900
|
url = 's3://other-bucket/gems/specs.4.8.gz'
|
@@ -904,7 +904,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
904
904
|
end
|
905
905
|
|
906
906
|
def test_fetch_s3_no_id
|
907
|
-
Gem.configuration[:s3_source] = { 'my-bucket' => {:secret => 'testpass'} }
|
907
|
+
Gem.configuration[:s3_source] = { 'my-bucket' => { :secret => 'testpass' } }
|
908
908
|
|
909
909
|
url = 's3://my-bucket/gems/specs.4.8.gz'
|
910
910
|
refute_fetch_s3 url, 's3_source for my-bucket missing id or secret'
|
@@ -913,7 +913,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
913
913
|
end
|
914
914
|
|
915
915
|
def test_fetch_s3_no_secret
|
916
|
-
Gem.configuration[:s3_source] = { 'my-bucket' => {:id => 'testuser'} }
|
916
|
+
Gem.configuration[:s3_source] = { 'my-bucket' => { :id => 'testuser' } }
|
917
917
|
|
918
918
|
url = 's3://my-bucket/gems/specs.4.8.gz'
|
919
919
|
refute_fetch_s3 url, 's3_source for my-bucket missing id or secret'
|
@@ -973,7 +973,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
973
973
|
def test_ssl_client_cert_auth_connection
|
974
974
|
ssl_server = start_ssl_server({
|
975
975
|
:SSLVerifyClient =>
|
976
|
-
OpenSSL::SSL::VERIFY_PEER | OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT})
|
976
|
+
OpenSSL::SSL::VERIFY_PEER | OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT })
|
977
977
|
|
978
978
|
temp_ca_cert = File.join(__dir__, 'ca_cert.pem')
|
979
979
|
temp_client_cert = File.join(__dir__, 'client.pem')
|
@@ -988,7 +988,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
|
|
988
988
|
def test_do_not_allow_invalid_client_cert_auth_connection
|
989
989
|
ssl_server = start_ssl_server({
|
990
990
|
:SSLVerifyClient =>
|
991
|
-
OpenSSL::SSL::VERIFY_PEER | OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT})
|
991
|
+
OpenSSL::SSL::VERIFY_PEER | OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT })
|
992
992
|
|
993
993
|
temp_ca_cert = File.join(__dir__, 'ca_cert.pem')
|
994
994
|
temp_client_cert = File.join(__dir__, 'invalid_client.pem')
|
@@ -191,7 +191,7 @@ class TestGemResolver < Gem::TestCase
|
|
191
191
|
|
192
192
|
# With the following gems already installed:
|
193
193
|
# a-1, b-1, c-1, e-1
|
194
|
-
res.skip_gems = {'a' => [a1_spec], 'b' => [b1_spec], 'c' => [c1_spec], 'e' => [e1_spec]}
|
194
|
+
res.skip_gems = { 'a' => [a1_spec], 'b' => [b1_spec], 'c' => [c1_spec], 'e' => [e1_spec] }
|
195
195
|
|
196
196
|
# Make sure the following gems end up getting used/installed/upgraded:
|
197
197
|
# a-2 (upgraded)
|
@@ -158,7 +158,7 @@ end
|
|
158
158
|
util_spec "pkg#{pkgi}", pkg_version.to_s, deps
|
159
159
|
end
|
160
160
|
end
|
161
|
-
base = util_spec "pkg_base", "1", {"pkg0" => ">= 0"}
|
161
|
+
base = util_spec "pkg_base", "1", { "pkg0" => ">= 0" }
|
162
162
|
|
163
163
|
Gem::Specification.reset
|
164
164
|
install_specs(*packages.flatten.reverse)
|
@@ -305,10 +305,10 @@ end
|
|
305
305
|
|
306
306
|
def test_require_should_not_conflict
|
307
307
|
base = util_spec "0", "1", "A" => ">= 1"
|
308
|
-
a1 = util_spec "A", "1", {"c" => ">= 2", "b" => "> 0"}, "lib/a.rb"
|
309
|
-
a2 = util_spec "A", "2", {"c" => ">= 2", "b" => "> 0"}, "lib/a.rb"
|
310
|
-
b1 = util_spec "b", "1", {"c" => "= 1"}, "lib/d#{$$}.rb"
|
311
|
-
b2 = util_spec "b", "2", {"c" => "= 2"}, "lib/d#{$$}.rb"
|
308
|
+
a1 = util_spec "A", "1", { "c" => ">= 2", "b" => "> 0" }, "lib/a.rb"
|
309
|
+
a2 = util_spec "A", "2", { "c" => ">= 2", "b" => "> 0" }, "lib/a.rb"
|
310
|
+
b1 = util_spec "b", "1", { "c" => "= 1" }, "lib/d#{$$}.rb"
|
311
|
+
b2 = util_spec "b", "2", { "c" => "= 2" }, "lib/d#{$$}.rb"
|
312
312
|
c1 = util_spec "c", "1", {}, "lib/c.rb"
|
313
313
|
c2 = util_spec "c", "2", {}, "lib/c.rb"
|
314
314
|
c3 = util_spec "c", "3", {}, "lib/c.rb"
|
@@ -1068,7 +1068,15 @@ dependencies: []
|
|
1068
1068
|
end
|
1069
1069
|
|
1070
1070
|
def test_handles_private_null_type
|
1071
|
-
path = File.expand_path 'data/
|
1071
|
+
path = File.expand_path 'data/pry-0.4.7.gemspec.rz', __dir__
|
1072
|
+
|
1073
|
+
data = Marshal.load Gem::Util.inflate(Gem.read_binary(path))
|
1074
|
+
|
1075
|
+
assert_instance_of Gem::Specification, data
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
def test_handles_dependencies_with_syck_requirements_bug
|
1079
|
+
path = File.expand_path 'data/excon-0.7.7.gemspec.rz', __dir__
|
1072
1080
|
|
1073
1081
|
data = Marshal.load Gem::Util.inflate(Gem.read_binary(path))
|
1074
1082
|
|
@@ -63,8 +63,8 @@ class TestGemRequire < Gem::TestCase
|
|
63
63
|
|
64
64
|
# Providing -I on the commandline should always beat gems
|
65
65
|
def test_dash_i_beats_gems
|
66
|
-
a1 = util_spec "a", "1", {"b" => "= 1"}, "lib/test_gem_require_a.rb"
|
67
|
-
b1 = util_spec "b", "1", {"c" => "> 0"}, "lib/b/c.rb"
|
66
|
+
a1 = util_spec "a", "1", { "b" => "= 1" }, "lib/test_gem_require_a.rb"
|
67
|
+
b1 = util_spec "b", "1", { "c" => "> 0" }, "lib/b/c.rb"
|
68
68
|
c1 = util_spec "c", "1", nil, "lib/c/c.rb"
|
69
69
|
c2 = util_spec "c", "2", nil, "lib/c/c.rb"
|
70
70
|
|
@@ -102,8 +102,8 @@ class TestGemRequire < Gem::TestCase
|
|
102
102
|
|
103
103
|
# Providing -I on the commandline should always beat gems
|
104
104
|
def test_dash_i_beats_default_gems
|
105
|
-
a1 = new_default_spec "a", "1", {"b" => "= 1"}, "test_gem_require_a.rb"
|
106
|
-
b1 = new_default_spec "b", "1", {"c" => "> 0"}, "b/c.rb"
|
105
|
+
a1 = new_default_spec "a", "1", { "b" => "= 1" }, "test_gem_require_a.rb"
|
106
|
+
b1 = new_default_spec "b", "1", { "c" => "> 0" }, "b/c.rb"
|
107
107
|
c1 = new_default_spec "c", "1", nil, "c/c.rb"
|
108
108
|
c2 = new_default_spec "c", "2", nil, "c/c.rb"
|
109
109
|
|
@@ -169,7 +169,7 @@ class TestGemRequire < Gem::TestCase
|
|
169
169
|
end
|
170
170
|
|
171
171
|
def test_require_is_not_lazy_with_exact_req
|
172
|
-
a1 = util_spec "a", "1", {"b" => "= 1"}, "lib/test_gem_require_a.rb"
|
172
|
+
a1 = util_spec "a", "1", { "b" => "= 1" }, "lib/test_gem_require_a.rb"
|
173
173
|
b1 = util_spec "b", "1", nil, "lib/b/c.rb"
|
174
174
|
b2 = util_spec "b", "2", nil, "lib/b/c.rb"
|
175
175
|
|
@@ -184,7 +184,7 @@ class TestGemRequire < Gem::TestCase
|
|
184
184
|
end
|
185
185
|
|
186
186
|
def test_require_is_lazy_with_inexact_req
|
187
|
-
a1 = util_spec "a", "1", {"b" => ">= 1"}, "lib/test_gem_require_a.rb"
|
187
|
+
a1 = util_spec "a", "1", { "b" => ">= 1" }, "lib/test_gem_require_a.rb"
|
188
188
|
b1 = util_spec "b", "1", nil, "lib/b/c.rb"
|
189
189
|
b2 = util_spec "b", "2", nil, "lib/b/c.rb"
|
190
190
|
|
@@ -199,7 +199,7 @@ class TestGemRequire < Gem::TestCase
|
|
199
199
|
end
|
200
200
|
|
201
201
|
def test_require_is_not_lazy_with_one_possible
|
202
|
-
a1 = util_spec "a", "1", {"b" => ">= 1"}, "lib/test_gem_require_a.rb"
|
202
|
+
a1 = util_spec "a", "1", { "b" => ">= 1" }, "lib/test_gem_require_a.rb"
|
203
203
|
b1 = util_spec "b", "1", nil, "lib/b/c.rb"
|
204
204
|
|
205
205
|
install_specs b1, a1
|
@@ -243,7 +243,7 @@ class TestGemRequire < Gem::TestCase
|
|
243
243
|
|
244
244
|
require 'benchmark' # the stdlib
|
245
245
|
|
246
|
-
a1 = util_spec "a", "1", {"b" => ">= 1"}, "lib/test_gem_require_a.rb"
|
246
|
+
a1 = util_spec "a", "1", { "b" => ">= 1" }, "lib/test_gem_require_a.rb"
|
247
247
|
b1 = util_spec "b", "1", nil, "lib/benchmark.rb"
|
248
248
|
b2 = util_spec "b", "2", nil, "lib/benchmark.rb"
|
249
249
|
|
@@ -444,7 +444,7 @@ class TestGemRequire < Gem::TestCase
|
|
444
444
|
end
|
445
445
|
|
446
446
|
def test_realworld_default_gem
|
447
|
-
omit "this test can't work under ruby-core setup" if
|
447
|
+
omit "this test can't work under ruby-core setup" if ruby_repo?
|
448
448
|
|
449
449
|
cmd = <<-RUBY
|
450
450
|
$stderr = $stdout
|
@@ -457,7 +457,7 @@ class TestGemRequire < Gem::TestCase
|
|
457
457
|
end
|
458
458
|
|
459
459
|
def test_realworld_upgraded_default_gem
|
460
|
-
omit "this test can't work under ruby-core setup" if
|
460
|
+
omit "this test can't work under ruby-core setup" if ruby_repo?
|
461
461
|
|
462
462
|
newer_json = util_spec("json", "999.99.9", nil, ["lib/json.rb"])
|
463
463
|
install_gem newer_json
|
@@ -2,7 +2,7 @@ require_relative 'helper'
|
|
2
2
|
|
3
3
|
class GemTest < Gem::TestCase
|
4
4
|
def test_rubygems_normal_behaviour
|
5
|
-
_ = Gem::Util.popen(*ruby_with_rubygems_in_load_path, '-e', "'require \"rubygems\"'", {:err => [:child, :out]}).strip
|
5
|
+
_ = Gem::Util.popen(*ruby_with_rubygems_in_load_path, '-e', "'require \"rubygems\"'", { :err => [:child, :out] }).strip
|
6
6
|
assert $?.success?
|
7
7
|
end
|
8
8
|
|
@@ -13,7 +13,7 @@ class GemTest < Gem::TestCase
|
|
13
13
|
intentionally_not_implemented_method
|
14
14
|
RUBY
|
15
15
|
|
16
|
-
output = Gem::Util.popen(*ruby_with_rubygems_and_fake_operating_system_in_load_path(path), '-e', "'require \"rubygems\"'", {:err => [:child, :out]}).strip
|
16
|
+
output = Gem::Util.popen(*ruby_with_rubygems_and_fake_operating_system_in_load_path(path), '-e', "'require \"rubygems\"'", { :err => [:child, :out] }).strip
|
17
17
|
assert !$?.success?
|
18
18
|
assert_includes output, "undefined local variable or method `intentionally_not_implemented_method'"
|
19
19
|
assert_includes output, "Loading the rubygems/defaults/operating_system.rb file caused an error. " \
|
@@ -40,7 +40,7 @@ class GemTest < Gem::TestCase
|
|
40
40
|
*ruby_with_rubygems_and_fake_operating_system_in_load_path(path),
|
41
41
|
'-e',
|
42
42
|
"require \"rubygems\"; puts Gem::Specification.stubs.map(&:full_name)",
|
43
|
-
{:err => [:child, :out]}
|
43
|
+
{ :err => [:child, :out] }
|
44
44
|
).strip
|
45
45
|
begin
|
46
46
|
assert_empty output
|
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.3.
|
4
|
+
version: 3.3.16
|
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: 2022-06-
|
19
|
+
date: 2022-06-15 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
|
@@ -439,6 +439,7 @@ files:
|
|
439
439
|
- lib/rubygems/ext/build_error.rb
|
440
440
|
- lib/rubygems/ext/builder.rb
|
441
441
|
- lib/rubygems/ext/cargo_builder.rb
|
442
|
+
- lib/rubygems/ext/cargo_builder/link_flag_converter.rb
|
442
443
|
- lib/rubygems/ext/cmake_builder.rb
|
443
444
|
- lib/rubygems/ext/configure_builder.rb
|
444
445
|
- lib/rubygems/ext/ext_conf_builder.rb
|
@@ -480,7 +481,6 @@ files:
|
|
480
481
|
- lib/rubygems/package_task.rb
|
481
482
|
- lib/rubygems/path_support.rb
|
482
483
|
- lib/rubygems/platform.rb
|
483
|
-
- lib/rubygems/psych_additions.rb
|
484
484
|
- lib/rubygems/psych_tree.rb
|
485
485
|
- lib/rubygems/query_utils.rb
|
486
486
|
- lib/rubygems/rdoc.rb
|
@@ -594,11 +594,12 @@ files:
|
|
594
594
|
- test/rubygems/child_cert_32.pem
|
595
595
|
- test/rubygems/child_key.pem
|
596
596
|
- test/rubygems/client.pem
|
597
|
+
- test/rubygems/data/excon-0.7.7.gemspec.rz
|
597
598
|
- test/rubygems/data/gem-private_key.pem
|
598
599
|
- test/rubygems/data/gem-public_cert.pem
|
599
600
|
- test/rubygems/data/null-required-ruby-version.gemspec.rz
|
600
601
|
- test/rubygems/data/null-required-rubygems-version.gemspec.rz
|
601
|
-
- test/rubygems/data/
|
602
|
+
- test/rubygems/data/pry-0.4.7.gemspec.rz
|
602
603
|
- test/rubygems/encrypted_private_key.pem
|
603
604
|
- test/rubygems/expired_cert.pem
|
604
605
|
- test/rubygems/fake_certlib/openssl.rb
|
@@ -705,6 +706,8 @@ files:
|
|
705
706
|
- test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/build.rb
|
706
707
|
- test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/rust_ruby_example.gemspec
|
707
708
|
- test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/src/lib.rs
|
709
|
+
- test/rubygems/test_gem_ext_cargo_builder_link_flag_converter.rb
|
710
|
+
- test/rubygems/test_gem_ext_cargo_builder_unit.rb
|
708
711
|
- test/rubygems/test_gem_ext_cmake_builder.rb
|
709
712
|
- test/rubygems/test_gem_ext_configure_builder.rb
|
710
713
|
- test/rubygems/test_gem_ext_ext_conf_builder.rb
|
@@ -817,7 +820,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
817
820
|
- !ruby/object:Gem::Version
|
818
821
|
version: '0'
|
819
822
|
requirements: []
|
820
|
-
rubygems_version: 3.3.
|
823
|
+
rubygems_version: 3.3.16
|
821
824
|
signing_key:
|
822
825
|
specification_version: 4
|
823
826
|
summary: RubyGems is a package management framework for Ruby.
|
@@ -1,10 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
# This exists just to satisfy bugs in marshal'd gemspecs that
|
3
|
-
# contain a reference to Psych::PrivateType. We prune these out
|
4
|
-
# in Specification._load, but if we don't have the constant, Marshal
|
5
|
-
# blows up.
|
6
|
-
|
7
|
-
module Psych # :nodoc:
|
8
|
-
class PrivateType # :nodoc:
|
9
|
-
end
|
10
|
-
end
|