rubygems-update 1.3.1 → 1.3.2

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.

Files changed (128) hide show
  1. data.tar.gz.sig +0 -0
  2. data/.autotest +24 -0
  3. data/.document +4 -3
  4. data/ChangeLog +382 -1
  5. data/Manifest.txt +214 -0
  6. data/README +1 -49
  7. data/Rakefile +124 -191
  8. data/bin/gem +1 -4
  9. data/cruise_config.rb +22 -0
  10. data/doc/release_notes/rel_1_3_1.rdoc +3 -3
  11. data/doc/release_notes/rel_1_3_2.rdoc +119 -0
  12. data/lib/gauntlet_rubygems.rb +50 -0
  13. data/lib/rubygems.rb +250 -25
  14. data/lib/rubygems/builder.rb +62 -60
  15. data/lib/rubygems/command.rb +421 -319
  16. data/lib/rubygems/command_manager.rb +153 -125
  17. data/lib/rubygems/commands/check_command.rb +12 -7
  18. data/lib/rubygems/commands/cleanup_command.rb +11 -2
  19. data/lib/rubygems/commands/contents_command.rb +42 -18
  20. data/lib/rubygems/commands/generate_index_command.rb +91 -15
  21. data/lib/rubygems/commands/install_command.rb +33 -47
  22. data/lib/rubygems/commands/query_command.rb +36 -20
  23. data/lib/rubygems/commands/rdoc_command.rb +62 -68
  24. data/lib/rubygems/commands/search_command.rb +26 -32
  25. data/lib/rubygems/commands/setup_command.rb +353 -0
  26. data/lib/rubygems/commands/sources_command.rb +5 -0
  27. data/lib/rubygems/commands/specification_command.rb +23 -3
  28. data/lib/rubygems/commands/uninstall_command.rb +71 -61
  29. data/lib/rubygems/commands/unpack_command.rb +14 -12
  30. data/lib/rubygems/commands/update_command.rb +26 -5
  31. data/lib/rubygems/defaults.rb +16 -3
  32. data/lib/rubygems/dependency.rb +38 -7
  33. data/lib/rubygems/dependency_installer.rb +7 -4
  34. data/lib/rubygems/digest/digest_adapter.rb +42 -33
  35. data/lib/rubygems/digest/sha1.rb +6 -1
  36. data/lib/rubygems/digest/sha2.rb +5 -0
  37. data/lib/rubygems/doc_manager.rb +31 -11
  38. data/lib/rubygems/ext/ext_conf_builder.rb +2 -1
  39. data/lib/rubygems/ext/rake_builder.rb +6 -2
  40. data/lib/rubygems/format.rb +63 -63
  41. data/lib/rubygems/gem_openssl.rb +14 -2
  42. data/lib/rubygems/gem_path_searcher.rb +7 -3
  43. data/lib/rubygems/gem_runner.rb +59 -39
  44. data/lib/rubygems/indexer.rb +450 -109
  45. data/lib/rubygems/install_update_options.rb +13 -1
  46. data/lib/rubygems/installer.rb +25 -22
  47. data/lib/rubygems/local_remote_options.rb +5 -3
  48. data/lib/rubygems/old_format.rb +124 -120
  49. data/lib/rubygems/package/tar_header.rb +25 -3
  50. data/lib/rubygems/package/tar_input.rb +5 -5
  51. data/lib/rubygems/package/tar_output.rb +2 -0
  52. data/lib/rubygems/package/tar_reader.rb +19 -0
  53. data/lib/rubygems/package/tar_reader/entry.rb +43 -0
  54. data/lib/rubygems/package/tar_writer.rb +65 -3
  55. data/lib/rubygems/package_task.rb +117 -0
  56. data/lib/rubygems/platform.rb +12 -8
  57. data/lib/rubygems/remote_fetcher.rb +43 -24
  58. data/lib/rubygems/require_paths_builder.rb +14 -12
  59. data/lib/rubygems/requirement.rb +15 -6
  60. data/lib/rubygems/rubygems_version.rb +14 -1
  61. data/lib/rubygems/source_index.rb +38 -16
  62. data/lib/rubygems/source_info_cache_entry.rb +2 -2
  63. data/lib/rubygems/spec_fetcher.rb +43 -20
  64. data/lib/rubygems/specification.rb +1122 -947
  65. data/lib/rubygems/text.rb +30 -0
  66. data/lib/rubygems/timer.rb +14 -11
  67. data/lib/rubygems/uninstaller.rb +25 -5
  68. data/lib/rubygems/user_interaction.rb +294 -264
  69. data/lib/rubygems/validator.rb +70 -36
  70. data/lib/rubygems/version.rb +97 -33
  71. data/lib/rubygems/version_option.rb +1 -0
  72. data/setup.rb +11 -306
  73. data/test/foo/discover.rb +0 -0
  74. data/test/gem_installer_test_case.rb +22 -11
  75. data/test/gem_package_tar_test_case.rb +0 -14
  76. data/test/gemutilities.rb +89 -8
  77. data/test/mockgemui.rb +2 -1
  78. data/test/rubygems_plugin.rb +16 -0
  79. data/test/test_gem.rb +107 -36
  80. data/test/test_gem_command.rb +3 -13
  81. data/test/test_gem_command_manager.rb +1 -14
  82. data/test/test_gem_commands_cert_command.rb +1 -1
  83. data/test/test_gem_commands_contents_command.rb +63 -0
  84. data/test/test_gem_commands_environment_command.rb +1 -1
  85. data/test/test_gem_commands_generate_index_command.rb +104 -1
  86. data/test/test_gem_commands_install_command.rb +95 -0
  87. data/test/test_gem_commands_pristine_command.rb +3 -3
  88. data/test/test_gem_commands_query_command.rb +46 -0
  89. data/test/test_gem_commands_sources_command.rb +9 -5
  90. data/test/test_gem_commands_specification_command.rb +31 -0
  91. data/test/test_gem_commands_uninstall_command.rb +3 -2
  92. data/test/test_gem_commands_unpack_command.rb +3 -2
  93. data/test/test_gem_commands_update_command.rb +12 -7
  94. data/test/test_gem_dependency.rb +62 -11
  95. data/test/test_gem_dependency_installer.rb +18 -5
  96. data/test/test_gem_dependency_list.rb +6 -6
  97. data/test/test_gem_doc_manager.rb +7 -1
  98. data/test/test_gem_ext_configure_builder.rb +8 -10
  99. data/test/test_gem_ext_ext_conf_builder.rb +14 -8
  100. data/test/test_gem_gem_path_searcher.rb +1 -1
  101. data/test/test_gem_gem_runner.rb +11 -0
  102. data/test/test_gem_indexer.rb +398 -21
  103. data/test/test_gem_install_update_options.rb +20 -6
  104. data/test/test_gem_installer.rb +22 -14
  105. data/test/test_gem_local_remote_options.rb +2 -1
  106. data/test/test_gem_package_tar_header.rb +3 -3
  107. data/test/test_gem_package_tar_input.rb +3 -3
  108. data/test/test_gem_package_tar_output.rb +2 -2
  109. data/test/test_gem_package_task.rb +70 -0
  110. data/test/test_gem_platform.rb +12 -6
  111. data/test/test_gem_remote_fetcher.rb +23 -1
  112. data/test/test_gem_source_index.rb +32 -21
  113. data/test/test_gem_spec_fetcher.rb +77 -5
  114. data/test/test_gem_specification.rb +274 -1
  115. data/test/test_gem_uninstaller.rb +34 -4
  116. data/test/test_gem_version.rb +94 -4
  117. data/test/test_gem_version_option.rb +13 -0
  118. data/test/test_kernel.rb +4 -4
  119. data/util/CL2notes +56 -0
  120. data/util/gem_prelude.rb.template +251 -0
  121. metadata +30 -20
  122. metadata.gz.sig +3 -4
  123. data/TODO +0 -1
  124. data/scripts/buildtests.rb +0 -31
  125. data/scripts/gemdoc.rb +0 -67
  126. data/scripts/runtest.rb +0 -40
  127. data/scripts/specdoc.rb +0 -171
  128. data/scripts/upload_gemdoc.rb +0 -140
data.tar.gz.sig CHANGED
Binary file
@@ -0,0 +1,24 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'autotest/restart'
4
+
5
+ Autotest.add_hook :initialize do |at|
6
+ at.order = :natural # I am a bad person - Eric Hodel
7
+ at.testlib = 'minitest/unit' if at.respond_to? :testlib=
8
+
9
+ at.add_exception %r%/\.svn/%
10
+ at.add_exception %r%\.rbc$%
11
+ at.add_exception %r%test/rubygems%
12
+
13
+ at.find_directories.clear
14
+ at.find_directories.push 'lib', 'test'
15
+
16
+ at.add_mapping %r%^lib/rubygems.rb$% do |_, m|
17
+ "test/test_gem.rb"
18
+ end
19
+
20
+ at.add_mapping %r%^lib/rubygems/(.*).rb$% do |_, m|
21
+ "test/test_gem_#{m[1].gsub '/', '_'}.rb"
22
+ end
23
+ end
24
+
data/.document CHANGED
@@ -1,4 +1,5 @@
1
- README.txt
2
- lib
3
- GPL.txt
1
+ README
4
2
  LICENSE.txt
3
+ GPL.txt
4
+ doc
5
+ lib
data/ChangeLog CHANGED
@@ -1,9 +1,380 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
+ 2009-04-14 Eric Hodel <drbrain@segment7.net>
4
+
5
+ * lib/rubygems/specification.rb: Complain when summary and
6
+ description are identical.
7
+
8
+ 2009-04-08 Eric Hodel <drbrain@segment7.net>
9
+
10
+ * lib/rubygems/specification.rb: Strip directories, complain for
11
+ non-files in #validate.
12
+
13
+ 2009-04-07 Eric Hodel <drbrain@segment7.net>
14
+
15
+ * lib/rubygems/specification.rb: Implement #initialize_copy.
16
+ * lib/rubygems/commands/contents_command.rb: Add --no-prefix and
17
+ --all.
18
+
19
+ 2009-04-06 Eric Hodel <drbrain@segment7.net>
20
+
21
+ * lib/rubygems/defaults.rb: Don't allow gem to overwrite ruby on
22
+ install. Fixes bug #24958 by Michael Soulier.
23
+ * doc/release_notes/rel_1_3_2.rdoc: Preliminary 1.3.2 release notes.
24
+ * Rakefile: Trim off some stale code, switch to Manifest.txt, one
25
+ step closer to Hoe!
26
+
27
+ 2009-04-06 Daniel Berger <djberg96@gmail.com>
28
+
29
+ * test/test_gem_ext_configure_builder.rb: Better handling for MS
30
+ Windows.
31
+ * test/gemutilities.rb: Added the make_command and vc_windows? helper
32
+ methods.
33
+
34
+ 2009-04-03 Eric Hodel <drbrain@segment7.net>
35
+
36
+ * lib/: RDoc improvements.
37
+
38
+ 2009-04-02 Eric Hodel <drbrain@segment7.net>
39
+
40
+ * lib/rubygems/commands/setup_command.rb: Fix --destdir. Patch
41
+ #24970 by Richard Brown.
42
+
43
+ 2009-04-02 Phil Hagelberg <technomancy@gmail.com>
44
+
45
+ * lib/rubygems/version.rb: Documentation of prerelease
46
+ versions. See http://technomancy.us/123 for details.
47
+
48
+ 2009-03-31 Eric Hodel <drbrain@segment7.net>
49
+
50
+ * lib/rubygems/spec_fetcher.rb: If the cached specs file won't load,
51
+ refetch. Bug #24961 by Dylan Stamat.
52
+ * lib/rubygems/defaults.rb: Add a sanity check to
53
+ Gem.default_exec_format. Workaround for bug #24958 by Michael
54
+ Soulier.
55
+ * lib/rubygems/commands/setup_command.rb: Fix confusion with option
56
+ names. Patch #24971 by Richard Brown.
57
+ * lib/rubygems/specification.rb: Make #validate complain about
58
+ not-files.
59
+ * lib/gauntlet_rubygems.rb: For verification of the validator.
60
+
61
+ 2009-03-27 Eric Hodel <drbrain@segment7.net>
62
+
63
+ * lib/rubygems.rb: RubyGems now loads plugins from rubygems_plugin.rb
64
+ in installed gems. This can be used to add commands (See
65
+ Gem::CommandManager) or add install/uninstall hooks (See
66
+ Gem::Installer and Gem::Uninstaller).
67
+ * setup.rb: Ensure we're in a RubyGems dir when installing.
68
+
69
+ 2009-03-26 Eric Hodel <drbrain@segment7.net>
70
+
71
+ * lib/rubygems/package_task.rb: Import from Rake's
72
+ rake/gempackagetask.rb
73
+ * Rakefile: Switched to RDoc::Task from RDoc 2.4.2.
74
+ * lib/rubygems.rb: Gem.find_files now returns paths in $LOAD_PATH.
75
+ * lib/rubygems/commands/sources_command.rb: Allow sources to be added
76
+ behind proxies. Bug #24785 by Elia Schito.
77
+
78
+ 2009-03-25 Eric Hodel <drbrain@segment7.net>
79
+
80
+ * lib/rubygems/commands/install_command.rb: Fix typo. Patch #24446
81
+ by Luis Parravicini.
82
+ * lib/rubygems/version.rb: Handle non-String versions by calling
83
+ #to_s. Patch #24392 by Stephen Bannasch.
84
+
85
+ 2009-03-22 Daniel Berger <djberg96@gmail.com>
86
+
87
+ * lib/rubygems/remote_fetcher.rb: Always escape URI's to deal with spaces
88
+ and such, regardless of platform.
89
+ * lib/rubygesm/validator.rb: Use the test-unit gem if installed.
90
+ Part of the fix for RF #24261 by Daniel Berger
91
+ * lib/rubygems/commands/install_command.rb: Explictly require
92
+ rubygems/uninstaller.rb if the user wants to bail because of failed
93
+ tests.
94
+ Part of the fix for RF #24261 by Daniel Berger
95
+
96
+ 2009-03-17 Eric Hodel <drbrain@segment7.net>
97
+
98
+ * lib/rubygems/commands/query_command.rb: Make `gem unpack` work with
99
+ more than one gem name, fix warning about installation location.
100
+
101
+ 2009-03-16 James Tucker <jftucker@gmail.com>
102
+
103
+ * lib/rubygems.rb: Deprecate ConfigMap[:RUBY_INSTALL_NAME]
104
+ * lib/rubygems/defaults.rb: Gem.default_exec_format to use
105
+ ConfigMap[:ruby_install_name].
106
+ Fixes Bug #24457
107
+ * util/gem_prelude.rb.template: Fix potential bug in
108
+ Gem.default_exec_format when ConfigMap[:BASERUBY] is not 'ruby'.
109
+
110
+ 2009-03-14 Luis Lavena <luislavena@gmail.com>
111
+
112
+ * lib/rubygems/installer.rb: Cleanup quotes on Windows stub scripts.
113
+ Fixes Bug #24039.
114
+ * lib/rubygems/commands/setup_command.rb: ditto.
115
+
116
+ 2008-03-13 Eric Hodel <drbrain@segment7.net>
117
+
118
+ * lib/rubygems/commands/uninstall_command.rb: Add --user-install to
119
+ allow uninstallation from ~/.gem. Bug #23760 by Roger Pack.
120
+ * lib/rubygems/uninstaller.rb: Automatically uninstall from
121
+ Gem.user_dir.
122
+ * lib/rubygems/commands/update_command.rb: Rescue InstallError
123
+ and continue. Bug #19268 by Gabriel Wilkins.
124
+ * lib/rubygems/doc_manager.rb: Remove some options from the args list
125
+ that RDoc no longer supports.
126
+
127
+ 2008-03-12 Eric Hodel <drbrain@segment7.net>
128
+
129
+ * lib/rubygems/specification.rb: #description no longer removes
130
+ newlines.
131
+ * lib/rubygems/indexer.rb: Wrap description in a pre and force-wrap
132
+ lines to 78 characters for prettier display.
133
+ * lib/rubygems/commands/setup_command.rb: Clarify RubyGems RDoc
134
+ installation location. Bug #22656 by Gian Marco Gherardi.
135
+
136
+ 2008-03-09 Eric Hodel <drbrain@segment7.net>
137
+
138
+ * lib/rubygems/commands/query_command.rb: Add platforms to gem list
139
+ -d.
140
+ * lib/rubygems/commands/setup_command.rb: Allow setup to run from
141
+ read-only location. Patch #21862 by Luis Herrera.
142
+ * lib/rubygems/package/tar_input.rb: Use real File methods. Bug
143
+ #23966 by Mike Furr.
144
+ * lib/rubygems.rb: Don't add PATCHLEVEL if it's -1. Patch #24048 by
145
+ Jeremy Kemper.
146
+ * lib/rubygems/package/tar_input.rb: Choose security policy
147
+ correctly. Bug #24001 by Mike Furr.
148
+ * lib/rubygems/remote_fetcher.rb: Handle local paths with spaces.
149
+ Bug #24169 by Ryan Davis.
150
+ * lib/rubygems/specification.rb: Removed Gem::Specification::list,
151
+ causes leaks. Bug #23668 by Steve Purcell.
152
+
153
+ 2008-03-07 Eric Hodel <drbrain@segment7.net>
154
+
155
+ * lib/rubygems/installer.rb: Use Gem::bin_path in executable stubs to
156
+ work around Kernel#load bug.
157
+ * lib/rubygems/commands/install_command.rb: Copy user_install down to
158
+ Gem::DependencyInstaller. Patch #23573 by Alf Mikula.
159
+ * lib/rubygems/command.rb: Add info on gem server directly to `gem
160
+ help`. Patch #22271 by Hugh Sasse.
161
+
162
+ 2008-03-06 Eric Hodel <drbrain@segment7.net>
163
+
164
+ * lib/rubygems/specification.rb: Don't allow FIXME in specs.
165
+ * lib/rubygems/commands/spec_command.rb: Add --ruby and --marshal
166
+ formats.
167
+ * lib/rubygems.rb: Add Gem::bin_path. Patch #24114 by James Tucker.
168
+
169
+ 2008-03-04 Eric Hodel <drbrain@segment7.net>
170
+
171
+ * setup.rb: Moved guts to lib/rubygems/commands/setup_command.rb.
172
+ * lib/rubygems/indexer.rb: Added RSS feed generation on full index
173
+ update.
174
+
175
+ 2008-03-04 Phil Hagelberg <technomancy@gmail.com>
176
+
177
+ * lib/*: Prerelease gems go into their own index now and are excluded
178
+ from other indices. InstallCommand only gets prereleases if explicitly
179
+ requested. Thanks to Alex Vollmer.
180
+
181
+ 2008-03-04 Eric Hodel <drbrain@segment7.net>
182
+
183
+ * lib/*: Add lots of pretty pretty_print stuff!
184
+
185
+ 2008-02-25 Ryan Davis <ryand@zenspider.com>
186
+
187
+ * lib/rubygems/commands/check_command.rb: Fix various usability
188
+ issues.
189
+
190
+ 2009-02-10 Daniel Berger <djberg96@gmail.com>
191
+ * lib/rubygems/specification: Refactored and fixed the installation_path
192
+ method. It was overwrought and it now no longer uses File::SEPARATOR
193
+ explicitly.
194
+ [RubyForge: bug #23879 by Daniel Berger]
195
+
196
+ 2009-02-10 Daniel Berger <djberg96@gmail.com>
197
+ * lib/rubygems/validator.rb: The Gem::Validator#verify_gem_file method
198
+ now explicitly rescues Errno::EINVAL as well as Errno::ENOENT because
199
+ MS Windows raises a different SystemCallError for empty paths.
200
+
201
+ 2009-01-21 Daniel Berger <djberg96@gmail.com>
202
+ * lib/rubygems/remote_fetcher.rb: Split out nil and file handling in
203
+ the download method. Modified file URI handling to work properly.
204
+ [RubyForge: bug #16495 by Paul Sadauskas]
205
+
206
+ 2009-01-19 Daniel Berger <djberg96@gmail.com>
207
+ * lib/rubygems/remote_fetcher.rb: Added uri scheme validation back
208
+ into the open_uri_or_path method, though it now accepts 'https' and
209
+ 'file' as well.
210
+ * test/test_gem_remote_fetcher.rb: Updated the test_fetch_size_bad_uri
211
+ to reflect the updated error message.
212
+
213
+ 2009-01-15 Daniel Berger <djberg96@gmail.com>
214
+ * lib/rubygems/remote_fetcher.rb: Removed the open_file_uri_path method
215
+ since the URI#path method already does the same thing, and changed
216
+ the file_uri? method so that it explicitly calls .to_s.
217
+ * lib/rubygems/local_remote_options.rb: Allow file urls.
218
+
219
+ 2009-01-15 Daniel Berger <djberg96@gmail.com>
220
+ * lib/rubygems/commands/generate_index_command.rb: Fixed a typo in
221
+ the description.
222
+ * test/test_gem_doc_manager.rb: The test_uninstall_doc_unwritable
223
+ test is now skipped on Windows.
224
+ * test/test_gem_install_update_options.rb: The
225
+ test_user_install_disabled_read_only test is now skipped on Windows.
226
+ * test/test_gem_installer.rb: The test_generate_bin_symlink_no_perms
227
+ and test_generate_bin_script_no_perms tests are now skipped on Windows.
228
+
229
+ 2009-01-14 Daniel Berger <djberg96@gmail.com>
230
+ * lib/rubygems/specification.rb: Added support for a license attribute.
231
+ [RubyForge: feature #11041 (partial) by Kevin Williams]
232
+ * lib/rubygems/commands/query_command.rb: Gem detail information now
233
+ includes license information.
234
+ * test/test_gem_specification.rb: Added tests for the license attribute.
235
+
236
+ 2009-01-05 Chad Woolley <thewoolleyman@gmail.com>
237
+
238
+ * move processing of build args out of gem binary so they are handled correctly via API usage.
239
+ * lib/rubygems/command.rb: Add class accessor for build_args.
240
+ * lib/rubygems/ext/rake_builder.rb: Use Gem::Command.build_args instead of ARGV.
241
+ * lib/rubygems/ext/ext_conf_builder.rb: Use Gem::Command.build_args instead of ARGV.
242
+ * lib/rubygems/gem_runner.rb: Move build arg processing from gem binary.
243
+ * lib/rubygems/commands/contents_command.rb: Use nonzero return code (required to make tests pass).
244
+ * bin/gem: Move build arg processing to gem_runner.rb.
245
+ [RubyForge: bug #23210]
246
+
247
+ * lib/rubygems/config_file.rb: Fix --config-file option with no
248
+ equals and subsequent options to properly assign config file.
249
+ Previously config file was overwritten by subsequent option.
250
+ Fixes bug #16688.
251
+
252
+ 2009-1-4 Daniel Berger <djberg96@gmail.com>
253
+ * lib/rubygems/installer.rb: Remove existing path if it already
254
+ exists before installing.
255
+ [RubyForge: patch #22837 by Eric Wong]
256
+ * lib/rubygems.rb: Minor modification to the location_of_caller
257
+ method - deal with possible characters after line number
258
+
259
+ 2009-1-3 Daniel Berger <djberg96@gmail.com>
260
+ * lib/rubygems.rb: Better activation error message.
261
+ [RubyForge: patch #23082 by Tim Carey-Smith]
262
+
263
+ 2009-1-2 Daniel Berger <djberg96@gmail.com>
264
+ * lib/rubygems/ext/rake_builder.rb: Quote path if it contains spaces
265
+ [RubyForge: patch #23003 by Charlie Savage]
266
+ * lib/rubygems/local_remote_options.rb: Ignore duplicate sources
267
+ [RubyForge: bug #22277 by Elliot Temple]
268
+ * lib/rubygems/remote_fetcher.rb: Automatically normalize the URI
269
+ [RubyForge: bug #22151 by Alex Legler]
270
+ * lib/rubygems/specification.rb: Ensure that specification_version is
271
+ a Fixnum [RubyForge: bug #22598 by Tsutomu Kuroda]
272
+ * lib/rubygems/specification.rb: Bumped the CURRENT_SPECIFICATION_VERSION
273
+ and added an entry to the SPECIFICATION_VERSION_HISTORY
274
+
275
+ 2009-1-1 Daniel Berger <djberg96@gmail.com>
276
+
277
+ * test/test_gem_dependency.rb: Removed a duplicate "def dep" that
278
+ was causing a warning.
279
+ * lib/rubygems/platform.rb: Added an empty? method in order to
280
+ better handle gem indexing when dealing with gems created
281
+ prior to 0.9.5. [Rubyforge: bug #22603 by Johnathan Conley]
282
+ * lib/rubygems.rb: Added an explicit 'require "etc"'.
283
+ [RubyForge: bug #22313 by Matthew Boedicker]
284
+
285
+ 2008-12-31 Daniel Berger <djberg96@gmail.com>
286
+
287
+ * lib/rubygems/local_remote_options: Allow 'https' as a valid scheme
288
+ in addition to 'http' [RubyForge: patch #22485 by Duarte Henriques]
289
+ * setup.rb: Deal with extraneous quotation mark when autogenerating
290
+ .bat file on MS Windows [RubyForge: bug #22712 Takayuki Ishikawa]
291
+ * lib/rubygems/commands/unpack_command.rb: Fixed the --target option
292
+ [RubyForge: patch #22532 by Bryan Ash]
293
+
294
+ 2008-12-30 Daniel Berger <djberg96@gmail.com>
295
+
296
+ * lib/rubygems/builder.rb: Don't allow .gem file to be added back
297
+ onto itself [RubyForge: bug #19136, patch #23346 by Daniel Berger]
298
+ * lib/rubygems/defaults.rb: The default_path now only returns the
299
+ default_dir if the Gem.user_home doesn't exist
300
+ [RubyForge: bug #23037 by Pierre PLR]
301
+ * lib/rubygems.rb: Handle the possibility that Etc.getpwuid might
302
+ return nil on platforms other than Windows
303
+ [RubyForge: bug #22764 by Dudley Flanders]
304
+
305
+ 2008-12-16 Eric Hodel <drbrain@segment7.net>
306
+
307
+ * lib/rubygems/doc_manager.rb: Set title for generated documentation.
308
+ * lib/rubygems/dependency.rb: Make #=~ work with Gem::Specification.
309
+
310
+ 2008-12-15 Eric Hodel <drbrain@segment7.net>
311
+
312
+ * lib/rubygems/installer.rb: Fix documentation for
313
+ Gem::Installer#write_spec. Issue by okkez.
314
+
315
+ 2008-12-12 Eric Hodel <drbrain@segment7.net>
316
+
317
+ * lib/rubygems/local_remote_options.rb: Merge documentation fix by
318
+ okkez [ruby-dev:37271].
319
+ * lib/rubygems/source_info_cache_entry.rb: Merge documentation fix
320
+ from [ruby-dev:37255].
321
+
322
+ 2008-12-08 Eric Hodel <drbrain@segment7.net>
323
+
324
+ * lib/rubygems.rb: Add Gem::promote_load_path
325
+
326
+ 2008-12-01 Ryan Davis <ryand-ruby@zenspider.com>
327
+
328
+ * lib/rubygems/remote_fetcher.rb: made threadsafe.
329
+
330
+ 2008-11-25 Eric Hodel <drbrain@segment7.net>
331
+
332
+ * lib/rubygems/commands/install_command.rb: Don't do any post-install
333
+ stuff if no gems were installed. Issue by Daniel Berger.
334
+
335
+ 2008-11-20 Eric Hodel <drbrain@segment7.net>
336
+
337
+ * lib/rubygems/source_index.rb: Read the file outside the exception
338
+ block so we raise a sane error.
339
+ * lib/rubygems/indexer.rb: Allow the modern index to be updated
340
+ incrementally. Allow the legacy and modern indicies to be updated
341
+ separately.
342
+
343
+ 2008-11-17 Eric Hodel <drbrain@segment7.net>
344
+
345
+ * lib/rubygems/indexer.rb: Added ability to only generate modern or
346
+ legacy indicies.
347
+
348
+ 2008-11-14 Eric Hodel <drbrain@segment7.net>
349
+
350
+ * lib/rubygems/timer.rb: Deprecate and move methods to Gem and
351
+ Gem::StreamUI.
352
+
353
+ 2008-11-11 Phil Hagelberg <technomancy@gmail.com>
354
+
355
+ * lib/rubygems/, test/: Make Version understand prerelease
356
+ versions using letters. (eg. '1.2.1.b') Thanks to Josh Susser and
357
+ Alex Vollmer.
358
+
359
+ 2008-11-03 Eric Hodel <drbrain@segment7.net>
360
+
361
+ * lib/rubygems/specification.rb: Gem name must be a String.
362
+
363
+ 2008-10-31 Eric Hodel <drbrain@segment7.net>
364
+
365
+ * lib/rubygems/defaults.rb: Update to support 1.9 libdir.
366
+ * util/gem_prelude.rb: Move to .template, automatically fold in
367
+ defaults.
368
+
369
+ 2008-10-29 Eric Hodel <drbrain@segment7.net>
370
+
371
+ * lib/rubygems.rb: Handle nonexistent home directory. Bug #22229 by
372
+ Alexey Verkhovsky.
373
+
3
374
  2008-10-25 Eric Hodel <drbrain@segment7.net>
4
375
 
5
376
  * lib/rubygems.rb, lib/rubygems/custom_require.rb: Make kernel
6
- methods private. Patch #20801 by Stefan Rusterholz. Expose
377
+ methods private. Patch #20801 by James M. Lawrence. Expose
7
378
  our kernel extensions to RDoc. Make Gem::location_of_caller behave on
8
379
  Windows. Patch by Daniel Berger.
9
380
  * doc/release_notes/rel_1_3_1.rdoc: Final release notes for 1.3.1.
@@ -40,6 +411,12 @@
40
411
  * test/test_gem_ext_rake_builder.rb: Override Gem.ruby and
41
412
  ENV['rake'] for 1.9 integration. Patch by Nobu.
42
413
 
414
+ 2008-09-16 Phil Hagelberg <technomancy@gmail.com>
415
+
416
+ * lib/rubygems.rb: Use the path set in the config file if
417
+ applicable.
418
+ * lib/rubygems/config_file.rb: Expose the path.
419
+
43
420
  2008-09-16 Eric Hodel <drbrain@segment7.net>
44
421
 
45
422
  * lib/rubygems.rb: Only create ~/.gem by user owning ~. Bug #21561
@@ -5008,3 +5385,7 @@ Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
5008
5385
  lib/rubygems/specification.rb, lib/rubygems/version.rb,
5009
5386
  test/test_remote_installer.rb: Initial revision
5010
5387
 
5388
+ Local variables:
5389
+ indent-tabs-mode: t
5390
+ tab-width: 8
5391
+ end:
@@ -0,0 +1,214 @@
1
+ .autotest
2
+ .document
3
+ ChangeLog
4
+ GPL.txt
5
+ LICENSE.txt
6
+ Manifest.txt
7
+ README
8
+ Rakefile
9
+ bin/gem
10
+ bin/update_rubygems
11
+ cruise_config.rb
12
+ doc/release_notes/docs-rubygems-announce.rdoc
13
+ doc/release_notes/rel_0_2_0.rdoc
14
+ doc/release_notes/rel_0_3_0.rdoc
15
+ doc/release_notes/rel_0_4_0.rdoc
16
+ doc/release_notes/rel_0_5_0.rdoc
17
+ doc/release_notes/rel_0_6_0.rdoc
18
+ doc/release_notes/rel_0_7_0.rdoc
19
+ doc/release_notes/rel_0_8_0.rdoc
20
+ doc/release_notes/rel_0_8_1.rdoc
21
+ doc/release_notes/rel_0_8_10.rdoc
22
+ doc/release_notes/rel_0_8_11.rdoc
23
+ doc/release_notes/rel_0_8_3.rdoc
24
+ doc/release_notes/rel_0_8_4.rdoc
25
+ doc/release_notes/rel_0_8_5.rdoc
26
+ doc/release_notes/rel_0_8_7.rdoc
27
+ doc/release_notes/rel_0_9_0.rdoc
28
+ doc/release_notes/rel_0_9_2.rdoc
29
+ doc/release_notes/rel_0_9_3.rdoc
30
+ doc/release_notes/rel_0_9_4.rdoc
31
+ doc/release_notes/rel_0_9_5.rdoc
32
+ doc/release_notes/rel_1_0_0.rdoc
33
+ doc/release_notes/rel_1_0_1.rdoc
34
+ doc/release_notes/rel_1_1_0.rdoc
35
+ doc/release_notes/rel_1_1_1.rdoc
36
+ doc/release_notes/rel_1_2_0.rdoc
37
+ doc/release_notes/rel_1_3_0.rdoc
38
+ doc/release_notes/rel_1_3_1.rdoc
39
+ doc/release_notes/rel_1_3_2.rdoc
40
+ lib/gauntlet_rubygems.rb
41
+ lib/rbconfig/datadir.rb
42
+ lib/rubygems.rb
43
+ lib/rubygems/builder.rb
44
+ lib/rubygems/command.rb
45
+ lib/rubygems/command_manager.rb
46
+ lib/rubygems/commands/build_command.rb
47
+ lib/rubygems/commands/cert_command.rb
48
+ lib/rubygems/commands/check_command.rb
49
+ lib/rubygems/commands/cleanup_command.rb
50
+ lib/rubygems/commands/contents_command.rb
51
+ lib/rubygems/commands/dependency_command.rb
52
+ lib/rubygems/commands/environment_command.rb
53
+ lib/rubygems/commands/fetch_command.rb
54
+ lib/rubygems/commands/generate_index_command.rb
55
+ lib/rubygems/commands/help_command.rb
56
+ lib/rubygems/commands/install_command.rb
57
+ lib/rubygems/commands/list_command.rb
58
+ lib/rubygems/commands/lock_command.rb
59
+ lib/rubygems/commands/mirror_command.rb
60
+ lib/rubygems/commands/outdated_command.rb
61
+ lib/rubygems/commands/pristine_command.rb
62
+ lib/rubygems/commands/query_command.rb
63
+ lib/rubygems/commands/rdoc_command.rb
64
+ lib/rubygems/commands/search_command.rb
65
+ lib/rubygems/commands/server_command.rb
66
+ lib/rubygems/commands/setup_command.rb
67
+ lib/rubygems/commands/sources_command.rb
68
+ lib/rubygems/commands/specification_command.rb
69
+ lib/rubygems/commands/stale_command.rb
70
+ lib/rubygems/commands/uninstall_command.rb
71
+ lib/rubygems/commands/unpack_command.rb
72
+ lib/rubygems/commands/update_command.rb
73
+ lib/rubygems/commands/which_command.rb
74
+ lib/rubygems/config_file.rb
75
+ lib/rubygems/custom_require.rb
76
+ lib/rubygems/defaults.rb
77
+ lib/rubygems/dependency.rb
78
+ lib/rubygems/dependency_installer.rb
79
+ lib/rubygems/dependency_list.rb
80
+ lib/rubygems/digest/digest_adapter.rb
81
+ lib/rubygems/digest/md5.rb
82
+ lib/rubygems/digest/sha1.rb
83
+ lib/rubygems/digest/sha2.rb
84
+ lib/rubygems/doc_manager.rb
85
+ lib/rubygems/exceptions.rb
86
+ lib/rubygems/ext.rb
87
+ lib/rubygems/ext/builder.rb
88
+ lib/rubygems/ext/configure_builder.rb
89
+ lib/rubygems/ext/ext_conf_builder.rb
90
+ lib/rubygems/ext/rake_builder.rb
91
+ lib/rubygems/format.rb
92
+ lib/rubygems/gem_openssl.rb
93
+ lib/rubygems/gem_path_searcher.rb
94
+ lib/rubygems/gem_runner.rb
95
+ lib/rubygems/indexer.rb
96
+ lib/rubygems/install_update_options.rb
97
+ lib/rubygems/installer.rb
98
+ lib/rubygems/local_remote_options.rb
99
+ lib/rubygems/old_format.rb
100
+ lib/rubygems/package.rb
101
+ lib/rubygems/package/f_sync_dir.rb
102
+ lib/rubygems/package/tar_header.rb
103
+ lib/rubygems/package/tar_input.rb
104
+ lib/rubygems/package/tar_output.rb
105
+ lib/rubygems/package/tar_reader.rb
106
+ lib/rubygems/package/tar_reader/entry.rb
107
+ lib/rubygems/package/tar_writer.rb
108
+ lib/rubygems/package_task.rb
109
+ lib/rubygems/platform.rb
110
+ lib/rubygems/remote_fetcher.rb
111
+ lib/rubygems/require_paths_builder.rb
112
+ lib/rubygems/requirement.rb
113
+ lib/rubygems/rubygems_version.rb
114
+ lib/rubygems/security.rb
115
+ lib/rubygems/server.rb
116
+ lib/rubygems/source_index.rb
117
+ lib/rubygems/source_info_cache.rb
118
+ lib/rubygems/source_info_cache_entry.rb
119
+ lib/rubygems/spec_fetcher.rb
120
+ lib/rubygems/specification.rb
121
+ lib/rubygems/test_utilities.rb
122
+ lib/rubygems/text.rb
123
+ lib/rubygems/timer.rb
124
+ lib/rubygems/uninstaller.rb
125
+ lib/rubygems/user_interaction.rb
126
+ lib/rubygems/validator.rb
127
+ lib/rubygems/version.rb
128
+ lib/rubygems/version_option.rb
129
+ lib/ubygems.rb
130
+ pkgs/sources/lib/sources.rb
131
+ pkgs/sources/sources.gemspec
132
+ setup.rb
133
+ test/bogussources.rb
134
+ test/data/gem-private_key.pem
135
+ test/data/gem-public_cert.pem
136
+ test/fake_certlib/openssl.rb
137
+ test/foo/discover.rb
138
+ test/functional.rb
139
+ test/gem_installer_test_case.rb
140
+ test/gem_package_tar_test_case.rb
141
+ test/gemutilities.rb
142
+ test/insure_session.rb
143
+ test/mockgemui.rb
144
+ test/private_key.pem
145
+ test/public_cert.pem
146
+ test/rubygems_plugin.rb
147
+ test/simple_gem.rb
148
+ test/test_config.rb
149
+ test/test_gem.rb
150
+ test/test_gem_builder.rb
151
+ test/test_gem_command.rb
152
+ test/test_gem_command_manager.rb
153
+ test/test_gem_commands_build_command.rb
154
+ test/test_gem_commands_cert_command.rb
155
+ test/test_gem_commands_check_command.rb
156
+ test/test_gem_commands_contents_command.rb
157
+ test/test_gem_commands_dependency_command.rb
158
+ test/test_gem_commands_environment_command.rb
159
+ test/test_gem_commands_fetch_command.rb
160
+ test/test_gem_commands_generate_index_command.rb
161
+ test/test_gem_commands_install_command.rb
162
+ test/test_gem_commands_list_command.rb
163
+ test/test_gem_commands_lock_command.rb
164
+ test/test_gem_commands_mirror_command.rb
165
+ test/test_gem_commands_outdated_command.rb
166
+ test/test_gem_commands_pristine_command.rb
167
+ test/test_gem_commands_query_command.rb
168
+ test/test_gem_commands_server_command.rb
169
+ test/test_gem_commands_sources_command.rb
170
+ test/test_gem_commands_specification_command.rb
171
+ test/test_gem_commands_stale_command.rb
172
+ test/test_gem_commands_uninstall_command.rb
173
+ test/test_gem_commands_unpack_command.rb
174
+ test/test_gem_commands_update_command.rb
175
+ test/test_gem_config_file.rb
176
+ test/test_gem_dependency.rb
177
+ test/test_gem_dependency_installer.rb
178
+ test/test_gem_dependency_list.rb
179
+ test/test_gem_digest.rb
180
+ test/test_gem_doc_manager.rb
181
+ test/test_gem_ext_configure_builder.rb
182
+ test/test_gem_ext_ext_conf_builder.rb
183
+ test/test_gem_ext_rake_builder.rb
184
+ test/test_gem_format.rb
185
+ test/test_gem_gem_path_searcher.rb
186
+ test/test_gem_gem_runner.rb
187
+ test/test_gem_indexer.rb
188
+ test/test_gem_install_update_options.rb
189
+ test/test_gem_installer.rb
190
+ test/test_gem_local_remote_options.rb
191
+ test/test_gem_package_tar_header.rb
192
+ test/test_gem_package_tar_input.rb
193
+ test/test_gem_package_tar_output.rb
194
+ test/test_gem_package_tar_reader.rb
195
+ test/test_gem_package_tar_reader_entry.rb
196
+ test/test_gem_package_tar_writer.rb
197
+ test/test_gem_package_task.rb
198
+ test/test_gem_platform.rb
199
+ test/test_gem_remote_fetcher.rb
200
+ test/test_gem_requirement.rb
201
+ test/test_gem_server.rb
202
+ test/test_gem_source_index.rb
203
+ test/test_gem_source_info_cache.rb
204
+ test/test_gem_source_info_cache_entry.rb
205
+ test/test_gem_spec_fetcher.rb
206
+ test/test_gem_specification.rb
207
+ test/test_gem_stream_ui.rb
208
+ test/test_gem_uninstaller.rb
209
+ test/test_gem_validator.rb
210
+ test/test_gem_version.rb
211
+ test/test_gem_version_option.rb
212
+ test/test_kernel.rb
213
+ util/CL2notes
214
+ util/gem_prelude.rb.template