slimgems 1.3.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. data/ChangeLog +5811 -0
  2. data/History.txt +887 -0
  3. data/LICENSE.txt +51 -0
  4. data/README.md +87 -0
  5. data/Rakefile +120 -0
  6. data/bin/gem +25 -0
  7. data/bin/update_slimgems +35 -0
  8. data/bootstrap/Rakefile +4 -0
  9. data/hide_lib_for_update/note.txt +5 -0
  10. data/lib/gauntlet_rubygems.rb +50 -0
  11. data/lib/rbconfig/datadir.rb +20 -0
  12. data/lib/rubygems.rb +1220 -0
  13. data/lib/rubygems/builder.rb +102 -0
  14. data/lib/rubygems/command.rb +534 -0
  15. data/lib/rubygems/command_manager.rb +182 -0
  16. data/lib/rubygems/commands/build_command.rb +53 -0
  17. data/lib/rubygems/commands/cert_command.rb +86 -0
  18. data/lib/rubygems/commands/check_command.rb +80 -0
  19. data/lib/rubygems/commands/cleanup_command.rb +106 -0
  20. data/lib/rubygems/commands/contents_command.rb +98 -0
  21. data/lib/rubygems/commands/dependency_command.rb +195 -0
  22. data/lib/rubygems/commands/environment_command.rb +132 -0
  23. data/lib/rubygems/commands/fetch_command.rb +67 -0
  24. data/lib/rubygems/commands/generate_index_command.rb +133 -0
  25. data/lib/rubygems/commands/help_command.rb +172 -0
  26. data/lib/rubygems/commands/install_command.rb +178 -0
  27. data/lib/rubygems/commands/list_command.rb +35 -0
  28. data/lib/rubygems/commands/lock_command.rb +110 -0
  29. data/lib/rubygems/commands/mirror_command.rb +111 -0
  30. data/lib/rubygems/commands/outdated_command.rb +33 -0
  31. data/lib/rubygems/commands/owner_command.rb +75 -0
  32. data/lib/rubygems/commands/pristine_command.rb +93 -0
  33. data/lib/rubygems/commands/push_command.rb +56 -0
  34. data/lib/rubygems/commands/query_command.rb +280 -0
  35. data/lib/rubygems/commands/rdoc_command.rb +91 -0
  36. data/lib/rubygems/commands/search_command.rb +31 -0
  37. data/lib/rubygems/commands/server_command.rb +86 -0
  38. data/lib/rubygems/commands/setup_command.rb +387 -0
  39. data/lib/rubygems/commands/sources_command.rb +157 -0
  40. data/lib/rubygems/commands/specification_command.rb +125 -0
  41. data/lib/rubygems/commands/stale_command.rb +27 -0
  42. data/lib/rubygems/commands/uninstall_command.rb +83 -0
  43. data/lib/rubygems/commands/unpack_command.rb +121 -0
  44. data/lib/rubygems/commands/update_command.rb +212 -0
  45. data/lib/rubygems/commands/which_command.rb +86 -0
  46. data/lib/rubygems/config_file.rb +345 -0
  47. data/lib/rubygems/custom_require.rb +44 -0
  48. data/lib/rubygems/defaults.rb +101 -0
  49. data/lib/rubygems/dependency.rb +227 -0
  50. data/lib/rubygems/dependency_installer.rb +286 -0
  51. data/lib/rubygems/dependency_list.rb +208 -0
  52. data/lib/rubygems/doc_manager.rb +242 -0
  53. data/lib/rubygems/errors.rb +35 -0
  54. data/lib/rubygems/exceptions.rb +91 -0
  55. data/lib/rubygems/ext.rb +18 -0
  56. data/lib/rubygems/ext/builder.rb +56 -0
  57. data/lib/rubygems/ext/configure_builder.rb +25 -0
  58. data/lib/rubygems/ext/ext_conf_builder.rb +24 -0
  59. data/lib/rubygems/ext/rake_builder.rb +39 -0
  60. data/lib/rubygems/format.rb +81 -0
  61. data/lib/rubygems/gem_openssl.rb +92 -0
  62. data/lib/rubygems/gem_path_searcher.rb +100 -0
  63. data/lib/rubygems/gem_runner.rb +79 -0
  64. data/lib/rubygems/gemcutter_utilities.rb +49 -0
  65. data/lib/rubygems/indexer.rb +720 -0
  66. data/lib/rubygems/install_update_options.rb +125 -0
  67. data/lib/rubygems/installer.rb +604 -0
  68. data/lib/rubygems/local_remote_options.rb +135 -0
  69. data/lib/rubygems/old_format.rb +153 -0
  70. data/lib/rubygems/package.rb +97 -0
  71. data/lib/rubygems/package/f_sync_dir.rb +23 -0
  72. data/lib/rubygems/package/tar_header.rb +266 -0
  73. data/lib/rubygems/package/tar_input.rb +222 -0
  74. data/lib/rubygems/package/tar_output.rb +144 -0
  75. data/lib/rubygems/package/tar_reader.rb +106 -0
  76. data/lib/rubygems/package/tar_reader/entry.rb +141 -0
  77. data/lib/rubygems/package/tar_writer.rb +241 -0
  78. data/lib/rubygems/package_task.rb +126 -0
  79. data/lib/rubygems/platform.rb +183 -0
  80. data/lib/rubygems/remote_fetcher.rb +414 -0
  81. data/lib/rubygems/require_paths_builder.rb +18 -0
  82. data/lib/rubygems/requirement.rb +153 -0
  83. data/lib/rubygems/security.rb +814 -0
  84. data/lib/rubygems/server.rb +872 -0
  85. data/lib/rubygems/source_index.rb +597 -0
  86. data/lib/rubygems/source_info_cache.rb +395 -0
  87. data/lib/rubygems/source_info_cache_entry.rb +56 -0
  88. data/lib/rubygems/spec_fetcher.rb +337 -0
  89. data/lib/rubygems/specification.rb +1486 -0
  90. data/lib/rubygems/test_utilities.rb +147 -0
  91. data/lib/rubygems/text.rb +65 -0
  92. data/lib/rubygems/uninstaller.rb +278 -0
  93. data/lib/rubygems/user_interaction.rb +527 -0
  94. data/lib/rubygems/validator.rb +240 -0
  95. data/lib/rubygems/version.rb +316 -0
  96. data/lib/rubygems/version_option.rb +65 -0
  97. data/lib/ubygems.rb +10 -0
  98. data/setup.rb +42 -0
  99. data/test/bogussources.rb +8 -0
  100. data/test/data/gem-private_key.pem +27 -0
  101. data/test/data/gem-public_cert.pem +20 -0
  102. data/test/fake_certlib/openssl.rb +7 -0
  103. data/test/foo/discover.rb +0 -0
  104. data/test/functional.rb +92 -0
  105. data/test/gem_installer_test_case.rb +97 -0
  106. data/test/gem_package_tar_test_case.rb +132 -0
  107. data/test/gemutilities.rb +605 -0
  108. data/test/insure_session.rb +43 -0
  109. data/test/mockgemui.rb +56 -0
  110. data/test/plugin/exception/rubygems_plugin.rb +2 -0
  111. data/test/plugin/load/rubygems_plugin.rb +1 -0
  112. data/test/plugin/standarderror/rubygems_plugin.rb +2 -0
  113. data/test/private_key.pem +27 -0
  114. data/test/public_cert.pem +20 -0
  115. data/test/rubygems_plugin.rb +21 -0
  116. data/test/simple_gem.rb +66 -0
  117. data/test/test_config.rb +12 -0
  118. data/test/test_gem.rb +766 -0
  119. data/test/test_gem_builder.rb +27 -0
  120. data/test/test_gem_command.rb +178 -0
  121. data/test/test_gem_command_manager.rb +207 -0
  122. data/test/test_gem_commands_build_command.rb +74 -0
  123. data/test/test_gem_commands_cert_command.rb +124 -0
  124. data/test/test_gem_commands_check_command.rb +18 -0
  125. data/test/test_gem_commands_contents_command.rb +156 -0
  126. data/test/test_gem_commands_dependency_command.rb +216 -0
  127. data/test/test_gem_commands_environment_command.rb +144 -0
  128. data/test/test_gem_commands_fetch_command.rb +76 -0
  129. data/test/test_gem_commands_generate_index_command.rb +135 -0
  130. data/test/test_gem_commands_install_command.rb +315 -0
  131. data/test/test_gem_commands_list_command.rb +36 -0
  132. data/test/test_gem_commands_lock_command.rb +68 -0
  133. data/test/test_gem_commands_mirror_command.rb +60 -0
  134. data/test/test_gem_commands_outdated_command.rb +40 -0
  135. data/test/test_gem_commands_owner_command.rb +105 -0
  136. data/test/test_gem_commands_pristine_command.rb +108 -0
  137. data/test/test_gem_commands_push_command.rb +81 -0
  138. data/test/test_gem_commands_query_command.rb +426 -0
  139. data/test/test_gem_commands_server_command.rb +59 -0
  140. data/test/test_gem_commands_sources_command.rb +209 -0
  141. data/test/test_gem_commands_specification_command.rb +139 -0
  142. data/test/test_gem_commands_stale_command.rb +38 -0
  143. data/test/test_gem_commands_uninstall_command.rb +83 -0
  144. data/test/test_gem_commands_unpack_command.rb +199 -0
  145. data/test/test_gem_commands_update_command.rb +353 -0
  146. data/test/test_gem_commands_which_command.rb +66 -0
  147. data/test/test_gem_config_file.rb +287 -0
  148. data/test/test_gem_dependency.rb +149 -0
  149. data/test/test_gem_dependency_installer.rb +661 -0
  150. data/test/test_gem_dependency_list.rb +230 -0
  151. data/test/test_gem_doc_manager.rb +31 -0
  152. data/test/test_gem_ext_configure_builder.rb +84 -0
  153. data/test/test_gem_ext_ext_conf_builder.rb +173 -0
  154. data/test/test_gem_ext_rake_builder.rb +81 -0
  155. data/test/test_gem_format.rb +70 -0
  156. data/test/test_gem_gem_path_searcher.rb +78 -0
  157. data/test/test_gem_gem_runner.rb +45 -0
  158. data/test/test_gem_gemcutter_utilities.rb +103 -0
  159. data/test/test_gem_indexer.rb +673 -0
  160. data/test/test_gem_install_update_options.rb +68 -0
  161. data/test/test_gem_installer.rb +857 -0
  162. data/test/test_gem_local_remote_options.rb +97 -0
  163. data/test/test_gem_package_tar_header.rb +130 -0
  164. data/test/test_gem_package_tar_input.rb +112 -0
  165. data/test/test_gem_package_tar_output.rb +97 -0
  166. data/test/test_gem_package_tar_reader.rb +46 -0
  167. data/test/test_gem_package_tar_reader_entry.rb +109 -0
  168. data/test/test_gem_package_tar_writer.rb +144 -0
  169. data/test/test_gem_package_task.rb +59 -0
  170. data/test/test_gem_platform.rb +264 -0
  171. data/test/test_gem_remote_fetcher.rb +740 -0
  172. data/test/test_gem_requirement.rb +292 -0
  173. data/test/test_gem_server.rb +356 -0
  174. data/test/test_gem_silent_ui.rb +113 -0
  175. data/test/test_gem_source_index.rb +461 -0
  176. data/test/test_gem_spec_fetcher.rb +410 -0
  177. data/test/test_gem_specification.rb +1291 -0
  178. data/test/test_gem_stream_ui.rb +218 -0
  179. data/test/test_gem_text.rb +43 -0
  180. data/test/test_gem_uninstaller.rb +146 -0
  181. data/test/test_gem_validator.rb +63 -0
  182. data/test/test_gem_version.rb +181 -0
  183. data/test/test_gem_version_option.rb +89 -0
  184. data/test/test_kernel.rb +59 -0
  185. metadata +413 -0
@@ -0,0 +1,181 @@
1
+ require File.expand_path('../gemutilities', __FILE__)
2
+ require "rubygems/version"
3
+
4
+ class TestGemVersion < RubyGemTestCase
5
+
6
+ def test_bump
7
+ assert_bumped_version_equal "5.3", "5.2.4"
8
+ end
9
+
10
+ def test_bump_alpha
11
+ assert_bumped_version_equal "5.3", "5.2.4.a"
12
+ end
13
+
14
+ def test_bump_alphanumeric
15
+ assert_bumped_version_equal "5.3", "5.2.4.a10"
16
+ end
17
+
18
+ def test_bump_trailing_zeros
19
+ assert_bumped_version_equal "5.1", "5.0.0"
20
+ end
21
+
22
+ def test_bump_one_level
23
+ assert_bumped_version_equal "6", "5"
24
+ end
25
+
26
+ # FIX: For "legacy reasons," any object that responds to +version+
27
+ # is returned unchanged. I'm not certain why.
28
+
29
+ def test_class_create
30
+ fake = Object.new
31
+ def fake.version; "1.0" end
32
+
33
+ assert_same fake, Gem::Version.create(fake)
34
+ assert_nil Gem::Version.create(nil)
35
+ assert_equal v("5.1"), Gem::Version.create("5.1")
36
+ end
37
+
38
+ def test_eql_eh
39
+ assert_version_eql "1.2", "1.2"
40
+ refute_version_eql "1.2", "1.2.0"
41
+ refute_version_eql "1.2", "1.3"
42
+ refute_version_eql "1.2.b1", "1.2.b.1"
43
+ end
44
+
45
+ def test_equals2
46
+ assert_version_equal "1.2", "1.2"
47
+ refute_version_equal "1.2", "1.3"
48
+ assert_version_equal "1.2.b1", "1.2.b.1"
49
+ end
50
+
51
+ # REVISIT: consider removing as too impl-bound
52
+ def test_hash
53
+ assert_equal v("1.2").hash, v("1.2").hash
54
+ refute_equal v("1.2").hash, v("1.3").hash
55
+ refute_equal v("1.2").hash, v("1.2.0").hash
56
+ end
57
+
58
+ def test_initialize
59
+ ["1.0", "1.0 ", " 1.0 ", "1.0\n", "\n1.0\n"].each do |good|
60
+ assert_version_equal "1.0", good
61
+ end
62
+
63
+ assert_version_equal "1", 1
64
+ end
65
+
66
+ def test_initialize_bad
67
+ ["junk", "1.0\n2.0"].each do |bad|
68
+ e = assert_raises ArgumentError do
69
+ Gem::Version.new bad
70
+ end
71
+
72
+ assert_equal "Malformed version number string #{bad}", e.message
73
+ end
74
+ end
75
+
76
+ def test_prerelease
77
+ assert_prerelease "1.2.0.a"
78
+ assert_prerelease "2.9.b"
79
+ assert_prerelease "22.1.50.0.d"
80
+ assert_prerelease "1.2.d.42"
81
+
82
+ assert_prerelease '1.A'
83
+
84
+ refute_prerelease "1.2.0"
85
+ refute_prerelease "2.9"
86
+ refute_prerelease "22.1.50.0"
87
+ end
88
+
89
+ def test_release
90
+ assert_release_equal "1.2.0", "1.2.0.a"
91
+ assert_release_equal "1.1", "1.1.rc10"
92
+ assert_release_equal "1.9.3", "1.9.3.alpha.5"
93
+ assert_release_equal "1.9.3", "1.9.3"
94
+ end
95
+
96
+ def test_spaceship
97
+ assert_equal( 0, v("1.0") <=> v("1.0.0"))
98
+ assert_equal( 1, v("1.0") <=> v("1.0.a"))
99
+ assert_equal( 1, v("1.8.2") <=> v("0.0.0"))
100
+ assert_equal( 1, v("1.8.2") <=> v("1.8.2.a"))
101
+ assert_equal( 1, v("1.8.2.b") <=> v("1.8.2.a"))
102
+ assert_equal(-1, v("1.8.2.a") <=> v("1.8.2"))
103
+ assert_equal( 1, v("1.8.2.a10") <=> v("1.8.2.a9"))
104
+ assert_equal( 0, v("") <=> v("0"))
105
+
106
+ assert_nil v("1.0") <=> "whatever"
107
+ end
108
+
109
+ def test_spermy_recommendation
110
+ assert_spermy_equal "~> 1.0", "1"
111
+ assert_spermy_equal "~> 1.0", "1.0"
112
+ assert_spermy_equal "~> 1.2", "1.2"
113
+ assert_spermy_equal "~> 1.2", "1.2.0"
114
+ assert_spermy_equal "~> 1.2", "1.2.3"
115
+ assert_spermy_equal "~> 1.2", "1.2.3.a.4"
116
+ end
117
+
118
+ def test_to_s
119
+ assert_equal "5.2.4", v("5.2.4").to_s
120
+ end
121
+
122
+ # Asserts that +version+ is a prerelease.
123
+
124
+ def assert_prerelease version
125
+ assert v(version).prerelease?, "#{version} is a prerelease"
126
+ end
127
+
128
+ # Assert that +expected+ is the "spermy" recommendation for +version".
129
+
130
+ def assert_spermy_equal expected, version
131
+ assert_equal expected, v(version).spermy_recommendation
132
+ end
133
+
134
+ # Assert that bumping the +unbumped+ version yields the +expected+.
135
+
136
+ def assert_bumped_version_equal expected, unbumped
137
+ assert_version_equal expected, v(unbumped).bump
138
+ end
139
+
140
+ # Assert that +release+ is the correct non-prerelease +version+.
141
+
142
+ def assert_release_equal release, version
143
+ assert_version_equal release, v(version).release
144
+ end
145
+
146
+ # Assert that two versions are equal. Handles strings or
147
+ # Gem::Version instances.
148
+
149
+ def assert_version_equal expected, actual
150
+ assert_equal v(expected), v(actual)
151
+ end
152
+
153
+ # Assert that two versions are eql?. Checks both directions.
154
+
155
+ def assert_version_eql first, second
156
+ first, second = v(first), v(second)
157
+ assert first.eql?(second), "#{first} is eql? #{second}"
158
+ assert second.eql?(first), "#{second} is eql? #{first}"
159
+ end
160
+
161
+ # Refute the assumption that +version+ is a prerelease.
162
+
163
+ def refute_prerelease version
164
+ refute v(version).prerelease?, "#{version} is NOT a prerelease"
165
+ end
166
+
167
+ # Refute the assumption that two versions are eql?. Checks both
168
+ # directions.
169
+
170
+ def refute_version_eql first, second
171
+ first, second = v(first), v(second)
172
+ refute first.eql?(second), "#{first} is NOT eql? #{second}"
173
+ refute second.eql?(first), "#{second} is NOT eql? #{first}"
174
+ end
175
+
176
+ # Refute the assumption that the two versions are equal?.
177
+
178
+ def refute_version_equal unexpected, actual
179
+ refute_equal v(unexpected), v(actual)
180
+ end
181
+ end
@@ -0,0 +1,89 @@
1
+ require File.expand_path('../gemutilities', __FILE__)
2
+ require 'rubygems/command'
3
+ require 'rubygems/version_option'
4
+
5
+ class TestGemVersionOption < RubyGemTestCase
6
+
7
+ def setup
8
+ super
9
+
10
+ @cmd = Gem::Command.new 'dummy', 'dummy'
11
+ @cmd.extend Gem::VersionOption
12
+ end
13
+
14
+ def test_add_platform_option
15
+ @cmd.add_platform_option
16
+
17
+ assert @cmd.handles?(%w[--platform x86-darwin])
18
+ end
19
+
20
+ def test_add_version_option
21
+ @cmd.add_version_option
22
+
23
+ assert @cmd.handles?(%w[--version >1])
24
+ end
25
+
26
+ def test_enables_prerelease
27
+ @cmd.add_version_option
28
+
29
+ @cmd.handle_options %w[mygem -v 0.2.0.a]
30
+ assert @cmd.options[:prerelease]
31
+
32
+ @cmd.handle_options %w[mygem -v 0.2.0]
33
+ refute @cmd.options[:prerelease]
34
+
35
+ @cmd.handle_options %w[mygem]
36
+ refute @cmd.options[:prerelease]
37
+ end
38
+
39
+ def test_platform_option
40
+ @cmd.add_platform_option
41
+
42
+ @cmd.handle_options %w[--platform x86-freebsd6 --platform x86-freebsd7]
43
+
44
+ expected = [
45
+ Gem::Platform::RUBY,
46
+ Gem::Platform.new('x86-freebsd6'),
47
+ Gem::Platform.new('x86-freebsd7'),
48
+ ]
49
+
50
+ assert_equal expected, Gem.platforms
51
+ end
52
+
53
+ def test_platform_option_ruby
54
+ @cmd.add_platform_option
55
+
56
+ @cmd.handle_options %w[--platform ruby]
57
+
58
+ expected = [
59
+ Gem::Platform::RUBY
60
+ ]
61
+
62
+ assert_equal expected, Gem.platforms
63
+ end
64
+
65
+ def test_platform_option_twice
66
+ @cmd.add_platform_option
67
+
68
+ @cmd.handle_options %w[--platform x86-freebsd6 --platform x86-freebsd-6]
69
+
70
+ expected = [
71
+ Gem::Platform::RUBY,
72
+ Gem::Platform.new('x86-freebsd6'),
73
+ ]
74
+
75
+ assert_equal expected, Gem.platforms
76
+ end
77
+
78
+ def test_version_option
79
+ @cmd.add_version_option
80
+
81
+ @cmd.handle_options %w[--version >1]
82
+
83
+ expected = { :version => Gem::Requirement.new('> 1'), :args => [] }
84
+
85
+ assert_equal expected, @cmd.options
86
+ end
87
+
88
+ end
89
+
@@ -0,0 +1,59 @@
1
+ require File.expand_path('../gemutilities', __FILE__)
2
+ require 'rubygems/package'
3
+
4
+ class TestKernel < RubyGemTestCase
5
+
6
+ def setup
7
+ super
8
+
9
+ @old_path = $:.dup
10
+
11
+ util_make_gems
12
+ end
13
+
14
+ def teardown
15
+ super
16
+
17
+ $:.replace @old_path
18
+ end
19
+
20
+ def test_gem
21
+ assert gem('a', '= 1'), "Should load"
22
+ assert $:.any? { |p| %r{a-1/lib} =~ p }
23
+ assert $:.any? { |p| %r{a-1/bin} =~ p }
24
+ end
25
+
26
+ def test_gem_redundent
27
+ assert gem('a', '= 1'), "Should load"
28
+ refute gem('a', '= 1'), "Should not load"
29
+ assert_equal 1, $:.select { |p| %r{a-1/lib} =~ p }.size
30
+ assert_equal 1, $:.select { |p| %r{a-1/bin} =~ p }.size
31
+ end
32
+
33
+ def test_gem_overlapping
34
+ assert gem('a', '= 1'), "Should load"
35
+ refute gem('a', '>= 1'), "Should not load"
36
+ assert_equal 1, $:.select { |p| %r{a-1/lib} =~ p }.size
37
+ assert_equal 1, $:.select { |p| %r{a-1/bin} =~ p }.size
38
+ end
39
+
40
+ def test_gem_conflicting
41
+ assert gem('a', '= 1'), "Should load"
42
+
43
+ ex = assert_raises Gem::LoadError do
44
+ gem 'a', '= 2'
45
+ end
46
+
47
+ assert_match(/activate a \(= 2, runtime\)/, ex.message)
48
+ assert_match(/activated a-1/, ex.message)
49
+ assert_equal 'a', ex.name
50
+ assert_equal Gem::Requirement.new('= 2'), ex.version_requirement
51
+
52
+ assert $:.any? { |p| %r{a-1/lib} =~ p }
53
+ assert $:.any? { |p| %r{a-1/bin} =~ p }
54
+ refute $:.any? { |p| %r{a-2/lib} =~ p }
55
+ refute $:.any? { |p| %r{a-2/bin} =~ p }
56
+ end
57
+
58
+ end
59
+
metadata ADDED
@@ -0,0 +1,413 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: slimgems
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 1.3.8
6
+ platform: ruby
7
+ authors:
8
+ - Jim Weirich
9
+ - Chad Fowler
10
+ - Eric Hodel
11
+ - Loren Segal
12
+ autorequire:
13
+ bindir: bin
14
+ cert_chain: []
15
+
16
+ date: 2011-06-01 00:00:00 -04:00
17
+ default_executable:
18
+ dependencies: []
19
+
20
+ description: |
21
+ # SlimGems
22
+
23
+ * Website: http://slimgems.github.com/
24
+ * Github: http://github.com/slimgems/slimgems
25
+ * Get gems from: http://rubygems.org
26
+
27
+ ## Description
28
+
29
+ SlimGems is a drop-in replacement for RubyGems, a package management framework
30
+ for Ruby. We forked the project at 1.3.7, which was a great stable release.
31
+
32
+ SlimGems focuses on maintaining a sane and stable API. We believe that the
33
+ project has been put through enough stress testing by the community to lock
34
+ into the current API functionality for the forseeable future. We will also
35
+ continue to improve the runtime performance over time; we can do this
36
+ without changing the API.
37
+
38
+ ## Project Goals
39
+
40
+ 1. A fast package manager that "Just Works". We will attempt to make SlimGems
41
+ as fast as possible and believe it can be done without breaking the existing
42
+ API.
43
+
44
+ 2. A consistent and stable API. Deprecations will not occur without ample
45
+ warning to library developers *before* a release. Deprecations will not
46
+ necessarily mean removed methods or runtime warnings, and we will consult
47
+ with the community if widely used APIs ever need to be removed.
48
+
49
+ 3. Receptive and friendly project maintainers. We will listen to your bugs
50
+ and suggestions without deriding you. We believe the community deserves
51
+ a voice in matters that affect package management tools, and we respect
52
+ that voice.
53
+
54
+ 4. Improved communication with the community about future plans. We believe
55
+ it's important to keep the community informed about major changes. We will
56
+ discuss our rationale for any changes that might cause problems for other
57
+ library developers.
58
+
59
+ ## What Do I Have to do Differently to Use SlimGems?
60
+
61
+ Nothing. We maintain the same install paths, APIs and overall runtime environment
62
+ that RubyGems had. The only difference is that we have no intention on changing
63
+ this environment in future upgrades. You can upgrade safely knowing that the
64
+ newer versions of SlimGems will still be compatible with all of your code.
65
+
66
+ In short, yes, "require 'rubygems'" still works.
67
+
68
+ ## Installing and Upgrading
69
+
70
+ If you're on RubyGems, you can easily upgrade to SlimGems by typing:
71
+
72
+ $ gem install slimgems
73
+
74
+ You can do this from SlimGems too, but if you have SlimGems already, upgrading
75
+ works better with:
76
+
77
+ $ gem update --system
78
+
79
+ If you don't have any RubyGems or SlimGems install, there is still the pre-gem
80
+ approach to getting software, doing it manually:
81
+
82
+ 1. Download from: http://github.com/slimgems/slimgems
83
+ 2. Unpack into a directory and cd there
84
+ 3. Install with: ruby setup.rb # you may need admin/root privilege
85
+
86
+ For more details and other options, see:
87
+
88
+ ruby setup.rb --help
89
+
90
+ ## Uninstalling
91
+
92
+ If SlimGems isn't for you, you can downgrade back to RubyGems by performing
93
+ the following intuitive command:
94
+
95
+ $ gem uninstall slimgems
96
+
97
+ Again, you might need to have administrator privileges (sudo) to run these
98
+ commands.
99
+
100
+ ## Notes about this SlimGems Fork
101
+
102
+ SlimGems is a RubyGems fork of RubyGems 1.3.7 and a limited set of backports
103
+ from 1.5.2. SlimGems is maintained by Loren Segal and others. SlimGems will
104
+ provide continual improvements with a stable API.
105
+
106
+ You can download the original RubyGems project at
107
+ http://rubyforge.org/projects/rubygems
108
+
109
+ email: lsegal@soen.ca
110
+ executables:
111
+ - update_slimgems
112
+ extensions:
113
+ - bootstrap/Rakefile
114
+ extra_rdoc_files: []
115
+
116
+ files:
117
+ - bin/gem
118
+ - bin/update_slimgems
119
+ - bootstrap/Rakefile
120
+ - hide_lib_for_update/note.txt
121
+ - lib/gauntlet_rubygems.rb
122
+ - lib/rbconfig/datadir.rb
123
+ - lib/rubygems/builder.rb
124
+ - lib/rubygems/command.rb
125
+ - lib/rubygems/command_manager.rb
126
+ - lib/rubygems/commands/build_command.rb
127
+ - lib/rubygems/commands/cert_command.rb
128
+ - lib/rubygems/commands/check_command.rb
129
+ - lib/rubygems/commands/cleanup_command.rb
130
+ - lib/rubygems/commands/contents_command.rb
131
+ - lib/rubygems/commands/dependency_command.rb
132
+ - lib/rubygems/commands/environment_command.rb
133
+ - lib/rubygems/commands/fetch_command.rb
134
+ - lib/rubygems/commands/generate_index_command.rb
135
+ - lib/rubygems/commands/help_command.rb
136
+ - lib/rubygems/commands/install_command.rb
137
+ - lib/rubygems/commands/list_command.rb
138
+ - lib/rubygems/commands/lock_command.rb
139
+ - lib/rubygems/commands/mirror_command.rb
140
+ - lib/rubygems/commands/outdated_command.rb
141
+ - lib/rubygems/commands/owner_command.rb
142
+ - lib/rubygems/commands/pristine_command.rb
143
+ - lib/rubygems/commands/push_command.rb
144
+ - lib/rubygems/commands/query_command.rb
145
+ - lib/rubygems/commands/rdoc_command.rb
146
+ - lib/rubygems/commands/search_command.rb
147
+ - lib/rubygems/commands/server_command.rb
148
+ - lib/rubygems/commands/setup_command.rb
149
+ - lib/rubygems/commands/sources_command.rb
150
+ - lib/rubygems/commands/specification_command.rb
151
+ - lib/rubygems/commands/stale_command.rb
152
+ - lib/rubygems/commands/uninstall_command.rb
153
+ - lib/rubygems/commands/unpack_command.rb
154
+ - lib/rubygems/commands/update_command.rb
155
+ - lib/rubygems/commands/which_command.rb
156
+ - lib/rubygems/config_file.rb
157
+ - lib/rubygems/custom_require.rb
158
+ - lib/rubygems/defaults.rb
159
+ - lib/rubygems/dependency.rb
160
+ - lib/rubygems/dependency_installer.rb
161
+ - lib/rubygems/dependency_list.rb
162
+ - lib/rubygems/doc_manager.rb
163
+ - lib/rubygems/errors.rb
164
+ - lib/rubygems/exceptions.rb
165
+ - lib/rubygems/ext/builder.rb
166
+ - lib/rubygems/ext/configure_builder.rb
167
+ - lib/rubygems/ext/ext_conf_builder.rb
168
+ - lib/rubygems/ext/rake_builder.rb
169
+ - lib/rubygems/ext.rb
170
+ - lib/rubygems/format.rb
171
+ - lib/rubygems/gem_openssl.rb
172
+ - lib/rubygems/gem_path_searcher.rb
173
+ - lib/rubygems/gem_runner.rb
174
+ - lib/rubygems/gemcutter_utilities.rb
175
+ - lib/rubygems/indexer.rb
176
+ - lib/rubygems/install_update_options.rb
177
+ - lib/rubygems/installer.rb
178
+ - lib/rubygems/local_remote_options.rb
179
+ - lib/rubygems/old_format.rb
180
+ - lib/rubygems/package/f_sync_dir.rb
181
+ - lib/rubygems/package/tar_header.rb
182
+ - lib/rubygems/package/tar_input.rb
183
+ - lib/rubygems/package/tar_output.rb
184
+ - lib/rubygems/package/tar_reader/entry.rb
185
+ - lib/rubygems/package/tar_reader.rb
186
+ - lib/rubygems/package/tar_writer.rb
187
+ - lib/rubygems/package.rb
188
+ - lib/rubygems/package_task.rb
189
+ - lib/rubygems/platform.rb
190
+ - lib/rubygems/remote_fetcher.rb
191
+ - lib/rubygems/require_paths_builder.rb
192
+ - lib/rubygems/requirement.rb
193
+ - lib/rubygems/security.rb
194
+ - lib/rubygems/server.rb
195
+ - lib/rubygems/source_index.rb
196
+ - lib/rubygems/source_info_cache.rb
197
+ - lib/rubygems/source_info_cache_entry.rb
198
+ - lib/rubygems/spec_fetcher.rb
199
+ - lib/rubygems/specification.rb
200
+ - lib/rubygems/test_utilities.rb
201
+ - lib/rubygems/text.rb
202
+ - lib/rubygems/uninstaller.rb
203
+ - lib/rubygems/user_interaction.rb
204
+ - lib/rubygems/validator.rb
205
+ - lib/rubygems/version.rb
206
+ - lib/rubygems/version_option.rb
207
+ - lib/rubygems.rb
208
+ - lib/ubygems.rb
209
+ - test/bogussources.rb
210
+ - test/data/gem-private_key.pem
211
+ - test/data/gem-public_cert.pem
212
+ - test/fake_certlib/openssl.rb
213
+ - test/foo/discover.rb
214
+ - test/functional.rb
215
+ - test/gem_installer_test_case.rb
216
+ - test/gem_package_tar_test_case.rb
217
+ - test/gemutilities.rb
218
+ - test/insure_session.rb
219
+ - test/mockgemui.rb
220
+ - test/plugin/exception/rubygems_plugin.rb
221
+ - test/plugin/load/rubygems_plugin.rb
222
+ - test/plugin/standarderror/rubygems_plugin.rb
223
+ - test/private_key.pem
224
+ - test/public_cert.pem
225
+ - test/rubygems_plugin.rb
226
+ - test/simple_gem.rb
227
+ - test/test_config.rb
228
+ - test/test_gem.rb
229
+ - test/test_gem_builder.rb
230
+ - test/test_gem_command.rb
231
+ - test/test_gem_command_manager.rb
232
+ - test/test_gem_commands_build_command.rb
233
+ - test/test_gem_commands_cert_command.rb
234
+ - test/test_gem_commands_check_command.rb
235
+ - test/test_gem_commands_contents_command.rb
236
+ - test/test_gem_commands_dependency_command.rb
237
+ - test/test_gem_commands_environment_command.rb
238
+ - test/test_gem_commands_fetch_command.rb
239
+ - test/test_gem_commands_generate_index_command.rb
240
+ - test/test_gem_commands_install_command.rb
241
+ - test/test_gem_commands_list_command.rb
242
+ - test/test_gem_commands_lock_command.rb
243
+ - test/test_gem_commands_mirror_command.rb
244
+ - test/test_gem_commands_outdated_command.rb
245
+ - test/test_gem_commands_owner_command.rb
246
+ - test/test_gem_commands_pristine_command.rb
247
+ - test/test_gem_commands_push_command.rb
248
+ - test/test_gem_commands_query_command.rb
249
+ - test/test_gem_commands_server_command.rb
250
+ - test/test_gem_commands_sources_command.rb
251
+ - test/test_gem_commands_specification_command.rb
252
+ - test/test_gem_commands_stale_command.rb
253
+ - test/test_gem_commands_uninstall_command.rb
254
+ - test/test_gem_commands_unpack_command.rb
255
+ - test/test_gem_commands_update_command.rb
256
+ - test/test_gem_commands_which_command.rb
257
+ - test/test_gem_config_file.rb
258
+ - test/test_gem_dependency.rb
259
+ - test/test_gem_dependency_installer.rb
260
+ - test/test_gem_dependency_list.rb
261
+ - test/test_gem_doc_manager.rb
262
+ - test/test_gem_ext_configure_builder.rb
263
+ - test/test_gem_ext_ext_conf_builder.rb
264
+ - test/test_gem_ext_rake_builder.rb
265
+ - test/test_gem_format.rb
266
+ - test/test_gem_gem_path_searcher.rb
267
+ - test/test_gem_gem_runner.rb
268
+ - test/test_gem_gemcutter_utilities.rb
269
+ - test/test_gem_indexer.rb
270
+ - test/test_gem_install_update_options.rb
271
+ - test/test_gem_installer.rb
272
+ - test/test_gem_local_remote_options.rb
273
+ - test/test_gem_package_tar_header.rb
274
+ - test/test_gem_package_tar_input.rb
275
+ - test/test_gem_package_tar_output.rb
276
+ - test/test_gem_package_tar_reader.rb
277
+ - test/test_gem_package_tar_reader_entry.rb
278
+ - test/test_gem_package_tar_writer.rb
279
+ - test/test_gem_package_task.rb
280
+ - test/test_gem_platform.rb
281
+ - test/test_gem_remote_fetcher.rb
282
+ - test/test_gem_requirement.rb
283
+ - test/test_gem_server.rb
284
+ - test/test_gem_silent_ui.rb
285
+ - test/test_gem_source_index.rb
286
+ - test/test_gem_spec_fetcher.rb
287
+ - test/test_gem_specification.rb
288
+ - test/test_gem_stream_ui.rb
289
+ - test/test_gem_text.rb
290
+ - test/test_gem_uninstaller.rb
291
+ - test/test_gem_validator.rb
292
+ - test/test_gem_version.rb
293
+ - test/test_gem_version_option.rb
294
+ - test/test_kernel.rb
295
+ - History.txt
296
+ - LICENSE.txt
297
+ - setup.rb
298
+ - README.md
299
+ - Rakefile
300
+ - ChangeLog
301
+ has_rdoc: true
302
+ homepage: http://rubygems.org
303
+ licenses: []
304
+
305
+ post_install_message: "Upgraded from SlimGems to SlimGems 1.3.8\n\
306
+ \xEF\xBB\xBF=== 1.3.8 / 2011-05-16\n\n\
307
+ SlimGems is born! SlimGems is a fork of RubyGems, see README.md for more.\n\n"
308
+ rdoc_options: []
309
+
310
+ require_paths:
311
+ - hide_lib_for_update
312
+ required_ruby_version: !ruby/object:Gem::Requirement
313
+ none: false
314
+ requirements:
315
+ - - ">"
316
+ - !ruby/object:Gem::Version
317
+ version: 1.8.3
318
+ required_rubygems_version: !ruby/object:Gem::Requirement
319
+ none: false
320
+ requirements:
321
+ - - ">="
322
+ - !ruby/object:Gem::Version
323
+ version: "0"
324
+ requirements: []
325
+
326
+ rubyforge_project:
327
+ rubygems_version: 1.3.8
328
+ signing_key:
329
+ specification_version: 3
330
+ summary: SlimGems is a package management framework for Ruby
331
+ test_files:
332
+ - test/bogussources.rb
333
+ - test/fake_certlib/openssl.rb
334
+ - test/foo/discover.rb
335
+ - test/functional.rb
336
+ - test/gem_installer_test_case.rb
337
+ - test/gem_package_tar_test_case.rb
338
+ - test/gemutilities.rb
339
+ - test/insure_session.rb
340
+ - test/mockgemui.rb
341
+ - test/plugin/exception/rubygems_plugin.rb
342
+ - test/plugin/load/rubygems_plugin.rb
343
+ - test/plugin/standarderror/rubygems_plugin.rb
344
+ - test/rubygems_plugin.rb
345
+ - test/simple_gem.rb
346
+ - test/test_config.rb
347
+ - test/test_gem.rb
348
+ - test/test_gem_builder.rb
349
+ - test/test_gem_command.rb
350
+ - test/test_gem_command_manager.rb
351
+ - test/test_gem_commands_build_command.rb
352
+ - test/test_gem_commands_cert_command.rb
353
+ - test/test_gem_commands_check_command.rb
354
+ - test/test_gem_commands_contents_command.rb
355
+ - test/test_gem_commands_dependency_command.rb
356
+ - test/test_gem_commands_environment_command.rb
357
+ - test/test_gem_commands_fetch_command.rb
358
+ - test/test_gem_commands_generate_index_command.rb
359
+ - test/test_gem_commands_install_command.rb
360
+ - test/test_gem_commands_list_command.rb
361
+ - test/test_gem_commands_lock_command.rb
362
+ - test/test_gem_commands_mirror_command.rb
363
+ - test/test_gem_commands_outdated_command.rb
364
+ - test/test_gem_commands_owner_command.rb
365
+ - test/test_gem_commands_pristine_command.rb
366
+ - test/test_gem_commands_push_command.rb
367
+ - test/test_gem_commands_query_command.rb
368
+ - test/test_gem_commands_server_command.rb
369
+ - test/test_gem_commands_sources_command.rb
370
+ - test/test_gem_commands_specification_command.rb
371
+ - test/test_gem_commands_stale_command.rb
372
+ - test/test_gem_commands_uninstall_command.rb
373
+ - test/test_gem_commands_unpack_command.rb
374
+ - test/test_gem_commands_update_command.rb
375
+ - test/test_gem_commands_which_command.rb
376
+ - test/test_gem_config_file.rb
377
+ - test/test_gem_dependency.rb
378
+ - test/test_gem_dependency_installer.rb
379
+ - test/test_gem_dependency_list.rb
380
+ - test/test_gem_doc_manager.rb
381
+ - test/test_gem_ext_configure_builder.rb
382
+ - test/test_gem_ext_ext_conf_builder.rb
383
+ - test/test_gem_ext_rake_builder.rb
384
+ - test/test_gem_format.rb
385
+ - test/test_gem_gem_path_searcher.rb
386
+ - test/test_gem_gem_runner.rb
387
+ - test/test_gem_gemcutter_utilities.rb
388
+ - test/test_gem_indexer.rb
389
+ - test/test_gem_install_update_options.rb
390
+ - test/test_gem_installer.rb
391
+ - test/test_gem_local_remote_options.rb
392
+ - test/test_gem_package_tar_header.rb
393
+ - test/test_gem_package_tar_input.rb
394
+ - test/test_gem_package_tar_output.rb
395
+ - test/test_gem_package_tar_reader.rb
396
+ - test/test_gem_package_tar_reader_entry.rb
397
+ - test/test_gem_package_tar_writer.rb
398
+ - test/test_gem_package_task.rb
399
+ - test/test_gem_platform.rb
400
+ - test/test_gem_remote_fetcher.rb
401
+ - test/test_gem_requirement.rb
402
+ - test/test_gem_server.rb
403
+ - test/test_gem_silent_ui.rb
404
+ - test/test_gem_source_index.rb
405
+ - test/test_gem_spec_fetcher.rb
406
+ - test/test_gem_specification.rb
407
+ - test/test_gem_stream_ui.rb
408
+ - test/test_gem_text.rb
409
+ - test/test_gem_uninstaller.rb
410
+ - test/test_gem_validator.rb
411
+ - test/test_gem_version.rb
412
+ - test/test_gem_version_option.rb
413
+ - test/test_kernel.rb