rubygems-update 0.8.11 → 0.9.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/ChangeLog +199 -1
- data/README +6 -4
- data/Rakefile +46 -14
- data/bin/gem +6 -0
- data/bin/gem_mirror +7 -1
- data/bin/gem_server +3 -5
- data/bin/gemlock +127 -0
- data/bin/gemri +24 -0
- data/bin/gemwhich +39 -11
- data/bin/index_gem_repository.rb +280 -0
- data/bin/update_rubygems +6 -0
- data/doc/makedoc.rb +7 -1
- data/examples/application/lib/somefunctionality.rb +6 -0
- data/lib/gemconfigure.rb +6 -0
- data/lib/rbconfig/datadir.rb +24 -0
- data/lib/rubygems.rb +90 -24
- data/lib/rubygems/builder.rb +6 -0
- data/lib/rubygems/cmd_manager.rb +36 -30
- data/lib/rubygems/command.rb +90 -29
- data/lib/rubygems/config_file.rb +45 -2
- data/lib/rubygems/custom_require.rb +12 -6
- data/lib/rubygems/dependency_list.rb +6 -0
- data/lib/rubygems/doc_manager.rb +79 -34
- data/lib/rubygems/format.rb +6 -0
- data/lib/rubygems/gem_commands.rb +209 -88
- data/lib/rubygems/gem_openssl.rb +12 -0
- data/lib/rubygems/gem_runner.rb +25 -10
- data/lib/rubygems/incremental_fetcher.rb +136 -0
- data/lib/rubygems/installer.rb +103 -28
- data/lib/rubygems/loadpath_manager.rb +6 -0
- data/lib/rubygems/old_format.rb +6 -0
- data/lib/rubygems/open-uri.rb +231 -79
- data/lib/rubygems/package.rb +5 -3
- data/lib/rubygems/remote_installer.rb +89 -52
- data/lib/rubygems/rubygems_version.rb +1 -1
- data/lib/rubygems/security.rb +6 -0
- data/lib/rubygems/source_index.rb +115 -52
- data/lib/rubygems/specification.rb +92 -76
- data/lib/rubygems/timer.rb +6 -0
- data/lib/rubygems/user_interaction.rb +88 -4
- data/lib/rubygems/validator.rb +6 -0
- data/lib/rubygems/version.rb +6 -0
- data/lib/ubygems.rb +6 -0
- data/post-install.rb +6 -0
- data/scripts/buildtests.rb +6 -0
- data/scripts/gemdoc.rb +6 -0
- data/scripts/runtest.rb +6 -0
- data/scripts/specdoc.rb +6 -0
- data/scripts/upload_gemdoc.rb +6 -0
- data/test/bogussources.rb +6 -2
- 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/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 +6 -0
- data/test/data/gemhome/gems/a-0.0.2/lib/code.rb +6 -0
- data/test/data/gemhome/gems/b-0.0.2/lib/code.rb +6 -0
- data/test/data/gemhome/gems/c-1.2/lib/code.rb +6 -0
- data/test/data/gemhome/specifications/a-0.0.1.gemspec +1 -1
- data/test/data/gemhome/specifications/a-0.0.2.gemspec +1 -1
- data/test/data/gemhome/specifications/b-0.0.2.gemspec +1 -1
- data/test/data/gemhome/specifications/c-1.2.gemspec +1 -1
- data/test/data/lib/code.rb +6 -0
- data/test/data/one/lib/one.rb +6 -0
- data/test/data/one/one-0.0.1.gem +0 -0
- data/test/data/post_install.gemspec +19 -0
- data/test/fake_certlib/openssl.rb +6 -0
- data/test/functional.rb +15 -1
- data/test/functional_generate_yaml_index.rb +101 -0
- data/test/gemenvironment.rb +8 -0
- data/test/gemutilities.rb +18 -2
- data/test/insure_session.rb +6 -0
- data/test/mock/gems/gems/sources-0.0.1/lib/sources.rb +6 -0
- data/test/mockgemui.rb +6 -0
- data/test/onegem.rb +12 -0
- data/test/simple_gem.rb +6 -0
- data/test/test_builder.rb +6 -0
- data/test/test_cached_fetcher.rb +6 -0
- data/test/test_check_command.rb +6 -0
- data/test/test_command.rb +6 -0
- data/test/test_configfile.rb +6 -0
- data/test/test_datadir.rb +32 -0
- data/test/test_dependency_list.rb +6 -0
- data/test/test_file_list.rb +6 -0
- data/test/test_format.rb +6 -0
- data/test/test_gemloadpaths.rb +6 -0
- data/test/test_gempaths.rb +11 -1
- data/test/test_incremental_fetcher.rb +175 -0
- data/test/test_installer.rb +30 -3
- data/test/test_loadmanager.rb +6 -0
- data/test/test_local_cache.rb +8 -2
- data/test/test_package.rb +6 -0
- data/test/test_parse_commands.rb +8 -2
- data/test/test_process_commands.rb +31 -0
- data/test/test_remote_fetcher.rb +47 -5
- data/test/test_remote_installer.rb +6 -0
- data/test/test_require_gem.rb +6 -0
- data/test/test_source_index.rb +27 -0
- data/test/test_specific_extras.rb +6 -0
- data/test/test_specification.rb +30 -0
- data/test/test_validator.rb +6 -0
- data/test/test_version_comparison.rb +6 -0
- data/test/testgem.rc +1 -0
- data/test/user_capture.rb +6 -0
- data/test/yaml_data.rb +8 -4
- metadata +187 -173
- data/bin/generate_yaml_index.rb +0 -78
- data/lib/rubygems/deployment.rb +0 -267
- data/test/test_deployment.rb +0 -93
data/test/test_loadmanager.rb
CHANGED
data/test/test_local_cache.rb
CHANGED
@@ -1,4 +1,10 @@
|
|
1
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
|
+
|
2
8
|
|
3
9
|
require 'test/gemutilities'
|
4
10
|
require 'rubygems/remote_installer'
|
@@ -8,7 +14,7 @@ class TestLocalCache < RubyGemTestCase
|
|
8
14
|
|
9
15
|
def setup
|
10
16
|
super
|
11
|
-
@lc = Gem::
|
17
|
+
@lc = Gem::SourceInfoCache.new
|
12
18
|
prep_cache_files(@lc)
|
13
19
|
end
|
14
20
|
|
@@ -28,7 +34,7 @@ class TestLocalCache < RubyGemTestCase
|
|
28
34
|
def test_use_user_cache_when_sys_no_writable
|
29
35
|
FileUtils.chmod 0544, @lc.system_cache_file
|
30
36
|
|
31
|
-
@lc = Gem::
|
37
|
+
@lc = Gem::SourceInfoCache.new
|
32
38
|
assert_equal "usr", @lc.cache_data['key']
|
33
39
|
end
|
34
40
|
|
data/test/test_package.rb
CHANGED
data/test/test_parse_commands.rb
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
#--
|
2
|
+
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
3
|
+
# All rights reserved.
|
4
|
+
# See LICENSE.txt for permissions.
|
5
|
+
#++
|
6
|
+
|
1
7
|
require 'test/unit'
|
2
8
|
$:.unshift '../lib'
|
3
9
|
require 'rubygems'
|
@@ -49,7 +55,7 @@ class TestParseCommands < Test::Unit::TestCase
|
|
49
55
|
assert_equal :local, check_options[:domain]
|
50
56
|
assert_equal false, check_options[:wrappers]
|
51
57
|
assert_equal '3.0', check_options[:version]
|
52
|
-
assert_equal
|
58
|
+
assert_equal Dir.pwd, check_options[:install_dir]
|
53
59
|
|
54
60
|
#check remote domain
|
55
61
|
check_options = nil
|
@@ -175,7 +181,7 @@ class TestParseCommands < Test::Unit::TestCase
|
|
175
181
|
assert_equal true, check_options[:test]
|
176
182
|
assert_equal true, check_options[:generate_rdoc]
|
177
183
|
assert_equal true, check_options[:force]
|
178
|
-
assert_equal
|
184
|
+
assert_equal Dir.pwd, check_options[:install_dir]
|
179
185
|
end
|
180
186
|
|
181
187
|
end
|
@@ -1,3 +1,9 @@
|
|
1
|
+
#--
|
2
|
+
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
3
|
+
# All rights reserved.
|
4
|
+
# See LICENSE.txt for permissions.
|
5
|
+
#++
|
6
|
+
|
1
7
|
require 'test/unit'
|
2
8
|
$:.unshift '../lib'
|
3
9
|
require 'rubygems'
|
@@ -5,6 +11,18 @@ Gem::manage_gems
|
|
5
11
|
|
6
12
|
require 'test/mockgemui'
|
7
13
|
|
14
|
+
class InterruptCommand < Gem::Command
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
super('interrupt', 'Raises an Interrupt Exception', {})
|
18
|
+
end
|
19
|
+
|
20
|
+
def execute
|
21
|
+
raise Interrupt
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
|
8
26
|
class TestProcessCommands < Test::Unit::TestCase
|
9
27
|
include Gem::DefaultUserInteraction
|
10
28
|
|
@@ -18,4 +36,17 @@ class TestProcessCommands < Test::Unit::TestCase
|
|
18
36
|
assert_match /LOCAL GEMS/, ui.output
|
19
37
|
end
|
20
38
|
end
|
39
|
+
|
40
|
+
def test_run_interrupt
|
41
|
+
use_ui(MockGemUi.new) do
|
42
|
+
@cmd_manager.register_command InterruptCommand.new
|
43
|
+
assert_raises MockGemUi::TermError do
|
44
|
+
@cmd_manager.run 'interrupt'
|
45
|
+
end
|
46
|
+
assert_equal '', ui.output
|
47
|
+
assert_equal "ERROR: Interrupted\n", ui.error
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
21
51
|
end
|
52
|
+
|
data/test/test_remote_fetcher.rb
CHANGED
@@ -1,4 +1,10 @@
|
|
1
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
|
+
|
2
8
|
|
3
9
|
require 'test/unit'
|
4
10
|
require 'zlib'
|
@@ -49,25 +55,56 @@ class TestRemoteFetcher < Test::Unit::TestCase
|
|
49
55
|
end
|
50
56
|
end
|
51
57
|
|
58
|
+
def test_explicit_proxy_with_user_auth
|
59
|
+
use_ui(MockGemUi.new) do
|
60
|
+
fetcher = Gem::RemoteSourceFetcher.new("http://localhost:12344", "http://foo:bar@localhost:12345")
|
61
|
+
proxy = fetcher.instance_variable_get("@proxy_uri")
|
62
|
+
assert_equal 'foo', proxy.user
|
63
|
+
assert_equal 'bar', proxy.password
|
64
|
+
assert_equal PROXY_DATA, fetcher.fetch_path("/yaml")
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
def test_explicit_proxy_with_user_auth_in_env
|
69
|
+
use_ui(MockGemUi.new) do
|
70
|
+
ENV['http_proxy'] = 'http://localhost:12345'
|
71
|
+
ENV['http_proxy_user'] = 'foo'
|
72
|
+
ENV['http_proxy_pass'] = 'bar'
|
73
|
+
fetcher = Gem::RemoteSourceFetcher.new("http://localhost:12344", nil)
|
74
|
+
proxy = fetcher.instance_variable_get("@proxy_uri")
|
75
|
+
assert_equal 'foo', proxy.user
|
76
|
+
assert_equal 'bar', proxy.password
|
77
|
+
assert_equal PROXY_DATA, fetcher.fetch_path("/yaml")
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
def test_implicit_no_proxy
|
82
|
+
use_ui(MockGemUi.new) do
|
83
|
+
ENV['http_proxy'] = 'http://fakeurl:12345'
|
84
|
+
fetcher = Gem::RemoteSourceFetcher.new("http://localhost:12344", :no_proxy)
|
85
|
+
assert_equal YAML_DATA, fetcher.fetch_path("/yaml")
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
52
89
|
def test_implicit_proxy
|
53
90
|
use_ui(MockGemUi.new) do
|
54
91
|
ENV['http_proxy'] = 'http://localhost:12345'
|
55
|
-
fetcher = Gem::RemoteSourceFetcher.new("http://localhost:12344",
|
92
|
+
fetcher = Gem::RemoteSourceFetcher.new("http://localhost:12344", nil)
|
56
93
|
assert_equal PROXY_DATA, fetcher.fetch_path("/yaml")
|
57
94
|
end
|
58
95
|
end
|
59
96
|
|
60
97
|
def test_implicit_upper_case_proxy
|
61
98
|
use_ui(MockGemUi.new) do
|
62
|
-
ENV['
|
63
|
-
fetcher = Gem::RemoteSourceFetcher.new("http://localhost:12344",
|
99
|
+
ENV['http_proxy'] = 'http://localhost:12345'
|
100
|
+
fetcher = Gem::RemoteSourceFetcher.new("http://localhost:12344", nil)
|
64
101
|
assert_equal PROXY_DATA, fetcher.fetch_path("/yaml")
|
65
102
|
end
|
66
103
|
end
|
67
104
|
|
68
105
|
def test_implicit_proxy_no_env
|
69
106
|
use_ui(MockGemUi.new) do
|
70
|
-
fetcher = Gem::RemoteSourceFetcher.new("http://localhost:12344",
|
107
|
+
fetcher = Gem::RemoteSourceFetcher.new("http://localhost:12344", nil)
|
71
108
|
assert_equal YAML_DATA, fetcher.fetch_path("/yaml")
|
72
109
|
end
|
73
110
|
end
|
@@ -107,6 +144,11 @@ class TestRemoteFetcher < Test::Unit::TestCase
|
|
107
144
|
assert got_exception, "Expected exception conforming to #{exception_class}"
|
108
145
|
end
|
109
146
|
|
147
|
+
class NilLog < Log
|
148
|
+
def log(level, data) #Do nothing
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
110
152
|
class << self
|
111
153
|
attr_reader :normal_server, :proxy_server
|
112
154
|
attr_accessor :enable_zip, :enable_yaml
|
@@ -123,7 +165,7 @@ class TestRemoteFetcher < Test::Unit::TestCase
|
|
123
165
|
def start_server(port, data)
|
124
166
|
Thread.new do
|
125
167
|
begin
|
126
|
-
null_logger =
|
168
|
+
null_logger = NilLog.new
|
127
169
|
s = HTTPServer.new(
|
128
170
|
:Port => port,
|
129
171
|
:DocumentRoot => ".",
|
data/test/test_require_gem.rb
CHANGED
data/test/test_source_index.rb
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
#--
|
2
|
+
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
3
|
+
# All rights reserved.
|
4
|
+
# See LICENSE.txt for permissions.
|
5
|
+
#++
|
6
|
+
|
1
7
|
require 'test/unit'
|
2
8
|
require 'rubygems'
|
3
9
|
Gem::manage_gems
|
@@ -18,6 +24,7 @@ class TestSourceIndex < Test::Unit::TestCase
|
|
18
24
|
end
|
19
25
|
|
20
26
|
def test_create_from_directory
|
27
|
+
# TODO
|
21
28
|
end
|
22
29
|
|
23
30
|
def test_search_for_missing_gem_returns_nothing
|
@@ -55,4 +62,24 @@ class TestSourceIndex < Test::Unit::TestCase
|
|
55
62
|
%{source_index.rb})
|
56
63
|
end
|
57
64
|
|
65
|
+
def test_specification_returns_a_spec
|
66
|
+
spec = @source_index.specification("foo-1.2.3")
|
67
|
+
assert_equal "foo", spec.name
|
68
|
+
assert_equal "foo-1.2.3", spec.full_name
|
69
|
+
end
|
70
|
+
|
71
|
+
def test_specification_with_incorrent_name_returns_nil
|
72
|
+
assert_nil @source_index.specification("foo-1.2.4")
|
73
|
+
end
|
74
|
+
|
75
|
+
def test_index_signature_is_reasonable
|
76
|
+
sig = @source_index.index_signature
|
77
|
+
assert_match /^[a-f0-9]{64}$/, sig
|
78
|
+
end
|
79
|
+
|
80
|
+
def test_gem_signature_returns_a_reasonable_signature
|
81
|
+
sig = @source_index.gem_signature('foo-1.2.3')
|
82
|
+
assert_match /^[a-f0-9]{64}$/, sig
|
83
|
+
end
|
84
|
+
|
58
85
|
end
|
data/test/test_specification.rb
CHANGED
@@ -1,4 +1,11 @@
|
|
1
|
+
#--
|
2
|
+
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
3
|
+
# All rights reserved.
|
4
|
+
# See LICENSE.txt for permissions.
|
5
|
+
#++
|
6
|
+
|
1
7
|
require 'test/unit'
|
8
|
+
require 'stringio'
|
2
9
|
require 'test/gemutilities'
|
3
10
|
require 'rubygems'
|
4
11
|
Gem::manage_gems
|
@@ -107,6 +114,7 @@ class TestSimpleSpecification < Test::Unit::TestCase
|
|
107
114
|
autorequire default_executable bindir has_rdoc required_ruby_version
|
108
115
|
platform files test_files rdoc_options extra_rdoc_files
|
109
116
|
executables extensions requirements dependencies signing_key cert_chain
|
117
|
+
post_install_message
|
110
118
|
}.sort
|
111
119
|
actual_value = Gem::Specification.attribute_names.map { |a| a.to_s }.sort
|
112
120
|
assert_equal expected_value, actual_value
|
@@ -378,4 +386,26 @@ class TestSpecificationClassMethods < Test::Unit::TestCase
|
|
378
386
|
assert_equal "one", gs.name
|
379
387
|
assert_equal "one-0.0.1", gs.full_name
|
380
388
|
end
|
389
|
+
|
390
|
+
def test_normalize_input_with_183_yaml
|
391
|
+
input = "!ruby/object:Gem::Specification "
|
392
|
+
assert_equal "--- #{input}", Gem::Specification.normalize_yaml_input(input)
|
393
|
+
end
|
394
|
+
|
395
|
+
def test_normalize_input_with_non_183_yaml
|
396
|
+
input = "--- !ruby/object:Gem::Specification "
|
397
|
+
assert_equal input, Gem::Specification.normalize_yaml_input(input)
|
398
|
+
end
|
399
|
+
|
400
|
+
def test_normalize_input_with_183_io
|
401
|
+
input = "!ruby/object:Gem::Specification "
|
402
|
+
assert_equal "--- #{input}",
|
403
|
+
Gem::Specification.normalize_yaml_input(StringIO.new(input))
|
404
|
+
end
|
405
|
+
|
406
|
+
def test_normalize_input_with_non_183_io
|
407
|
+
input = "--- !ruby/object:Gem::Specification "
|
408
|
+
assert_equal input,
|
409
|
+
Gem::Specification.normalize_yaml_input(StringIO.new(input))
|
410
|
+
end
|
381
411
|
end
|
data/test/test_validator.rb
CHANGED
data/test/testgem.rc
CHANGED
data/test/user_capture.rb
CHANGED
data/test/yaml_data.rb
CHANGED
@@ -1,6 +1,13 @@
|
|
1
|
+
#--
|
2
|
+
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
3
|
+
# All rights reserved.
|
4
|
+
# See LICENSE.txt for permissions.
|
5
|
+
#++
|
6
|
+
|
1
7
|
require 'yaml'
|
2
8
|
require 'rubygems'
|
3
9
|
require 'rubygems/source_index'
|
10
|
+
require 'rubygems/remote_installer'
|
4
11
|
|
5
12
|
YAML_DATA = <<EOS
|
6
13
|
--- !ruby/object:Gem::Cache
|
@@ -50,10 +57,7 @@ PROXY_DATA = YAML_DATA.gsub(/0.4.11/, '0.4.2')
|
|
50
57
|
def cache_hash(*uris)
|
51
58
|
result = Hash.new
|
52
59
|
uris.each do |uri|
|
53
|
-
result[uri] =
|
54
|
-
'size' => YAML_DATA.size,
|
55
|
-
'cache' => YAML.load(YAML_DATA)
|
56
|
-
}
|
60
|
+
result[uri] = Gem::SourceInfoCacheEntry.new(YAML.load(YAML_DATA), YAML_DATA.size)
|
57
61
|
end
|
58
62
|
result
|
59
63
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.8.
|
2
|
+
rubygems_version: 0.8.99.1
|
3
3
|
specification_version: 1
|
4
4
|
name: rubygems-update
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.
|
7
|
-
date:
|
6
|
+
version: 0.9.0
|
7
|
+
date: 2006-06-28 00:00:00 -04:00
|
8
8
|
summary: RubyGems Update GEM
|
9
9
|
require_paths:
|
10
|
-
|
10
|
+
- lib
|
11
11
|
email: rubygems-developers@rubyforge.org
|
12
12
|
homepage: http://rubygems.rubyforge.org
|
13
13
|
rubyforge_project: rubygems
|
@@ -18,184 +18,198 @@ bindir: bin
|
|
18
18
|
has_rdoc: false
|
19
19
|
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
20
|
requirements:
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
version: 0.0.0
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
25
24
|
version:
|
26
25
|
platform: ruby
|
27
26
|
signing_key:
|
28
27
|
cert_chain:
|
28
|
+
post_install_message:
|
29
29
|
authors:
|
30
|
-
|
30
|
+
- Jim Weirich
|
31
|
+
- Chad Fowler
|
31
32
|
files:
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
33
|
+
- Rakefile
|
34
|
+
- ChangeLog
|
35
|
+
- Releases
|
36
|
+
- TODO
|
37
|
+
- README
|
38
|
+
- setup.rb
|
39
|
+
- post-install.rb
|
40
|
+
- bin/gem
|
41
|
+
- bin/gem_mirror
|
42
|
+
- bin/gem_server
|
43
|
+
- bin/gemlock
|
44
|
+
- bin/gemri
|
45
|
+
- bin/gemwhich
|
46
|
+
- bin/index_gem_repository.rb
|
47
|
+
- bin/update_rubygems
|
48
|
+
- doc/doc.css
|
49
|
+
- doc/makedoc.rb
|
50
|
+
- examples/application
|
51
|
+
- examples/application/an-app.gemspec
|
52
|
+
- examples/application/bin
|
53
|
+
- examples/application/lib
|
54
|
+
- examples/application/bin/myapp
|
55
|
+
- examples/application/lib/somefunctionality.rb
|
56
|
+
- gemspecs/cgikit-1.1.0.gemspec
|
57
|
+
- gemspecs/jabber4r.gemspec
|
58
|
+
- gemspecs/linguistics.gemspec
|
59
|
+
- gemspecs/ook.gemspec
|
60
|
+
- gemspecs/progressbar.gemspec
|
61
|
+
- gemspecs/README
|
62
|
+
- gemspecs/redcloth.gemspec
|
63
|
+
- gemspecs/rublog.gemspec
|
64
|
+
- gemspecs/ruby-doom.gemspec
|
65
|
+
- gemspecs/rubyjdwp.gemspec
|
66
|
+
- gemspecs/statistics.gemspec
|
67
|
+
- lib/gemconfigure.rb
|
68
|
+
- lib/rubygems.rb
|
69
|
+
- lib/ubygems.rb
|
70
|
+
- lib/rbconfig/datadir.rb
|
71
|
+
- lib/rubygems/builder.rb
|
72
|
+
- lib/rubygems/cmd_manager.rb
|
73
|
+
- lib/rubygems/command.rb
|
74
|
+
- lib/rubygems/config_file.rb
|
75
|
+
- lib/rubygems/custom_require.rb
|
76
|
+
- lib/rubygems/dependency_list.rb
|
77
|
+
- lib/rubygems/doc_manager.rb
|
78
|
+
- lib/rubygems/format.rb
|
79
|
+
- lib/rubygems/gem_commands.rb
|
80
|
+
- lib/rubygems/gem_openssl.rb
|
81
|
+
- lib/rubygems/gem_runner.rb
|
82
|
+
- lib/rubygems/incremental_fetcher.rb
|
83
|
+
- lib/rubygems/installer.rb
|
84
|
+
- lib/rubygems/loadpath_manager.rb
|
85
|
+
- lib/rubygems/old_format.rb
|
86
|
+
- lib/rubygems/open-uri.rb
|
87
|
+
- lib/rubygems/package.rb
|
88
|
+
- lib/rubygems/remote_installer.rb
|
89
|
+
- lib/rubygems/rubygems_version.rb
|
90
|
+
- lib/rubygems/security.rb
|
91
|
+
- lib/rubygems/source_index.rb
|
92
|
+
- lib/rubygems/specification.rb
|
93
|
+
- lib/rubygems/timer.rb
|
94
|
+
- lib/rubygems/user_interaction.rb
|
95
|
+
- lib/rubygems/validator.rb
|
96
|
+
- lib/rubygems/version.rb
|
97
|
+
- pkgs/sources
|
98
|
+
- pkgs/sources/lib
|
99
|
+
- pkgs/sources/sources.gemspec
|
100
|
+
- pkgs/sources/lib/sources.rb
|
101
|
+
- redist/session.gem
|
102
|
+
- scripts/buildtests.rb
|
103
|
+
- scripts/gemdoc.rb
|
104
|
+
- scripts/runtest.rb
|
105
|
+
- scripts/specdoc.rb
|
106
|
+
- scripts/upload_gemdoc.rb
|
107
|
+
- test/bogussources.rb
|
108
|
+
- test/data
|
109
|
+
- test/fake_certlib
|
110
|
+
- test/functional.rb
|
111
|
+
- test/functional_generate_yaml_index.rb
|
112
|
+
- test/gemenvironment.rb
|
113
|
+
- test/gemutilities.rb
|
114
|
+
- test/insure_session.rb
|
115
|
+
- test/mock
|
116
|
+
- test/mockgemui.rb
|
117
|
+
- test/onegem.rb
|
118
|
+
- test/simple_gem.rb
|
119
|
+
- test/test_builder.rb
|
120
|
+
- test/test_cached_fetcher.rb
|
121
|
+
- test/test_check_command.rb
|
122
|
+
- test/test_command.rb
|
123
|
+
- test/test_configfile.rb
|
124
|
+
- test/test_datadir.rb
|
125
|
+
- test/test_dependency_list.rb
|
126
|
+
- test/test_file_list.rb
|
127
|
+
- test/test_format.rb
|
128
|
+
- test/test_gemloadpaths.rb
|
129
|
+
- test/test_gempaths.rb
|
130
|
+
- test/test_incremental_fetcher.rb
|
131
|
+
- test/test_installer.rb
|
132
|
+
- test/test_loadmanager.rb
|
133
|
+
- test/test_local_cache.rb
|
134
|
+
- test/test_package.rb
|
135
|
+
- test/test_parse_commands.rb
|
136
|
+
- test/test_process_commands.rb
|
137
|
+
- test/test_remote_fetcher.rb
|
138
|
+
- test/test_remote_installer.rb
|
139
|
+
- test/test_require_gem.rb
|
140
|
+
- test/test_source_index.rb
|
141
|
+
- test/test_specific_extras.rb
|
142
|
+
- test/test_specification.rb
|
143
|
+
- test/test_validator.rb
|
144
|
+
- test/test_version_comparison.rb
|
145
|
+
- test/testgem.rc
|
146
|
+
- test/user_capture.rb
|
147
|
+
- test/yaml_data.rb
|
148
|
+
- test/data/a-0.0.1.gem
|
149
|
+
- test/data/a-0.0.2.gem
|
150
|
+
- test/data/b-0.0.2.gem
|
151
|
+
- test/data/c-1.2.gem
|
152
|
+
- test/data/gemhome
|
153
|
+
- test/data/gems
|
154
|
+
- test/data/legacy
|
155
|
+
- test/data/lib
|
156
|
+
- test/data/one
|
157
|
+
- test/data/post_install.gemspec
|
158
|
+
- test/data/PostMessage-0.0.1.gem
|
159
|
+
- test/data/gemhome/cache
|
160
|
+
- test/data/gemhome/doc
|
161
|
+
- test/data/gemhome/gems
|
162
|
+
- test/data/gemhome/specifications
|
163
|
+
- test/data/gemhome/cache/a-0.0.1.gem
|
164
|
+
- test/data/gemhome/cache/a-0.0.2.gem
|
165
|
+
- test/data/gemhome/cache/b-0.0.2.gem
|
166
|
+
- test/data/gemhome/cache/c-1.2.gem
|
167
|
+
- test/data/gemhome/gems/a-0.0.1
|
168
|
+
- test/data/gemhome/gems/a-0.0.2
|
169
|
+
- test/data/gemhome/gems/b-0.0.2
|
170
|
+
- test/data/gemhome/gems/c-1.2
|
171
|
+
- test/data/gemhome/gems/a-0.0.1/lib
|
172
|
+
- test/data/gemhome/gems/a-0.0.1/lib/code.rb
|
173
|
+
- test/data/gemhome/gems/a-0.0.2/lib
|
174
|
+
- test/data/gemhome/gems/a-0.0.2/lib/code.rb
|
175
|
+
- test/data/gemhome/gems/b-0.0.2/lib
|
176
|
+
- test/data/gemhome/gems/b-0.0.2/lib/code.rb
|
177
|
+
- test/data/gemhome/gems/c-1.2/lib
|
178
|
+
- test/data/gemhome/gems/c-1.2/lib/code.rb
|
179
|
+
- test/data/gemhome/specifications/a-0.0.1.gemspec
|
180
|
+
- test/data/gemhome/specifications/a-0.0.2.gemspec
|
181
|
+
- test/data/gemhome/specifications/b-0.0.2.gemspec
|
182
|
+
- test/data/gemhome/specifications/c-1.2.gemspec
|
183
|
+
- test/data/legacy/keyedlist-0.4.0.ruby
|
184
|
+
- test/data/legacy/keyedlist-0.4.0.yaml
|
185
|
+
- test/data/lib/code.rb
|
186
|
+
- test/data/one/lib
|
187
|
+
- test/data/one/one-0.0.1.gem
|
188
|
+
- test/data/one/one.gemspec
|
189
|
+
- test/data/one/one.yaml
|
190
|
+
- test/data/one/README.one
|
191
|
+
- test/data/one/lib/one.rb
|
192
|
+
- test/fake_certlib/openssl.rb
|
193
|
+
- test/mock/gems
|
194
|
+
- test/mock/gems/cache
|
195
|
+
- test/mock/gems/doc
|
196
|
+
- test/mock/gems/gems
|
197
|
+
- test/mock/gems/specifications
|
198
|
+
- test/mock/gems/gems/sources-0.0.1
|
199
|
+
- test/mock/gems/gems/sources-0.0.1/lib
|
200
|
+
- test/mock/gems/gems/sources-0.0.1/lib/sources.rb
|
201
|
+
- test/mock/gems/specifications/sources-0.0.1.gemspec
|
194
202
|
test_files: []
|
203
|
+
|
195
204
|
rdoc_options: []
|
205
|
+
|
196
206
|
extra_rdoc_files: []
|
207
|
+
|
197
208
|
executables:
|
198
|
-
|
209
|
+
- update_rubygems
|
199
210
|
extensions: []
|
211
|
+
|
200
212
|
requirements: []
|
201
|
-
|
213
|
+
|
214
|
+
dependencies: []
|
215
|
+
|