rubygems-update 2.0.17 → 2.1.0.rc.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rubygems-update might be problematic. Click here for more details.

Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +2 -0
  4. data/.autotest +1 -1
  5. data/History.txt +82 -153
  6. data/Manifest.txt +35 -9
  7. data/Rakefile +35 -36
  8. data/lib/rubygems.rb +106 -18
  9. data/lib/rubygems/available_set.rb +68 -0
  10. data/lib/rubygems/basic_specification.rb +139 -0
  11. data/lib/rubygems/command_manager.rb +37 -40
  12. data/lib/rubygems/commands/cert_command.rb +78 -29
  13. data/lib/rubygems/commands/cleanup_command.rb +2 -2
  14. data/lib/rubygems/commands/contents_command.rb +101 -58
  15. data/lib/rubygems/commands/dependency_command.rb +94 -53
  16. data/lib/rubygems/commands/environment_command.rb +70 -53
  17. data/lib/rubygems/commands/fetch_command.rb +1 -2
  18. data/lib/rubygems/commands/help_command.rb +85 -55
  19. data/lib/rubygems/commands/install_command.rb +84 -42
  20. data/lib/rubygems/commands/outdated_command.rb +2 -12
  21. data/lib/rubygems/commands/owner_command.rb +6 -0
  22. data/lib/rubygems/commands/pristine_command.rb +26 -16
  23. data/lib/rubygems/commands/sources_command.rb +85 -70
  24. data/lib/rubygems/commands/uninstall_command.rb +32 -2
  25. data/lib/rubygems/commands/update_command.rb +111 -75
  26. data/lib/rubygems/config_file.rb +15 -3
  27. data/lib/rubygems/core_ext/kernel_require.rb +9 -31
  28. data/lib/rubygems/defaults.rb +8 -0
  29. data/lib/rubygems/dependency.rb +4 -2
  30. data/lib/rubygems/dependency_installer.rb +180 -170
  31. data/lib/rubygems/dependency_resolver.rb +191 -526
  32. data/lib/rubygems/dependency_resolver/activation_request.rb +109 -0
  33. data/lib/rubygems/dependency_resolver/api_set.rb +65 -0
  34. data/lib/rubygems/dependency_resolver/api_specification.rb +36 -0
  35. data/lib/rubygems/dependency_resolver/composed_set.rb +18 -0
  36. data/lib/rubygems/dependency_resolver/current_set.rb +16 -0
  37. data/lib/rubygems/dependency_resolver/dependency_conflict.rb +85 -0
  38. data/lib/rubygems/dependency_resolver/dependency_request.rb +51 -0
  39. data/lib/rubygems/dependency_resolver/index_set.rb +59 -0
  40. data/lib/rubygems/dependency_resolver/index_specification.rb +53 -0
  41. data/lib/rubygems/dependency_resolver/installed_specification.rb +38 -0
  42. data/lib/rubygems/dependency_resolver/installer_set.rb +130 -0
  43. data/lib/rubygems/exceptions.rb +88 -1
  44. data/lib/rubygems/ext/builder.rb +1 -1
  45. data/lib/rubygems/gem_runner.rb +17 -9
  46. data/lib/rubygems/gemcutter_utilities.rb +72 -42
  47. data/lib/rubygems/install_default_message.rb +12 -0
  48. data/lib/rubygems/install_update_options.rb +3 -0
  49. data/lib/rubygems/installer.rb +55 -30
  50. data/lib/rubygems/name_tuple.rb +18 -7
  51. data/lib/rubygems/package.rb +50 -25
  52. data/lib/rubygems/package/tar_test_case.rb +9 -9
  53. data/lib/rubygems/package/tar_writer.rb +35 -12
  54. data/lib/rubygems/package_task.rb +2 -5
  55. data/lib/rubygems/path_support.rb +10 -0
  56. data/lib/rubygems/platform.rb +9 -3
  57. data/lib/rubygems/psych_additions.rb +1 -1
  58. data/lib/rubygems/remote_fetcher.rb +9 -276
  59. data/lib/rubygems/request.rb +267 -0
  60. data/lib/rubygems/request_set.rb +123 -125
  61. data/lib/rubygems/request_set/gem_dependency_api.rb +39 -0
  62. data/lib/rubygems/security.rb +32 -23
  63. data/lib/rubygems/security/policy.rb +35 -9
  64. data/lib/rubygems/security/signer.rb +2 -2
  65. data/lib/rubygems/server.rb +8 -16
  66. data/lib/rubygems/source.rb +25 -14
  67. data/lib/rubygems/source/installed.rb +28 -0
  68. data/lib/rubygems/source/local.rb +122 -0
  69. data/lib/rubygems/source/specific_file.rb +28 -0
  70. data/lib/rubygems/source_local.rb +2 -89
  71. data/lib/rubygems/source_specific_file.rb +2 -26
  72. data/lib/rubygems/spec_fetcher.rb +11 -11
  73. data/lib/rubygems/specification.rb +186 -198
  74. data/lib/rubygems/ssl_certs/AddTrustExternalCARoot.pem +88 -30
  75. data/lib/rubygems/ssl_certs/Entrust_net-Secure-Server-Certification-Authority.pem +90 -0
  76. data/lib/rubygems/ssl_certs/{GeoTrustGlobalCA.pem → GeoTrust_Global_CA.pem} +20 -20
  77. data/lib/rubygems/ssl_certs/VerisignClass3PublicPrimaryCertificationAuthority-G2.pem +57 -0
  78. data/lib/rubygems/stub_specification.rb +119 -0
  79. data/lib/rubygems/test_case.rb +117 -49
  80. data/lib/rubygems/uninstaller.rb +14 -9
  81. data/lib/rubygems/uri_formatter.rb +39 -0
  82. data/lib/rubygems/util/list.rb +44 -0
  83. data/lib/rubygems/version.rb +15 -5
  84. data/lib/rubygems/version_option.rb +8 -2
  85. data/test/rubygems/ca_cert.pem +23 -0
  86. data/test/rubygems/client.pem +49 -0
  87. data/test/rubygems/encrypted_private_key.pem +30 -0
  88. data/test/rubygems/invalid_client.pem +49 -0
  89. data/test/rubygems/specifications/bar-0.0.2.gemspec +9 -0
  90. data/test/rubygems/specifications/foo-0.0.1.gemspec +0 -0
  91. data/test/rubygems/test_gem.rb +76 -454
  92. data/test/rubygems/test_gem_command_manager.rb +23 -21
  93. data/test/rubygems/test_gem_commands_cert_command.rb +154 -14
  94. data/test/rubygems/test_gem_commands_cleanup_command.rb +15 -0
  95. data/test/rubygems/test_gem_commands_contents_command.rb +32 -4
  96. data/test/rubygems/test_gem_commands_environment_command.rb +9 -1
  97. data/test/rubygems/test_gem_commands_fetch_command.rb +2 -28
  98. data/test/rubygems/test_gem_commands_help_command.rb +6 -3
  99. data/test/rubygems/test_gem_commands_install_command.rb +2 -65
  100. data/test/rubygems/test_gem_commands_owner_command.rb +49 -0
  101. data/test/rubygems/test_gem_commands_pristine_command.rb +30 -0
  102. data/test/rubygems/test_gem_commands_sources_command.rb +1 -1
  103. data/test/rubygems/test_gem_commands_uninstall_command.rb +33 -0
  104. data/test/rubygems/test_gem_commands_update_command.rb +2 -1
  105. data/test/rubygems/test_gem_config_file.rb +12 -0
  106. data/test/rubygems/test_gem_dependency_installer.rb +58 -65
  107. data/test/rubygems/test_gem_dependency_resolver.rb +6 -3
  108. data/test/rubygems/test_gem_dependency_resolver_dependency_conflict.rb +36 -0
  109. data/test/rubygems/test_gem_ext_builder.rb +2 -4
  110. data/test/rubygems/test_gem_ext_ext_conf_builder.rb +7 -2
  111. data/test/rubygems/test_gem_gem_runner.rb +17 -13
  112. data/test/rubygems/test_gem_gemcutter_utilities.rb +6 -19
  113. data/test/rubygems/test_gem_impossible_dependencies_error.rb +41 -0
  114. data/test/rubygems/test_gem_install_update_options.rb +4 -1
  115. data/test/rubygems/test_gem_installer.rb +31 -2
  116. data/test/rubygems/test_gem_name_tuple.rb +22 -0
  117. data/test/rubygems/test_gem_package.rb +122 -11
  118. data/test/rubygems/test_gem_package_old.rb +8 -0
  119. data/test/rubygems/test_gem_package_tar_reader.rb +9 -8
  120. data/test/rubygems/test_gem_package_tar_reader_entry.rb +1 -1
  121. data/test/rubygems/test_gem_package_tar_writer.rb +78 -56
  122. data/test/rubygems/test_gem_package_task.rb +2 -23
  123. data/test/rubygems/test_gem_path_support.rb +17 -0
  124. data/test/rubygems/test_gem_platform.rb +18 -0
  125. data/test/rubygems/test_gem_remote_fetcher.rb +106 -385
  126. data/test/rubygems/test_gem_request.rb +239 -0
  127. data/test/rubygems/test_gem_requirement.rb +9 -11
  128. data/test/rubygems/test_gem_security.rb +58 -2
  129. data/test/rubygems/test_gem_security_policy.rb +42 -1
  130. data/test/rubygems/test_gem_security_signer.rb +13 -1
  131. data/test/rubygems/test_gem_security_trust_dir.rb +5 -1
  132. data/test/rubygems/test_gem_server.rb +1 -105
  133. data/test/rubygems/test_gem_source.rb +4 -14
  134. data/test/rubygems/test_gem_source_local.rb +4 -4
  135. data/test/rubygems/test_gem_source_specific_file.rb +1 -1
  136. data/test/rubygems/test_gem_spec_fetcher.rb +0 -12
  137. data/test/rubygems/test_gem_specification.rb +452 -28
  138. data/test/rubygems/test_gem_stub_specification.rb +30 -0
  139. data/test/rubygems/test_gem_uninstaller.rb +14 -0
  140. data/test/rubygems/test_gem_uri_formatter.rb +20 -0
  141. data/test/rubygems/test_gem_version.rb +23 -13
  142. data/test/rubygems/test_gem_version_option.rb +63 -1
  143. data/test/rubygems/test_require.rb +0 -12
  144. data/util/create_encrypted_key.rb +16 -0
  145. metadata +161 -23
  146. metadata.gz.sig +0 -0
  147. data/CVE-2013-4287.txt +0 -36
  148. data/CVE-2013-4363.txt +0 -45
  149. data/lib/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem +0 -25
  150. data/lib/rubygems/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem +0 -14
  151. data/lib/rubygems/ssl_certs/DigiCertHighAssuranceEVRootCA.pem +0 -23
  152. data/lib/rubygems/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem +0 -28
  153. data/test/rubygems/test_bundled_ca.rb +0 -59
  154. data/util/update_bundled_ca_certificates.rb +0 -103
@@ -0,0 +1,30 @@
1
+ require "rubygems/test_case"
2
+ require "rubygems/stub_specification"
3
+
4
+ class TestStubSpecification < Gem::TestCase
5
+ SPECIFICATIONS = File.expand_path(File.join("..", "specifications"), __FILE__)
6
+ FOO = File.join SPECIFICATIONS, "foo-0.0.1.gemspec"
7
+ BAR = File.join SPECIFICATIONS, "bar-0.0.2.gemspec"
8
+
9
+ def test_basic
10
+ stub = Gem::StubSpecification.new(FOO)
11
+ assert_equal "foo", stub.name
12
+ assert_equal Gem::Version.new("0.0.1"), stub.version
13
+ assert_equal Gem::Platform.new("mswin32"), stub.platform
14
+ assert_equal ["lib", "lib/f oo/ext"], stub.require_paths
15
+ end
16
+
17
+ def test_missing_stubline
18
+ stub = Gem::StubSpecification.new(BAR)
19
+ assert_equal "bar", stub.name
20
+ assert_equal Gem::Version.new("0.0.2"), stub.version
21
+ assert_equal Gem::Platform.new("ruby"), stub.platform
22
+ assert_equal ["lib"], stub.require_paths
23
+ end
24
+
25
+ def test_to_spec
26
+ stub = Gem::StubSpecification.new(FOO)
27
+ assert stub.to_spec.is_a?(Gem::Specification)
28
+ assert_equal "foo", stub.to_spec.name
29
+ end
30
+ end
@@ -5,6 +5,7 @@ class TestGemUninstaller < Gem::InstallerTestCase
5
5
 
6
6
  def setup
7
7
  super
8
+ common_installer_setup
8
9
 
9
10
  build_rake_in do
10
11
  use_ui ui do
@@ -375,6 +376,19 @@ class TestGemUninstaller < Gem::InstallerTestCase
375
376
  assert_equal "Successfully uninstalled q-1.0", lines.shift
376
377
  end
377
378
 
379
+ def test_uninstall_doesnt_prompt_and_raises_when_abort_on_dependent_set
380
+ quick_gem 'r', '1' do |s| s.add_dependency 'q', '= 1' end
381
+ quick_gem 'q', '1'
382
+
383
+ un = Gem::Uninstaller.new('q', :abort_on_dependent => true)
384
+ ui = Gem::MockGemUi.new("y\n")
385
+
386
+ assert_raises Gem::DependencyRemovalException do
387
+ use_ui ui do
388
+ un.uninstall
389
+ end
390
+ end
391
+ end
378
392
 
379
393
  def test_uninstall_prompt_includes_dep_type
380
394
  quick_gem 'r', '1' do |s|
@@ -0,0 +1,20 @@
1
+ require 'rubygems/test_case'
2
+ require 'rubygems/uri_formatter'
3
+
4
+ class TestGemUriFormatter < Gem::TestCase
5
+
6
+ def test_normalize_uri
7
+ assert_equal 'FILE://example/',
8
+ Gem::UriFormatter.new('FILE://example/').normalize
9
+ assert_equal 'FTP://example/',
10
+ Gem::UriFormatter.new('FTP://example/').normalize
11
+ assert_equal 'HTTP://example/',
12
+ Gem::UriFormatter.new('HTTP://example/').normalize
13
+ assert_equal 'HTTPS://example/',
14
+ Gem::UriFormatter.new('HTTPS://example/').normalize
15
+ assert_equal 'http://example/',
16
+ Gem::UriFormatter.new('example/').normalize
17
+ end
18
+
19
+ end
20
+
@@ -23,13 +23,14 @@ class TestGemVersion < Gem::TestCase
23
23
  assert_bumped_version_equal "6", "5"
24
24
  end
25
25
 
26
- # A Gem::Version is already a Gem::Version and therefore not transformed by
27
- # Gem::Version.create
26
+ # FIX: For "legacy reasons," any object that responds to +version+
27
+ # is returned unchanged. I'm not certain why.
28
28
 
29
29
  def test_class_create
30
- real = Gem::Version.new(1.0)
30
+ fake = Object.new
31
+ def fake.version; "1.0" end
31
32
 
32
- assert_same real, Gem::Version.create(real)
33
+ assert_same fake, Gem::Version.create(fake)
33
34
  assert_nil Gem::Version.create(nil)
34
35
  assert_equal v("5.1"), Gem::Version.create("5.1")
35
36
 
@@ -66,18 +67,12 @@ class TestGemVersion < Gem::TestCase
66
67
  end
67
68
 
68
69
  def test_initialize_bad
69
- %W[
70
- junk
71
- 1.0\n2.0
72
- 1..2
73
- 1.2\ 3.4
74
- 1-2-3
75
- ].each do |bad|
76
- e = assert_raises ArgumentError, bad do
70
+ ["junk", "1.0\n2.0"].each do |bad|
71
+ e = assert_raises ArgumentError do
77
72
  Gem::Version.new bad
78
73
  end
79
74
 
80
- assert_equal "Malformed version number string #{bad}", e.message, bad
75
+ assert_equal "Malformed version number string #{bad}", e.message
81
76
  end
82
77
  end
83
78
 
@@ -127,6 +122,15 @@ class TestGemVersion < Gem::TestCase
127
122
  assert_equal "5.2.4", v("5.2.4").to_s
128
123
  end
129
124
 
125
+ def test_semver
126
+ assert_less_than "1.0.0-alpha", "1.0.0-alpha.1"
127
+ assert_less_than "1.0.0-alpha.1", "1.0.0-beta.2"
128
+ assert_less_than "1.0.0-beta.2", "1.0.0-beta.11"
129
+ assert_less_than "1.0.0-beta.11", "1.0.0-rc.1"
130
+ assert_less_than "1.0.0-rc1", "1.0.0"
131
+ assert_less_than "1.0.0-1", "1"
132
+ end
133
+
130
134
  # Asserts that +version+ is a prerelease.
131
135
 
132
136
  def assert_prerelease version
@@ -166,6 +170,12 @@ class TestGemVersion < Gem::TestCase
166
170
  assert second.eql?(first), "#{second} is eql? #{first}"
167
171
  end
168
172
 
173
+ def assert_less_than left, right
174
+ l = v(left)
175
+ r = v(right)
176
+ assert l < r, "#{left} not less than #{right}"
177
+ end
178
+
169
179
  # Refute the assumption that +version+ is a prerelease.
170
180
 
171
181
  def refute_prerelease version
@@ -80,7 +80,69 @@ class TestGemVersionOption < Gem::TestCase
80
80
 
81
81
  @cmd.handle_options %w[--version >1]
82
82
 
83
- expected = { :version => Gem::Requirement.new('> 1'), :args => [] }
83
+ expected = {
84
+ :args => [],
85
+ :explicit_prerelease => false,
86
+ :prerelease => false,
87
+ :version => Gem::Requirement.new('> 1'),
88
+ }
89
+
90
+ assert_equal expected, @cmd.options
91
+ end
92
+
93
+ def test_version_option_compound
94
+ @cmd.add_version_option
95
+
96
+ @cmd.handle_options ['--version', '< 1, > 0.9']
97
+
98
+ expected = {
99
+ :args => [],
100
+ :explicit_prerelease => false,
101
+ :prerelease => false,
102
+ :version => Gem::Requirement.new('< 1', '> 0.9'),
103
+ }
104
+
105
+ assert_equal expected, @cmd.options
106
+ end
107
+
108
+ def test_version_option_explicit_prerelease
109
+ @cmd.add_prerelease_option
110
+ @cmd.add_version_option
111
+
112
+ @cmd.handle_options %w[--pre --version >1]
113
+
114
+ expected = {
115
+ :args => [],
116
+ :explicit_prerelease => true,
117
+ :prerelease => true,
118
+ :version => Gem::Requirement.new('> 1'),
119
+ }
120
+
121
+ assert_equal expected, @cmd.options
122
+ end
123
+
124
+ def test_version_option_twice
125
+ @cmd.add_version_option
126
+
127
+ @cmd.handle_options %w[--version >1.a]
128
+
129
+ expected = {
130
+ :args => [],
131
+ :explicit_prerelease => false,
132
+ :prerelease => true,
133
+ :version => Gem::Requirement.new('> 1.a'),
134
+ }
135
+
136
+ assert_equal expected, @cmd.options
137
+
138
+ @cmd.handle_options %w[--version >1]
139
+
140
+ expected = {
141
+ :args => [],
142
+ :explicit_prerelease => false,
143
+ :prerelease => false,
144
+ :version => Gem::Requirement.new('> 1'),
145
+ }
84
146
 
85
147
  assert_equal expected, @cmd.options
86
148
  end
@@ -67,18 +67,6 @@ class TestGemRequire < Gem::TestCase
67
67
  end
68
68
  end
69
69
 
70
- def test_require_can_use_a_pathname_object
71
- a1 = new_spec "a", "1", nil, "lib/test_gem_require_a.rb"
72
-
73
- install_specs a1
74
-
75
- save_loaded_features do
76
- assert_require Pathname.new 'test_gem_require_a'
77
- assert_equal %w(a-1), loaded_spec_names
78
- assert_equal unresolved_names, []
79
- end
80
- end
81
-
82
70
  def test_activate_via_require_respects_loaded_files
83
71
  require 'benchmark' # stdlib
84
72
  save_loaded_features do
@@ -0,0 +1,16 @@
1
+ require 'openssl'
2
+
3
+ private_key_path = '../../test/rubygems/private_key.pem'
4
+ private_key_path = File.expand_path private_key_path, __FILE__
5
+
6
+ key = OpenSSL::PKey::RSA.new File.read private_key_path
7
+
8
+ cipher = OpenSSL::Cipher.new 'DES-CBC'
9
+
10
+ encrypted_key_path = '../../test/rubygems/encrypted_private_key.pem'
11
+ encrypted_key_path = File.expand_path encrypted_key_path, __FILE__
12
+
13
+ open encrypted_key_path, 'w' do |io|
14
+ io.write key.to_pem cipher, 'Foo bar'
15
+ end
16
+
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: 2.0.17
4
+ version: 2.1.0.rc.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich
@@ -9,8 +9,30 @@ authors:
9
9
  - Eric Hodel
10
10
  autorequire:
11
11
  bindir: bin
12
- cert_chain: []
13
- date: 2015-06-08 00:00:00.000000000 Z
12
+ cert_chain:
13
+ - |
14
+ -----BEGIN CERTIFICATE-----
15
+ MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMRAwDgYDVQQDDAdkcmJy
16
+ YWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZFgNu
17
+ ZXQwHhcNMTMwMjI4MDUyMjA4WhcNMTQwMjI4MDUyMjA4WjBBMRAwDgYDVQQDDAdk
18
+ cmJyYWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZ
19
+ FgNuZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbbgLrGLGIDE76
20
+ LV/cvxdEzCuYuS3oG9PrSZnuDweySUfdp/so0cDq+j8bqy6OzZSw07gdjwFMSd6J
21
+ U5ddZCVywn5nnAQ+Ui7jMW54CYt5/H6f2US6U0hQOjJR6cpfiymgxGdfyTiVcvTm
22
+ Gj/okWrQl0NjYOYBpDi+9PPmaH2RmLJu0dB/NylsDnW5j6yN1BEI8MfJRR+HRKZY
23
+ mUtgzBwF1V4KIZQ8EuL6I/nHVu07i6IkrpAgxpXUfdJQJi0oZAqXurAV3yTxkFwd
24
+ g62YrrW26mDe+pZBzR6bpLE+PmXCzz7UxUq3AE0gPHbiMXie3EFE0oxnsU3lIduh
25
+ sCANiQ8BAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
26
+ BBS5k4Z75VSpdM0AclG2UvzFA/VW5DAfBgNVHREEGDAWgRRkcmJyYWluQHNlZ21l
27
+ bnQ3Lm5ldDAfBgNVHRIEGDAWgRRkcmJyYWluQHNlZ21lbnQ3Lm5ldDANBgkqhkiG
28
+ 9w0BAQUFAAOCAQEAOflo4Md5aJF//EetzXIGZ2EI5PzKWX/mMpp7cxFyDcVPtTv0
29
+ js/6zWrWSbd60W9Kn4ch3nYiATFKhisgeYotDDz2/pb/x1ivJn4vEvs9kYKVvbF8
30
+ V7MV/O5HDW8Q0pA1SljI6GzcOgejtUMxZCyyyDdbUpyAMdt9UpqTZkZ5z1sicgQk
31
+ 5o2XJ+OhceOIUVqVh1r6DNY5tLVaGJabtBmJAYFVznDcHiSFybGKBa5n25Egql1t
32
+ KDyY1VIazVgoC8XvR4h/95/iScPiuglzA+DBG1hip1xScAtw05BrXyUNrc9CEMYU
33
+ wgF94UVoHRp6ywo8I7NP3HcwFQDFNEZPNGXsng==
34
+ -----END CERTIFICATE-----
35
+ date: 2013-07-25 00:00:00.000000000 Z
14
36
  dependencies:
15
37
  - !ruby/object:Gem::Dependency
16
38
  name: minitest
@@ -18,14 +40,14 @@ dependencies:
18
40
  requirements:
19
41
  - - ~>
20
42
  - !ruby/object:Gem::Version
21
- version: '5.4'
43
+ version: '5.0'
22
44
  type: :development
23
45
  prerelease: false
24
46
  version_requirements: !ruby/object:Gem::Requirement
25
47
  requirements:
26
48
  - - ~>
27
49
  - !ruby/object:Gem::Version
28
- version: '5.4'
50
+ version: '5.0'
29
51
  - !ruby/object:Gem::Dependency
30
52
  name: rdoc
31
53
  requirement: !ruby/object:Gem::Requirement
@@ -102,14 +124,14 @@ dependencies:
102
124
  requirements:
103
125
  - - ~>
104
126
  - !ruby/object:Gem::Version
105
- version: '3.13'
127
+ version: '3.7'
106
128
  type: :development
107
129
  prerelease: false
108
130
  version_requirements: !ruby/object:Gem::Requirement
109
131
  requirements:
110
132
  - - ~>
111
133
  - !ruby/object:Gem::Version
112
- version: '3.13'
134
+ version: '3.7'
113
135
  description: |-
114
136
  RubyGems is a package management framework for Ruby.
115
137
 
@@ -141,8 +163,6 @@ executables:
141
163
  - update_rubygems
142
164
  extensions: []
143
165
  extra_rdoc_files:
144
- - CVE-2013-4287.txt
145
- - CVE-2013-4363.txt
146
166
  - History.txt
147
167
  - LICENSE.txt
148
168
  - MIT.txt
@@ -153,9 +173,6 @@ extra_rdoc_files:
153
173
  files:
154
174
  - .autotest
155
175
  - .document
156
- - .gemtest
157
- - CVE-2013-4287.txt
158
- - CVE-2013-4363.txt
159
176
  - History.txt
160
177
  - LICENSE.txt
161
178
  - MIT.txt
@@ -169,6 +186,7 @@ files:
169
186
  - lib/gauntlet_rubygems.rb
170
187
  - lib/rubygems.rb
171
188
  - lib/rubygems/available_set.rb
189
+ - lib/rubygems/basic_specification.rb
172
190
  - lib/rubygems/command.rb
173
191
  - lib/rubygems/command_manager.rb
174
192
  - lib/rubygems/commands/build_command.rb
@@ -211,6 +229,17 @@ files:
211
229
  - lib/rubygems/dependency_installer.rb
212
230
  - lib/rubygems/dependency_list.rb
213
231
  - lib/rubygems/dependency_resolver.rb
232
+ - lib/rubygems/dependency_resolver/activation_request.rb
233
+ - lib/rubygems/dependency_resolver/api_set.rb
234
+ - lib/rubygems/dependency_resolver/api_specification.rb
235
+ - lib/rubygems/dependency_resolver/composed_set.rb
236
+ - lib/rubygems/dependency_resolver/current_set.rb
237
+ - lib/rubygems/dependency_resolver/dependency_conflict.rb
238
+ - lib/rubygems/dependency_resolver/dependency_request.rb
239
+ - lib/rubygems/dependency_resolver/index_set.rb
240
+ - lib/rubygems/dependency_resolver/index_specification.rb
241
+ - lib/rubygems/dependency_resolver/installed_specification.rb
242
+ - lib/rubygems/dependency_resolver/installer_set.rb
214
243
  - lib/rubygems/deprecate.rb
215
244
  - lib/rubygems/doctor.rb
216
245
  - lib/rubygems/errors.rb
@@ -224,6 +253,7 @@ files:
224
253
  - lib/rubygems/gem_runner.rb
225
254
  - lib/rubygems/gemcutter_utilities.rb
226
255
  - lib/rubygems/indexer.rb
256
+ - lib/rubygems/install_default_message.rb
227
257
  - lib/rubygems/install_message.rb
228
258
  - lib/rubygems/install_update_options.rb
229
259
  - lib/rubygems/installer.rb
@@ -246,7 +276,9 @@ files:
246
276
  - lib/rubygems/psych_tree.rb
247
277
  - lib/rubygems/rdoc.rb
248
278
  - lib/rubygems/remote_fetcher.rb
279
+ - lib/rubygems/request.rb
249
280
  - lib/rubygems/request_set.rb
281
+ - lib/rubygems/request_set/gem_dependency_api.rb
250
282
  - lib/rubygems/requirement.rb
251
283
  - lib/rubygems/security.rb
252
284
  - lib/rubygems/security/policies.rb
@@ -255,24 +287,28 @@ files:
255
287
  - lib/rubygems/security/trust_dir.rb
256
288
  - lib/rubygems/server.rb
257
289
  - lib/rubygems/source.rb
290
+ - lib/rubygems/source/installed.rb
291
+ - lib/rubygems/source/local.rb
292
+ - lib/rubygems/source/specific_file.rb
258
293
  - lib/rubygems/source_list.rb
259
294
  - lib/rubygems/source_local.rb
260
295
  - lib/rubygems/source_specific_file.rb
261
296
  - lib/rubygems/spec_fetcher.rb
262
297
  - lib/rubygems/specification.rb
263
298
  - lib/rubygems/ssl_certs/.document
264
- - lib/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem
265
299
  - lib/rubygems/ssl_certs/AddTrustExternalCARoot.pem
266
- - lib/rubygems/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem
267
- - lib/rubygems/ssl_certs/DigiCertHighAssuranceEVRootCA.pem
268
- - lib/rubygems/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem
269
- - lib/rubygems/ssl_certs/GeoTrustGlobalCA.pem
300
+ - lib/rubygems/ssl_certs/Entrust_net-Secure-Server-Certification-Authority.pem
301
+ - lib/rubygems/ssl_certs/GeoTrust_Global_CA.pem
302
+ - lib/rubygems/ssl_certs/VerisignClass3PublicPrimaryCertificationAuthority-G2.pem
303
+ - lib/rubygems/stub_specification.rb
270
304
  - lib/rubygems/syck_hack.rb
271
305
  - lib/rubygems/test_case.rb
272
306
  - lib/rubygems/test_utilities.rb
273
307
  - lib/rubygems/text.rb
274
308
  - lib/rubygems/uninstaller.rb
309
+ - lib/rubygems/uri_formatter.rb
275
310
  - lib/rubygems/user_interaction.rb
311
+ - lib/rubygems/util/list.rb
276
312
  - lib/rubygems/validator.rb
277
313
  - lib/rubygems/version.rb
278
314
  - lib/rubygems/version_option.rb
@@ -287,9 +323,11 @@ files:
287
323
  - test/rubygems/child_cert.pem
288
324
  - test/rubygems/child_cert_32.pem
289
325
  - test/rubygems/child_key.pem
326
+ - test/rubygems/client.pem
290
327
  - test/rubygems/data/gem-private_key.pem
291
328
  - test/rubygems/data/gem-public_cert.pem
292
329
  - test/rubygems/data/null-type.gemspec.rz
330
+ - test/rubygems/encrypted_private_key.pem
293
331
  - test/rubygems/expired_cert.pem
294
332
  - test/rubygems/fake_certlib/openssl.rb
295
333
  - test/rubygems/fix_openssl_warnings.rb
@@ -300,6 +338,7 @@ files:
300
338
  - test/rubygems/grandchild_cert.pem
301
339
  - test/rubygems/grandchild_cert_32.pem
302
340
  - test/rubygems/grandchild_key.pem
341
+ - test/rubygems/invalid_client.pem
303
342
  - test/rubygems/invalid_issuer_cert.pem
304
343
  - test/rubygems/invalid_issuer_cert_32.pem
305
344
  - test/rubygems/invalid_key.pem
@@ -319,9 +358,10 @@ files:
319
358
  - test/rubygems/rubygems_plugin.rb
320
359
  - test/rubygems/sff/discover.rb
321
360
  - test/rubygems/simple_gem.rb
361
+ - test/rubygems/specifications/bar-0.0.2.gemspec
362
+ - test/rubygems/specifications/foo-0.0.1.gemspec
322
363
  - test/rubygems/ssl_cert.pem
323
364
  - test/rubygems/ssl_key.pem
324
- - test/rubygems/test_bundled_ca.rb
325
365
  - test/rubygems/test_config.rb
326
366
  - test/rubygems/test_deprecate.rb
327
367
  - test/rubygems/test_gem.rb
@@ -363,6 +403,7 @@ files:
363
403
  - test/rubygems/test_gem_dependency_installer.rb
364
404
  - test/rubygems/test_gem_dependency_list.rb
365
405
  - test/rubygems/test_gem_dependency_resolver.rb
406
+ - test/rubygems/test_gem_dependency_resolver_dependency_conflict.rb
366
407
  - test/rubygems/test_gem_doctor.rb
367
408
  - test/rubygems/test_gem_ext_builder.rb
368
409
  - test/rubygems/test_gem_ext_cmake_builder.rb
@@ -371,6 +412,7 @@ files:
371
412
  - test/rubygems/test_gem_ext_rake_builder.rb
372
413
  - test/rubygems/test_gem_gem_runner.rb
373
414
  - test/rubygems/test_gem_gemcutter_utilities.rb
415
+ - test/rubygems/test_gem_impossible_dependencies_error.rb
374
416
  - test/rubygems/test_gem_indexer.rb
375
417
  - test/rubygems/test_gem_install_update_options.rb
376
418
  - test/rubygems/test_gem_installer.rb
@@ -387,6 +429,7 @@ files:
387
429
  - test/rubygems/test_gem_platform.rb
388
430
  - test/rubygems/test_gem_rdoc.rb
389
431
  - test/rubygems/test_gem_remote_fetcher.rb
432
+ - test/rubygems/test_gem_request.rb
390
433
  - test/rubygems/test_gem_request_set.rb
391
434
  - test/rubygems/test_gem_requirement.rb
392
435
  - test/rubygems/test_gem_security.rb
@@ -402,8 +445,10 @@ files:
402
445
  - test/rubygems/test_gem_spec_fetcher.rb
403
446
  - test/rubygems/test_gem_specification.rb
404
447
  - test/rubygems/test_gem_stream_ui.rb
448
+ - test/rubygems/test_gem_stub_specification.rb
405
449
  - test/rubygems/test_gem_text.rb
406
450
  - test/rubygems/test_gem_uninstaller.rb
451
+ - test/rubygems/test_gem_uri_formatter.rb
407
452
  - test/rubygems/test_gem_validator.rb
408
453
  - test/rubygems/test_gem_version.rb
409
454
  - test/rubygems/test_gem_version_option.rb
@@ -413,7 +458,8 @@ files:
413
458
  - test/rubygems/wrong_key_cert_32.pem
414
459
  - util/CL2notes
415
460
  - util/create_certs.rb
416
- - util/update_bundled_ca_certificates.rb
461
+ - util/create_encrypted_key.rb
462
+ - .gemtest
417
463
  homepage: http://rubygems.org
418
464
  licenses:
419
465
  - Ruby
@@ -423,7 +469,7 @@ post_install_message:
423
469
  rdoc_options:
424
470
  - --main
425
471
  - README.rdoc
426
- - --title=RubyGems Update Documentation
472
+ - --title=RubyGems 2.1.0.rc.1 Documentation
427
473
  require_paths:
428
474
  - hide_lib_for_update
429
475
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -437,9 +483,101 @@ required_rubygems_version: !ruby/object:Gem::Requirement
437
483
  - !ruby/object:Gem::Version
438
484
  version: '0'
439
485
  requirements: []
440
- rubyforge_project:
441
- rubygems_version: 2.4.2
486
+ rubyforge_project: rubygems
487
+ rubygems_version: 2.0.6
442
488
  signing_key:
443
489
  specification_version: 4
444
490
  summary: RubyGems is a package management framework for Ruby
445
- test_files: []
491
+ test_files:
492
+ - test/rubygems/test_config.rb
493
+ - test/rubygems/test_deprecate.rb
494
+ - test/rubygems/test_gem.rb
495
+ - test/rubygems/test_gem_available_set.rb
496
+ - test/rubygems/test_gem_command.rb
497
+ - test/rubygems/test_gem_command_manager.rb
498
+ - test/rubygems/test_gem_commands_build_command.rb
499
+ - test/rubygems/test_gem_commands_cert_command.rb
500
+ - test/rubygems/test_gem_commands_check_command.rb
501
+ - test/rubygems/test_gem_commands_cleanup_command.rb
502
+ - test/rubygems/test_gem_commands_contents_command.rb
503
+ - test/rubygems/test_gem_commands_dependency_command.rb
504
+ - test/rubygems/test_gem_commands_environment_command.rb
505
+ - test/rubygems/test_gem_commands_fetch_command.rb
506
+ - test/rubygems/test_gem_commands_generate_index_command.rb
507
+ - test/rubygems/test_gem_commands_help_command.rb
508
+ - test/rubygems/test_gem_commands_install_command.rb
509
+ - test/rubygems/test_gem_commands_list_command.rb
510
+ - test/rubygems/test_gem_commands_lock_command.rb
511
+ - test/rubygems/test_gem_commands_mirror.rb
512
+ - test/rubygems/test_gem_commands_outdated_command.rb
513
+ - test/rubygems/test_gem_commands_owner_command.rb
514
+ - test/rubygems/test_gem_commands_pristine_command.rb
515
+ - test/rubygems/test_gem_commands_push_command.rb
516
+ - test/rubygems/test_gem_commands_query_command.rb
517
+ - test/rubygems/test_gem_commands_search_command.rb
518
+ - test/rubygems/test_gem_commands_server_command.rb
519
+ - test/rubygems/test_gem_commands_setup_command.rb
520
+ - test/rubygems/test_gem_commands_sources_command.rb
521
+ - test/rubygems/test_gem_commands_specification_command.rb
522
+ - test/rubygems/test_gem_commands_stale_command.rb
523
+ - test/rubygems/test_gem_commands_uninstall_command.rb
524
+ - test/rubygems/test_gem_commands_unpack_command.rb
525
+ - test/rubygems/test_gem_commands_update_command.rb
526
+ - test/rubygems/test_gem_commands_which_command.rb
527
+ - test/rubygems/test_gem_commands_yank_command.rb
528
+ - test/rubygems/test_gem_config_file.rb
529
+ - test/rubygems/test_gem_dependency.rb
530
+ - test/rubygems/test_gem_dependency_installer.rb
531
+ - test/rubygems/test_gem_dependency_list.rb
532
+ - test/rubygems/test_gem_dependency_resolver.rb
533
+ - test/rubygems/test_gem_dependency_resolver_dependency_conflict.rb
534
+ - test/rubygems/test_gem_doctor.rb
535
+ - test/rubygems/test_gem_ext_builder.rb
536
+ - test/rubygems/test_gem_ext_cmake_builder.rb
537
+ - test/rubygems/test_gem_ext_configure_builder.rb
538
+ - test/rubygems/test_gem_ext_ext_conf_builder.rb
539
+ - test/rubygems/test_gem_ext_rake_builder.rb
540
+ - test/rubygems/test_gem_gem_runner.rb
541
+ - test/rubygems/test_gem_gemcutter_utilities.rb
542
+ - test/rubygems/test_gem_impossible_dependencies_error.rb
543
+ - test/rubygems/test_gem_indexer.rb
544
+ - test/rubygems/test_gem_install_update_options.rb
545
+ - test/rubygems/test_gem_installer.rb
546
+ - test/rubygems/test_gem_local_remote_options.rb
547
+ - test/rubygems/test_gem_name_tuple.rb
548
+ - test/rubygems/test_gem_package.rb
549
+ - test/rubygems/test_gem_package_old.rb
550
+ - test/rubygems/test_gem_package_tar_header.rb
551
+ - test/rubygems/test_gem_package_tar_reader.rb
552
+ - test/rubygems/test_gem_package_tar_reader_entry.rb
553
+ - test/rubygems/test_gem_package_tar_writer.rb
554
+ - test/rubygems/test_gem_package_task.rb
555
+ - test/rubygems/test_gem_path_support.rb
556
+ - test/rubygems/test_gem_platform.rb
557
+ - test/rubygems/test_gem_rdoc.rb
558
+ - test/rubygems/test_gem_remote_fetcher.rb
559
+ - test/rubygems/test_gem_request.rb
560
+ - test/rubygems/test_gem_request_set.rb
561
+ - test/rubygems/test_gem_requirement.rb
562
+ - test/rubygems/test_gem_security.rb
563
+ - test/rubygems/test_gem_security_policy.rb
564
+ - test/rubygems/test_gem_security_signer.rb
565
+ - test/rubygems/test_gem_security_trust_dir.rb
566
+ - test/rubygems/test_gem_server.rb
567
+ - test/rubygems/test_gem_silent_ui.rb
568
+ - test/rubygems/test_gem_source.rb
569
+ - test/rubygems/test_gem_source_list.rb
570
+ - test/rubygems/test_gem_source_local.rb
571
+ - test/rubygems/test_gem_source_specific_file.rb
572
+ - test/rubygems/test_gem_spec_fetcher.rb
573
+ - test/rubygems/test_gem_specification.rb
574
+ - test/rubygems/test_gem_stream_ui.rb
575
+ - test/rubygems/test_gem_stub_specification.rb
576
+ - test/rubygems/test_gem_text.rb
577
+ - test/rubygems/test_gem_uninstaller.rb
578
+ - test/rubygems/test_gem_uri_formatter.rb
579
+ - test/rubygems/test_gem_validator.rb
580
+ - test/rubygems/test_gem_version.rb
581
+ - test/rubygems/test_gem_version_option.rb
582
+ - test/rubygems/test_kernel.rb
583
+ - test/rubygems/test_require.rb