rubygems-update 0.9.4 → 0.9.5
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/ChangeLog +587 -0
- data/README +0 -1
- data/Rakefile +39 -12
- data/TODO +0 -5
- data/bin/gem +7 -7
- data/bin/update_rubygems +1 -1
- data/examples/application/an-app.gemspec +1 -1
- data/gemspecs/cgikit-1.1.0.gemspec +1 -2
- data/gemspecs/jabber4r.gemspec +1 -1
- data/gemspecs/linguistics.gemspec +1 -1
- data/gemspecs/ook.gemspec +1 -1
- data/gemspecs/progressbar.gemspec +1 -1
- data/gemspecs/redcloth.gemspec +1 -1
- data/gemspecs/rublog.gemspec +1 -1
- data/gemspecs/ruby-doom.gemspec +1 -1
- data/gemspecs/rubyjdwp.gemspec +1 -1
- data/gemspecs/statistics.gemspec +1 -1
- data/lib/rubygems.rb +167 -105
- data/lib/rubygems/builder.rb +12 -10
- data/lib/rubygems/command.rb +177 -60
- data/lib/rubygems/command_manager.rb +30 -38
- data/lib/rubygems/commands/build_command.rb +42 -46
- data/lib/rubygems/commands/cert_command.rb +72 -69
- data/lib/rubygems/commands/check_command.rb +63 -63
- data/lib/rubygems/commands/cleanup_command.rb +25 -7
- data/lib/rubygems/commands/contents_command.rb +70 -62
- data/lib/rubygems/commands/dependency_command.rb +131 -86
- data/lib/rubygems/commands/environment_command.rb +67 -46
- data/lib/rubygems/commands/fetch_command.rb +62 -0
- data/lib/rubygems/commands/generate_index_command.rb +57 -0
- data/lib/rubygems/commands/help_command.rb +163 -73
- data/lib/rubygems/commands/install_command.rb +114 -128
- data/lib/rubygems/commands/list_command.rb +10 -8
- data/lib/rubygems/commands/lock_command.rb +101 -0
- data/lib/rubygems/commands/mirror_command.rb +105 -0
- data/lib/rubygems/commands/outdated_command.rb +24 -15
- data/lib/rubygems/commands/pristine_command.rb +118 -88
- data/lib/rubygems/commands/query_command.rb +109 -77
- data/lib/rubygems/commands/rdoc_command.rb +13 -10
- data/lib/rubygems/commands/search_command.rb +10 -8
- data/lib/rubygems/commands/server_command.rb +48 -0
- data/lib/rubygems/commands/sources_command.rb +104 -83
- data/lib/rubygems/commands/specification_command.rb +65 -51
- data/lib/rubygems/commands/uninstall_command.rb +17 -12
- data/lib/rubygems/commands/unpack_command.rb +68 -68
- data/lib/rubygems/commands/update_command.rb +72 -25
- data/lib/rubygems/commands/which_command.rb +86 -0
- data/lib/rubygems/config_file.rb +202 -78
- data/lib/rubygems/custom_require.rb +7 -88
- data/lib/rubygems/dependency.rb +65 -0
- data/lib/rubygems/dependency_installer.rb +232 -0
- data/lib/rubygems/dependency_list.rb +133 -105
- data/lib/rubygems/digest/md5.rb +4 -1
- data/lib/rubygems/digest/sha2.rb +1 -1
- data/lib/rubygems/doc_manager.rb +41 -19
- data/lib/rubygems/exceptions.rb +63 -0
- data/lib/rubygems/ext.rb +18 -0
- data/lib/rubygems/ext/builder.rb +56 -0
- data/lib/rubygems/ext/configure_builder.rb +24 -0
- data/lib/rubygems/ext/ext_conf_builder.rb +23 -0
- data/lib/rubygems/ext/rake_builder.rb +27 -0
- data/lib/rubygems/format.rb +16 -6
- data/lib/rubygems/gem_openssl.rb +43 -6
- data/lib/rubygems/gem_path_searcher.rb +84 -0
- data/lib/rubygems/gem_runner.rb +20 -5
- data/lib/rubygems/indexer.rb +163 -0
- data/lib/rubygems/indexer/abstract_index_builder.rb +80 -0
- data/lib/rubygems/indexer/marshal_index_builder.rb +17 -0
- data/lib/rubygems/indexer/master_index_builder.rb +53 -0
- data/lib/rubygems/indexer/quick_index_builder.rb +48 -0
- data/lib/rubygems/install_update_options.rb +87 -0
- data/lib/rubygems/installer.rb +316 -562
- data/lib/rubygems/local_remote_options.rb +106 -0
- data/lib/rubygems/old_format.rb +5 -13
- data/lib/rubygems/open-uri.rb +2 -0
- data/lib/rubygems/package.rb +28 -32
- data/lib/rubygems/platform.rb +187 -0
- data/lib/rubygems/remote_fetcher.rb +46 -29
- data/lib/rubygems/remote_installer.rb +11 -18
- data/lib/rubygems/requirement.rb +157 -0
- data/lib/rubygems/rubygems_version.rb +1 -1
- data/lib/rubygems/security.rb +715 -457
- data/lib/rubygems/server.rb +77 -59
- data/lib/rubygems/source_index.rb +154 -83
- data/lib/rubygems/source_info_cache.rb +73 -30
- data/lib/rubygems/source_info_cache_entry.rb +12 -3
- data/lib/rubygems/specification.rb +378 -145
- data/lib/rubygems/uninstaller.rb +183 -0
- data/lib/rubygems/user_interaction.rb +38 -9
- data/lib/rubygems/validator.rb +53 -24
- data/lib/rubygems/version.rb +126 -289
- data/lib/rubygems/version_option.rb +49 -0
- data/pkgs/sources/lib/sources.rb +1 -4
- data/pkgs/sources/sources.gemspec +3 -3
- data/scripts/gemdoc.rb +0 -1
- data/setup.rb +166 -1505
- data/test/bogussources.rb +0 -1
- data/test/data/gem-private_key.pem +27 -0
- data/test/data/gem-public_cert.pem +20 -0
- data/test/functional.rb +3 -105
- data/test/gemutilities.rb +145 -24
- data/test/insure_session.rb +0 -1
- data/test/{test_datadir.rb → test_config.rb} +7 -13
- data/test/test_gem.rb +360 -9
- data/test/test_gem_builder.rb +34 -0
- data/test/{test_command.rb → test_gem_command.rb} +119 -62
- data/test/{test_parse_commands.rb → test_gem_command_manager.rb} +64 -40
- data/test/test_gem_commands_build_command.rb +75 -0
- data/test/test_gem_commands_cert_command.rb +122 -0
- data/test/test_gem_commands_check_command.rb +25 -0
- data/test/test_gem_commands_contents_command.rb +92 -0
- data/test/test_gem_commands_dependency_command.rb +108 -0
- data/test/test_gem_commands_environment_command.rb +117 -0
- data/test/test_gem_commands_fetch_command.rb +34 -0
- data/test/test_gem_commands_generate_index_command.rb +32 -0
- data/test/test_gem_commands_install_command.rb +160 -0
- data/test/test_gem_commands_mirror_command.rb +56 -0
- data/test/test_gem_commands_pristine_command.rb +100 -0
- data/test/test_gem_commands_query_command.rb +82 -0
- data/test/test_gem_commands_sources_command.rb +147 -0
- data/test/test_gem_commands_specification_command.rb +93 -0
- data/test/test_gem_commands_unpack_command.rb +55 -0
- data/test/test_gem_config_file.rb +210 -0
- data/test/test_gem_dependency.rb +89 -0
- data/test/test_gem_dependency_installer.rb +542 -0
- data/test/test_gem_dependency_list.rb +212 -0
- data/test/test_gem_doc_manager.rb +32 -0
- data/test/test_gem_ext_configure_builder.rb +13 -17
- data/test/test_gem_ext_ext_conf_builder.rb +9 -9
- data/test/test_gem_ext_rake_builder.rb +23 -11
- data/test/test_gem_format.rb +69 -0
- data/test/test_gem_gem_path_searcher.rb +57 -0
- data/test/test_gem_gem_runner.rb +35 -0
- data/test/test_gem_indexer.rb +119 -0
- data/test/test_gem_install_update_options.rb +40 -0
- data/test/test_gem_installer.rb +796 -0
- data/test/test_gem_local_remote_options.rb +84 -0
- data/test/test_gem_outdated_command.rb +11 -9
- data/test/test_gem_platform.rb +240 -0
- data/test/{test_remote_fetcher.rb → test_gem_remote_fetcher.rb} +124 -55
- data/test/{test_remote_installer.rb → test_gem_remote_installer.rb} +3 -4
- data/test/test_gem_requirement.rb +223 -0
- data/test/test_gem_server.rb +71 -0
- data/test/test_gem_source_index.rb +429 -0
- data/test/test_gem_source_info_cache.rb +79 -17
- data/test/test_gem_source_info_cache_entry.rb +11 -9
- data/test/test_gem_specification.rb +738 -0
- data/test/test_gem_stream_ui.rb +117 -0
- data/test/test_gem_validator.rb +70 -0
- data/test/test_gem_version.rb +191 -0
- data/test/test_gem_version_option.rb +77 -0
- data/test/{test_require_gem.rb → test_kernel.rb} +19 -12
- data/test/test_open_uri.rb +1 -2
- data/test/test_package.rb +45 -34
- metadata +116 -141
- data/Releases +0 -127
- data/bin/gem_mirror +0 -73
- data/bin/gem_server +0 -6
- data/bin/gemlock +0 -127
- data/bin/gemri +0 -24
- data/bin/gemwhich +0 -89
- data/bin/index_gem_repository.rb +0 -302
- data/lib/gemconfigure.rb +0 -24
- data/lib/rubygems/gem_commands.rb +0 -273
- data/pkgs/sources/sources-0.0.1.gem +0 -0
- data/post-install.rb +0 -121
- data/test/brokenbuildgem.rb +0 -35
- data/test/data/PostMessage-0.0.1.gem +0 -0
- data/test/data/a-0.0.1.gem +0 -0
- data/test/data/a-0.0.2.gem +0 -0
- data/test/data/b-0.0.2.gem +0 -0
- data/test/data/broken-1.0.0.gem +0 -0
- data/test/data/broken_build/broken-build.gemspec +0 -20
- data/test/data/broken_build/ext/extconf.rb +0 -3
- data/test/data/broken_build/ext/foo.c +0 -1
- data/test/data/c-1.2.gem +0 -0
- data/test/data/gemhome/cache/a-0.0.1.gem +0 -0
- data/test/data/gemhome/cache/a-0.0.2.gem +0 -0
- data/test/data/gemhome/cache/b-0.0.2.gem +0 -0
- data/test/data/gemhome/cache/c-1.2.gem +0 -0
- data/test/data/gemhome/gems/a-0.0.1/lib/code.rb +0 -1
- data/test/data/gemhome/gems/a-0.0.2/lib/code.rb +0 -1
- data/test/data/gemhome/gems/b-0.0.2/lib/code.rb +0 -1
- data/test/data/gemhome/gems/c-1.2/lib/code.rb +0 -1
- data/test/data/gemhome/specifications/a-0.0.1.gemspec +0 -8
- data/test/data/gemhome/specifications/a-0.0.2.gemspec +0 -8
- data/test/data/gemhome/specifications/b-0.0.2.gemspec +0 -8
- data/test/data/gemhome/specifications/c-1.2.gemspec +0 -8
- data/test/data/legacy/keyedlist-0.4.0.ruby +0 -11
- data/test/data/legacy/keyedlist-0.4.0.yaml +0 -16
- data/test/data/lib/code.rb +0 -1
- data/test/data/one/README.one +0 -1
- data/test/data/one/lib/one.rb +0 -9
- data/test/data/one/one-0.0.1.gem +0 -0
- data/test/data/one/one.gemspec +0 -17
- data/test/data/one/one.yaml +0 -40
- data/test/data/post_install.gemspec +0 -19
- data/test/functional_extension_gems.rb +0 -48
- data/test/functional_generate_yaml_index.rb +0 -104
- data/test/gemenvironment.rb +0 -59
- data/test/io_capture.rb +0 -33
- data/test/mock/gems/gems/sources-0.0.1/lib/sources.rb +0 -11
- data/test/mock/gems/specifications/sources-0.0.1.gemspec +0 -8
- data/test/onegem.rb +0 -35
- data/test/test_builder.rb +0 -34
- data/test/test_check_command.rb +0 -34
- data/test/test_configfile.rb +0 -42
- data/test/test_dependency_list.rb +0 -169
- data/test/test_file_list.rb +0 -101
- data/test/test_format.rb +0 -49
- data/test/test_gem_sources_command.rb +0 -135
- data/test/test_gemloadpaths.rb +0 -51
- data/test/test_gempaths.rb +0 -170
- data/test/test_installer.rb +0 -369
- data/test/test_loadmanager.rb +0 -48
- data/test/test_process_commands.rb +0 -52
- data/test/test_source_index.rb +0 -231
- data/test/test_specific_extras.rb +0 -46
- data/test/test_specification.rb +0 -565
- data/test/test_user_interaction.rb +0 -48
- data/test/test_validator.rb +0 -59
- data/test/test_version_comparison.rb +0 -321
- data/test/testgem.rc +0 -7
- data/test/user_capture.rb +0 -7
- data/test/yaml_data.rb +0 -63
@@ -6,52 +6,59 @@
|
|
6
6
|
#++
|
7
7
|
|
8
8
|
require 'test/unit'
|
9
|
-
require '
|
9
|
+
require File.join(File.expand_path(File.dirname(__FILE__)), 'gemutilities')
|
10
10
|
|
11
|
-
class
|
11
|
+
class TestKernel < RubyGemTestCase
|
12
12
|
|
13
13
|
def setup
|
14
|
+
super
|
15
|
+
|
14
16
|
@old_path = $:.dup
|
15
|
-
|
16
|
-
|
17
|
-
Gem.source_index.refresh!
|
18
|
-
Gem.instance_eval { @loaded_specs.clear if @loaded_specs }
|
17
|
+
|
18
|
+
util_make_gems
|
19
19
|
end
|
20
20
|
|
21
21
|
def teardown
|
22
|
+
super
|
23
|
+
|
22
24
|
$:.replace @old_path
|
23
25
|
end
|
24
26
|
|
25
|
-
def
|
27
|
+
def test_gem
|
26
28
|
assert gem('a', '= 0.0.1'), "Should load"
|
27
29
|
assert $:.any? { |p| %r{a-0.0.1/lib} =~ p }
|
28
30
|
assert $:.any? { |p| %r{a-0.0.1/bin} =~ p }
|
29
31
|
end
|
30
32
|
|
31
|
-
def
|
33
|
+
def test_gem_redundent
|
32
34
|
assert gem('a', '= 0.0.1'), "Should load"
|
33
35
|
assert ! gem('a', '= 0.0.1'), "Should not load"
|
34
36
|
assert_equal 1, $:.select { |p| %r{a-0.0.1/lib} =~ p }.size
|
35
37
|
assert_equal 1, $:.select { |p| %r{a-0.0.1/bin} =~ p }.size
|
36
38
|
end
|
37
39
|
|
38
|
-
def
|
40
|
+
def test_gem_overlapping
|
39
41
|
assert gem('a', '= 0.0.1'), "Should load"
|
40
42
|
assert ! gem('a', '>= 0.0.1'), "Should not load"
|
41
43
|
assert_equal 1, $:.select { |p| %r{a-0.0.1/lib} =~ p }.size
|
42
44
|
assert_equal 1, $:.select { |p| %r{a-0.0.1/bin} =~ p }.size
|
43
45
|
end
|
44
46
|
|
45
|
-
def
|
47
|
+
def test_gem_conflicting
|
46
48
|
assert gem('a', '= 0.0.1'), "Should load"
|
47
|
-
|
49
|
+
|
50
|
+
ex = assert_raise Gem::Exception do
|
48
51
|
gem 'a', '= 0.0.2'
|
49
|
-
|
52
|
+
end
|
53
|
+
|
50
54
|
assert_match(/activate a \(= 0\.0\.2\)/, ex.message)
|
51
55
|
assert_match(/activated a-0\.0\.1/, ex.message)
|
56
|
+
|
52
57
|
assert $:.any? { |p| %r{a-0.0.1/lib} =~ p }
|
53
58
|
assert $:.any? { |p| %r{a-0.0.1/bin} =~ p }
|
54
59
|
assert ! $:.any? { |p| %r{a-0.0.2/lib} =~ p }
|
55
60
|
assert ! $:.any? { |p| %r{a-0.0.2/bin} =~ p }
|
56
61
|
end
|
62
|
+
|
57
63
|
end
|
64
|
+
|
data/test/test_open_uri.rb
CHANGED
data/test/test_package.rb
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
|
7
7
|
require 'test/unit'
|
8
8
|
require 'stringio'
|
9
|
+
require 'fileutils'
|
9
10
|
|
10
11
|
require 'rubygems'
|
11
12
|
require 'rubygems/package'
|
@@ -61,35 +62,34 @@ class TarTestCase < Test::Unit::TestCase
|
|
61
62
|
end
|
62
63
|
|
63
64
|
def header(type, fname, dname, length, mode, checksum = nil)
|
64
|
-
# struct tarfile_entry_posix {
|
65
|
-
# char name[100]; # ASCII + (Z unless filled)
|
66
|
-
# char mode[8]; # 0 padded, octal null
|
67
|
-
# char uid[8]; # ditto
|
68
|
-
# char gid[8]; # ditto
|
69
|
-
# char size[12]; # 0 padded, octal, null
|
70
|
-
# char mtime[12]; # 0 padded, octal, null
|
71
|
-
# char checksum[8]; # 0 padded, octal, null and space
|
72
|
-
# char typeflag[1]; # file: "0" dir: "5"
|
73
|
-
# char linkname[100]; # ASCII + (Z unless filled)
|
74
|
-
# char magic[6]; # "ustar\0"
|
75
|
-
# char version[2]; # "00"
|
76
|
-
# char uname[32]; # ASCIIZ
|
77
|
-
# char gname[32]; # ASCIIZ
|
78
|
-
# char devmajor[8]; # 0 padded, octal, null
|
79
|
-
# char devminor[8]; # o padded, octal, null
|
80
|
-
# char prefix[155]; # ASCII + (Z unless filled)
|
81
|
-
# };
|
82
|
-
|
83
65
|
checksum ||= " " * 8
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
66
|
+
|
67
|
+
arr = [ # struct tarfile_entry_posix
|
68
|
+
ASCIIZ(fname, 100), # char name[100]; ASCII + (Z unless filled)
|
69
|
+
Z(to_oct(mode, 7)), # char mode[8]; 0 padded, octal null
|
70
|
+
Z(to_oct(0, 7)), # char uid[8]; ditto
|
71
|
+
Z(to_oct(0, 7)), # char gid[8]; ditto
|
72
|
+
Z(to_oct(length, 11)), # char size[12]; 0 padded, octal, null
|
73
|
+
Z(to_oct(0, 11)), # char mtime[12]; 0 padded, octal, null
|
74
|
+
checksum, # char checksum[8]; 0 padded, octal, null, space
|
75
|
+
type, # char typeflag[1]; file: "0" dir: "5"
|
76
|
+
"\0" * 100, # char linkname[100]; ASCII + (Z unless filled)
|
77
|
+
"ustar\0", # char magic[6]; "ustar\0"
|
78
|
+
"00", # char version[2]; "00"
|
79
|
+
ASCIIZ("wheel", 32), # char uname[32]; ASCIIZ
|
80
|
+
ASCIIZ("wheel", 32), # char gname[32]; ASCIIZ
|
81
|
+
Z(to_oct(0, 7)), # char devmajor[8]; 0 padded, octal, null
|
82
|
+
Z(to_oct(0, 7)), # char devminor[8]; 0 padded, octal, null
|
83
|
+
ASCIIZ(dname, 155) # char prefix[155]; ASCII + (Z unless filled)
|
84
|
+
]
|
85
|
+
|
86
|
+
format = "C100C8C8C8C12C12C8CC100C6C2C32C32C8C8C155"
|
87
|
+
h = if RUBY_VERSION >= "1.9" then
|
88
|
+
arr.join
|
89
|
+
else
|
90
|
+
arr = arr.join("").split(//).map{|x| x[0]}
|
91
|
+
arr.pack format
|
92
|
+
end
|
93
93
|
ret = h + "\0" * (512 - h.size)
|
94
94
|
assert_equal(512, ret.size)
|
95
95
|
ret
|
@@ -218,24 +218,32 @@ class TestTarInput < TarTestCase
|
|
218
218
|
|
219
219
|
def test_each_works
|
220
220
|
Gem::Package::TarInput.open(@file) do |is|
|
221
|
-
|
221
|
+
count = 0
|
222
|
+
|
222
223
|
is.each_with_index do |entry, i|
|
224
|
+
count = i
|
225
|
+
|
223
226
|
assert_kind_of(Gem::Package::TarReader::Entry, entry)
|
224
227
|
assert_equal(@entry_names[i], entry.name)
|
225
228
|
assert_equal(@entry_sizes[i], entry.size)
|
226
229
|
end
|
227
|
-
|
228
|
-
assert_equal
|
230
|
+
|
231
|
+
assert_equal 2, count
|
232
|
+
|
233
|
+
assert_equal @spec, is.metadata
|
229
234
|
end
|
230
235
|
end
|
231
236
|
|
232
237
|
def test_extract_entry_works
|
233
238
|
Gem::Package::TarInput.open(@file) do |is|
|
234
|
-
assert_equal
|
235
|
-
|
239
|
+
assert_equal @spec, is.metadata
|
240
|
+
count = 0
|
241
|
+
|
236
242
|
is.each_with_index do |entry, i|
|
243
|
+
count = i
|
237
244
|
is.extract_entry "data__", entry
|
238
245
|
name = File.join("data__", entry.name)
|
246
|
+
|
239
247
|
if entry.is_directory?
|
240
248
|
assert File.dir?(name)
|
241
249
|
else
|
@@ -243,13 +251,16 @@ class TestTarInput < TarTestCase
|
|
243
251
|
assert_equal(@entry_sizes[i], File.stat(name).size)
|
244
252
|
#FIXME: win32? !!
|
245
253
|
end
|
254
|
+
|
246
255
|
unless ::Config::CONFIG["arch"] =~ /msdos|win32/i
|
247
256
|
assert_equal(@entry_modes[i],
|
248
257
|
File.stat(name).mode & (~SETGID_BIT))
|
249
258
|
end
|
250
259
|
end
|
251
|
-
|
260
|
+
|
261
|
+
assert_equal 2, count
|
252
262
|
end
|
263
|
+
|
253
264
|
@entry_files.each_with_index do |x, i|
|
254
265
|
assert(File.file?(x))
|
255
266
|
assert_equal(@entry_contents[i], File.read_b(x))
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
3
|
-
specification_version:
|
2
|
+
rubygems_version: 0.9.4.6
|
3
|
+
specification_version: 2
|
4
4
|
name: rubygems-update
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.9.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.9.5
|
7
|
+
date: 2007-11-19 00:00:00 -08:00
|
8
8
|
summary: RubyGems Update GEM
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -16,15 +16,22 @@ autorequire:
|
|
16
16
|
default_executable:
|
17
17
|
bindir: bin
|
18
18
|
has_rdoc: false
|
19
|
-
required_ruby_version: !ruby/object:Gem::
|
19
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- - "
|
21
|
+
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: "0"
|
24
30
|
version:
|
25
31
|
platform: ruby
|
26
32
|
signing_key:
|
27
|
-
cert_chain:
|
33
|
+
cert_chain: []
|
34
|
+
|
28
35
|
post_install_message:
|
29
36
|
authors:
|
30
37
|
- Jim Weirich
|
@@ -32,32 +39,24 @@ authors:
|
|
32
39
|
files:
|
33
40
|
- Rakefile
|
34
41
|
- ChangeLog
|
35
|
-
- Releases
|
36
42
|
- TODO
|
37
43
|
- README
|
38
44
|
- LICENSE.txt
|
39
45
|
- GPL.txt
|
40
46
|
- setup.rb
|
41
|
-
- post-install.rb
|
42
47
|
- bin/gem
|
43
|
-
- bin/gem_mirror
|
44
|
-
- bin/gem_server
|
45
|
-
- bin/gemlock
|
46
|
-
- bin/gemri
|
47
|
-
- bin/gemwhich
|
48
|
-
- bin/index_gem_repository.rb
|
49
48
|
- bin/update_rubygems
|
50
49
|
- doc/doc.css
|
51
50
|
- doc/makedoc.rb
|
52
51
|
- examples/application
|
53
52
|
- examples/application/an-app.gemspec
|
54
53
|
- examples/application/bin
|
55
|
-
- examples/application/ext
|
56
|
-
- examples/application/lib
|
57
54
|
- examples/application/bin/myapp
|
55
|
+
- examples/application/ext
|
58
56
|
- examples/application/ext/extconf.rb
|
59
57
|
- examples/application/ext/foo.c
|
60
58
|
- examples/application/ext/Makefile
|
59
|
+
- examples/application/lib
|
61
60
|
- examples/application/lib/somefunctionality.rb
|
62
61
|
- gemspecs/cgikit-1.1.0.gemspec
|
63
62
|
- gemspecs/jabber4r.gemspec
|
@@ -70,28 +69,72 @@ files:
|
|
70
69
|
- gemspecs/ruby-doom.gemspec
|
71
70
|
- gemspecs/rubyjdwp.gemspec
|
72
71
|
- gemspecs/statistics.gemspec
|
73
|
-
- lib/gemconfigure.rb
|
74
|
-
- lib/rubygems.rb
|
75
|
-
- lib/ubygems.rb
|
76
72
|
- lib/rbconfig/datadir.rb
|
77
73
|
- lib/rubygems/builder.rb
|
78
74
|
- lib/rubygems/command.rb
|
79
75
|
- lib/rubygems/command_manager.rb
|
76
|
+
- lib/rubygems/commands/build_command.rb
|
77
|
+
- lib/rubygems/commands/cert_command.rb
|
78
|
+
- lib/rubygems/commands/check_command.rb
|
79
|
+
- lib/rubygems/commands/cleanup_command.rb
|
80
|
+
- lib/rubygems/commands/contents_command.rb
|
81
|
+
- lib/rubygems/commands/dependency_command.rb
|
82
|
+
- lib/rubygems/commands/environment_command.rb
|
83
|
+
- lib/rubygems/commands/fetch_command.rb
|
84
|
+
- lib/rubygems/commands/generate_index_command.rb
|
85
|
+
- lib/rubygems/commands/help_command.rb
|
86
|
+
- lib/rubygems/commands/install_command.rb
|
87
|
+
- lib/rubygems/commands/list_command.rb
|
88
|
+
- lib/rubygems/commands/lock_command.rb
|
89
|
+
- lib/rubygems/commands/mirror_command.rb
|
90
|
+
- lib/rubygems/commands/outdated_command.rb
|
91
|
+
- lib/rubygems/commands/pristine_command.rb
|
92
|
+
- lib/rubygems/commands/query_command.rb
|
93
|
+
- lib/rubygems/commands/rdoc_command.rb
|
94
|
+
- lib/rubygems/commands/search_command.rb
|
95
|
+
- lib/rubygems/commands/server_command.rb
|
96
|
+
- lib/rubygems/commands/sources_command.rb
|
97
|
+
- lib/rubygems/commands/specification_command.rb
|
98
|
+
- lib/rubygems/commands/uninstall_command.rb
|
99
|
+
- lib/rubygems/commands/unpack_command.rb
|
100
|
+
- lib/rubygems/commands/update_command.rb
|
101
|
+
- lib/rubygems/commands/which_command.rb
|
80
102
|
- lib/rubygems/config_file.rb
|
81
103
|
- lib/rubygems/custom_require.rb
|
104
|
+
- lib/rubygems/dependency.rb
|
105
|
+
- lib/rubygems/dependency_installer.rb
|
82
106
|
- lib/rubygems/dependency_list.rb
|
107
|
+
- lib/rubygems/digest/digest_adapter.rb
|
108
|
+
- lib/rubygems/digest/md5.rb
|
109
|
+
- lib/rubygems/digest/sha1.rb
|
110
|
+
- lib/rubygems/digest/sha2.rb
|
83
111
|
- lib/rubygems/doc_manager.rb
|
112
|
+
- lib/rubygems/exceptions.rb
|
113
|
+
- lib/rubygems/ext/builder.rb
|
114
|
+
- lib/rubygems/ext/configure_builder.rb
|
115
|
+
- lib/rubygems/ext/ext_conf_builder.rb
|
116
|
+
- lib/rubygems/ext/rake_builder.rb
|
117
|
+
- lib/rubygems/ext.rb
|
84
118
|
- lib/rubygems/format.rb
|
85
|
-
- lib/rubygems/gem_commands.rb
|
86
119
|
- lib/rubygems/gem_open_uri.rb
|
87
120
|
- lib/rubygems/gem_openssl.rb
|
121
|
+
- lib/rubygems/gem_path_searcher.rb
|
88
122
|
- lib/rubygems/gem_runner.rb
|
123
|
+
- lib/rubygems/indexer/abstract_index_builder.rb
|
124
|
+
- lib/rubygems/indexer/marshal_index_builder.rb
|
125
|
+
- lib/rubygems/indexer/master_index_builder.rb
|
126
|
+
- lib/rubygems/indexer/quick_index_builder.rb
|
127
|
+
- lib/rubygems/indexer.rb
|
128
|
+
- lib/rubygems/install_update_options.rb
|
89
129
|
- lib/rubygems/installer.rb
|
130
|
+
- lib/rubygems/local_remote_options.rb
|
90
131
|
- lib/rubygems/old_format.rb
|
91
132
|
- lib/rubygems/open-uri.rb
|
92
133
|
- lib/rubygems/package.rb
|
134
|
+
- lib/rubygems/platform.rb
|
93
135
|
- lib/rubygems/remote_fetcher.rb
|
94
136
|
- lib/rubygems/remote_installer.rb
|
137
|
+
- lib/rubygems/requirement.rb
|
95
138
|
- lib/rubygems/rubygems_version.rb
|
96
139
|
- lib/rubygems/security.rb
|
97
140
|
- lib/rubygems/server.rb
|
@@ -100,38 +143,17 @@ files:
|
|
100
143
|
- lib/rubygems/source_info_cache_entry.rb
|
101
144
|
- lib/rubygems/specification.rb
|
102
145
|
- lib/rubygems/timer.rb
|
146
|
+
- lib/rubygems/uninstaller.rb
|
103
147
|
- lib/rubygems/user_interaction.rb
|
104
148
|
- lib/rubygems/validator.rb
|
105
149
|
- lib/rubygems/version.rb
|
106
|
-
- lib/rubygems/
|
107
|
-
- lib/rubygems
|
108
|
-
- lib/
|
109
|
-
- lib/rubygems/commands/cleanup_command.rb
|
110
|
-
- lib/rubygems/commands/contents_command.rb
|
111
|
-
- lib/rubygems/commands/dependency_command.rb
|
112
|
-
- lib/rubygems/commands/environment_command.rb
|
113
|
-
- lib/rubygems/commands/help_command.rb
|
114
|
-
- lib/rubygems/commands/install_command.rb
|
115
|
-
- lib/rubygems/commands/list_command.rb
|
116
|
-
- lib/rubygems/commands/outdated_command.rb
|
117
|
-
- lib/rubygems/commands/pristine_command.rb
|
118
|
-
- lib/rubygems/commands/query_command.rb
|
119
|
-
- lib/rubygems/commands/rdoc_command.rb
|
120
|
-
- lib/rubygems/commands/search_command.rb
|
121
|
-
- lib/rubygems/commands/sources_command.rb
|
122
|
-
- lib/rubygems/commands/specification_command.rb
|
123
|
-
- lib/rubygems/commands/uninstall_command.rb
|
124
|
-
- lib/rubygems/commands/unpack_command.rb
|
125
|
-
- lib/rubygems/commands/update_command.rb
|
126
|
-
- lib/rubygems/digest/digest_adapter.rb
|
127
|
-
- lib/rubygems/digest/md5.rb
|
128
|
-
- lib/rubygems/digest/sha1.rb
|
129
|
-
- lib/rubygems/digest/sha2.rb
|
150
|
+
- lib/rubygems/version_option.rb
|
151
|
+
- lib/rubygems.rb
|
152
|
+
- lib/ubygems.rb
|
130
153
|
- pkgs/sources
|
131
154
|
- pkgs/sources/lib
|
132
|
-
- pkgs/sources/sources-0.0.1.gem
|
133
|
-
- pkgs/sources/sources.gemspec
|
134
155
|
- pkgs/sources/lib/sources.rb
|
156
|
+
- pkgs/sources/sources.gemspec
|
135
157
|
- redist/session.gem
|
136
158
|
- scripts/buildtests.rb
|
137
159
|
- scripts/gemdoc.rb
|
@@ -139,116 +161,69 @@ files:
|
|
139
161
|
- scripts/specdoc.rb
|
140
162
|
- scripts/upload_gemdoc.rb
|
141
163
|
- test/bogussources.rb
|
142
|
-
- test/brokenbuildgem.rb
|
143
164
|
- test/data
|
165
|
+
- test/data/gem-private_key.pem
|
166
|
+
- test/data/gem-public_cert.pem
|
144
167
|
- test/fake_certlib
|
168
|
+
- test/fake_certlib/openssl.rb
|
145
169
|
- test/functional.rb
|
146
|
-
- test/functional_extension_gems.rb
|
147
|
-
- test/functional_generate_yaml_index.rb
|
148
|
-
- test/gemenvironment.rb
|
149
170
|
- test/gemutilities.rb
|
150
171
|
- test/insure_session.rb
|
151
|
-
- test/io_capture.rb
|
152
|
-
- test/mock
|
153
172
|
- test/mockgemui.rb
|
154
|
-
- test/onegem.rb
|
155
173
|
- test/simple_gem.rb
|
156
|
-
- test/
|
157
|
-
- test/test_check_command.rb
|
158
|
-
- test/test_command.rb
|
159
|
-
- test/test_configfile.rb
|
160
|
-
- test/test_datadir.rb
|
161
|
-
- test/test_dependency_list.rb
|
162
|
-
- test/test_file_list.rb
|
163
|
-
- test/test_format.rb
|
174
|
+
- test/test_config.rb
|
164
175
|
- test/test_gem.rb
|
176
|
+
- test/test_gem_builder.rb
|
177
|
+
- test/test_gem_command.rb
|
178
|
+
- test/test_gem_command_manager.rb
|
179
|
+
- test/test_gem_commands_build_command.rb
|
180
|
+
- test/test_gem_commands_cert_command.rb
|
181
|
+
- test/test_gem_commands_check_command.rb
|
182
|
+
- test/test_gem_commands_contents_command.rb
|
183
|
+
- test/test_gem_commands_dependency_command.rb
|
184
|
+
- test/test_gem_commands_environment_command.rb
|
185
|
+
- test/test_gem_commands_fetch_command.rb
|
186
|
+
- test/test_gem_commands_generate_index_command.rb
|
187
|
+
- test/test_gem_commands_install_command.rb
|
188
|
+
- test/test_gem_commands_mirror_command.rb
|
189
|
+
- test/test_gem_commands_pristine_command.rb
|
190
|
+
- test/test_gem_commands_query_command.rb
|
191
|
+
- test/test_gem_commands_sources_command.rb
|
192
|
+
- test/test_gem_commands_specification_command.rb
|
193
|
+
- test/test_gem_commands_unpack_command.rb
|
194
|
+
- test/test_gem_config_file.rb
|
195
|
+
- test/test_gem_dependency.rb
|
196
|
+
- test/test_gem_dependency_installer.rb
|
197
|
+
- test/test_gem_dependency_list.rb
|
165
198
|
- test/test_gem_digest.rb
|
199
|
+
- test/test_gem_doc_manager.rb
|
166
200
|
- test/test_gem_ext_configure_builder.rb
|
167
201
|
- test/test_gem_ext_ext_conf_builder.rb
|
168
202
|
- test/test_gem_ext_rake_builder.rb
|
203
|
+
- test/test_gem_format.rb
|
204
|
+
- test/test_gem_gem_path_searcher.rb
|
205
|
+
- test/test_gem_gem_runner.rb
|
206
|
+
- test/test_gem_indexer.rb
|
207
|
+
- test/test_gem_install_update_options.rb
|
208
|
+
- test/test_gem_installer.rb
|
209
|
+
- test/test_gem_local_remote_options.rb
|
169
210
|
- test/test_gem_outdated_command.rb
|
211
|
+
- test/test_gem_platform.rb
|
212
|
+
- test/test_gem_remote_fetcher.rb
|
213
|
+
- test/test_gem_remote_installer.rb
|
214
|
+
- test/test_gem_requirement.rb
|
215
|
+
- test/test_gem_server.rb
|
216
|
+
- test/test_gem_source_index.rb
|
170
217
|
- test/test_gem_source_info_cache.rb
|
171
218
|
- test/test_gem_source_info_cache_entry.rb
|
172
|
-
- test/
|
173
|
-
- test/
|
174
|
-
- test/
|
175
|
-
- test/
|
176
|
-
- test/
|
219
|
+
- test/test_gem_specification.rb
|
220
|
+
- test/test_gem_stream_ui.rb
|
221
|
+
- test/test_gem_validator.rb
|
222
|
+
- test/test_gem_version.rb
|
223
|
+
- test/test_gem_version_option.rb
|
224
|
+
- test/test_kernel.rb
|
177
225
|
- test/test_open_uri.rb
|
178
226
|
- test/test_package.rb
|
179
|
-
- test/test_parse_commands.rb
|
180
|
-
- test/test_process_commands.rb
|
181
|
-
- test/test_remote_fetcher.rb
|
182
|
-
- test/test_remote_installer.rb
|
183
|
-
- test/test_require_gem.rb
|
184
|
-
- test/test_source_index.rb
|
185
|
-
- test/test_specific_extras.rb
|
186
|
-
- test/test_specification.rb
|
187
|
-
- test/test_user_interaction.rb
|
188
|
-
- test/test_validator.rb
|
189
|
-
- test/test_version_comparison.rb
|
190
|
-
- test/testgem.rc
|
191
|
-
- test/user_capture.rb
|
192
|
-
- test/yaml_data.rb
|
193
|
-
- test/data/a-0.0.1.gem
|
194
|
-
- test/data/a-0.0.2.gem
|
195
|
-
- test/data/b-0.0.2.gem
|
196
|
-
- test/data/broken-1.0.0.gem
|
197
|
-
- test/data/broken_build
|
198
|
-
- test/data/c-1.2.gem
|
199
|
-
- test/data/gemhome
|
200
|
-
- test/data/legacy
|
201
|
-
- test/data/lib
|
202
|
-
- test/data/one
|
203
|
-
- test/data/post_install.gemspec
|
204
|
-
- test/data/PostMessage-0.0.1.gem
|
205
|
-
- test/data/broken_build/broken-build.gemspec
|
206
|
-
- test/data/broken_build/ext
|
207
|
-
- test/data/broken_build/ext/extconf.rb
|
208
|
-
- test/data/broken_build/ext/foo.c
|
209
|
-
- test/data/gemhome/cache
|
210
|
-
- test/data/gemhome/doc
|
211
|
-
- test/data/gemhome/gems
|
212
|
-
- test/data/gemhome/specifications
|
213
|
-
- test/data/gemhome/cache/a-0.0.1.gem
|
214
|
-
- test/data/gemhome/cache/a-0.0.2.gem
|
215
|
-
- test/data/gemhome/cache/b-0.0.2.gem
|
216
|
-
- test/data/gemhome/cache/c-1.2.gem
|
217
|
-
- test/data/gemhome/gems/a-0.0.1
|
218
|
-
- test/data/gemhome/gems/a-0.0.2
|
219
|
-
- test/data/gemhome/gems/b-0.0.2
|
220
|
-
- test/data/gemhome/gems/c-1.2
|
221
|
-
- test/data/gemhome/gems/a-0.0.1/lib
|
222
|
-
- test/data/gemhome/gems/a-0.0.1/lib/code.rb
|
223
|
-
- test/data/gemhome/gems/a-0.0.2/lib
|
224
|
-
- test/data/gemhome/gems/a-0.0.2/lib/code.rb
|
225
|
-
- test/data/gemhome/gems/b-0.0.2/lib
|
226
|
-
- test/data/gemhome/gems/b-0.0.2/lib/code.rb
|
227
|
-
- test/data/gemhome/gems/c-1.2/lib
|
228
|
-
- test/data/gemhome/gems/c-1.2/lib/code.rb
|
229
|
-
- test/data/gemhome/specifications/a-0.0.1.gemspec
|
230
|
-
- test/data/gemhome/specifications/a-0.0.2.gemspec
|
231
|
-
- test/data/gemhome/specifications/b-0.0.2.gemspec
|
232
|
-
- test/data/gemhome/specifications/c-1.2.gemspec
|
233
|
-
- test/data/legacy/keyedlist-0.4.0.ruby
|
234
|
-
- test/data/legacy/keyedlist-0.4.0.yaml
|
235
|
-
- test/data/lib/code.rb
|
236
|
-
- test/data/one/lib
|
237
|
-
- test/data/one/one-0.0.1.gem
|
238
|
-
- test/data/one/one.gemspec
|
239
|
-
- test/data/one/one.yaml
|
240
|
-
- test/data/one/README.one
|
241
|
-
- test/data/one/lib/one.rb
|
242
|
-
- test/fake_certlib/openssl.rb
|
243
|
-
- test/mock/gems
|
244
|
-
- test/mock/gems/cache
|
245
|
-
- test/mock/gems/doc
|
246
|
-
- test/mock/gems/gems
|
247
|
-
- test/mock/gems/specifications
|
248
|
-
- test/mock/gems/gems/sources-0.0.1
|
249
|
-
- test/mock/gems/gems/sources-0.0.1/lib
|
250
|
-
- test/mock/gems/gems/sources-0.0.1/lib/sources.rb
|
251
|
-
- test/mock/gems/specifications/sources-0.0.1.gemspec
|
252
227
|
- .document
|
253
228
|
test_files: []
|
254
229
|
|