rubygems-update 1.4.2 → 1.5.0
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.
- data.tar.gz.sig +0 -0
- data/.autotest +4 -5
- data/{test/foo/discover.rb → .gemtest} +0 -0
- data/ChangeLog +13 -0
- data/History.txt +35 -1
- data/Manifest.txt +89 -88
- data/README.rdoc +21 -10
- data/Rakefile +31 -17
- data/UPGRADING.rdoc +81 -0
- data/ci_build.sh +27 -0
- data/cruise_config.rb +20 -13
- data/lib/rbconfig/datadir.rb +1 -1
- data/lib/rubygems.rb +102 -45
- data/lib/rubygems/builder.rb +5 -11
- data/lib/rubygems/command_manager.rb +0 -1
- data/lib/rubygems/commands/check_command.rb +2 -17
- data/lib/rubygems/commands/cleanup_command.rb +1 -1
- data/lib/rubygems/commands/dependency_command.rb +5 -18
- data/lib/rubygems/commands/environment_command.rb +5 -4
- data/lib/rubygems/commands/fetch_command.rb +0 -1
- data/lib/rubygems/commands/generate_index_command.rb +1 -10
- data/lib/rubygems/commands/help_command.rb +0 -5
- data/lib/rubygems/commands/query_command.rb +4 -24
- data/lib/rubygems/commands/setup_command.rb +4 -19
- data/lib/rubygems/commands/sources_command.rb +15 -37
- data/lib/rubygems/commands/specification_command.rb +1 -2
- data/lib/rubygems/commands/unpack_command.rb +19 -7
- data/lib/rubygems/commands/update_command.rb +29 -44
- data/lib/rubygems/config_file.rb +25 -19
- data/lib/rubygems/custom_require.rb +4 -6
- data/lib/rubygems/dependency.rb +1 -43
- data/lib/rubygems/dependency_installer.rb +1 -1
- data/lib/rubygems/doc_manager.rb +3 -1
- data/lib/rubygems/ext/builder.rb +3 -1
- data/lib/rubygems/ext/rake_builder.rb +10 -2
- data/lib/rubygems/format.rb +7 -4
- data/lib/rubygems/gem_runner.rb +1 -1
- data/lib/rubygems/indexer.rb +11 -74
- data/lib/rubygems/install_update_options.rb +13 -8
- data/lib/rubygems/installer.rb +139 -95
- data/{test/gem_installer_test_case.rb → lib/rubygems/installer_test_case.rb} +41 -2
- data/{test/mockgemui.rb → lib/rubygems/mock_gem_ui.rb} +8 -1
- data/lib/rubygems/old_format.rb +2 -1
- data/lib/rubygems/package.rb +17 -2
- data/lib/rubygems/package/tar_input.rb +7 -3
- data/lib/rubygems/package/tar_output.rb +2 -0
- data/lib/rubygems/package/tar_reader/entry.rb +4 -0
- data/{test/gem_package_tar_test_case.rb → lib/rubygems/package/tar_test_case.rb} +5 -2
- data/lib/rubygems/package_task.rb +6 -4
- data/lib/rubygems/remote_fetcher.rb +10 -2
- data/lib/rubygems/require_paths_builder.rb +2 -1
- data/lib/rubygems/server.rb +3 -44
- data/lib/rubygems/source_index.rb +3 -216
- data/lib/rubygems/spec_fetcher.rb +15 -63
- data/lib/rubygems/specification.rb +1 -1
- data/{test/gemutilities.rb → lib/rubygems/test_case.rb} +219 -90
- data/lib/rubygems/test_utilities.rb +7 -20
- data/lib/rubygems/uninstaller.rb +27 -28
- data/lib/rubygems/user_interaction.rb +81 -42
- data/lib/rubygems/validator.rb +0 -73
- data/test/{bogussources.rb → rubygems/bogussources.rb} +0 -0
- data/test/{data → rubygems/data}/gem-private_key.pem +0 -0
- data/test/{data → rubygems/data}/gem-public_cert.pem +0 -0
- data/test/{fake_certlib → rubygems/fake_certlib}/openssl.rb +0 -0
- data/test/rubygems/foo/discover.rb +0 -0
- data/test/{functional.rb → rubygems/functional.rb} +0 -0
- data/test/{insure_session.rb → rubygems/insure_session.rb} +0 -0
- data/test/{plugin → rubygems/plugin}/exception/rubygems_plugin.rb +0 -0
- data/test/{plugin → rubygems/plugin}/load/rubygems_plugin.rb +0 -0
- data/test/{plugin → rubygems/plugin}/standarderror/rubygems_plugin.rb +0 -0
- data/test/{private_key.pem → rubygems/private_key.pem} +0 -0
- data/test/{public_cert.pem → rubygems/public_cert.pem} +0 -0
- data/test/rubygems/{commands → rubygems/commands}/crash_command.rb +0 -0
- data/test/{rubygems_plugin.rb → rubygems/rubygems_plugin.rb} +0 -0
- data/test/rubygems/sff/discover.rb +0 -0
- data/test/{simple_gem.rb → rubygems/simple_gem.rb} +2 -2
- data/test/{test_config.rb → rubygems/test_config.rb} +2 -2
- data/test/{test_gem.rb → rubygems/test_gem.rb} +12 -2
- data/test/{test_gem_builder.rb → rubygems/test_gem_builder.rb} +2 -2
- data/test/{test_gem_command.rb → rubygems/test_gem_command.rb} +3 -3
- data/test/{test_gem_command_manager.rb → rubygems/test_gem_command_manager.rb} +15 -6
- data/test/{test_gem_commands_build_command.rb → rubygems/test_gem_commands_build_command.rb} +2 -2
- data/test/{test_gem_commands_cert_command.rb → rubygems/test_gem_commands_cert_command.rb} +2 -2
- data/test/{test_gem_commands_check_command.rb → rubygems/test_gem_commands_check_command.rb} +2 -2
- data/test/{test_gem_commands_contents_command.rb → rubygems/test_gem_commands_contents_command.rb} +3 -3
- data/test/{test_gem_commands_dependency_command.rb → rubygems/test_gem_commands_dependency_command.rb} +4 -4
- data/test/{test_gem_commands_environment_command.rb → rubygems/test_gem_commands_environment_command.rb} +12 -3
- data/test/{test_gem_commands_fetch_command.rb → rubygems/test_gem_commands_fetch_command.rb} +2 -2
- data/test/{test_gem_commands_generate_index_command.rb → rubygems/test_gem_commands_generate_index_command.rb} +7 -11
- data/test/{test_gem_commands_install_command.rb → rubygems/test_gem_commands_install_command.rb} +2 -2
- data/test/{test_gem_commands_list_command.rb → rubygems/test_gem_commands_list_command.rb} +2 -2
- data/test/{test_gem_commands_lock_command.rb → rubygems/test_gem_commands_lock_command.rb} +2 -2
- data/test/{test_gem_commands_outdated_command.rb → rubygems/test_gem_commands_outdated_command.rb} +2 -2
- data/test/{test_gem_commands_owner_command.rb → rubygems/test_gem_commands_owner_command.rb} +5 -5
- data/test/{test_gem_commands_pristine_command.rb → rubygems/test_gem_commands_pristine_command.rb} +2 -2
- data/test/{test_gem_commands_push_command.rb → rubygems/test_gem_commands_push_command.rb} +3 -3
- data/test/{test_gem_commands_query_command.rb → rubygems/test_gem_commands_query_command.rb} +2 -2
- data/test/{test_gem_commands_server_command.rb → rubygems/test_gem_commands_server_command.rb} +2 -2
- data/test/{test_gem_commands_sources_command.rb → rubygems/test_gem_commands_sources_command.rb} +8 -8
- data/test/{test_gem_commands_specification_command.rb → rubygems/test_gem_commands_specification_command.rb} +3 -3
- data/test/{test_gem_commands_stale_command.rb → rubygems/test_gem_commands_stale_command.rb} +2 -2
- data/test/{test_gem_commands_uninstall_command.rb → rubygems/test_gem_commands_uninstall_command.rb} +16 -10
- data/test/{test_gem_commands_unpack_command.rb → rubygems/test_gem_commands_unpack_command.rb} +42 -2
- data/test/{test_gem_commands_update_command.rb → rubygems/test_gem_commands_update_command.rb} +2 -2
- data/test/{test_gem_commands_which_command.rb → rubygems/test_gem_commands_which_command.rb} +3 -3
- data/test/{test_gem_config_file.rb → rubygems/test_gem_config_file.rb} +2 -2
- data/test/{test_gem_dependency.rb → rubygems/test_gem_dependency.rb} +3 -27
- data/test/{test_gem_dependency_installer.rb → rubygems/test_gem_dependency_installer.rb} +2 -2
- data/test/{test_gem_dependency_list.rb → rubygems/test_gem_dependency_list.rb} +3 -3
- data/test/{test_gem_doc_manager.rb → rubygems/test_gem_doc_manager.rb} +2 -2
- data/test/{test_gem_ext_configure_builder.rb → rubygems/test_gem_ext_configure_builder.rb} +4 -4
- data/test/{test_gem_ext_ext_conf_builder.rb → rubygems/test_gem_ext_ext_conf_builder.rb} +46 -2
- data/test/{test_gem_ext_rake_builder.rb → rubygems/test_gem_ext_rake_builder.rb} +2 -2
- data/test/{test_gem_format.rb → rubygems/test_gem_format.rb} +24 -6
- data/test/{test_gem_gem_path_searcher.rb → rubygems/test_gem_gem_path_searcher.rb} +2 -2
- data/test/{test_gem_gem_runner.rb → rubygems/test_gem_gem_runner.rb} +2 -2
- data/test/{test_gem_gemcutter_utilities.rb → rubygems/test_gem_gemcutter_utilities.rb} +4 -4
- data/test/{test_gem_indexer.rb → rubygems/test_gem_indexer.rb} +4 -121
- data/test/{test_gem_install_update_options.rb → rubygems/test_gem_install_update_options.rb} +3 -3
- data/test/{test_gem_installer.rb → rubygems/test_gem_installer.rb} +106 -13
- data/test/{test_gem_local_remote_options.rb → rubygems/test_gem_local_remote_options.rb} +2 -2
- data/test/{test_gem_package_tar_header.rb → rubygems/test_gem_package_tar_header.rb} +2 -2
- data/test/{test_gem_package_tar_input.rb → rubygems/test_gem_package_tar_input.rb} +21 -4
- data/test/{test_gem_package_tar_output.rb → rubygems/test_gem_package_tar_output.rb} +2 -2
- data/test/{test_gem_package_tar_reader.rb → rubygems/test_gem_package_tar_reader.rb} +2 -2
- data/test/{test_gem_package_tar_reader_entry.rb → rubygems/test_gem_package_tar_reader_entry.rb} +12 -2
- data/test/{test_gem_package_tar_writer.rb → rubygems/test_gem_package_tar_writer.rb} +2 -2
- data/test/{test_gem_package_task.rb → rubygems/test_gem_package_task.rb} +15 -2
- data/test/{test_gem_platform.rb → rubygems/test_gem_platform.rb} +2 -2
- data/test/{test_gem_remote_fetcher.rb → rubygems/test_gem_remote_fetcher.rb} +7 -7
- data/test/{test_gem_requirement.rb → rubygems/test_gem_requirement.rb} +2 -2
- data/test/{test_gem_security.rb → rubygems/test_gem_security.rb} +3 -4
- data/test/{test_gem_server.rb → rubygems/test_gem_server.rb} +2 -132
- data/test/rubygems/test_gem_silent_ui.rb +113 -0
- data/test/{test_gem_source_index.rb → rubygems/test_gem_source_index.rb} +2 -61
- data/test/{test_gem_spec_fetcher.rb → rubygems/test_gem_spec_fetcher.rb} +2 -2
- data/test/{test_gem_specification.rb → rubygems/test_gem_specification.rb} +4 -4
- data/test/{test_gem_stream_ui.rb → rubygems/test_gem_stream_ui.rb} +24 -2
- data/test/{test_gem_text.rb → rubygems/test_gem_text.rb} +2 -2
- data/test/{test_gem_uninstaller.rb → rubygems/test_gem_uninstaller.rb} +15 -12
- data/test/{test_gem_validator.rb → rubygems/test_gem_validator.rb} +3 -3
- data/test/{test_gem_version.rb → rubygems/test_gem_version.rb} +2 -2
- data/test/{test_gem_version_option.rb → rubygems/test_gem_version_option.rb} +2 -2
- data/test/{test_kernel.rb → rubygems/test_kernel.rb} +7 -10
- metadata +281 -177
- metadata.gz.sig +0 -0
- data/lib/rubygems/commands/mirror_command.rb +0 -111
- data/lib/rubygems/source_info_cache.rb +0 -394
- data/lib/rubygems/source_info_cache_entry.rb +0 -56
- data/test/test_gem_commands_mirror_command.rb +0 -60
@@ -1,14 +1,8 @@
|
|
1
|
-
require
|
1
|
+
require 'rubygems/test_case'
|
2
2
|
require 'rubygems/source_index'
|
3
3
|
require 'rubygems/config_file'
|
4
4
|
|
5
|
-
class Gem::
|
6
|
-
public :fetcher, :fetch_bulk_index, :fetch_quick_index,
|
7
|
-
:find_missing, :gems, :remove_extra,
|
8
|
-
:update_with_missing, :unzip
|
9
|
-
end
|
10
|
-
|
11
|
-
class TestGemSourceIndex < RubyGemTestCase
|
5
|
+
class TestGemSourceIndex < Gem::TestCase
|
12
6
|
|
13
7
|
def setup
|
14
8
|
super
|
@@ -192,23 +186,6 @@ end
|
|
192
186
|
# TODO
|
193
187
|
end
|
194
188
|
|
195
|
-
def test_fetcher
|
196
|
-
assert_equal @fetcher, @source_index.fetcher
|
197
|
-
end
|
198
|
-
|
199
|
-
def test_find_missing
|
200
|
-
missing = @source_index.find_missing [@b2.full_name]
|
201
|
-
assert_equal [@b2.full_name], missing
|
202
|
-
end
|
203
|
-
|
204
|
-
def test_find_missing_none_missing
|
205
|
-
missing = @source_index.find_missing [
|
206
|
-
@a1.full_name, @a2.full_name, @c1_2.full_name
|
207
|
-
]
|
208
|
-
|
209
|
-
assert_equal [], missing
|
210
|
-
end
|
211
|
-
|
212
189
|
def test_find_name
|
213
190
|
assert_equal [@a1, @a2, @a3a], @source_index.find_name('a')
|
214
191
|
assert_equal [@a2], @source_index.find_name('a', '= 2')
|
@@ -353,27 +330,6 @@ end
|
|
353
330
|
assert_equal 'source index not created from disk', e.message
|
354
331
|
end
|
355
332
|
|
356
|
-
def test_remove_extra
|
357
|
-
@source_index.add_spec @a1
|
358
|
-
@source_index.add_spec @a2
|
359
|
-
@source_index.add_spec @pl1
|
360
|
-
|
361
|
-
@source_index.remove_extra [@a1.full_name, @pl1.full_name]
|
362
|
-
|
363
|
-
assert_equal [@a1.full_name],
|
364
|
-
@source_index.gems.map { |n,s| n }.sort
|
365
|
-
end
|
366
|
-
|
367
|
-
def test_remove_extra_no_changes
|
368
|
-
gems = [@a1.full_name, @a2.full_name]
|
369
|
-
@source_index.add_spec @a1
|
370
|
-
@source_index.add_spec @a2
|
371
|
-
|
372
|
-
@source_index.remove_extra gems
|
373
|
-
|
374
|
-
assert_equal gems, @source_index.gems.map { |n,s| n }.sort
|
375
|
-
end
|
376
|
-
|
377
333
|
def test_remove_spec
|
378
334
|
deleted = @source_index.remove_spec 'a-1'
|
379
335
|
|
@@ -436,20 +392,5 @@ end
|
|
436
392
|
assert_match(/^[a-f0-9]{64}$/, sig)
|
437
393
|
end
|
438
394
|
|
439
|
-
def test_unzip
|
440
|
-
input = "x\234+\316\317MU(I\255(\001\000\021\350\003\232"
|
441
|
-
assert_equal 'some text', @source_index.unzip(input)
|
442
|
-
end
|
443
|
-
|
444
|
-
def util_setup_bulk_fetch(compressed)
|
445
|
-
source_index = @source_index.dump
|
446
|
-
|
447
|
-
if compressed then
|
448
|
-
@fetcher.data["#{@gem_repo}Marshal.#{@marshal_version}.Z"] = util_zip source_index
|
449
|
-
else
|
450
|
-
@fetcher.data["#{@gem_repo}Marshal.#{@marshal_version}"] = source_index
|
451
|
-
end
|
452
|
-
end
|
453
|
-
|
454
395
|
end
|
455
396
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
require
|
1
|
+
require 'rubygems/test_case'
|
2
2
|
require 'stringio'
|
3
3
|
require 'rubygems/specification'
|
4
4
|
|
5
|
-
class TestGemSpecification <
|
5
|
+
class TestGemSpecification < Gem::TestCase
|
6
6
|
|
7
7
|
LEGACY_YAML_SPEC = <<-EOF
|
8
8
|
--- !ruby/object:Gem::Specification
|
@@ -991,7 +991,7 @@ end
|
|
991
991
|
|
992
992
|
assert_equal "WARNING: no description specified\n", @ui.error, 'error'
|
993
993
|
|
994
|
-
@ui = MockGemUi.new
|
994
|
+
@ui = Gem::MockGemUi.new
|
995
995
|
@a1.summary = 'this is my summary'
|
996
996
|
@a1.description = @a1.summary
|
997
997
|
|
@@ -1127,7 +1127,7 @@ end
|
|
1127
1127
|
|
1128
1128
|
assert_equal "WARNING: no homepage specified\n", @ui.error, 'error'
|
1129
1129
|
|
1130
|
-
@ui = MockGemUi.new
|
1130
|
+
@ui = Gem::MockGemUi.new
|
1131
1131
|
|
1132
1132
|
@a1.homepage = ''
|
1133
1133
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
require
|
1
|
+
require 'rubygems/test_case'
|
2
2
|
require 'rubygems/user_interaction'
|
3
3
|
require 'timeout'
|
4
4
|
|
5
|
-
class TestGemStreamUI <
|
5
|
+
class TestGemStreamUI < Gem::TestCase
|
6
6
|
|
7
7
|
module IsTty
|
8
8
|
attr_accessor :tty
|
@@ -13,6 +13,10 @@ class TestGemStreamUI < RubyGemTestCase
|
|
13
13
|
end
|
14
14
|
|
15
15
|
alias_method :isatty, :tty?
|
16
|
+
|
17
|
+
def noecho
|
18
|
+
yield self
|
19
|
+
end
|
16
20
|
end
|
17
21
|
|
18
22
|
def setup
|
@@ -189,6 +193,24 @@ class TestGemStreamUI < RubyGemTestCase
|
|
189
193
|
assert_equal "Fetching: a.gem\rFetching: a.gem ( 50%)\rFetching: a.gem (100%)\n", @out.string
|
190
194
|
end
|
191
195
|
|
196
|
+
def test_verbose_download_reporter_progress_nil_length
|
197
|
+
@cfg.verbose = true
|
198
|
+
reporter = @sui.download_reporter
|
199
|
+
reporter.fetch 'a.gem', nil
|
200
|
+
reporter.update 1024
|
201
|
+
reporter.done
|
202
|
+
assert_equal "Fetching: a.gem\rFetching: a.gem (1024B)\rFetching: a.gem (1024B)\n", @out.string
|
203
|
+
end
|
204
|
+
|
205
|
+
def test_verbose_download_reporter_progress_zero_length
|
206
|
+
@cfg.verbose = true
|
207
|
+
reporter = @sui.download_reporter
|
208
|
+
reporter.fetch 'a.gem', 0
|
209
|
+
reporter.update 1024
|
210
|
+
reporter.done
|
211
|
+
assert_equal "Fetching: a.gem\rFetching: a.gem (1024B)\rFetching: a.gem (1024B)\n", @out.string
|
212
|
+
end
|
213
|
+
|
192
214
|
def test_verbose_download_reporter_no_tty
|
193
215
|
@out.tty = false
|
194
216
|
|
@@ -1,28 +1,25 @@
|
|
1
|
-
require
|
1
|
+
require 'rubygems/installer_test_case'
|
2
2
|
require 'rubygems/uninstaller'
|
3
3
|
|
4
|
-
class TestGemUninstaller <
|
4
|
+
class TestGemUninstaller < Gem::InstallerTestCase
|
5
5
|
|
6
6
|
def setup
|
7
7
|
super
|
8
8
|
|
9
|
-
ui = MockGemUi.new
|
10
|
-
util_setup_gem ui
|
11
|
-
|
12
9
|
@user_spec.executables = ["my_exec"]
|
13
10
|
|
14
11
|
# HACK util_make_exec
|
15
12
|
user_bin_dir = File.join Gem.user_dir, 'gems', @user_spec.full_name, 'bin'
|
16
13
|
FileUtils.mkdir_p user_bin_dir
|
17
14
|
exec_path = File.join user_bin_dir, "my_exec"
|
18
|
-
|
15
|
+
open exec_path, 'w' do |f|
|
19
16
|
f.puts "#!/usr/bin/ruby"
|
20
17
|
end
|
21
18
|
|
22
19
|
user_bin_dir = File.join Gem.user_dir, 'bin'
|
23
20
|
FileUtils.mkdir_p user_bin_dir
|
24
21
|
exec_path = File.join user_bin_dir, "my_exec"
|
25
|
-
|
22
|
+
open exec_path, 'w' do |f|
|
26
23
|
f.puts "#!/usr/bin/ruby"
|
27
24
|
end
|
28
25
|
|
@@ -44,11 +41,14 @@ class TestGemUninstaller < GemInstallerTestCase
|
|
44
41
|
def test_remove_executables_force_keep
|
45
42
|
uninstaller = Gem::Uninstaller.new nil, :executables => false
|
46
43
|
|
44
|
+
executable = File.join Gem.user_dir, 'bin', 'my_exec'
|
45
|
+
assert File.exist? executable
|
46
|
+
|
47
47
|
use_ui @ui do
|
48
|
-
uninstaller.remove_executables @
|
48
|
+
uninstaller.remove_executables @user_spec
|
49
49
|
end
|
50
50
|
|
51
|
-
|
51
|
+
assert File.exist? executable
|
52
52
|
|
53
53
|
assert_equal "Executables and scripts will remain installed.\n", @ui.output
|
54
54
|
end
|
@@ -56,13 +56,16 @@ class TestGemUninstaller < GemInstallerTestCase
|
|
56
56
|
def test_remove_executables_force_remove
|
57
57
|
uninstaller = Gem::Uninstaller.new nil, :executables => true
|
58
58
|
|
59
|
+
executable = File.join Gem.user_dir, 'bin', 'my_exec'
|
60
|
+
assert File.exist? executable
|
61
|
+
|
59
62
|
use_ui @ui do
|
60
|
-
uninstaller.remove_executables @
|
63
|
+
uninstaller.remove_executables @user_spec
|
61
64
|
end
|
62
65
|
|
63
|
-
assert_equal "Removing
|
66
|
+
assert_equal "Removing my_exec\n", @ui.output
|
64
67
|
|
65
|
-
|
68
|
+
refute File.exist? executable
|
66
69
|
end
|
67
70
|
|
68
71
|
def test_remove_executables_user
|
@@ -1,8 +1,8 @@
|
|
1
|
-
require
|
2
|
-
require
|
1
|
+
require 'rubygems/test_case'
|
2
|
+
require "test/rubygems/simple_gem"
|
3
3
|
require 'rubygems/validator'
|
4
4
|
|
5
|
-
class TestGemValidator <
|
5
|
+
class TestGemValidator < Gem::TestCase
|
6
6
|
|
7
7
|
def setup
|
8
8
|
super
|
@@ -1,8 +1,8 @@
|
|
1
|
-
require
|
1
|
+
require 'rubygems/test_case'
|
2
2
|
require 'rubygems/command'
|
3
3
|
require 'rubygems/version_option'
|
4
4
|
|
5
|
-
class TestGemVersionOption <
|
5
|
+
class TestGemVersionOption < Gem::TestCase
|
6
6
|
|
7
7
|
def setup
|
8
8
|
super
|
@@ -1,7 +1,6 @@
|
|
1
|
-
require
|
2
|
-
require 'rubygems/package'
|
1
|
+
require 'rubygems/test_case'
|
3
2
|
|
4
|
-
class TestKernel <
|
3
|
+
class TestKernel < Gem::TestCase
|
5
4
|
|
6
5
|
def setup
|
7
6
|
super
|
@@ -20,21 +19,18 @@ class TestKernel < RubyGemTestCase
|
|
20
19
|
def test_gem
|
21
20
|
assert gem('a', '= 1'), "Should load"
|
22
21
|
assert $:.any? { |p| %r{a-1/lib} =~ p }
|
23
|
-
assert $:.any? { |p| %r{a-1/bin} =~ p }
|
24
22
|
end
|
25
23
|
|
26
|
-
def
|
24
|
+
def test_gem_redundant
|
27
25
|
assert gem('a', '= 1'), "Should load"
|
28
26
|
refute gem('a', '= 1'), "Should not load"
|
29
27
|
assert_equal 1, $:.select { |p| %r{a-1/lib} =~ p }.size
|
30
|
-
assert_equal 1, $:.select { |p| %r{a-1/bin} =~ p }.size
|
31
28
|
end
|
32
29
|
|
33
30
|
def test_gem_overlapping
|
34
31
|
assert gem('a', '= 1'), "Should load"
|
35
32
|
refute gem('a', '>= 1'), "Should not load"
|
36
33
|
assert_equal 1, $:.select { |p| %r{a-1/lib} =~ p }.size
|
37
|
-
assert_equal 1, $:.select { |p| %r{a-1/bin} =~ p }.size
|
38
34
|
end
|
39
35
|
|
40
36
|
def test_gem_conflicting
|
@@ -50,10 +46,11 @@ class TestKernel < RubyGemTestCase
|
|
50
46
|
assert_equal Gem::Requirement.new('= 2'), ex.requirement
|
51
47
|
|
52
48
|
assert $:.any? { |p| %r{a-1/lib} =~ p }
|
53
|
-
assert $:.any? { |p| %r{a-1/bin} =~ p }
|
54
49
|
refute $:.any? { |p| %r{a-2/lib} =~ p }
|
55
|
-
refute $:.any? { |p| %r{a-2/bin} =~ p }
|
56
50
|
end
|
57
51
|
|
52
|
+
def test_gem_not_adding_bin
|
53
|
+
assert gem('a', '= 1'), "Should load"
|
54
|
+
refute $:.any? { |p| %r{a-1/bin} =~ p }
|
55
|
+
end
|
58
56
|
end
|
59
|
-
|
metadata
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
name: rubygems-update
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
hash: 3
|
5
|
-
prerelease:
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 1.
|
8
|
+
- 5
|
9
|
+
- 0
|
10
|
+
version: 1.5.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jim Weirich
|
@@ -38,10 +38,102 @@ cert_chain:
|
|
38
38
|
x52qPcexcYZR7w==
|
39
39
|
-----END CERTIFICATE-----
|
40
40
|
|
41
|
-
date: 2011-01-
|
41
|
+
date: 2011-01-31 00:00:00 -08:00
|
42
42
|
default_executable:
|
43
|
-
dependencies:
|
44
|
-
|
43
|
+
dependencies:
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: minitest
|
46
|
+
prerelease: false
|
47
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
48
|
+
none: false
|
49
|
+
requirements:
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
hash: 11
|
53
|
+
segments:
|
54
|
+
- 2
|
55
|
+
- 0
|
56
|
+
- 2
|
57
|
+
version: 2.0.2
|
58
|
+
type: :development
|
59
|
+
version_requirements: *id001
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: rubyforge
|
62
|
+
prerelease: false
|
63
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
hash: 7
|
69
|
+
segments:
|
70
|
+
- 2
|
71
|
+
- 0
|
72
|
+
- 4
|
73
|
+
version: 2.0.4
|
74
|
+
type: :development
|
75
|
+
version_requirements: *id002
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: builder
|
78
|
+
prerelease: false
|
79
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
80
|
+
none: false
|
81
|
+
requirements:
|
82
|
+
- - ~>
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
hash: 1
|
85
|
+
segments:
|
86
|
+
- 2
|
87
|
+
- 1
|
88
|
+
version: "2.1"
|
89
|
+
type: :development
|
90
|
+
version_requirements: *id003
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: hoe-seattlerb
|
93
|
+
prerelease: false
|
94
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ~>
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
hash: 11
|
100
|
+
segments:
|
101
|
+
- 1
|
102
|
+
- 2
|
103
|
+
version: "1.2"
|
104
|
+
type: :development
|
105
|
+
version_requirements: *id004
|
106
|
+
- !ruby/object:Gem::Dependency
|
107
|
+
name: session
|
108
|
+
prerelease: false
|
109
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
110
|
+
none: false
|
111
|
+
requirements:
|
112
|
+
- - ~>
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
hash: 11
|
115
|
+
segments:
|
116
|
+
- 2
|
117
|
+
- 4
|
118
|
+
version: "2.4"
|
119
|
+
type: :development
|
120
|
+
version_requirements: *id005
|
121
|
+
- !ruby/object:Gem::Dependency
|
122
|
+
name: hoe
|
123
|
+
prerelease: false
|
124
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
125
|
+
none: false
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
hash: 43
|
130
|
+
segments:
|
131
|
+
- 2
|
132
|
+
- 9
|
133
|
+
- 0
|
134
|
+
version: 2.9.0
|
135
|
+
type: :development
|
136
|
+
version_requirements: *id006
|
45
137
|
description: |-
|
46
138
|
RubyGems is a package management framework for Ruby.
|
47
139
|
|
@@ -54,22 +146,32 @@ description: |-
|
|
54
146
|
|
55
147
|
$ gem update --system # you might need to be an administrator or root
|
56
148
|
|
57
|
-
|
58
|
-
|
59
|
-
|
149
|
+
See UPGRADING.rdoc for more details and alternative instructions.
|
150
|
+
|
151
|
+
-----
|
152
|
+
|
153
|
+
NOTE: Ruby 1.9 ships with rubygems and contains a very buggy
|
154
|
+
"gem-prelude". It is a gem loading system that can interfere with
|
155
|
+
updating rubygems itself. We do NOT recommend you update to rubygems
|
156
|
+
1.4 if you're running ruby 1.9.x until we get that sorted out in a
|
157
|
+
future ruby release.
|
158
|
+
|
159
|
+
If you absolutely hate kittens and you _must_ upgrade, you're going to
|
160
|
+
have to do something really hokey like:
|
161
|
+
|
162
|
+
% alias ruby19="ruby19 --disable-gems"
|
163
|
+
% alias gem19="ruby19 --disable-gems -S gem"
|
60
164
|
|
61
|
-
|
62
|
-
do it in two steps:
|
165
|
+
Even deleting the stock rubygems in 1.9 doesn't fix this situation.
|
63
166
|
|
64
|
-
|
65
|
-
$ update_rubygems # ... here too
|
167
|
+
-----
|
66
168
|
|
67
169
|
If you don't have any RubyGems install, there is still the pre-gem approach to
|
68
170
|
getting software, doing it manually:
|
69
171
|
|
70
|
-
|
71
|
-
|
72
|
-
|
172
|
+
* Download from: https://rubygems.org/pages/download
|
173
|
+
* Unpack into a directory and cd there
|
174
|
+
* Install with: ruby setup.rb # you may need admin/root privilege
|
73
175
|
|
74
176
|
For more details and other options, see:
|
75
177
|
|
@@ -87,6 +189,7 @@ extra_rdoc_files:
|
|
87
189
|
- Manifest.txt
|
88
190
|
- hide_lib_for_update/note.txt
|
89
191
|
- README.rdoc
|
192
|
+
- UPGRADING.rdoc
|
90
193
|
files:
|
91
194
|
- .autotest
|
92
195
|
- .document
|
@@ -97,8 +200,10 @@ files:
|
|
97
200
|
- Manifest.txt
|
98
201
|
- README.rdoc
|
99
202
|
- Rakefile
|
203
|
+
- UPGRADING.rdoc
|
100
204
|
- bin/gem
|
101
205
|
- bin/update_rubygems
|
206
|
+
- ci_build.sh
|
102
207
|
- cruise_config.rb
|
103
208
|
- hide_lib_for_update/note.txt
|
104
209
|
- lib/gauntlet_rubygems.rb
|
@@ -120,7 +225,6 @@ files:
|
|
120
225
|
- lib/rubygems/commands/install_command.rb
|
121
226
|
- lib/rubygems/commands/list_command.rb
|
122
227
|
- lib/rubygems/commands/lock_command.rb
|
123
|
-
- lib/rubygems/commands/mirror_command.rb
|
124
228
|
- lib/rubygems/commands/outdated_command.rb
|
125
229
|
- lib/rubygems/commands/owner_command.rb
|
126
230
|
- lib/rubygems/commands/pristine_command.rb
|
@@ -159,7 +263,9 @@ files:
|
|
159
263
|
- lib/rubygems/indexer.rb
|
160
264
|
- lib/rubygems/install_update_options.rb
|
161
265
|
- lib/rubygems/installer.rb
|
266
|
+
- lib/rubygems/installer_test_case.rb
|
162
267
|
- lib/rubygems/local_remote_options.rb
|
268
|
+
- lib/rubygems/mock_gem_ui.rb
|
163
269
|
- lib/rubygems/old_format.rb
|
164
270
|
- lib/rubygems/package.rb
|
165
271
|
- lib/rubygems/package/f_sync_dir.rb
|
@@ -168,6 +274,7 @@ files:
|
|
168
274
|
- lib/rubygems/package/tar_output.rb
|
169
275
|
- lib/rubygems/package/tar_reader.rb
|
170
276
|
- lib/rubygems/package/tar_reader/entry.rb
|
277
|
+
- lib/rubygems/package/tar_test_case.rb
|
171
278
|
- lib/rubygems/package/tar_writer.rb
|
172
279
|
- lib/rubygems/package_task.rb
|
173
280
|
- lib/rubygems/platform.rb
|
@@ -177,10 +284,9 @@ files:
|
|
177
284
|
- lib/rubygems/security.rb
|
178
285
|
- lib/rubygems/server.rb
|
179
286
|
- lib/rubygems/source_index.rb
|
180
|
-
- lib/rubygems/source_info_cache.rb
|
181
|
-
- lib/rubygems/source_info_cache_entry.rb
|
182
287
|
- lib/rubygems/spec_fetcher.rb
|
183
288
|
- lib/rubygems/specification.rb
|
289
|
+
- lib/rubygems/test_case.rb
|
184
290
|
- lib/rubygems/test_utilities.rb
|
185
291
|
- lib/rubygems/text.rb
|
186
292
|
- lib/rubygems/uninstaller.rb
|
@@ -192,95 +298,93 @@ files:
|
|
192
298
|
- pkgs/sources/lib/sources.rb
|
193
299
|
- pkgs/sources/sources.gemspec
|
194
300
|
- setup.rb
|
195
|
-
- test/bogussources.rb
|
196
|
-
- test/data/gem-private_key.pem
|
197
|
-
- test/data/gem-public_cert.pem
|
198
|
-
- test/fake_certlib/openssl.rb
|
199
|
-
- test/foo/discover.rb
|
200
|
-
- test/functional.rb
|
201
|
-
- test/
|
202
|
-
- test/
|
203
|
-
- test/
|
204
|
-
- test/
|
205
|
-
- test/
|
206
|
-
- test/
|
207
|
-
- test/
|
208
|
-
- test/
|
209
|
-
- test/
|
210
|
-
- test/
|
211
|
-
- test/rubygems/
|
212
|
-
- test/
|
213
|
-
- test/
|
214
|
-
- test/
|
215
|
-
- test/
|
216
|
-
- test/
|
217
|
-
- test/
|
218
|
-
- test/
|
219
|
-
- test/
|
220
|
-
- test/
|
221
|
-
- test/
|
222
|
-
- test/
|
223
|
-
- test/
|
224
|
-
- test/
|
225
|
-
- test/
|
226
|
-
- test/
|
227
|
-
- test/
|
228
|
-
- test/
|
229
|
-
- test/
|
230
|
-
- test/
|
231
|
-
- test/
|
232
|
-
- test/
|
233
|
-
- test/
|
234
|
-
- test/
|
235
|
-
- test/
|
236
|
-
- test/
|
237
|
-
- test/
|
238
|
-
- test/
|
239
|
-
- test/
|
240
|
-
- test/
|
241
|
-
- test/
|
242
|
-
- test/
|
243
|
-
- test/
|
244
|
-
- test/
|
245
|
-
- test/
|
246
|
-
- test/
|
247
|
-
- test/
|
248
|
-
- test/
|
249
|
-
- test/
|
250
|
-
- test/
|
251
|
-
- test/
|
252
|
-
- test/
|
253
|
-
- test/
|
254
|
-
- test/
|
255
|
-
- test/
|
256
|
-
- test/
|
257
|
-
- test/
|
258
|
-
- test/
|
259
|
-
- test/
|
260
|
-
- test/
|
261
|
-
- test/
|
262
|
-
- test/
|
263
|
-
- test/
|
264
|
-
- test/
|
265
|
-
- test/
|
266
|
-
- test/
|
267
|
-
- test/
|
268
|
-
- test/
|
269
|
-
- test/
|
270
|
-
- test/
|
271
|
-
- test/
|
272
|
-
- test/
|
273
|
-
- test/
|
274
|
-
- test/
|
275
|
-
- test/
|
276
|
-
- test/
|
277
|
-
- test/
|
278
|
-
- test/test_gem_version_option.rb
|
279
|
-
- test/test_kernel.rb
|
301
|
+
- test/rubygems/bogussources.rb
|
302
|
+
- test/rubygems/data/gem-private_key.pem
|
303
|
+
- test/rubygems/data/gem-public_cert.pem
|
304
|
+
- test/rubygems/fake_certlib/openssl.rb
|
305
|
+
- test/rubygems/foo/discover.rb
|
306
|
+
- test/rubygems/functional.rb
|
307
|
+
- test/rubygems/insure_session.rb
|
308
|
+
- test/rubygems/plugin/exception/rubygems_plugin.rb
|
309
|
+
- test/rubygems/plugin/load/rubygems_plugin.rb
|
310
|
+
- test/rubygems/plugin/standarderror/rubygems_plugin.rb
|
311
|
+
- test/rubygems/private_key.pem
|
312
|
+
- test/rubygems/public_cert.pem
|
313
|
+
- test/rubygems/rubygems/commands/crash_command.rb
|
314
|
+
- test/rubygems/rubygems_plugin.rb
|
315
|
+
- test/rubygems/sff/discover.rb
|
316
|
+
- test/rubygems/simple_gem.rb
|
317
|
+
- test/rubygems/test_config.rb
|
318
|
+
- test/rubygems/test_gem.rb
|
319
|
+
- test/rubygems/test_gem_builder.rb
|
320
|
+
- test/rubygems/test_gem_command.rb
|
321
|
+
- test/rubygems/test_gem_command_manager.rb
|
322
|
+
- test/rubygems/test_gem_commands_build_command.rb
|
323
|
+
- test/rubygems/test_gem_commands_cert_command.rb
|
324
|
+
- test/rubygems/test_gem_commands_check_command.rb
|
325
|
+
- test/rubygems/test_gem_commands_contents_command.rb
|
326
|
+
- test/rubygems/test_gem_commands_dependency_command.rb
|
327
|
+
- test/rubygems/test_gem_commands_environment_command.rb
|
328
|
+
- test/rubygems/test_gem_commands_fetch_command.rb
|
329
|
+
- test/rubygems/test_gem_commands_generate_index_command.rb
|
330
|
+
- test/rubygems/test_gem_commands_install_command.rb
|
331
|
+
- test/rubygems/test_gem_commands_list_command.rb
|
332
|
+
- test/rubygems/test_gem_commands_lock_command.rb
|
333
|
+
- test/rubygems/test_gem_commands_outdated_command.rb
|
334
|
+
- test/rubygems/test_gem_commands_owner_command.rb
|
335
|
+
- test/rubygems/test_gem_commands_pristine_command.rb
|
336
|
+
- test/rubygems/test_gem_commands_push_command.rb
|
337
|
+
- test/rubygems/test_gem_commands_query_command.rb
|
338
|
+
- test/rubygems/test_gem_commands_server_command.rb
|
339
|
+
- test/rubygems/test_gem_commands_sources_command.rb
|
340
|
+
- test/rubygems/test_gem_commands_specification_command.rb
|
341
|
+
- test/rubygems/test_gem_commands_stale_command.rb
|
342
|
+
- test/rubygems/test_gem_commands_uninstall_command.rb
|
343
|
+
- test/rubygems/test_gem_commands_unpack_command.rb
|
344
|
+
- test/rubygems/test_gem_commands_update_command.rb
|
345
|
+
- test/rubygems/test_gem_commands_which_command.rb
|
346
|
+
- test/rubygems/test_gem_config_file.rb
|
347
|
+
- test/rubygems/test_gem_dependency.rb
|
348
|
+
- test/rubygems/test_gem_dependency_installer.rb
|
349
|
+
- test/rubygems/test_gem_dependency_list.rb
|
350
|
+
- test/rubygems/test_gem_doc_manager.rb
|
351
|
+
- test/rubygems/test_gem_ext_configure_builder.rb
|
352
|
+
- test/rubygems/test_gem_ext_ext_conf_builder.rb
|
353
|
+
- test/rubygems/test_gem_ext_rake_builder.rb
|
354
|
+
- test/rubygems/test_gem_format.rb
|
355
|
+
- test/rubygems/test_gem_gem_path_searcher.rb
|
356
|
+
- test/rubygems/test_gem_gem_runner.rb
|
357
|
+
- test/rubygems/test_gem_gemcutter_utilities.rb
|
358
|
+
- test/rubygems/test_gem_indexer.rb
|
359
|
+
- test/rubygems/test_gem_install_update_options.rb
|
360
|
+
- test/rubygems/test_gem_installer.rb
|
361
|
+
- test/rubygems/test_gem_local_remote_options.rb
|
362
|
+
- test/rubygems/test_gem_package_tar_header.rb
|
363
|
+
- test/rubygems/test_gem_package_tar_input.rb
|
364
|
+
- test/rubygems/test_gem_package_tar_output.rb
|
365
|
+
- test/rubygems/test_gem_package_tar_reader.rb
|
366
|
+
- test/rubygems/test_gem_package_tar_reader_entry.rb
|
367
|
+
- test/rubygems/test_gem_package_tar_writer.rb
|
368
|
+
- test/rubygems/test_gem_package_task.rb
|
369
|
+
- test/rubygems/test_gem_platform.rb
|
370
|
+
- test/rubygems/test_gem_remote_fetcher.rb
|
371
|
+
- test/rubygems/test_gem_requirement.rb
|
372
|
+
- test/rubygems/test_gem_security.rb
|
373
|
+
- test/rubygems/test_gem_server.rb
|
374
|
+
- test/rubygems/test_gem_source_index.rb
|
375
|
+
- test/rubygems/test_gem_spec_fetcher.rb
|
376
|
+
- test/rubygems/test_gem_specification.rb
|
377
|
+
- test/rubygems/test_gem_stream_ui.rb
|
378
|
+
- test/rubygems/test_gem_text.rb
|
379
|
+
- test/rubygems/test_gem_uninstaller.rb
|
380
|
+
- test/rubygems/test_gem_validator.rb
|
381
|
+
- test/rubygems/test_gem_version.rb
|
382
|
+
- test/rubygems/test_gem_version_option.rb
|
383
|
+
- test/rubygems/test_kernel.rb
|
280
384
|
- util/CL2notes
|
281
385
|
- util/gem_prelude.rb
|
282
|
-
- test/
|
283
|
-
-
|
386
|
+
- test/rubygems/test_gem_silent_ui.rb
|
387
|
+
- .gemtest
|
284
388
|
has_rdoc: true
|
285
389
|
homepage: http://rubygems.org
|
286
390
|
licenses: []
|
@@ -289,7 +393,7 @@ post_install_message:
|
|
289
393
|
rdoc_options:
|
290
394
|
- --main
|
291
395
|
- README.rdoc
|
292
|
-
- --title=RubyGems 1.
|
396
|
+
- --title=RubyGems 1.5.0 Documentation
|
293
397
|
require_paths:
|
294
398
|
- hide_lib_for_update
|
295
399
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -315,76 +419,76 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
315
419
|
requirements: []
|
316
420
|
|
317
421
|
rubyforge_project: rubygems
|
318
|
-
rubygems_version: 1.
|
422
|
+
rubygems_version: 1.4.2
|
319
423
|
signing_key:
|
320
424
|
specification_version: 3
|
321
425
|
summary: RubyGems is a package management framework for Ruby
|
322
426
|
test_files:
|
323
|
-
- test/test_config.rb
|
324
|
-
- test/test_gem.rb
|
325
|
-
- test/test_gem_builder.rb
|
326
|
-
- test/test_gem_command.rb
|
327
|
-
- test/test_gem_command_manager.rb
|
328
|
-
- test/test_gem_commands_build_command.rb
|
329
|
-
- test/test_gem_commands_cert_command.rb
|
330
|
-
- test/test_gem_commands_check_command.rb
|
331
|
-
- test/test_gem_commands_contents_command.rb
|
332
|
-
- test/test_gem_commands_dependency_command.rb
|
333
|
-
- test/test_gem_commands_environment_command.rb
|
334
|
-
- test/test_gem_commands_fetch_command.rb
|
335
|
-
- test/test_gem_commands_generate_index_command.rb
|
336
|
-
- test/test_gem_commands_install_command.rb
|
337
|
-
- test/test_gem_commands_list_command.rb
|
338
|
-
- test/test_gem_commands_lock_command.rb
|
339
|
-
- test/
|
340
|
-
- test/
|
341
|
-
- test/
|
342
|
-
- test/
|
343
|
-
- test/
|
344
|
-
- test/
|
345
|
-
- test/
|
346
|
-
- test/
|
347
|
-
- test/
|
348
|
-
- test/
|
349
|
-
- test/
|
350
|
-
- test/
|
351
|
-
- test/
|
352
|
-
- test/
|
353
|
-
- test/
|
354
|
-
- test/
|
355
|
-
- test/
|
356
|
-
- test/
|
357
|
-
- test/
|
358
|
-
- test/
|
359
|
-
- test/
|
360
|
-
- test/
|
361
|
-
- test/
|
362
|
-
- test/
|
363
|
-
- test/
|
364
|
-
- test/
|
365
|
-
- test/
|
366
|
-
- test/
|
367
|
-
- test/
|
368
|
-
- test/
|
369
|
-
- test/
|
370
|
-
- test/
|
371
|
-
- test/
|
372
|
-
- test/
|
373
|
-
- test/
|
374
|
-
- test/
|
375
|
-
- test/
|
376
|
-
- test/
|
377
|
-
- test/
|
378
|
-
- test/
|
379
|
-
- test/
|
380
|
-
- test/
|
381
|
-
- test/test_gem_source_index.rb
|
382
|
-
- test/test_gem_spec_fetcher.rb
|
383
|
-
- test/test_gem_specification.rb
|
384
|
-
- test/test_gem_stream_ui.rb
|
385
|
-
- test/test_gem_text.rb
|
386
|
-
- test/test_gem_uninstaller.rb
|
387
|
-
- test/test_gem_validator.rb
|
388
|
-
- test/test_gem_version.rb
|
389
|
-
- test/test_gem_version_option.rb
|
390
|
-
- test/test_kernel.rb
|
427
|
+
- test/rubygems/test_config.rb
|
428
|
+
- test/rubygems/test_gem.rb
|
429
|
+
- test/rubygems/test_gem_builder.rb
|
430
|
+
- test/rubygems/test_gem_command.rb
|
431
|
+
- test/rubygems/test_gem_command_manager.rb
|
432
|
+
- test/rubygems/test_gem_commands_build_command.rb
|
433
|
+
- test/rubygems/test_gem_commands_cert_command.rb
|
434
|
+
- test/rubygems/test_gem_commands_check_command.rb
|
435
|
+
- test/rubygems/test_gem_commands_contents_command.rb
|
436
|
+
- test/rubygems/test_gem_commands_dependency_command.rb
|
437
|
+
- test/rubygems/test_gem_commands_environment_command.rb
|
438
|
+
- test/rubygems/test_gem_commands_fetch_command.rb
|
439
|
+
- test/rubygems/test_gem_commands_generate_index_command.rb
|
440
|
+
- test/rubygems/test_gem_commands_install_command.rb
|
441
|
+
- test/rubygems/test_gem_commands_list_command.rb
|
442
|
+
- test/rubygems/test_gem_commands_lock_command.rb
|
443
|
+
- test/rubygems/test_gem_commands_outdated_command.rb
|
444
|
+
- test/rubygems/test_gem_commands_owner_command.rb
|
445
|
+
- test/rubygems/test_gem_commands_pristine_command.rb
|
446
|
+
- test/rubygems/test_gem_commands_push_command.rb
|
447
|
+
- test/rubygems/test_gem_commands_query_command.rb
|
448
|
+
- test/rubygems/test_gem_commands_server_command.rb
|
449
|
+
- test/rubygems/test_gem_commands_sources_command.rb
|
450
|
+
- test/rubygems/test_gem_commands_specification_command.rb
|
451
|
+
- test/rubygems/test_gem_commands_stale_command.rb
|
452
|
+
- test/rubygems/test_gem_commands_uninstall_command.rb
|
453
|
+
- test/rubygems/test_gem_commands_unpack_command.rb
|
454
|
+
- test/rubygems/test_gem_commands_update_command.rb
|
455
|
+
- test/rubygems/test_gem_commands_which_command.rb
|
456
|
+
- test/rubygems/test_gem_config_file.rb
|
457
|
+
- test/rubygems/test_gem_dependency.rb
|
458
|
+
- test/rubygems/test_gem_dependency_installer.rb
|
459
|
+
- test/rubygems/test_gem_dependency_list.rb
|
460
|
+
- test/rubygems/test_gem_doc_manager.rb
|
461
|
+
- test/rubygems/test_gem_ext_configure_builder.rb
|
462
|
+
- test/rubygems/test_gem_ext_ext_conf_builder.rb
|
463
|
+
- test/rubygems/test_gem_ext_rake_builder.rb
|
464
|
+
- test/rubygems/test_gem_format.rb
|
465
|
+
- test/rubygems/test_gem_gem_path_searcher.rb
|
466
|
+
- test/rubygems/test_gem_gem_runner.rb
|
467
|
+
- test/rubygems/test_gem_gemcutter_utilities.rb
|
468
|
+
- test/rubygems/test_gem_indexer.rb
|
469
|
+
- test/rubygems/test_gem_install_update_options.rb
|
470
|
+
- test/rubygems/test_gem_installer.rb
|
471
|
+
- test/rubygems/test_gem_local_remote_options.rb
|
472
|
+
- test/rubygems/test_gem_package_tar_header.rb
|
473
|
+
- test/rubygems/test_gem_package_tar_input.rb
|
474
|
+
- test/rubygems/test_gem_package_tar_output.rb
|
475
|
+
- test/rubygems/test_gem_package_tar_reader.rb
|
476
|
+
- test/rubygems/test_gem_package_tar_reader_entry.rb
|
477
|
+
- test/rubygems/test_gem_package_tar_writer.rb
|
478
|
+
- test/rubygems/test_gem_package_task.rb
|
479
|
+
- test/rubygems/test_gem_platform.rb
|
480
|
+
- test/rubygems/test_gem_remote_fetcher.rb
|
481
|
+
- test/rubygems/test_gem_requirement.rb
|
482
|
+
- test/rubygems/test_gem_security.rb
|
483
|
+
- test/rubygems/test_gem_server.rb
|
484
|
+
- test/rubygems/test_gem_silent_ui.rb
|
485
|
+
- test/rubygems/test_gem_source_index.rb
|
486
|
+
- test/rubygems/test_gem_spec_fetcher.rb
|
487
|
+
- test/rubygems/test_gem_specification.rb
|
488
|
+
- test/rubygems/test_gem_stream_ui.rb
|
489
|
+
- test/rubygems/test_gem_text.rb
|
490
|
+
- test/rubygems/test_gem_uninstaller.rb
|
491
|
+
- test/rubygems/test_gem_validator.rb
|
492
|
+
- test/rubygems/test_gem_version.rb
|
493
|
+
- test/rubygems/test_gem_version_option.rb
|
494
|
+
- test/rubygems/test_kernel.rb
|