rubygems-update 1.3.3 → 1.3.4

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 (46) hide show
  1. data.tar.gz.sig +0 -0
  2. data/ChangeLog +238 -184
  3. data/lib/rubygems.rb +11 -5
  4. data/lib/rubygems/command.rb +4 -1
  5. data/lib/rubygems/commands/install_command.rb +40 -0
  6. data/lib/rubygems/commands/query_command.rb +16 -1
  7. data/lib/rubygems/commands/setup_command.rb +1 -1
  8. data/lib/rubygems/commands/update_command.rb +1 -1
  9. data/lib/rubygems/config_file.rb +0 -1
  10. data/lib/rubygems/defaults.rb +2 -1
  11. data/lib/rubygems/dependency.rb +0 -2
  12. data/lib/rubygems/dependency_list.rb +36 -16
  13. data/lib/rubygems/exceptions.rb +0 -2
  14. data/lib/rubygems/ext/builder.rb +0 -2
  15. data/lib/rubygems/gem_openssl.rb +0 -1
  16. data/lib/rubygems/gem_path_searcher.rb +0 -2
  17. data/lib/rubygems/indexer.rb +1 -0
  18. data/lib/rubygems/package/f_sync_dir.rb +0 -2
  19. data/lib/rubygems/package/tar_header.rb +0 -2
  20. data/lib/rubygems/package/tar_input.rb +0 -2
  21. data/lib/rubygems/package/tar_output.rb +0 -2
  22. data/lib/rubygems/package/tar_reader.rb +2 -2
  23. data/lib/rubygems/package/tar_reader/entry.rb +0 -2
  24. data/lib/rubygems/package/tar_writer.rb +0 -2
  25. data/lib/rubygems/platform.rb +0 -2
  26. data/lib/rubygems/remote_fetcher.rb +5 -1
  27. data/lib/rubygems/requirement.rb +2 -4
  28. data/lib/rubygems/rubygems_version.rb +1 -1
  29. data/lib/rubygems/source_index.rb +19 -9
  30. data/lib/rubygems/spec_fetcher.rb +0 -1
  31. data/lib/rubygems/specification.rb +0 -1
  32. data/lib/rubygems/uninstaller.rb +4 -4
  33. data/lib/rubygems/version.rb +0 -2
  34. data/test/gemutilities.rb +13 -4
  35. data/test/test_gem.rb +54 -5
  36. data/test/test_gem_commands_install_command.rb +2 -0
  37. data/test/test_gem_commands_query_command.rb +68 -8
  38. data/test/test_gem_commands_unpack_command.rb +4 -4
  39. data/test/test_gem_dependency_installer.rb +3 -1
  40. data/test/test_gem_format.rb +1 -1
  41. data/test/test_gem_indexer.rb +5 -3
  42. data/test/test_gem_source_index.rb +14 -445
  43. data/test/test_gem_source_info_cache.rb +1 -1
  44. data/test/test_gem_specification.rb +2 -1
  45. metadata +4 -4
  46. metadata.gz.sig +0 -0
data.tar.gz.sig CHANGED
Binary file
data/ChangeLog CHANGED
@@ -1,5 +1,59 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
+ 2009-05-30 Eric Hodel <drbrain@segment7.net>
4
+
5
+ * lib/rubygems/rubygems_version.rb: 1.3.4.
6
+ * doc/release_notes/rel_1_3_4.rdoc: RubyGems 1.3.4 release notes.
7
+
8
+ 2009-05-28 Eric Hodel <drbrain@segment7.net>
9
+
10
+ * lib/rubygems/commands/setup_command.rb: Fix --format-executable
11
+ option name.
12
+ * lib/rubygems/requirement.rb: Fix typo in #parse. Bug #26000 by
13
+ Mike Gunderloy.
14
+
15
+ 2009-05-21 Eric Hodel <drbrain@segment7.net>
16
+
17
+ * lib/rubygems.rb: Add 'dev' and svn revision for -1 RUBY_PATCHLEVEL
18
+ and RUBY_REVISION.
19
+
20
+ 2009-05-20 Eric Hodel <drbrain@segment7.net>
21
+
22
+ * lib/rubygems/defaults.rb: Restore 1.9.1 path behavior.
23
+ * lib/rubygems/specification.rb: Fix undefined ivar warning.
24
+ * lib/rubygems/indexer.rb: Force loading of builder gem.
25
+ * test/gemutilities.rb: Remove gem_prelude code by hand to avoid 1.9
26
+ warnings.
27
+
28
+ 2009-05-19 Luis Lavena <luislavena@gmail.com>
29
+
30
+ * test/test_gem_specification.rb: skip symlinks tests on Windows.
31
+ * test/test_gem_commands_install_command.rb: skip chmod test on
32
+ Windows.
33
+
34
+ 2009-05-15 Eric Hodel <drbrain@segment7.net>
35
+
36
+ * lib/rubygems*: Fix 1.9 warnings about circular require.
37
+
38
+ 2009-05-12 Daniel Berger <djberg96@gmail.com>
39
+
40
+ * lib/rubygems/remote_fetcher.rb: Fixed the download method in the
41
+ remote_fetcher.rb file so that it handles local installs on MS
42
+ Windows when using explicit paths that aren't on the 'C:' drive.
43
+ Bug #25882 by Lars Christensen.
44
+ * lib/rubygems/commands/update_command.rb: Replaced deprecated
45
+ Gem::SourceIndex method 'search' with 'find_name' in the 'execute'
46
+ method.
47
+
48
+ 2009-05-07 Eric Hodel <drbrain@segment7.net>
49
+
50
+ * lib/rubygems/commands/query_command.rb: Support prerelease version
51
+ listing (--prerelease), list locally installed prereleases.
52
+ * lib/rubygems/source_info_cache.rb: Gem::SourceInfoCache is
53
+ officially unsupported, maintaining its tests is hard.
54
+ * lib/rubygems/source_index.rb: Add #all_gems, fix #remove_spec,
55
+ #search to work with it. Prerelease gems can now be used.
56
+
3
57
  2009-05-04 Eric Hodel <drbrain@segment7.net>
4
58
 
5
59
  * lib/rubygems/rubygems_version.rb: 1.3.3.
@@ -145,14 +199,14 @@
145
199
 
146
200
  2009-03-22 Daniel Berger <djberg96@gmail.com>
147
201
 
148
- * lib/rubygems/remote_fetcher.rb: Always escape URI's to deal with spaces
149
- and such, regardless of platform.
150
- * lib/rubygesm/validator.rb: Use the test-unit gem if installed.
151
- Part of the fix for RF #24261 by Daniel Berger
152
- * lib/rubygems/commands/install_command.rb: Explictly require
153
- rubygems/uninstaller.rb if the user wants to bail because of failed
154
- tests.
155
- Part of the fix for RF #24261 by Daniel Berger
202
+ * lib/rubygems/remote_fetcher.rb: Always escape URI's to deal with spaces
203
+ and such, regardless of platform.
204
+ * lib/rubygesm/validator.rb: Use the test-unit gem if installed.
205
+ Part of the fix for RF #24261 by Daniel Berger
206
+ * lib/rubygems/commands/install_command.rb: Explictly require
207
+ rubygems/uninstaller.rb if the user wants to bail because of failed
208
+ tests.
209
+ Part of the fix for RF #24261 by Daniel Berger
156
210
 
157
211
  2009-03-17 Eric Hodel <drbrain@segment7.net>
158
212
 
@@ -249,50 +303,50 @@
249
303
  issues.
250
304
 
251
305
  2009-02-10 Daniel Berger <djberg96@gmail.com>
252
- * lib/rubygems/specification: Refactored and fixed the installation_path
253
- method. It was overwrought and it now no longer uses File::SEPARATOR
254
- explicitly.
255
- [RubyForge: bug #23879 by Daniel Berger]
306
+ * lib/rubygems/specification: Refactored and fixed the installation_path
307
+ method. It was overwrought and it now no longer uses File::SEPARATOR
308
+ explicitly.
309
+ [RubyForge: bug #23879 by Daniel Berger]
256
310
 
257
311
  2009-02-10 Daniel Berger <djberg96@gmail.com>
258
- * lib/rubygems/validator.rb: The Gem::Validator#verify_gem_file method
259
- now explicitly rescues Errno::EINVAL as well as Errno::ENOENT because
260
- MS Windows raises a different SystemCallError for empty paths.
261
-
312
+ * lib/rubygems/validator.rb: The Gem::Validator#verify_gem_file method
313
+ now explicitly rescues Errno::EINVAL as well as Errno::ENOENT because
314
+ MS Windows raises a different SystemCallError for empty paths.
315
+
262
316
  2009-01-21 Daniel Berger <djberg96@gmail.com>
263
- * lib/rubygems/remote_fetcher.rb: Split out nil and file handling in
264
- the download method. Modified file URI handling to work properly.
265
- [RubyForge: bug #16495 by Paul Sadauskas]
266
-
317
+ * lib/rubygems/remote_fetcher.rb: Split out nil and file handling in
318
+ the download method. Modified file URI handling to work properly.
319
+ [RubyForge: bug #16495 by Paul Sadauskas]
320
+
267
321
  2009-01-19 Daniel Berger <djberg96@gmail.com>
268
- * lib/rubygems/remote_fetcher.rb: Added uri scheme validation back
269
- into the open_uri_or_path method, though it now accepts 'https' and
270
- 'file' as well.
271
- * test/test_gem_remote_fetcher.rb: Updated the test_fetch_size_bad_uri
272
- to reflect the updated error message.
322
+ * lib/rubygems/remote_fetcher.rb: Added uri scheme validation back
323
+ into the open_uri_or_path method, though it now accepts 'https' and
324
+ 'file' as well.
325
+ * test/test_gem_remote_fetcher.rb: Updated the test_fetch_size_bad_uri
326
+ to reflect the updated error message.
273
327
 
274
328
  2009-01-15 Daniel Berger <djberg96@gmail.com>
275
- * lib/rubygems/remote_fetcher.rb: Removed the open_file_uri_path method
276
- since the URI#path method already does the same thing, and changed
277
- the file_uri? method so that it explicitly calls .to_s.
278
- * lib/rubygems/local_remote_options.rb: Allow file urls.
329
+ * lib/rubygems/remote_fetcher.rb: Removed the open_file_uri_path method
330
+ since the URI#path method already does the same thing, and changed
331
+ the file_uri? method so that it explicitly calls .to_s.
332
+ * lib/rubygems/local_remote_options.rb: Allow file urls.
279
333
 
280
334
  2009-01-15 Daniel Berger <djberg96@gmail.com>
281
- * lib/rubygems/commands/generate_index_command.rb: Fixed a typo in
282
- the description.
283
- * test/test_gem_doc_manager.rb: The test_uninstall_doc_unwritable
284
- test is now skipped on Windows.
285
- * test/test_gem_install_update_options.rb: The
286
- test_user_install_disabled_read_only test is now skipped on Windows.
287
- * test/test_gem_installer.rb: The test_generate_bin_symlink_no_perms
288
- and test_generate_bin_script_no_perms tests are now skipped on Windows.
335
+ * lib/rubygems/commands/generate_index_command.rb: Fixed a typo in
336
+ the description.
337
+ * test/test_gem_doc_manager.rb: The test_uninstall_doc_unwritable
338
+ test is now skipped on Windows.
339
+ * test/test_gem_install_update_options.rb: The
340
+ test_user_install_disabled_read_only test is now skipped on Windows.
341
+ * test/test_gem_installer.rb: The test_generate_bin_symlink_no_perms
342
+ and test_generate_bin_script_no_perms tests are now skipped on Windows.
289
343
 
290
344
  2009-01-14 Daniel Berger <djberg96@gmail.com>
291
- * lib/rubygems/specification.rb: Added support for a license attribute.
292
- [RubyForge: feature #11041 (partial) by Kevin Williams]
293
- * lib/rubygems/commands/query_command.rb: Gem detail information now
294
- includes license information.
295
- * test/test_gem_specification.rb: Added tests for the license attribute.
345
+ * lib/rubygems/specification.rb: Added support for a license attribute.
346
+ [RubyForge: feature #11041 (partial) by Kevin Williams]
347
+ * lib/rubygems/commands/query_command.rb: Gem detail information now
348
+ includes license information.
349
+ * test/test_gem_specification.rb: Added tests for the license attribute.
296
350
 
297
351
  2009-01-05 Chad Woolley <thewoolleyman@gmail.com>
298
352
 
@@ -311,57 +365,57 @@
311
365
  Fixes bug #16688.
312
366
 
313
367
  2009-1-4 Daniel Berger <djberg96@gmail.com>
314
- * lib/rubygems/installer.rb: Remove existing path if it already
315
- exists before installing.
316
- [RubyForge: patch #22837 by Eric Wong]
317
- * lib/rubygems.rb: Minor modification to the location_of_caller
318
- method - deal with possible characters after line number
368
+ * lib/rubygems/installer.rb: Remove existing path if it already
369
+ exists before installing.
370
+ [RubyForge: patch #22837 by Eric Wong]
371
+ * lib/rubygems.rb: Minor modification to the location_of_caller
372
+ method - deal with possible characters after line number
319
373
 
320
374
  2009-1-3 Daniel Berger <djberg96@gmail.com>
321
- * lib/rubygems.rb: Better activation error message.
322
- [RubyForge: patch #23082 by Tim Carey-Smith]
375
+ * lib/rubygems.rb: Better activation error message.
376
+ [RubyForge: patch #23082 by Tim Carey-Smith]
323
377
 
324
378
  2009-1-2 Daniel Berger <djberg96@gmail.com>
325
- * lib/rubygems/ext/rake_builder.rb: Quote path if it contains spaces
326
- [RubyForge: patch #23003 by Charlie Savage]
327
- * lib/rubygems/local_remote_options.rb: Ignore duplicate sources
328
- [RubyForge: bug #22277 by Elliot Temple]
329
- * lib/rubygems/remote_fetcher.rb: Automatically normalize the URI
330
- [RubyForge: bug #22151 by Alex Legler]
331
- * lib/rubygems/specification.rb: Ensure that specification_version is
332
- a Fixnum [RubyForge: bug #22598 by Tsutomu Kuroda]
333
- * lib/rubygems/specification.rb: Bumped the CURRENT_SPECIFICATION_VERSION
334
- and added an entry to the SPECIFICATION_VERSION_HISTORY
379
+ * lib/rubygems/ext/rake_builder.rb: Quote path if it contains spaces
380
+ [RubyForge: patch #23003 by Charlie Savage]
381
+ * lib/rubygems/local_remote_options.rb: Ignore duplicate sources
382
+ [RubyForge: bug #22277 by Elliot Temple]
383
+ * lib/rubygems/remote_fetcher.rb: Automatically normalize the URI
384
+ [RubyForge: bug #22151 by Alex Legler]
385
+ * lib/rubygems/specification.rb: Ensure that specification_version is
386
+ a Fixnum [RubyForge: bug #22598 by Tsutomu Kuroda]
387
+ * lib/rubygems/specification.rb: Bumped the CURRENT_SPECIFICATION_VERSION
388
+ and added an entry to the SPECIFICATION_VERSION_HISTORY
335
389
 
336
390
  2009-1-1 Daniel Berger <djberg96@gmail.com>
337
391
 
338
- * test/test_gem_dependency.rb: Removed a duplicate "def dep" that
339
- was causing a warning.
340
- * lib/rubygems/platform.rb: Added an empty? method in order to
341
- better handle gem indexing when dealing with gems created
342
- prior to 0.9.5. [Rubyforge: bug #22603 by Johnathan Conley]
343
- * lib/rubygems.rb: Added an explicit 'require "etc"'.
344
- [RubyForge: bug #22313 by Matthew Boedicker]
392
+ * test/test_gem_dependency.rb: Removed a duplicate "def dep" that
393
+ was causing a warning.
394
+ * lib/rubygems/platform.rb: Added an empty? method in order to
395
+ better handle gem indexing when dealing with gems created
396
+ prior to 0.9.5. [Rubyforge: bug #22603 by Johnathan Conley]
397
+ * lib/rubygems.rb: Added an explicit 'require "etc"'.
398
+ [RubyForge: bug #22313 by Matthew Boedicker]
345
399
 
346
400
  2008-12-31 Daniel Berger <djberg96@gmail.com>
347
401
 
348
- * lib/rubygems/local_remote_options: Allow 'https' as a valid scheme
349
- in addition to 'http' [RubyForge: patch #22485 by Duarte Henriques]
350
- * setup.rb: Deal with extraneous quotation mark when autogenerating
351
- .bat file on MS Windows [RubyForge: bug #22712 Takayuki Ishikawa]
352
- * lib/rubygems/commands/unpack_command.rb: Fixed the --target option
353
- [RubyForge: patch #22532 by Bryan Ash]
402
+ * lib/rubygems/local_remote_options: Allow 'https' as a valid scheme
403
+ in addition to 'http' [RubyForge: patch #22485 by Duarte Henriques]
404
+ * setup.rb: Deal with extraneous quotation mark when autogenerating
405
+ .bat file on MS Windows [RubyForge: bug #22712 Takayuki Ishikawa]
406
+ * lib/rubygems/commands/unpack_command.rb: Fixed the --target option
407
+ [RubyForge: patch #22532 by Bryan Ash]
354
408
 
355
409
  2008-12-30 Daniel Berger <djberg96@gmail.com>
356
410
 
357
- * lib/rubygems/builder.rb: Don't allow .gem file to be added back
358
- onto itself [RubyForge: bug #19136, patch #23346 by Daniel Berger]
359
- * lib/rubygems/defaults.rb: The default_path now only returns the
360
- default_dir if the Gem.user_home doesn't exist
361
- [RubyForge: bug #23037 by Pierre PLR]
362
- * lib/rubygems.rb: Handle the possibility that Etc.getpwuid might
363
- return nil on platforms other than Windows
364
- [RubyForge: bug #22764 by Dudley Flanders]
411
+ * lib/rubygems/builder.rb: Don't allow .gem file to be added back
412
+ onto itself [RubyForge: bug #19136, patch #23346 by Daniel Berger]
413
+ * lib/rubygems/defaults.rb: The default_path now only returns the
414
+ default_dir if the Gem.user_home doesn't exist
415
+ [RubyForge: bug #23037 by Pierre PLR]
416
+ * lib/rubygems.rb: Handle the possibility that Etc.getpwuid might
417
+ return nil on platforms other than Windows
418
+ [RubyForge: bug #22764 by Dudley Flanders]
365
419
 
366
420
  2008-12-16 Eric Hodel <drbrain@segment7.net>
367
421
 
@@ -1964,8 +2018,8 @@
1964
2018
  when it encounters a bad cache file.
1965
2019
 
1966
2020
  2007-05-14 Chad Fowler <chad@chadfowler.com>
1967
- * lib/rubygems/command_manager.rb: Re-added registration for
1968
- gem cleanup command which I accidentally removed during refactoring.
2021
+ * lib/rubygems/command_manager.rb: Re-added registration for
2022
+ gem cleanup command which I accidentally removed during refactoring.
1969
2023
 
1970
2024
  2007-05-10 Jim Weirich <jim@weirichhouse.org>
1971
2025
 
@@ -1994,23 +2048,23 @@
1994
2048
  New digest technique.
1995
2049
 
1996
2050
  * experimental/test_deployment.rb (TestDeployment::test_deployed_file):
1997
- New digest technique.
2051
+ New digest technique.
1998
2052
 
1999
2053
  2007-03-26 Chad Fowler <chad@chadfowler.com>
2000
2054
 
2001
- * Extracted the big ball of mud that was gem_commands.rb into
2002
- separate files.
2055
+ * Extracted the big ball of mud that was gem_commands.rb into
2056
+ separate files.
2003
2057
 
2004
2058
  2007-03-17 Chad Fowler <chad@chadfowler.com>
2005
2059
 
2006
- * Various ruby 1.8.6 fixes for failing tests.
2007
-
2008
- * Updated setup.rb to 3.4.1
2009
-
2010
- * Renamed cmd_manager to command_manager to keep names consistent
2011
-
2012
- * lib/installer.rb: Rework path checking to use Pathname (ara howard bug #8811)
2013
-
2060
+ * Various ruby 1.8.6 fixes for failing tests.
2061
+
2062
+ * Updated setup.rb to 3.4.1
2063
+
2064
+ * Renamed cmd_manager to command_manager to keep names consistent
2065
+
2066
+ * lib/installer.rb: Rework path checking to use Pathname (ara howard bug #8811)
2067
+
2014
2068
  2007-03-02 Eric Hodel <drbrain@segment7.net>
2015
2069
 
2016
2070
  * lib/rubygems.rb: Add bin directory before library directory,
@@ -2034,8 +2088,8 @@
2034
2088
 
2035
2089
  2007-02-04 Chad Fowler <chad@chadfowler.com>
2036
2090
 
2037
- * Fixed failing tests (changed from assert_equal to assert_match to
2038
- deal with ARGV inconsistencies in test vs. production).
2091
+ * Fixed failing tests (changed from assert_equal to assert_match to
2092
+ deal with ARGV inconsistencies in test vs. production).
2039
2093
 
2040
2094
  2007-02-03 Jim Weirich <jim@weirichhouse.org>
2041
2095
 
@@ -2241,17 +2295,17 @@
2241
2295
 
2242
2296
  * test/: Added functional test for extension gems proving that
2243
2297
  non-compiling extensions don't result in success message.
2244
-
2298
+
2245
2299
  * lib/rubygems/specification.rb: Raise exception if loaded spec is
2246
2300
  nil. Closes bug #7299.
2247
-
2301
+
2248
2302
  * test/gemenvironment.rb: Clean out gemhome every time to avoid dirty
2249
2303
  directory failing tests.
2250
-
2304
+
2251
2305
  * lib/rubygems/installer.rb: Change uninstall to require a full gem
2252
2306
  name (not a partial match). Fixes bug #6007 and related unreported
2253
2307
  issues.
2254
-
2308
+
2255
2309
  2006-12-15 Eric Hodel <drbrain@segment7.net>
2256
2310
 
2257
2311
  * lib/rubygems/installer.rb (Gem::Uninstaller): Correctly uninstall
@@ -2326,7 +2380,7 @@
2326
2380
 
2327
2381
  2006-11-30 Chad Fowler <chad@chadfowler.com>
2328
2382
 
2329
- * lib/rubygems/open-uri.rb: Removed the duplicated library.
2383
+ * lib/rubygems/open-uri.rb: Removed the duplicated library.
2330
2384
 
2331
2385
  2006-11-30 Eric Hodel <drbrain@segment7.net>
2332
2386
 
@@ -2400,8 +2454,8 @@
2400
2454
 
2401
2455
  2006-11-18 Chad Fowler <chad@chadfowler.com>
2402
2456
 
2403
- * lib/rubygems/installer.rb: Applied Kevin Clark's patch to make
2404
- RubyGems recognize mkrf files.
2457
+ * lib/rubygems/installer.rb: Applied Kevin Clark's patch to make
2458
+ RubyGems recognize mkrf files.
2405
2459
 
2406
2460
  2006-11-17 Eric Hodel <drbrain@segment7.net>
2407
2461
 
@@ -2506,10 +2560,10 @@
2506
2560
  '==' code.
2507
2561
 
2508
2562
  2006-09-18 Chad Fowler <chad@chadfowler.com>
2509
-
2510
- * lib/rubygems/remote_installer.rb
2511
- Only show the last 3 gem versions on a multiplatform remote
2512
- install list.
2563
+
2564
+ * lib/rubygems/remote_installer.rb
2565
+ Only show the last 3 gem versions on a multiplatform remote
2566
+ install list.
2513
2567
 
2514
2568
  2006-09-18 Jim Weirich <jim@weirichhouse.org>
2515
2569
 
@@ -2640,19 +2694,19 @@ Tue Jan 24 16:26:13 2006 Chad Fowler <chad@chadfowler.com>
2640
2694
  Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
2641
2695
 
2642
2696
  * lib/rubygems/source_index.rb
2643
- (Gem::SourceIndex::load_specification): Added an untaint call to
2644
- make the code run in SAFE=1 mode under 1.8.3.
2697
+ (Gem::SourceIndex::load_specification): Added an untaint call to
2698
+ make the code run in SAFE=1 mode under 1.8.3.
2645
2699
  (Gem::SourceIndex::load_gems_in): Untaint here too.
2646
2700
 
2647
2701
  * lib/rubygems/installer.rb (Gem::Installer::install): Untaint
2648
- here too.
2702
+ here too.
2649
2703
  (Gem::Installer::extract_files): Untaint here too.
2650
2704
 
2651
2705
  * lib/rubygems/custom_require.rb
2652
- (Gem::GemPathSearcher::matching_file): Untaint here too.
2706
+ (Gem::GemPathSearcher::matching_file): Untaint here too.
2653
2707
 
2654
2708
  * test/gemenvironment.rb: Added $SAFE=1 to the test environment to
2655
- make sure we can run in $SAFE mode.
2709
+ make sure we can run in $SAFE mode.
2656
2710
 
2657
2711
  2005-12-03 Jim Weirich <jim@tardis>
2658
2712
 
@@ -2680,18 +2734,18 @@ Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
2680
2734
  index if given a nil value for the +si+ value.
2681
2735
 
2682
2736
  2005-11-08 Chad Fowler <chad@chadfowler.com>
2683
- * lib/rubygems.rb: Ara Howard's fix to allow 0.0.0 to be a valid gem
2684
- version.
2737
+ * lib/rubygems.rb: Ara Howard's fix to allow 0.0.0 to be a valid gem
2738
+ version.
2685
2739
 
2686
2740
  2005-11-08 Chad Fowler <chad@chadfowler.com>
2687
- * lib/rubygems/gem_commands.rb: Fixed bug in gem unpack. It was
2688
- sorting incorrectly, resulting in the wrong version being unpacked in
2689
- some edge cases. Thanks to Jakob Skjerning for the detailed bug report.
2741
+ * lib/rubygems/gem_commands.rb: Fixed bug in gem unpack. It was
2742
+ sorting incorrectly, resulting in the wrong version being unpacked in
2743
+ some edge cases. Thanks to Jakob Skjerning for the detailed bug report.
2690
2744
 
2691
2745
  2005-11-03 Chad Fowler <chad@chadfowler.com>
2692
- * lib/rubygems/installer.rb: Fixed bug that would cause the executables
2693
- from the wrong gem to be uninstalled if the names matched the same
2694
- regex. Thanks Eric Hodel.
2746
+ * lib/rubygems/installer.rb: Fixed bug that would cause the executables
2747
+ from the wrong gem to be uninstalled if the names matched the same
2748
+ regex. Thanks Eric Hodel.
2695
2749
 
2696
2750
  2005-11-01 Jim Weirich <jim@tardis>
2697
2751
  * lib/rubygems/gem_commands.rb (Gem::UpdateCommand::initialize):
@@ -2700,12 +2754,12 @@ Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
2700
2754
  (Gem::UpdateCommand::execute): Upgrade => Update change.
2701
2755
 
2702
2756
  2005-11-01 Chad Fowler <chad@chadfowler.com>
2703
- * lib/rubygems/gem_commands.rb: Allow gem unpack to accept a gem file
2704
- path instead of gem name: gem unpack mygem-1.0.0.gem.
2757
+ * lib/rubygems/gem_commands.rb: Allow gem unpack to accept a gem file
2758
+ path instead of gem name: gem unpack mygem-1.0.0.gem.
2705
2759
 
2706
2760
  2005-10-31 Chad Fowler <chad@chadfowler.com>
2707
- * lib/rubygems/installer.rb: Tilman Sauerbeck's patch to support
2708
- extensions built with Rake!
2761
+ * lib/rubygems/installer.rb: Tilman Sauerbeck's patch to support
2762
+ extensions built with Rake!
2709
2763
 
2710
2764
  2005-09-13 Jim Weirich <jim@weirichhouse.org>
2711
2765
 
@@ -2730,7 +2784,7 @@ Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
2730
2784
  2005-07-08 Chad Fowler <chad@chadfowler.com>
2731
2785
 
2732
2786
  * lib/rubygems/remote_installer.rb: Applied Daniel Roux's patch
2733
- to make RubyGems work with authenticating proxies.
2787
+ to make RubyGems work with authenticating proxies.
2734
2788
 
2735
2789
  2005-07-08 Jim Weirich <jim@weirichhouse.org>
2736
2790
 
@@ -3253,7 +3307,7 @@ Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
3253
3307
  date/time stamping in fetching the source cache.
3254
3308
 
3255
3309
  2004-11-25 Ryan Davis <ryand@zenspider.com>
3256
- * lib/rubygems.rb: Added GEM_SKIP functionality, which will tell
3310
+ * lib/rubygems.rb: Added GEM_SKIP functionality, which will tell
3257
3311
  loadpath_manager not to load specific libs from gems. For
3258
3312
  testing/ development purposes. Created by Ryan Davis.
3259
3313
 
@@ -3284,7 +3338,7 @@ Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
3284
3338
  * setup.rb,install.rb,bin/update_rubygems: removed install.rb and
3285
3339
  added setup.rb and post-install.rb. Changed update_rubygems so that
3286
3340
  params passed to it can be passed on to setup.rb
3287
-
3341
+
3288
3342
  2004-10-25 Jim Weirich <jim@weirichhouse.org>
3289
3343
 
3290
3344
  * lib/rubygems/installer.rb
@@ -3354,12 +3408,12 @@ Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
3354
3408
 
3355
3409
  2004-09-30 Rich Kilmer <rich@infoether.com>
3356
3410
 
3357
- * lib/rubygems/specification.rb - externalized the loaded_from runtime
3358
- var on specification
3359
- * lib/rubygems/cache.rb - optimized cache refresh! method and refactored
3360
- processing of files when building cache.
3361
- * lib/rubygems/loadpath_manager.rb - fixed bug in loadpath manager in
3362
- finding native extensions that have ext on os x, win32 and solaris
3411
+ * lib/rubygems/specification.rb - externalized the loaded_from runtime
3412
+ var on specification
3413
+ * lib/rubygems/cache.rb - optimized cache refresh! method and refactored
3414
+ processing of files when building cache.
3415
+ * lib/rubygems/loadpath_manager.rb - fixed bug in loadpath manager in
3416
+ finding native extensions that have ext on os x, win32 and solaris
3363
3417
 
3364
3418
  2004-09-20 Chad Fowler <chad@chadfowler.com>
3365
3419
  * lib/rubygems/gem_commands.rb: If file match during local install is
@@ -3377,7 +3431,7 @@ Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
3377
3431
 
3378
3432
  2004-09-12 Chad Fowler <chad@chadfowler.com>
3379
3433
  * lib/rubygems/specification.rb, test/test_specification.rb: Removed
3380
- library_stubs attribute.
3434
+ library_stubs attribute.
3381
3435
 
3382
3436
  2004-09-12 Gavin Sinclair <gsinclair@soyabean.com.au>
3383
3437
 
@@ -3389,71 +3443,71 @@ Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
3389
3443
 
3390
3444
  2004-09-11 Chad Fowler <chad@chadfowler.com>
3391
3445
 
3392
- * test/test_parse_commands.rb: Fix failing unit tests due to Rich's fix from
3446
+ * test/test_parse_commands.rb: Fix failing unit tests due to Rich's fix from
3393
3447
 
3394
- * lib/rubygems/specification.rb: Add bindir to executable path on file list
3448
+ * lib/rubygems/specification.rb: Add bindir to executable path on file list
3395
3449
 
3396
3450
  2004-09-11 Rich Kilmer <rich@infoether.com>
3397
3451
 
3398
- * lib/rubygems/gem_commands.rb - got rid of stub options
3452
+ * lib/rubygems/gem_commands.rb - got rid of stub options
3399
3453
 
3400
- * lib/rubygems/install.rb - changed output of messages so the UI would format
3401
- better
3454
+ * lib/rubygems/install.rb - changed output of messages so the UI would format
3455
+ better
3402
3456
 
3403
- * bin/gem_server - exit! from ^c
3457
+ * bin/gem_server - exit! from ^c
3404
3458
 
3405
3459
  2004-09-09 Chad Fowler <chad@chadfowler.com>
3406
- * lib/rubygems/loadpath_manager.rb: Small bug when gem specs have ruby
3407
- version requirements.
3408
- * lib/rubygems/specification.rb, lib/rubygems/gem_commands.rb: Fixed failing
3409
- functional test.
3460
+ * lib/rubygems/loadpath_manager.rb: Small bug when gem specs have ruby
3461
+ version requirements.
3462
+ * lib/rubygems/specification.rb, lib/rubygems/gem_commands.rb: Fixed failing
3463
+ functional test.
3410
3464
 
3411
3465
  2004-09-08 Chad Fowler <chad@chadfowler.com>
3412
- * install.rb: added stub removal to the install process
3466
+ * install.rb: added stub removal to the install process
3413
3467
 
3414
3468
  2004-09-06 Chad Fowler <chad@chadfowler.com>
3415
- * test/test_package.rb: Fixed failing unit test as per Mauricio's email to
3416
- the rubygems list.
3417
- * Fixed minor issues with Windows cmd file generation.
3469
+ * test/test_package.rb: Fixed failing unit test as per Mauricio's email to
3470
+ the rubygems list.
3471
+ * Fixed minor issues with Windows cmd file generation.
3418
3472
 
3419
3473
  2004-09-06 Rich Kilmer <rich@infoether.com>
3420
- * lib/rubygems/remote_installer.rb - enabled caching of source caches
3421
- based on the size of the yaml.Z/yaml file.
3422
-
3474
+ * lib/rubygems/remote_installer.rb - enabled caching of source caches
3475
+ based on the size of the yaml.Z/yaml file.
3476
+
3423
3477
  2004-08-29 Chad Fowler <chad@chadfowler.com>
3424
3478
  * /lib/rubygems/gem_command.rb: small big fix for local gem installs
3425
3479
  on Windows.
3426
3480
 
3427
3481
  2004-08-28 Rich Kilmer <rich@infoether.com>
3428
3482
 
3429
- * /lib/rubygems/installer.rb, /lib/rubygems/doc_manager.rb,
3430
- /lib/rubygems/cmd_manager.rb - Added an exception: FilePermissionError
3431
- which checks to ensure write access to the install/uninstall/rdoc
3432
- destination directories and raises a nice error instead of the standard
3433
- one.
3483
+ * /lib/rubygems/installer.rb, /lib/rubygems/doc_manager.rb,
3484
+ /lib/rubygems/cmd_manager.rb - Added an exception: FilePermissionError
3485
+ which checks to ensure write access to the install/uninstall/rdoc
3486
+ destination directories and raises a nice error instead of the standard
3487
+ one.
3434
3488
 
3435
3489
  2004-08-28 Rich Kilmer <rich@infoether.com>
3436
3490
 
3437
- * /lib/rubygems/installer.rb - commented out stub addition and removal
3491
+ * /lib/rubygems/installer.rb - commented out stub addition and removal
3438
3492
 
3439
3493
  2004-08-28 Rich Kilmer <rich@infoether.com>
3440
3494
 
3441
- * /lib/rubygems.rb, /lib/rubygems/loadpath_manager.rb -
3442
- this adds all the loadpath_manager stuff with the 'ultimate require hack' to
3443
- rubygems.rb. Also, require_gem methods body has been extracted into a method
3444
- Gem.activate that differs in the calling signature in that the second param is
3445
- a boolean that determines whether to autorequire or not.
3495
+ * /lib/rubygems.rb, /lib/rubygems/loadpath_manager.rb -
3496
+ this adds all the loadpath_manager stuff with the 'ultimate require hack' to
3497
+ rubygems.rb. Also, require_gem methods body has been extracted into a method
3498
+ Gem.activate that differs in the calling signature in that the second param is
3499
+ a boolean that determines whether to autorequire or not.
3446
3500
 
3447
3501
  2004-08-27 Rich Kilmer <rich@infoether.com>
3448
3502
 
3449
- * lib/rubygems/user_interaction - added ask_yes_no as a method
3450
- which returns true/false and formats/processes the [yn] stuff.
3451
- it also has an optional second parameter of true/false for the
3452
- default value.
3503
+ * lib/rubygems/user_interaction - added ask_yes_no as a method
3504
+ which returns true/false and formats/processes the [yn] stuff.
3505
+ it also has an optional second parameter of true/false for the
3506
+ default value.
3453
3507
 
3454
- * lib/rubygems/installer.rb, lib/rubygems/remote_installer.rb,
3455
- lib/rubygems/command_manager.rb - changed all places where ask
3456
- was used with [Yn] to ask_yes_no
3508
+ * lib/rubygems/installer.rb, lib/rubygems/remote_installer.rb,
3509
+ lib/rubygems/command_manager.rb - changed all places where ask
3510
+ was used with [Yn] to ask_yes_no
3457
3511
 
3458
3512
  2004-08-24 Gavin Sinclair <gsinclair@soyabean.com.au>
3459
3513
 
@@ -3466,8 +3520,8 @@ Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
3466
3520
  command takes --rdoc as its default now.
3467
3521
 
3468
3522
  2004-08-22 Rich Kilmer <rich@infoether.com>
3469
- * lib/rubygems/installer.rb: fixed stub generation...i added the version
3470
- stuff that only app stubs should have...sorry!
3523
+ * lib/rubygems/installer.rb: fixed stub generation...i added the version
3524
+ stuff that only app stubs should have...sorry!
3471
3525
 
3472
3526
  2004-08-17 Gavin Sinclair <gsinclair@soyabean.com.au>
3473
3527
 
@@ -3513,7 +3567,7 @@ Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
3513
3567
  * lib/rubygems/remote_installer.rb, lib/rubygems/installer.rb: Fixed
3514
3568
  minor bugs in default selections for questions asked during
3515
3569
  installation and uninstallation
3516
-
3570
+
3517
3571
  2004-08-17 Gavin Sinclair <gsinclair@soyabean.com.au>
3518
3572
 
3519
3573
  * lib/rubygems/specification.rb:
@@ -3533,11 +3587,11 @@ Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
3533
3587
  * lib/rubygems/config_file.rb: ditto
3534
3588
 
3535
3589
  2004-08-11 Rich Kilmer <rich@infoether.com>
3536
- * lib/rubygems/installer.rb: The application stub now defaults to
3537
- the latest version of the library, and optionally allows an initial
3538
- parameter conforming to _VERSION_ to be passed to select a prior
3539
- version of the library (this initial parameter, if present, is shifted
3540
- off of ARGV). This change was re-added...I erased it somehow :(
3590
+ * lib/rubygems/installer.rb: The application stub now defaults to
3591
+ the latest version of the library, and optionally allows an initial
3592
+ parameter conforming to _VERSION_ to be passed to select a prior
3593
+ version of the library (this initial parameter, if present, is shifted
3594
+ off of ARGV). This change was re-added...I erased it somehow :(
3541
3595
 
3542
3596
  2004-08-11 Gavin Sinclair <gsinclair@soyabean.com.au>
3543
3597
 
@@ -3551,20 +3605,20 @@ Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
3551
3605
  option and obsolete error message.
3552
3606
 
3553
3607
  2004-08-12 Chad Fowler <chad@chadfowler.com>
3554
- * Added "gem rdoc" command for generating docs for already-installed
3555
- gems
3608
+ * Added "gem rdoc" command for generating docs for already-installed
3609
+ gems
3556
3610
 
3557
3611
  2004-08-11 Rich Kilmer <rich@infoether.com>
3558
- * bin/generate_yaml_index: updated to work with new gem format (and use the Gem::Format
3612
+ * bin/generate_yaml_index: updated to work with new gem format (and use the Gem::Format
3559
3613
  class to read). Will deploy after testing on RubyForge.
3560
- * lib/rubygems/gem_commands.rb: generate rdoc by default on installs (I think this is
3614
+ * lib/rubygems/gem_commands.rb: generate rdoc by default on installs (I think this is
3561
3615
  just good practice.
3562
- * lib/rubygems/remote_install.rb: raise an exception if dependent gems cannot be found
3616
+ * lib/rubygems/remote_install.rb: raise an exception if dependent gems cannot be found
3563
3617
  on remote_install
3564
3618
 
3565
3619
  2004-08-11 Chad Fowler <chad@chadfowler.com>
3566
- * lib/rubygems/gem_commands.rb: query is now case insensitive (as it used to be)
3567
- * lib/rubygems/installer.rb: gem_make.out wasn't being written when an extension failed to compile.
3620
+ * lib/rubygems/gem_commands.rb: query is now case insensitive (as it used to be)
3621
+ * lib/rubygems/installer.rb: gem_make.out wasn't being written when an extension failed to compile.
3568
3622
 
3569
3623
  2004-08-11 Rich Kilmer <rich@infoether.com>
3570
3624
 
@@ -3703,7 +3757,7 @@ Tue Dec 6 14:51:13 2005 Jim Weirich <jim@tardis>
3703
3757
 
3704
3758
  * lib/rubygems/version.rb correct? is now a class method on
3705
3759
  Version enabling Gem::Version.correct?(...)
3706
-
3760
+
3707
3761
  * lib/rubygems/install.rb make it so uninstalling a gem will
3708
3762
  not remove executables if another version of that gem is
3709
3763
  installed and needs those executables