rubygems-update 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. data/.document +4 -0
  2. data/ChangeLog +458 -0
  3. data/GPL.txt +340 -0
  4. data/LICENSE.txt +53 -0
  5. data/Rakefile +26 -10
  6. data/TODO +0 -1
  7. data/bin/gem_server +2 -434
  8. data/bin/gemlock +1 -1
  9. data/bin/index_gem_repository.rb +34 -12
  10. data/examples/application/an-app.gemspec +4 -2
  11. data/examples/application/ext/Makefile +139 -0
  12. data/examples/application/ext/extconf.rb +3 -0
  13. data/examples/application/ext/foo.c +1 -0
  14. data/lib/gemconfigure.rb +2 -2
  15. data/lib/rubygems.rb +85 -46
  16. data/lib/rubygems/cmd_manager.rb +14 -11
  17. data/lib/rubygems/command.rb +18 -9
  18. data/lib/rubygems/config_file.rb +17 -16
  19. data/lib/rubygems/custom_require.rb +7 -12
  20. data/lib/rubygems/dependency_list.rb +38 -38
  21. data/lib/rubygems/gem_commands.rb +471 -242
  22. data/lib/rubygems/gem_openssl.rb +1 -1
  23. data/lib/rubygems/gem_runner.rb +2 -1
  24. data/lib/rubygems/installer.rb +189 -143
  25. data/lib/rubygems/package.rb +625 -621
  26. data/lib/rubygems/remote_fetcher.rb +142 -0
  27. data/lib/rubygems/remote_installer.rb +85 -465
  28. data/lib/rubygems/rubygems_version.rb +1 -1
  29. data/lib/rubygems/security.rb +54 -11
  30. data/lib/rubygems/server.rb +486 -0
  31. data/lib/rubygems/source_index.rb +187 -21
  32. data/lib/rubygems/source_info_cache.rb +153 -0
  33. data/lib/rubygems/source_info_cache_entry.rb +31 -0
  34. data/lib/rubygems/specification.rb +71 -30
  35. data/lib/rubygems/user_interaction.rb +22 -20
  36. data/lib/rubygems/validator.rb +8 -7
  37. data/lib/rubygems/version.rb +32 -17
  38. data/pkgs/sources/sources-0.0.1.gem +0 -0
  39. data/post-install.rb +42 -3
  40. data/scripts/gemdoc.rb +3 -3
  41. data/scripts/runtest.rb +1 -1
  42. data/scripts/upload_gemdoc.rb +11 -11
  43. data/setup.rb +14 -7
  44. data/test/brokenbuildgem.rb +35 -0
  45. data/test/data/a-0.0.1.gem +0 -0
  46. data/test/data/a-0.0.2.gem +0 -0
  47. data/test/data/b-0.0.2.gem +0 -0
  48. data/test/data/broken-1.0.0.gem +0 -0
  49. data/test/data/broken_build/broken-build.gemspec +20 -0
  50. data/test/data/broken_build/ext/extconf.rb +3 -0
  51. data/test/data/broken_build/ext/foo.c +1 -0
  52. data/test/data/c-1.2.gem +0 -0
  53. data/test/data/gemhome/cache/a-0.0.1.gem +0 -0
  54. data/test/data/gemhome/cache/a-0.0.2.gem +0 -0
  55. data/test/data/gemhome/cache/b-0.0.2.gem +0 -0
  56. data/test/data/gemhome/cache/c-1.2.gem +0 -0
  57. data/test/data/gemhome/gems/a-0.0.1/lib/code.rb +0 -6
  58. data/test/data/gemhome/gems/a-0.0.2/lib/code.rb +0 -6
  59. data/test/data/gemhome/gems/b-0.0.2/lib/code.rb +0 -6
  60. data/test/data/gemhome/gems/c-1.2/lib/code.rb +0 -6
  61. data/test/data/gemhome/specifications/a-0.0.1.gemspec +1 -1
  62. data/test/data/gemhome/specifications/a-0.0.2.gemspec +1 -1
  63. data/test/data/gemhome/specifications/b-0.0.2.gemspec +1 -1
  64. data/test/data/gemhome/specifications/c-1.2.gemspec +1 -1
  65. data/test/data/lib/code.rb +0 -6
  66. data/test/data/one/one-0.0.1.gem +0 -0
  67. data/test/functional.rb +24 -21
  68. data/test/functional_extension_gems.rb +48 -0
  69. data/test/functional_generate_yaml_index.rb +6 -3
  70. data/test/gemenvironment.rb +27 -22
  71. data/test/gemutilities.rb +95 -5
  72. data/test/insure_session.rb +2 -2
  73. data/test/io_capture.rb +33 -0
  74. data/test/test_check_command.rb +2 -2
  75. data/test/test_command.rb +16 -13
  76. data/test/test_dependency_list.rb +20 -20
  77. data/test/test_file_list.rb +10 -11
  78. data/test/test_format.rb +19 -46
  79. data/test/test_gem.rb +25 -0
  80. data/test/test_gem_ext_configure_builder.rb +88 -0
  81. data/test/test_gem_ext_ext_conf_builder.rb +122 -0
  82. data/test/test_gem_ext_rake_builder.rb +61 -0
  83. data/test/test_gem_outdated_command.rb +37 -0
  84. data/test/test_gem_source_info_cache.rb +196 -0
  85. data/test/test_gem_source_info_cache_entry.rb +44 -0
  86. data/test/test_gem_sources_command.rb +130 -0
  87. data/test/test_installer.rb +137 -9
  88. data/test/test_package.rb +521 -531
  89. data/test/test_parse_commands.rb +7 -7
  90. data/test/test_process_commands.rb +1 -1
  91. data/test/test_remote_fetcher.rb +187 -45
  92. data/test/test_remote_installer.rb +35 -52
  93. data/test/test_require_gem.rb +12 -12
  94. data/test/test_source_index.rb +194 -48
  95. data/test/test_specification.rb +154 -0
  96. data/test/test_user_interaction.rb +48 -0
  97. data/test/test_validator.rb +1 -1
  98. data/test/test_version_comparison.rb +116 -5
  99. metadata +33 -10
  100. data/lib/rubygems/incremental_fetcher.rb +0 -136
  101. data/lib/rubygems/loadpath_manager.rb +0 -114
  102. data/lib/rubygems/open-uri.rb +0 -756
  103. data/test/test_cached_fetcher.rb +0 -64
  104. data/test/test_incremental_fetcher.rb +0 -175
  105. data/test/test_local_cache.rb +0 -106
@@ -0,0 +1,4 @@
1
+ README.txt
2
+ lib
3
+ GPL.txt
4
+ LICENSE.txt
data/ChangeLog CHANGED
@@ -1,3 +1,461 @@
1
+ 2007-01-16 Eric Hodel <drbrain@segment7.net>
2
+
3
+ * lib/rubygems/rubygems_version.rb (Gem): Released 0.9.1.
4
+
5
+ 2007-01-15 Eric Hodel <drbrain@segment7.net>
6
+
7
+ * lib/rubygems/installer.rb (Gem::Installer#extract_files): Only allow
8
+ installation to absolute directories. (Call File::expand_path first).
9
+ More informative message for attempting to install with bad path.
10
+ * post-install.rb: Install sources first, since its rather important.
11
+
12
+ 2007-01-14 Eric Hodel <drbrain@segment7.net>
13
+
14
+ * lib/rubygems/source_info_cache.rb: require 'fileutils', as its
15
+ needed.
16
+
17
+ 2007-01-12 Eric Hodel <drbrain@segment7.net>
18
+
19
+ * lib/rubygems/installer.rb (Gem::Installer#extract_files): Don't
20
+ allow gems to place files outside the installation directory. Fixes
21
+ bug 7751 by Gavin Sinclair.
22
+
23
+ 2007-01-08 Jim Weirich <jim@weirichhouse.org>
24
+
25
+ * lib/rubygems/specification.rb
26
+ (Gem::Specification::test_suite_file): Added rescue clause for
27
+ default_executable.
28
+ (Gem::Specification::add_bindir): Added rescue clause for
29
+ add_bindir.
30
+
31
+ * test/test_specification.rb
32
+ (TestSpecification::test_pathologically_bad_non_array_stuff_doesnt_goof_up_files):
33
+ Added a sanity check on hash for some pathologically bad case.
34
+ (TestSpecification::test_pathologically_bad_exectuables_doesnt_goof_up_hash):
35
+ Added sanity check for pathologically bad executables field.
36
+
37
+ 2007-01-08 Eric Hodel <drbrain@segment7.net>
38
+
39
+ * lib/rubygems/gem_commands.rb (Gem::PristineCommand#execute): Better
40
+ messaging.
41
+ * lib/rubygems.rb, lib/rubygems/custom_require.rb: Correctly include
42
+ documentation for methods added to Kernel.
43
+
44
+ 2007-01-07 Eric Hodel <drbrain@segment7.net>
45
+
46
+ * Rakefile: Include GPL.txt. Fixes bug #7572 by David Lee.
47
+
48
+ 2007-01-06 Jim Weirich <jim@weirichhouse.org>
49
+
50
+ * lib/rubygems/rubygems_version.rb (Gem): Bumped to version
51
+ 0.9.0.9.
52
+
53
+ * lib/rubygems/specification.rb
54
+ (Gem::Specification::test_suite_file): Rewrote default_executable
55
+ to be a bit more explicit.
56
+ (Gem::Specification::add_bindir): Rewrote the 'files' accessor to
57
+ handle pathologically bad input.
58
+ (Gem::Specification::copy_of): Added as_array private method.
59
+
60
+ * Rakefile (package_version): Added '*.out' to clobber list.
61
+ Removed the broken-1.0.0.gem file from the clobber list.
62
+
63
+ * test/test_specification.rb
64
+ (TestSpecification::test_default_executable):
65
+ Seriously beefed up tests for certain specification issues.
66
+
67
+ * test/gemenvironment.rb (TestEnvironment::create): Added the 'f'
68
+ flag to deleting 'gemhome'.
69
+
70
+ 2006-12-30 Eric Hodel <drbrain@segment7.net>
71
+
72
+ * post-install.rb, lib/rubygems/server.rb: RubyGems now installs RDoc
73
+ and ri for itself.
74
+
75
+ 2006-12-28 Eric Hodel <drbrain@segment7.net>
76
+
77
+ * lib/rubygems/installer.rb (Gem::Installer#build_extensions):
78
+ Extension build failures now raise Gem::Installer::ExtensionBuildErrors.
79
+
80
+ 2006-12-26 Eric Hodel <drbrain@segment7.net>
81
+
82
+ * lib/rubygems/package.rb (Gem::Package::TarInput#initialize): Bad
83
+ packages now raise FormatError instead of a generic RuntimeError.
84
+ * lib/rubygems/installer.rb (Gem::Installer#install): Raise an
85
+ InstallError when we have a bad gem file.
86
+
87
+ 2006-12-25 Jim Weirich <jim@weirichhouse.org>
88
+
89
+ * lib/rubygems/custom_require.rb (Gem::GemPathSearcher::find):
90
+ Removed SUFFIX_PATTERN. Evidently this was miss during an earlier
91
+ attempt to remove it.
92
+ (Gem::GemPathSearcher::matching_file): Changed reference to
93
+ SUFFIX_PATTERN into a call to Gem.suffix_pattern.
94
+
95
+ * Removed tab characters from numerous source files.
96
+
97
+ * lib/rubygems/installer.rb (Gem::Uninstaller::uninstall): Removed
98
+ stray tab characters.
99
+
100
+ * lib/rubygems.rb (Kernel::require_gem): Added file and line
101
+ number information to require_gem worning (makes it easier to
102
+ track down those offending lines of code).
103
+ (Kernel::location_of_caller): Added helper function to determine
104
+ file and line number of caller.
105
+
106
+ 2006-12-25 Eric Hodel <drbrain@segment7.net>
107
+
108
+ * lib/rubygems/installer.rb (Gem::Installer#app_script_text):
109
+ Simpler, more readable bin script.
110
+ * lib/rubygems/gem_commands.rb (Gem::PristineCommand#execute):
111
+ Regenerate bin scripts. This will clean up require_gem in scripts.
112
+
113
+ 2006-12-24 Eric Hodel <drbrain@segment7.net>
114
+
115
+ * lib/rubygems/remote_fetcher.rb (Gem::RemoteFetcher#fetch_path):
116
+ Rescue various errors and return a more-friendly error.
117
+
118
+ 2006-12-23 Eric Hodel <drbrain@segment7.net>
119
+
120
+ * lib/rubygems/command.rb lib/rubygems/gem_commands.rb: Make help
121
+ output fit in 80 columns.
122
+ * lib/rubygems/rubygems_version.rb: Bump version to 0.9.0.8, beta
123
+ time! (Oops, didn't go into beta.)
124
+
125
+ 2006-12-20 Eric Hodel <drbrain@segment7.net>
126
+
127
+ * lib/rubygems/remote_fetcher.rb (Gem::RemoteFetcher#fetch_size): Give
128
+ a sensible error on bad URIs.
129
+ * lib/rubygems/gem_commands.rb (Gem::SourceCommand): Allow management
130
+ of sources in source_cache. Fixes bug #1128.
131
+ * lib/rubygems.rb (Kernel#require_gem): Add deprecation warning in
132
+ favor of gem.
133
+
134
+ 2006-12-19 Eric Hodel <drbrain@segment7.net>
135
+
136
+ * lib/rubygems/installer.rb (Gem::ExtBuilder): Refactored for
137
+ uniformity.
138
+ * lib/rubygems/remote_installer.rb
139
+ (Gem::RemoteInstaller#specs_n_sources_matching): Don't display gems
140
+ that can't be installed.
141
+ * lib/rubygems.rb, pre-install.rb: Fix installation errors on 1.9.
142
+ Fixes bug #4536 by Ryan Davis.
143
+ * lib/rubygems/source_index.rb, lib/rubygems/gem_commands.rb,
144
+ lib/rubygems-custom_require.rb: Use File.join with glob strings.
145
+ Fixes bug #1096 submitted by Chad Fowler.
146
+ * lib/rubygems/remote_installer.rb
147
+ (Gem::RemoteInstaller#install_dependencies): Make --force actually
148
+ force. Fixes bug #7365 by Robert James.
149
+
150
+ 2006-12-18 Eric Hodel <drbrain@segment7.net>
151
+
152
+ * lib/rubygems/gem_commands (Gem::OutdatedCommand): Add a way to see
153
+ which gems are out-of-date.
154
+
155
+ * setup.rb: Ignore errors for .config and InstalledFiles when
156
+ the source path is read-only/NFS. Fixes bugs #1395 and #1374. Patch
157
+ by Ryan Davis.
158
+
159
+ * bin/gem_server: Pull code out into lib/rubygems/server.rb for
160
+ reusability. Closes Feature Request #2220 by Chris Morris.
161
+
162
+ 2006-12-16 Chad Fowler <chad@chadfowler.com>
163
+
164
+ * test/: Added functional test for extension gems proving that
165
+ non-compiling extensions don't result in success message.
166
+
167
+ * lib/rubygems/specification.rb: Raise exception if loaded spec is
168
+ nil. Closes bug #7299.
169
+
170
+ * test/gemenvironment.rb: Clean out gemhome every time to avoid dirty
171
+ directory failing tests.
172
+
173
+ * lib/rubygems/installer.rb: Change uninstall to require a full gem
174
+ name (not a partial match). Fixes bug #6007 and related unreported
175
+ issues.
176
+
177
+ 2006-12-15 Eric Hodel <drbrain@segment7.net>
178
+
179
+ * lib/rubygems/installer.rb (Gem::Uninstaller): Correctly uninstall
180
+ executables if GEM_HOME is set. Patch #2264 by Sylvain Joyeux.
181
+
182
+ * lib/rubygems.rb (Gem::loaded_specs): Expose list of currently loaded
183
+ gems.
184
+
185
+ * lib/rubygems/gem_commands (Gem::UninstallCommand): Allow multiple
186
+ gems to be uninstalled at once.
187
+
188
+ 2006-12-14 Eric Hodel <drbrain@segment7.net>
189
+
190
+ * post-install.rb: Don't attempt to read unreadable files. Fixes
191
+ bug #2851.
192
+
193
+ 2006-12-13 Eric Hodel <drbrain@segment7.net>
194
+
195
+ * pre-install.rb.rb, post-install.rb: Don't call manage_gems because
196
+ we don't have sources installed yet. Bump version requirement to
197
+ 1.8.2 since rubygems/open-uri.rb was removed. Should fix bug #6206.
198
+
199
+ * lib/rubygems/installer.rb (Gem::Installer#build_extensions): Capture
200
+ stderr into results when building extensions.
201
+
202
+ * lib/rubygems/gem_commands.rb (Gem::ContentsCommand): Allow version
203
+ to be passed to gem contents. Not backwards compatible, -v now -V and
204
+ vice versa. Select newest gem for contents. Fixes bugs #2723, #7225.
205
+ Patches by Sava Chankov, Tom Pollard.
206
+
207
+ * lib/rubygems/gem_commands.rb (Gem::InstallCommand#execute): Allow
208
+ install errors to result in non-zero exit code. Fixes bug #2773.
209
+
210
+ 2006-12-03 Eric Hodel <drbrain@segment7.net>
211
+
212
+ * lib/rubygems/remote_installer.rb (Gem::RemoteInstaller#install):
213
+ Add :cache_dir option to override the default.
214
+
215
+ * lib/rubygems/remote_installer.rb (Gem::RemoteInstaller#download_gem):
216
+ Check cache to see if the gem has been cached before downloading.
217
+
218
+ 2006-12-02 Jim Weirich <jim@weirichhouse.org>
219
+
220
+ * lib/rubygems.rb (Gem::OperationNotSupportedError::suffixes,
221
+ Gem::OperationNotSupportedError::suffix_pattern): Removed
222
+ duplicate copies of the SUFFIX_PATTERN by providing a global
223
+ method Gem.suffixes and Gem.suffix_pattern.
224
+
225
+ * lib/rubygems/remote_fetcher.rb (Gem::open_uri_or_path): Reworked
226
+ the connection options for the open-uri call. Since we are not
227
+ using the rubygems supplied open_uri, we can use some new options
228
+ available that make proxy handling much easier.
229
+ (Gem::file_uri): Renamed is_file_uri to file_uri?.
230
+
231
+ * lib/rubygems/loadpath_manager.rb (Gem::LoadPathManager::self):
232
+ Added .jar to list of suffixes.
233
+
234
+ * test/functional.rb (FunctionalTest::test_env_remotesources):
235
+ Changed test to uses Gem.sources (the sources method on
236
+ remote_fetcher was removed).
237
+
238
+ * test/test_remote_fetcher.rb (TestRemoteFetcher): Renamed some of
239
+ the test constants and instance variables so that they were more
240
+ consistent and explained the tests a wee bit better.
241
+ (TestRemoteFetcher::test_no_proxy): Added assert_data_from_server
242
+ and assert_data_from_proxy to make it clear what the test was
243
+ doing and give better error messages on errors.
244
+ (TestRemoteFetcher::assert_data_from_server): Added
245
+ assert_data_from_server.
246
+ (TestRemoteFetcher::assert_data_from_proxy): Added
247
+ assert_data_from_proxy.
248
+
249
+ 2006-11-30 Chad Fowler <chad@chadfowler.com>
250
+
251
+ * lib/rubygems/open-uri.rb: Removed the duplicated library.
252
+
253
+ 2006-11-30 Eric Hodel <drbrain@segment7.net>
254
+
255
+ * lib/rubygems/specification (Gem::Specification#eql?): Allow gemspecs
256
+ to be used intelligently with Array#- and Array#uniq.
257
+
258
+ * lib/rubygems/installer.rb: Return extension-building results in
259
+ Exception on build failure.
260
+
261
+ * lib/rubygems/remote_installer.rb: Ensure gems with similar names
262
+ cannot be matched for install. (Broken when searching was removed
263
+ from RemoteInstaller.)
264
+
265
+ 2006-11-29 Eric Hodel <drbrain@segment7.net>
266
+
267
+ * post-install.rb: Now requires rbconfig.
268
+
269
+ * lib/rubygems/specification.rb, lib/rubygems/version.rb: Fixed many
270
+ ivar warnings due to YAML specs.
271
+
272
+ * lib/rubygems/validator.rb, lib/rubygems/validator.rb
273
+ (Gem::Validator#unit_test Gem::RemoteInstaller::): Ensure the
274
+ current directory is restored.
275
+
276
+ * lib/rubygems/remote_fetcher.rb, lib/rubygems/remote_installer.rb,
277
+ lib/rubygems/installer.rb: Raise more-friendly and less-deadly errors.
278
+
279
+ * lib/rubygems/remote_installer.rb (Gem::RemoteInstaller#install):
280
+ Create version requirement correctly.
281
+
282
+ * lib/rubygems/remote_installer.rb
283
+ (Gem::RemoteInstaller#find_gem_to_install): Allow RemoteInstaller to
284
+ work with SilentUI.
285
+
286
+ * lib/rubygems/remote_fetcher.rb (RemoteFetcher#open_uri_or_path):
287
+ Don't double-require open-uri.
288
+
289
+ 2006-11-27 Eric Hodel <drbrain@segment7.net>
290
+
291
+ * lib/rubygems/specification.rb
292
+ (Gem::Specification#default_executable): Fixed bug where @executables
293
+ could be nil when loaded from index.
294
+
295
+ 2006-11-21 Eric Hodel <drbrain@segment7.net>
296
+
297
+ * lib/rubygems/source_index.rb (Gem::SourceIndex#latest_specs): Grab
298
+ the latest versions of everything in the index. Written by Ryan
299
+ Davis.
300
+
301
+ 2006-11-20 Rich Kilmer <rich@infoether.com>
302
+
303
+ * lib/rubygems/cmd_manager.rb: Added PristineCommand
304
+
305
+ * lib/rubygems/gem_commands.rb: Added PristineCommand to restore
306
+ gems to pristine condition in the event of files begin deleted
307
+ based on the cached .gem file
308
+
309
+ 2006-11-19 Eric Hodel <drbrain@segment7.net>
310
+
311
+ * lib/rubygems/*_fetcher.rb: Removed code specific to remote source
312
+ index updating.
313
+
314
+ * lib/rubygems/remote_installer.rb (Gem::RemoteInstaller#search):
315
+ Moved to Gem::SourceInfoCache#search
316
+
317
+ * lib/rubygems/source_info_cache.rb: Taught to update itself
318
+
319
+ * lib/rubygems/source_info_cache_entry.rb: Taught to update itself
320
+
321
+ * lib/rubygems/source_index.rb: Taught to update itself from a uri.
322
+
323
+ 2006-11-18 Chad Fowler <chad@chadfowler.com>
324
+
325
+ * lib/rubygems/installer.rb: Applied Kevin Clark's patch to make
326
+ RubyGems recognize mkrf files.
327
+
328
+ 2006-11-17 Eric Hodel <drbrain@segment7.net>
329
+
330
+ * test/test_remote_fetcher.rb: Don't allow files in Dir.pwd to make
331
+ tests fail. Spotted by Chad Fowler.
332
+
333
+ * lib/rubygems/remote_installer.rb (Gem::RemoteFetcher,
334
+ Gem::CacheFetcher): Break out of remote_installer.rb into separate
335
+ files.
336
+
337
+ * lib/rubygems/remote_installer.rb (Gem::SourceInfoCache,
338
+ Gem::SourceInfoCacheEntry): Allow requiring just the source cache
339
+ without the remote fetcher.
340
+
341
+ 2006-11-16 Eric Hodel <drbrain@segment7.net>
342
+
343
+ * test/test_local_cache.rb: Moved to better name
344
+
345
+ * test/test_gem_source_info_cache.rb: Renamed test methods to match
346
+ implementations. Sorted test names.
347
+
348
+ * lib/rubygems/remote_installer (Gem::SourceInfoCache): cache_data no
349
+ longer resets dirty flag. Sped up source cache loading. Exposed
350
+ cache file name in use.
351
+
352
+ 2006-11-15 Eric Hodel <drbrain@segment7.net>
353
+
354
+ * test/, lib/: Made files -w clean.
355
+
356
+ * test/: Made tests run independently.
357
+
358
+ * Rakefile: Tests now run with warnings on.
359
+
360
+ 2006-11-14 Eric Hodel <drbrain@segment7.net>
361
+
362
+ * lib/rubygems/user_interaction.rb (Gem::StreamUI#progress_reporter):
363
+ Fix for Gem.configuration.verbose = nil, false
364
+
365
+ * lib/rubygems.rb (Gem::configuration): Fix RakeFileUtils pollution.
366
+
367
+ 2006-10-05 Jim Weirich <jim@weirichhouse.org>
368
+
369
+ * lib/rubygems/installer.rb (Gem::Installer::shebang): Updated to
370
+ optionally call env_shebang if the command line option is set.
371
+ (Gem::Installer::shebang_env): Added this method.
372
+
373
+ 2006-09-25 Jim Weirich <jim@weirichhouse.org>
374
+
375
+ * lib/rubygems/rubygems_version.rb (Gem): Bumped to version
376
+ 0.9.0.6.
377
+
378
+ * lib/rubygems/security.rb (Gem::Security::Exception): Added
379
+ permissions for cert files and directories.
380
+ (Gem::Security::Policy::verify_gem): File.exists? => File.exist?
381
+ (Gem::Security::self.verify_trust_dir): Beefed up code to create
382
+ trust directory structure.
383
+ (Gem::Security::self): Apply permissions when creating trust
384
+ files.
385
+
386
+ * lib/rubygems/package.rb (TarInput::initialize): File.exists? =>
387
+ File.exist?
388
+
389
+ 2006-09-24 Jim Weirich <jim@weirichhouse.org>
390
+
391
+ * lib/rubygems.rb
392
+ (Gem::OperationNotSupportedError::configuration): Added
393
+ method_missing to configuration hash to allow nicer reference
394
+ syntax.
395
+
396
+ 2006-09-22 Jim Weirich <jim@weirichhouse.org>
397
+
398
+ * lib/rubygems/remote_installer.rb
399
+ (Gem::RemoteSourceFetcher::initialize): Proxy patch fixup to
400
+ escape user/password from Anatol Pomozov.
401
+ (Gem::RemoteSourceFetcher::connect_to): Proxy patch fixup to
402
+ escape user/password from Anatol Pomozov.
403
+
404
+ * test/test_remote_fetcher.rb (TestRemoteFetcher::setup): Proxy
405
+ patch fixup to escape user/password from Anatol Pomozov.
406
+ (TestRemoteFetcher::test_no_proxy): Proxy patch fixup to escape
407
+ user/password from Anatol Pomozov.
408
+
409
+ * test/io_capture.rb (Gem::IoCapture): Created new IoCapture
410
+ module to handle capturing output of code under test.
411
+
412
+ * test/test_installer.rb
413
+ (TestInstaller::test_generate_bin_symlinks_win32): Removed ugly
414
+ $TESTING hack and substituted new io capture module.
415
+ (TestInstaller::test_install_with_message): Removed one-off stdout
416
+ capture and replaced with new IO Capture module.
417
+
418
+ 2006-09-19 Jim Weirich <jim@weirichhouse.org>
419
+
420
+ * lib/rubygems/rubygems_version.rb (Gem): Bumped to version
421
+ 0.9.0.3.
422
+
423
+ * test/test_version_comparison.rb (TestRequirementEquality): Added
424
+ more tests for Dependency equality testing and one additions check
425
+ for requirement vs non-requirement equality.
426
+
427
+ * lib/rubygems/version.rb (Gem::Dependency::==) Fixed '=' bug in
428
+ '==' code.
429
+
430
+ 2006-09-18 Chad Fowler <chad@chadfowler.com>
431
+
432
+ * lib/rubygems/remote_installer.rb
433
+ Only show the last 3 gem versions on a multiplatform remote
434
+ install list.
435
+
436
+ 2006-09-18 Jim Weirich <jim@weirichhouse.org>
437
+
438
+ * lib/rubygems/remote_installer.rb
439
+ (Gem::RemoteInstaller::install): Added Hugh Sasse's patch for
440
+ skipping gems on install.
441
+
442
+ * lib/rubygems/rubygems_version.rb (Gem): Bumped to 0.9.0.2.
443
+
444
+ * lib/rubygems/version.rb (Gem::Dependency::hash): Added hash code
445
+ --http-proxy, the ENV var http_proxy and with no proxy.
446
+
447
+ 2006-08-26 Jim Weirich <jim@weirichhouse.org>
448
+ * lib/rubygems/remote_installer.rb
449
+ (Gem::RemoteInstaller::download_gem): Fixed download_gems so that
450
+ it properly passes the proxy option to the fetcher class. (based
451
+ on patch by Andy Shen).
452
+
453
+ 2006-08-12 Jim Weirich <jim@weirichhouse.org>
454
+
455
+ * bin/index_gem_repository.rb (Indexer::sanitize): Added a
456
+ sanitize step to the gem index generation in the hope of avoiding
457
+ problems with non-ASCII names in the yaml data.
458
+
1
459
  2006-06-14 Jim Weirich <jim@weirichhouse.org>
2
460
 
3
461
  * Rakefile (announce): Added 1.9 hack for ENV['CERT_DIR']. Remove