rubygems-update 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rubygems-update might be problematic. Click here for more details.
- data/ChangeLog +60 -0
- data/lib/rubygems.rb +18 -15
- data/lib/rubygems/builder.rb +29 -23
- data/lib/rubygems/{cmd_manager.rb → command_manager.rb} +35 -24
- data/lib/rubygems/commands/build_command.rb +57 -0
- data/lib/rubygems/commands/cert_command.rb +83 -0
- data/lib/rubygems/commands/check_command.rb +74 -0
- data/lib/rubygems/commands/cleanup_command.rb +75 -0
- data/lib/rubygems/commands/contents_command.rb +66 -0
- data/lib/rubygems/commands/dependency_command.rb +105 -0
- data/lib/rubygems/commands/environment_command.rb +59 -0
- data/lib/rubygems/commands/help_command.rb +82 -0
- data/lib/rubygems/commands/install_command.rb +139 -0
- data/lib/rubygems/commands/list_command.rb +33 -0
- data/lib/rubygems/commands/outdated_command.rb +21 -0
- data/lib/rubygems/commands/pristine_command.rb +103 -0
- data/lib/rubygems/commands/query_command.rb +86 -0
- data/lib/rubygems/commands/rdoc_command.rb +75 -0
- data/lib/rubygems/commands/search_command.rb +35 -0
- data/lib/rubygems/commands/sources_command.rb +73 -0
- data/lib/rubygems/commands/specification_command.rb +58 -0
- data/lib/rubygems/commands/uninstall_command.rb +51 -0
- data/lib/rubygems/commands/unpack_command.rb +76 -0
- data/lib/rubygems/commands/update_command.rb +102 -0
- data/lib/rubygems/digest/digest_adapter.rb +40 -0
- data/lib/rubygems/digest/md5.rb +20 -0
- data/lib/rubygems/digest/sha1.rb +17 -0
- data/lib/rubygems/digest/sha2.rb +17 -0
- data/lib/rubygems/format.rb +1 -1
- data/lib/rubygems/gem_commands.rb +6 -1407
- data/lib/rubygems/gem_runner.rb +2 -2
- data/lib/rubygems/installer.rb +13 -5
- data/lib/rubygems/open-uri.rb +2 -2
- data/lib/rubygems/package.rb +13 -14
- data/lib/rubygems/rubygems_version.rb +1 -1
- data/lib/rubygems/source_index.rb +4 -4
- data/lib/rubygems/specification.rb +5 -0
- data/lib/rubygems/validator.rb +8 -8
- data/setup.rb +806 -588
- data/test/gemutilities.rb +2 -2
- data/test/test_builder.rb +15 -0
- data/test/test_check_command.rb +1 -1
- data/test/test_command.rb +1 -1
- data/test/test_gem_digest.rb +44 -0
- data/test/test_gem_outdated_command.rb +2 -1
- data/test/test_gem_sources_command.rb +11 -6
- data/test/test_installer.rb +1 -1
- data/test/test_open_uri.rb +14 -0
- data/test/test_parse_commands.rb +25 -25
- data/test/test_process_commands.rb +5 -5
- data/test/test_specific_extras.rb +1 -1
- data/test/test_validator.rb +3 -3
- metadata +30 -4
data/test/gemutilities.rb
CHANGED
@@ -59,7 +59,7 @@ class RubyGemTestCase < Test::Unit::TestCase
|
|
59
59
|
|
60
60
|
def setup
|
61
61
|
super
|
62
|
-
@tempdir = File.join Dir.tmpdir, "test_rubygems_#{$$}"
|
62
|
+
@tempdir = File.join Dir.tmpdir, "test_rubygems_#{$$}"
|
63
63
|
@gemhome = File.join @tempdir, "gemhome"
|
64
64
|
@gemcache = File.join(@gemhome, "source_cache")
|
65
65
|
@usrcache = File.join(@gemhome, ".gem", "user_cache")
|
@@ -75,7 +75,7 @@ class RubyGemTestCase < Test::Unit::TestCase
|
|
75
75
|
Gem::RemoteFetcher.instance_variable_set :@fetcher, nil
|
76
76
|
end
|
77
77
|
|
78
|
-
FileUtils.
|
78
|
+
FileUtils.rm_rf @tempdir
|
79
79
|
ENV['GEMCACHE'] = nil
|
80
80
|
Gem.clear_paths
|
81
81
|
Gem::SourceInfoCache.instance_variable_set :@cache, nil
|
data/test/test_builder.rb
CHANGED
@@ -7,8 +7,23 @@
|
|
7
7
|
require 'test/unit'
|
8
8
|
require 'rubygems'
|
9
9
|
Gem::manage_gems
|
10
|
+
require 'test/mockgemui'
|
10
11
|
|
11
12
|
class TestBuilder < Test::Unit::TestCase
|
13
|
+
def setup
|
14
|
+
@ui = MockGemUi.new
|
15
|
+
Gem::DefaultUserInteraction.ui = @ui
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_valid_specification_builds_successfully
|
19
|
+
spec = Gem::Specification.load(File.join(File.dirname(__FILE__), '/data/post_install.gemspec'))
|
20
|
+
builder = Gem::Builder.new(spec)
|
21
|
+
assert_nothing_raised {
|
22
|
+
builder.build
|
23
|
+
}
|
24
|
+
assert_match(/Successfully built RubyGem\n Name: PostMessage/, @ui.output)
|
25
|
+
end
|
26
|
+
|
12
27
|
def test_invalid_spec_does_not_build
|
13
28
|
spec = Gem::Specification.new
|
14
29
|
builder = Gem::Builder.new(spec)
|
data/test/test_check_command.rb
CHANGED
data/test/test_command.rb
CHANGED
@@ -0,0 +1,44 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
#--
|
3
|
+
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
4
|
+
# All rights reserved.
|
5
|
+
# See LICENSE.txt for permissions.
|
6
|
+
#++
|
7
|
+
|
8
|
+
require "test/unit"
|
9
|
+
require "rubygems/digest/md5"
|
10
|
+
require "rubygems/digest/sha1"
|
11
|
+
require "rubygems/digest/sha2"
|
12
|
+
|
13
|
+
class TestRubygemsGemDigest < Test::Unit::TestCase
|
14
|
+
def test_sha256_hex_digest_works
|
15
|
+
digester = Gem::SHA256.new
|
16
|
+
assert_equal "b5d4045c3f466fa91fe2cc6abe79232a1a57cdf104f7a26e716e0a1e2789df78", digester.hexdigest("ABC")
|
17
|
+
end
|
18
|
+
|
19
|
+
def test_sha256_digest_works
|
20
|
+
digester = Gem::SHA256.new
|
21
|
+
assert_equal "\265\324\004\\?Fo\251\037\342\314j\276y#*\032W\315\361\004\367\242nqn\n\036'\211\337x",
|
22
|
+
digester.digest("ABC")
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_sha1_hex_digest_works
|
26
|
+
digester = Gem::SHA1.new
|
27
|
+
assert_equal "3c01bdbb26f358bab27f267924aa2c9a03fcfdb8", digester.hexdigest("ABC")
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_sha1_digest_works
|
31
|
+
digester = Gem::SHA1.new
|
32
|
+
assert_equal "<\001\275\273&\363X\272\262\177&y$\252,\232\003\374\375\270", digester.digest("ABC")
|
33
|
+
end
|
34
|
+
|
35
|
+
def test_md5_hex_digest_works
|
36
|
+
digester = Gem::MD5.new
|
37
|
+
assert_equal "902fbdd2b1df0c4f70b4a5d23525e932", digester.hexdigest("ABC")
|
38
|
+
end
|
39
|
+
|
40
|
+
def test_md5_digest_works
|
41
|
+
digester = Gem::MD5.new
|
42
|
+
assert_equal "\220/\275\322\261\337\fOp\264\245\3225%\3512", digester.digest("ABC")
|
43
|
+
end
|
44
|
+
end
|
@@ -5,6 +5,7 @@ require 'rubygems/gem_commands'
|
|
5
5
|
class TestGemOutdatedCommand < RubyGemTestCase
|
6
6
|
|
7
7
|
def setup
|
8
|
+
Gem::CommandManager.instance
|
8
9
|
super
|
9
10
|
end
|
10
11
|
|
@@ -22,7 +23,7 @@ class TestGemOutdatedCommand < RubyGemTestCase
|
|
22
23
|
remote_20.full_name + ".gemspec"
|
23
24
|
FileUtils.rm remote_spec_file
|
24
25
|
|
25
|
-
oc = Gem::OutdatedCommand.new
|
26
|
+
oc = Gem::Commands::OutdatedCommand.new
|
26
27
|
|
27
28
|
util_setup_source_info_cache remote_10, remote_20
|
28
29
|
|
@@ -1,12 +1,17 @@
|
|
1
1
|
require 'test/unit'
|
2
2
|
require 'test/gemutilities'
|
3
|
-
require 'rubygems/
|
3
|
+
require 'rubygems/command_manager'
|
4
4
|
|
5
5
|
class TestGemSourcesCommand < RubyGemTestCase
|
6
6
|
|
7
|
+
def setup
|
8
|
+
super
|
9
|
+
Gem::CommandManager.instance # preload command objects
|
10
|
+
end
|
11
|
+
|
7
12
|
def test_execute
|
8
13
|
util_setup_source_info_cache
|
9
|
-
cmd = Gem::SourcesCommand.new
|
14
|
+
cmd = Gem::Commands::SourcesCommand.new
|
10
15
|
cmd.send :handle_options, []
|
11
16
|
|
12
17
|
ui = MockGemUi.new
|
@@ -31,7 +36,7 @@ http://gems.example.com
|
|
31
36
|
|
32
37
|
@fetcher.data['http://beta-gems.example.com/yaml'] = @si.to_yaml
|
33
38
|
|
34
|
-
cmd = Gem::SourcesCommand.new
|
39
|
+
cmd = Gem::Commands::SourcesCommand.new
|
35
40
|
cmd.send :handle_options, %w[--add http://beta-gems.example.com]
|
36
41
|
|
37
42
|
util_setup_source_info_cache
|
@@ -66,7 +71,7 @@ http://beta-gems.example.com added to sources
|
|
66
71
|
|
67
72
|
Gem::RemoteFetcher.instance_variable_set :@fetcher, @fetcher
|
68
73
|
|
69
|
-
cmd = Gem::SourcesCommand.new
|
74
|
+
cmd = Gem::Commands::SourcesCommand.new
|
70
75
|
cmd.send :handle_options, %w[--add http://beta-gems.example.com]
|
71
76
|
|
72
77
|
util_setup_source_info_cache
|
@@ -86,7 +91,7 @@ Error fetching http://beta-gems.example.com:
|
|
86
91
|
end
|
87
92
|
|
88
93
|
def test_execute_add_bad_uri
|
89
|
-
cmd = Gem::SourcesCommand.new
|
94
|
+
cmd = Gem::Commands::SourcesCommand.new
|
90
95
|
cmd.send :handle_options, %w[--add beta-gems.example.com]
|
91
96
|
|
92
97
|
util_setup_source_info_cache
|
@@ -105,7 +110,7 @@ beta-gems.example.com is not a URI
|
|
105
110
|
end
|
106
111
|
|
107
112
|
def test_execute_remove
|
108
|
-
cmd = Gem::SourcesCommand.new
|
113
|
+
cmd = Gem::Commands::SourcesCommand.new
|
109
114
|
cmd.send :handle_options, %w[--remove http://gems.example.com]
|
110
115
|
|
111
116
|
util_setup_source_info_cache
|
data/test/test_installer.rb
CHANGED
@@ -103,7 +103,7 @@ class TestInstaller < RubyGemTestCase
|
|
103
103
|
@installer.extract_files 'somedir', nil
|
104
104
|
end
|
105
105
|
|
106
|
-
assert_equal '
|
106
|
+
assert_equal 'format required to extract from', e.message
|
107
107
|
end
|
108
108
|
|
109
109
|
def test_extract_files_relative
|
data/test/test_parse_commands.rb
CHANGED
@@ -14,13 +14,13 @@ class TestParseCommands < Test::Unit::TestCase
|
|
14
14
|
include Gem::DefaultUserInteraction
|
15
15
|
|
16
16
|
def setup
|
17
|
-
@
|
17
|
+
@command_manager = Gem::CommandManager.new
|
18
18
|
end
|
19
19
|
|
20
20
|
def test_parsing_bad_options
|
21
21
|
use_ui(MockGemUi.new) do
|
22
22
|
assert_raises(MockGemUi::TermError) {
|
23
|
-
@
|
23
|
+
@command_manager.process_args("--bad-arg")
|
24
24
|
}
|
25
25
|
assert_match(/invalid option: --bad-arg/i, ui.error)
|
26
26
|
end
|
@@ -30,13 +30,13 @@ class TestParseCommands < Test::Unit::TestCase
|
|
30
30
|
#capture all install options
|
31
31
|
use_ui(MockGemUi.new) do
|
32
32
|
check_options = nil
|
33
|
-
@
|
33
|
+
@command_manager['install'].when_invoked do |options|
|
34
34
|
check_options = options
|
35
35
|
true
|
36
36
|
end
|
37
37
|
|
38
38
|
#check defaults
|
39
|
-
@
|
39
|
+
@command_manager.process_args("install")
|
40
40
|
assert_equal false, check_options[:test]
|
41
41
|
assert_equal true, check_options[:generate_rdoc]
|
42
42
|
assert_equal false, check_options[:force]
|
@@ -47,7 +47,7 @@ class TestParseCommands < Test::Unit::TestCase
|
|
47
47
|
|
48
48
|
#check settings
|
49
49
|
check_options = nil
|
50
|
-
@
|
50
|
+
@command_manager.process_args(
|
51
51
|
"install --force --test --local --rdoc --install-dir . --version 3.0 --no-wrapper")
|
52
52
|
assert_equal true, check_options[:test]
|
53
53
|
assert_equal true, check_options[:generate_rdoc]
|
@@ -59,17 +59,17 @@ class TestParseCommands < Test::Unit::TestCase
|
|
59
59
|
|
60
60
|
#check remote domain
|
61
61
|
check_options = nil
|
62
|
-
@
|
62
|
+
@command_manager.process_args("install --remote")
|
63
63
|
assert_equal :remote, check_options[:domain]
|
64
64
|
|
65
65
|
#check both domain
|
66
66
|
check_options = nil
|
67
|
-
@
|
67
|
+
@command_manager.process_args("install --both")
|
68
68
|
assert_equal :both, check_options[:domain]
|
69
69
|
|
70
70
|
#check both domain
|
71
71
|
check_options = nil
|
72
|
-
@
|
72
|
+
@command_manager.process_args("install --both")
|
73
73
|
assert_equal :both, check_options[:domain]
|
74
74
|
end
|
75
75
|
end
|
@@ -77,18 +77,18 @@ class TestParseCommands < Test::Unit::TestCase
|
|
77
77
|
def test_parsing_uninstall_options
|
78
78
|
#capture all uninstall options
|
79
79
|
check_options = nil
|
80
|
-
@
|
80
|
+
@command_manager['uninstall'].when_invoked do |options|
|
81
81
|
check_options = options
|
82
82
|
true
|
83
83
|
end
|
84
84
|
|
85
85
|
#check defaults
|
86
|
-
@
|
86
|
+
@command_manager.process_args("uninstall")
|
87
87
|
assert_equal "> 0", check_options[:version]
|
88
88
|
|
89
89
|
#check settings
|
90
90
|
check_options = nil
|
91
|
-
@
|
91
|
+
@command_manager.process_args("uninstall foobar --version 3.0")
|
92
92
|
assert_equal "foobar", check_options[:args].first
|
93
93
|
assert_equal "3.0", check_options[:version]
|
94
94
|
end
|
@@ -96,19 +96,19 @@ class TestParseCommands < Test::Unit::TestCase
|
|
96
96
|
def test_parsing_check_options
|
97
97
|
#capture all check options
|
98
98
|
check_options = nil
|
99
|
-
@
|
99
|
+
@command_manager['check'].when_invoked do |options|
|
100
100
|
check_options = options
|
101
101
|
true
|
102
102
|
end
|
103
103
|
|
104
104
|
#check defaults
|
105
|
-
@
|
105
|
+
@command_manager.process_args("check")
|
106
106
|
assert_equal false, check_options[:verify]
|
107
107
|
assert_equal false, check_options[:alien]
|
108
108
|
|
109
109
|
#check settings
|
110
110
|
check_options = nil
|
111
|
-
@
|
111
|
+
@command_manager.process_args("check --verify foobar --alien")
|
112
112
|
assert_equal "foobar", check_options[:verify]
|
113
113
|
assert_equal true, check_options[:alien]
|
114
114
|
end
|
@@ -116,68 +116,68 @@ class TestParseCommands < Test::Unit::TestCase
|
|
116
116
|
def test_parsing_build_options
|
117
117
|
#capture all build options
|
118
118
|
check_options = nil
|
119
|
-
@
|
119
|
+
@command_manager['build'].when_invoked do |options|
|
120
120
|
check_options = options
|
121
121
|
true
|
122
122
|
end
|
123
123
|
|
124
124
|
#check defaults
|
125
|
-
@
|
125
|
+
@command_manager.process_args("build")
|
126
126
|
#NOTE: Currently no defaults
|
127
127
|
|
128
128
|
#check settings
|
129
129
|
check_options = nil
|
130
|
-
@
|
130
|
+
@command_manager.process_args("build foobar.rb")
|
131
131
|
assert_equal 'foobar.rb', check_options[:args].first
|
132
132
|
end
|
133
133
|
|
134
134
|
def test_parsing_query_options
|
135
135
|
#capture all query options
|
136
136
|
check_options = nil
|
137
|
-
@
|
137
|
+
@command_manager['query'].when_invoked do |options|
|
138
138
|
check_options = options
|
139
139
|
true
|
140
140
|
end
|
141
141
|
|
142
142
|
#check defaults
|
143
|
-
@
|
143
|
+
@command_manager.process_args("query")
|
144
144
|
assert_equal(/.*/, check_options[:name])
|
145
145
|
assert_equal :local, check_options[:domain]
|
146
146
|
assert_equal false, check_options[:details]
|
147
147
|
|
148
148
|
#check settings
|
149
149
|
check_options = nil
|
150
|
-
@
|
150
|
+
@command_manager.process_args("query --name foobar --local --details")
|
151
151
|
assert_equal(/foobar/i, check_options[:name])
|
152
152
|
assert_equal :local, check_options[:domain]
|
153
153
|
assert_equal true, check_options[:details]
|
154
154
|
|
155
155
|
#remote domain
|
156
156
|
check_options = nil
|
157
|
-
@
|
157
|
+
@command_manager.process_args("query --remote")
|
158
158
|
assert_equal :remote, check_options[:domain]
|
159
159
|
|
160
160
|
#both (local/remote) domains
|
161
161
|
check_options = nil
|
162
|
-
@
|
162
|
+
@command_manager.process_args("query --both")
|
163
163
|
assert_equal :both, check_options[:domain]
|
164
164
|
end
|
165
165
|
|
166
166
|
def test_parsing_update_options
|
167
167
|
#capture all update options
|
168
168
|
check_options = nil
|
169
|
-
@
|
169
|
+
@command_manager['update'].when_invoked do |options|
|
170
170
|
check_options = options
|
171
171
|
true
|
172
172
|
end
|
173
173
|
|
174
174
|
#check defaults
|
175
|
-
@
|
175
|
+
@command_manager.process_args("update")
|
176
176
|
assert_equal true, check_options[:generate_rdoc]
|
177
177
|
|
178
178
|
#check settings
|
179
179
|
check_options = nil
|
180
|
-
@
|
180
|
+
@command_manager.process_args("update --force --test --rdoc --install-dir .")
|
181
181
|
assert_equal true, check_options[:test]
|
182
182
|
assert_equal true, check_options[:generate_rdoc]
|
183
183
|
assert_equal true, check_options[:force]
|
@@ -18,7 +18,7 @@ class InterruptCommand < Gem::Command
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def execute
|
21
|
-
raise Interrupt
|
21
|
+
raise Interrupt, "Interrupt exception"
|
22
22
|
end
|
23
23
|
|
24
24
|
end
|
@@ -27,21 +27,21 @@ class TestProcessCommands < Test::Unit::TestCase
|
|
27
27
|
include Gem::DefaultUserInteraction
|
28
28
|
|
29
29
|
def setup
|
30
|
-
@
|
30
|
+
@command_manager = Gem::CommandManager.new
|
31
31
|
end
|
32
32
|
|
33
33
|
def test_query_command
|
34
34
|
use_ui(MockGemUi.new) do
|
35
|
-
@
|
35
|
+
@command_manager.process_args "query"
|
36
36
|
assert_match(/LOCAL GEMS/, ui.output)
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
40
|
def test_run_interrupt
|
41
41
|
use_ui(MockGemUi.new) do
|
42
|
-
@
|
42
|
+
@command_manager.register_command :interrupt
|
43
43
|
assert_raises MockGemUi::TermError do
|
44
|
-
@
|
44
|
+
@command_manager.run 'interrupt'
|
45
45
|
end
|
46
46
|
assert_equal '', ui.output
|
47
47
|
assert_equal "ERROR: Interrupted\n", ui.error
|
data/test/test_validator.rb
CHANGED
@@ -30,9 +30,9 @@ class TestValidator < Test::Unit::TestCase
|
|
30
30
|
# TODO: Since the new format does not support MD5 checking, the
|
31
31
|
# following code will not throw an exception. So we disable this
|
32
32
|
# assertion for now.
|
33
|
-
#
|
34
|
-
#
|
35
|
-
#
|
33
|
+
# assert_raises(Gem::VerificationError) {
|
34
|
+
# Gem::Validator.new.verify_gem(@simple_gem.reverse)
|
35
|
+
# }
|
36
36
|
end
|
37
37
|
|
38
38
|
def test_simple_valid_gem_verifies
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.
|
2
|
+
rubygems_version: 0.9.3
|
3
3
|
specification_version: 1
|
4
4
|
name: rubygems-update
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.9.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.9.3
|
7
|
+
date: 2007-05-10 00:00:00 -04:00
|
8
8
|
summary: RubyGems Update GEM
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -75,8 +75,8 @@ files:
|
|
75
75
|
- lib/ubygems.rb
|
76
76
|
- lib/rbconfig/datadir.rb
|
77
77
|
- lib/rubygems/builder.rb
|
78
|
-
- lib/rubygems/cmd_manager.rb
|
79
78
|
- lib/rubygems/command.rb
|
79
|
+
- lib/rubygems/command_manager.rb
|
80
80
|
- lib/rubygems/config_file.rb
|
81
81
|
- lib/rubygems/custom_require.rb
|
82
82
|
- lib/rubygems/dependency_list.rb
|
@@ -103,6 +103,30 @@ files:
|
|
103
103
|
- lib/rubygems/user_interaction.rb
|
104
104
|
- lib/rubygems/validator.rb
|
105
105
|
- lib/rubygems/version.rb
|
106
|
+
- lib/rubygems/commands/build_command.rb
|
107
|
+
- lib/rubygems/commands/cert_command.rb
|
108
|
+
- lib/rubygems/commands/check_command.rb
|
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
|
106
130
|
- pkgs/sources
|
107
131
|
- pkgs/sources/lib
|
108
132
|
- pkgs/sources/sources.gemspec
|
@@ -137,6 +161,7 @@ files:
|
|
137
161
|
- test/test_file_list.rb
|
138
162
|
- test/test_format.rb
|
139
163
|
- test/test_gem.rb
|
164
|
+
- test/test_gem_digest.rb
|
140
165
|
- test/test_gem_ext_configure_builder.rb
|
141
166
|
- test/test_gem_ext_ext_conf_builder.rb
|
142
167
|
- test/test_gem_ext_rake_builder.rb
|
@@ -148,6 +173,7 @@ files:
|
|
148
173
|
- test/test_gempaths.rb
|
149
174
|
- test/test_installer.rb
|
150
175
|
- test/test_loadmanager.rb
|
176
|
+
- test/test_open_uri.rb
|
151
177
|
- test/test_package.rb
|
152
178
|
- test/test_parse_commands.rb
|
153
179
|
- test/test_process_commands.rb
|