rubygems-update 1.3.4 → 1.3.5

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 (53) hide show
  1. data.tar.gz.sig +0 -0
  2. data/.document +1 -1
  3. data/ChangeLog +19 -0
  4. data/History.txt +799 -0
  5. data/Manifest.txt +1 -30
  6. data/README +29 -10
  7. data/Rakefile +71 -315
  8. data/lib/rubygems.rb +3 -2
  9. data/lib/rubygems/commands/setup_command.rb +27 -17
  10. data/lib/rubygems/commands/which_command.rb +1 -1
  11. data/lib/rubygems/config_file.rb +11 -4
  12. data/lib/rubygems/indexer.rb +6 -6
  13. data/lib/rubygems/source_index.rb +25 -19
  14. data/lib/rubygems/spec_fetcher.rb +14 -7
  15. data/lib/rubygems/specification.rb +1 -1
  16. data/test/test_gem.rb +0 -8
  17. data/test/test_gem_commands_dependency_command.rb +4 -0
  18. data/test/test_gem_commands_uninstall_command.rb +20 -0
  19. data/test/test_gem_indexer.rb +63 -24
  20. data/test/test_gem_source_index.rb +4 -3
  21. data/test/test_gem_spec_fetcher.rb +16 -2
  22. metadata +163 -47
  23. metadata.gz.sig +0 -0
  24. data/doc/release_notes/docs-rubygems-announce.rdoc +0 -29
  25. data/doc/release_notes/rel_0_2_0.rdoc +0 -4
  26. data/doc/release_notes/rel_0_3_0.rdoc +0 -21
  27. data/doc/release_notes/rel_0_4_0.rdoc +0 -4
  28. data/doc/release_notes/rel_0_5_0.rdoc +0 -26
  29. data/doc/release_notes/rel_0_6_0.rdoc +0 -16
  30. data/doc/release_notes/rel_0_7_0.rdoc +0 -4
  31. data/doc/release_notes/rel_0_8_0.rdoc +0 -23
  32. data/doc/release_notes/rel_0_8_1.rdoc +0 -4
  33. data/doc/release_notes/rel_0_8_10.rdoc +0 -70
  34. data/doc/release_notes/rel_0_8_11.rdoc +0 -102
  35. data/doc/release_notes/rel_0_8_3.rdoc +0 -113
  36. data/doc/release_notes/rel_0_8_4.rdoc +0 -51
  37. data/doc/release_notes/rel_0_8_5.rdoc +0 -117
  38. data/doc/release_notes/rel_0_8_7.rdoc +0 -135
  39. data/doc/release_notes/rel_0_9_0.rdoc +0 -109
  40. data/doc/release_notes/rel_0_9_2.rdoc +0 -69
  41. data/doc/release_notes/rel_0_9_3.rdoc +0 -66
  42. data/doc/release_notes/rel_0_9_4.rdoc +0 -67
  43. data/doc/release_notes/rel_0_9_5.rdoc +0 -108
  44. data/doc/release_notes/rel_1_0_0.rdoc +0 -67
  45. data/doc/release_notes/rel_1_0_1.rdoc +0 -56
  46. data/doc/release_notes/rel_1_1_0.rdoc +0 -85
  47. data/doc/release_notes/rel_1_1_1.rdoc +0 -64
  48. data/doc/release_notes/rel_1_2_0.rdoc +0 -105
  49. data/doc/release_notes/rel_1_3_0.rdoc +0 -125
  50. data/doc/release_notes/rel_1_3_1.rdoc +0 -75
  51. data/doc/release_notes/rel_1_3_2.rdoc +0 -119
  52. data/doc/release_notes/rel_1_3_3.rdoc +0 -95
  53. data/lib/rubygems/rubygems_version.rb +0 -19
data.tar.gz.sig CHANGED
Binary file
data/.document CHANGED
@@ -1,5 +1,5 @@
1
1
  README
2
2
  LICENSE.txt
3
3
  GPL.txt
4
- doc
5
4
  lib
5
+ release_notes
data/ChangeLog CHANGED
@@ -1,7 +1,26 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
+ 2009-06-25 Eric Hodel <drbrain@segment7.net>
4
+
5
+ * release_notes/: Merged into History.txt for Hoe.
6
+ * lib/rubygems/commands/setup_command.rb: Streamlined install text.
7
+
8
+ 2009-06-23 Eric Hodel <drbrain@segment7.net>
9
+
10
+ * release_notes/rel_1_3_5.rdoc: RubyGems 1.3.5 release notes.
11
+
12
+ 2009-06-12 Ryan Davis <ryand@zenspider.com>
13
+
14
+ * Rakefile: Switched to Hoe.
15
+
16
+ 2009-06-10 Phil Hagelberg <technomancy@gmail.com>
17
+
18
+ * lib/rubygems/source_index.rb: Fix use of prerelease gems.
19
+
3
20
  2009-05-30 Eric Hodel <drbrain@segment7.net>
4
21
 
22
+ * lib/rubygems/commands/which_command.rb: Only print out directory
23
+ information to a TTY.
5
24
  * lib/rubygems/rubygems_version.rb: 1.3.4.
6
25
  * doc/release_notes/rel_1_3_4.rdoc: RubyGems 1.3.4 release notes.
7
26
 
@@ -0,0 +1,799 @@
1
+ === 1.3.5 / 2009-07-21
2
+
3
+ Bug fixes:
4
+
5
+ * Fix use of prerelease gems.
6
+ * Gem.bin_path no longer escapes path with spaces. Bug #25935 and #26458.
7
+
8
+ Deprecation Notices:
9
+
10
+ * Bulk index update is no longer supported (the code currently remains, but not
11
+ the tests)
12
+ * Gem::manage_gems was removed in 1.3.3.
13
+ * Time::today was removed in 1.3.3.
14
+
15
+ === 1.3.4 / 2009-05-03
16
+
17
+ Bug Fixes:
18
+
19
+ * Fixed various warnings
20
+ * Gem::ruby_version works correctly for 1.8 branch and trunk
21
+ * Prerelease gems now show up in `gem list` and can be used
22
+ * Fixed option name for `gem setup --format-executable`
23
+ * RubyGems now matches Ruby > 1.9.1 gem paths
24
+ * Gem::RemoteFetcher#download now works for explicit Windows paths across
25
+ drives. Bug #25882 by Lars Christensen
26
+ * Fix typo in Gem::Requirement#parse. Bug #26000 by Mike Gunderloy.
27
+
28
+ Deprecation Notices:
29
+
30
+ * Bulk index update is no longer supported (the code currently remains, but not
31
+ the tests)
32
+ * Gem::manage_gems was removed in 1.3.3.
33
+ * Time::today was removed in 1.3.3.
34
+
35
+ === 1.3.3 / 2009-05-04
36
+
37
+ New Features:
38
+
39
+ * `gem server` allows port names (from /etc/services) with --port.
40
+ * `gem server` now has search that jumps to RDoc. Patch #22959 by Vladimir
41
+ Dobriakov.
42
+ * `gem spec` can retrieve single fields from a spec (like `gem spec rake
43
+ authors`).
44
+ * Gem::Specification#has_rdoc= is deprecated and ignored (defaults to true)
45
+ * RDoc is now generated regardless of Gem::Specification#has_rdoc?
46
+
47
+ Bug Fixes:
48
+
49
+ * `gem clean` now cleans up --user-install gems. Bug #25516 by Brett
50
+ Eisenberg.
51
+ * Gem.bin_path now escapes paths with spaces.
52
+ * Rake extension builder uses explicit correctly loads rubygems when invoking
53
+ rake.
54
+ * Prerelease versions now match "~>" correctly. Patch #25759 by Yossef
55
+ Mendelssohn.
56
+ * Check bindir for executables, not root when validating. Bug reported by
57
+ David Chelimsky.
58
+ * Remove Time.today, no way to override it before RubyGems loads. Bug #25564
59
+ by Emanuele Vicentini
60
+ * Raise Gem::Exception for #installation_path when not installed. Bug #25741
61
+ by Daniel Berger.
62
+ * Don't raise in Gem::Specification#validate when homepage is nil. Bug #25677
63
+ by Mike Burrows.
64
+ * Uninstall executables from the correct directory. Bug #25555 by Brett
65
+ Eisenberg.
66
+ * Raise Gem::LoadError if Kernel#gem fails due to previously-loaded gem. Bug
67
+ reported by Alf Mikula.
68
+
69
+ Deprecation Notices:
70
+
71
+ * Gem::manage_gems has been removed.
72
+ * Time::today has been removed early. There was no way to make it warn and be
73
+ easy to override with user code.
74
+
75
+ === 1.3.2 / 2009-04-15
76
+
77
+ Select New Features:
78
+
79
+ * RubyGems now loads plugins from rubygems_plugin.rb in installed gems.
80
+ This can be used to add commands (See Gem::CommandManager) or add
81
+ install/uninstall hooks (See Gem::Installer and Gem::Uninstaller).
82
+ * Gem::Version now understands prerelease versions using letters. (eg.
83
+ '1.2.1.b') Thanks to Josh Susser, Alex Vollmer and Phil Hagelberg.
84
+ * RubyGems now includes a Rake task for creating gems which replaces rake's
85
+ Rake::GemPackageTask. See Gem::PackageTask.
86
+ * Gem::find_files now returns paths in $LOAD_PATH.
87
+ * Added Gem::promote_load_path for use with Gem::find_files
88
+ * Added Gem::bin_path to make finding executables easier. Patch #24114 by
89
+ James Tucker.
90
+ * Various improvements to build arguments for installing gems.
91
+ * `gem contents` added --all and --no-prefix.
92
+ * Gem::Specification
93
+ * #validate strips directories and errors on not-files.
94
+ * #description no longer removes newlines.
95
+ * #name must be a String.
96
+ * FIXME and TODO are no longer allowed in various fields.
97
+ * Added support for a license attribute. Feature #11041 (partial).
98
+ * Removed Gem::Specification::list, too much process growth. Bug #23668 by
99
+ Steve Purcell.
100
+ * `gem generate_index`
101
+ * Can now generate an RSS feed.
102
+ * Modern indicies can now be updated incrementally.
103
+ * Legacy indicies can be updated separately from modern.
104
+
105
+ Select Bugs Fixed:
106
+
107
+ * Better gem activation error message. Patch #23082.
108
+ * Kernel methods are now private. Patch #20801 by James M. Lawrence.
109
+ * Fixed various usability issues with `gem check`.
110
+ * `gem update` now rescues InstallError and continues. Bug #19268 by Gabriel
111
+ Wilkins.
112
+ * Allow 'https', 'file' as a valid schemes for --source. Patch #22485.
113
+ * `gem install`
114
+ * Now removes existing path before installing. Bug #22837.
115
+ * Uses Gem::bin_path in executable stubs to work around Kernel#load bug in
116
+ 1.9.
117
+ * Correctly handle build args (after --) via the API. Bug #23210.
118
+ * --user-install
119
+ * `gem install --no-user-install` now works. Patch #23573 by Alf Mikula.
120
+ * `gem uninstall` can now uninstall from ~/.gem. Bug #23760 by Roger Pack.
121
+ * setup.rb
122
+ * Clarify RubyGems RDoc installation location. Bug #22656 by Gian Marco
123
+ Gherardi.
124
+ * Allow setup to run from read-only location. Patch #21862 by Luis Herrera.
125
+ * Fixed overwriting ruby executable when BASERUBY was not set. Bug #24958
126
+ by Michael Soulier.
127
+ * Ensure we're in a RubyGems dir when installing.
128
+ * Deal with extraneous quotation mark when autogenerating .bat file on MS
129
+ Windows. Bug #22712.
130
+
131
+ Deprecation Notices:
132
+
133
+ * Gem::manage_gems has been removed.
134
+ * Time::today will be removed in RubyGems 1.4.
135
+
136
+ Special thanks to Chad Wooley for backwards compatibility testing and Luis
137
+ Lavena and Daniel Berger for continuing windows support.
138
+
139
+ === 1.3.1 / 2008-10-28
140
+
141
+ Bugs fixed:
142
+
143
+ * Disregard ownership of ~ under Windows while creating ~/.gem. Fixes
144
+ issues related to no uid support under Windows.
145
+ * Fix requires for Gem::inflate, Gem::deflate, etc.
146
+ * Make Gem.dir respect :gemhome value from config. (Note: this feature may be
147
+ removed since it is hard to implement on 1.9.)
148
+ * Kernel methods are now private. Patch #20801 by James M. Lawrence.
149
+ * Gem::location_of_caller now behaves on Windows. Patch by Daniel Berger.
150
+ * Silence PATH warning.
151
+
152
+ Deprecation Notices:
153
+
154
+ * Gem::manage_gems will be removed on or after March 2009.
155
+
156
+ === 1.3.0 / 2008-09-25
157
+
158
+ New features:
159
+
160
+ * RubyGems doesn't print LOCAL/REMOTE titles for `gem query` and friends if
161
+ stdout is not a TTY, except with --both.
162
+ * Added Gem.find_files, allows a gem to discover features provided by other
163
+ gems.
164
+ * Added pre/post (un)install hooks for packagers of RubyGems. (Not for gems
165
+ themselves).
166
+ * RubyGems now installs gems into ~/.gem if GEM_HOME is not writable. Use
167
+ --no-user-install command-line switch to disable this behavior.
168
+ * Fetching specs for update now uses If-Modified-Since requests.
169
+ * RubyGems now updates the ri cache when the rdoc gem is installed and
170
+ documentation is generated.
171
+
172
+ Deprecation Notices:
173
+
174
+ * Gem::manage_gems now warns when called. It will be removed on or after March
175
+ 2009.
176
+
177
+ Bugs Fixed:
178
+
179
+ * RubyGems 1.3.0+ now updates when no previous rubygems-update is installed.
180
+ Bug #20775 by Hemant Kumar.
181
+ * RubyGems now uses the regexp we already have for `gem list --installed`. Bug
182
+ #20876 by Nick Hoffman.
183
+ * Platform is now forced to Gem::Platform::RUBY when nil or blank in the
184
+ indexer. Fixes various uninstallable gems.
185
+ * Handle EINVAL on seek. Based on patch in bug #20791 by Neil Wilson.
186
+ * Fix HTTPS support. Patch #21072 by Alex Arnell.
187
+ * RubyGems now loads all cache files even if latest has been loaded. Bug
188
+ #20776 by Uwe Kubosch.
189
+ * RubyGems checks for support of development dependencies for #to_ruby. Bug
190
+ #20778 by Evan Weaver.
191
+ * Now specifications from the future can be loaded.
192
+ * Binary script uninstallation fixed. Bug #21234 by Neil Wilson.
193
+ * Uninstallation with -i fixed. Bug #20812 by John Clayton.
194
+ * Gem::Uninstaller#remove_all now calls Gem::Uninstaller#uninstall_gem so hooks
195
+ get called. Bug #21242 by Neil Wilson.
196
+ * Gem.ruby now properly escaped on windows. Fixes problem with extension
197
+ compilation.
198
+ * `gem lock --strict` works again. Patch #21814 by Sven Engelhardt.
199
+ * Platform detection for Solaris was improved. Patch #21911 by Bob Remeika.
200
+
201
+ Other Changes Include:
202
+
203
+ * `gem help install` now describes _version_ argument to executable stubs
204
+ * `gem help environment` describes environment variables and ~/.gemrc and
205
+ /etc/gemrc
206
+ * On-disk gemspecs are now read in UTF-8 and written with a UTF-8 magic comment
207
+ * Rakefile
208
+ * If the SETUP_OPTIONS environment variable is set, pass its contents as
209
+ arguments to setup.rb
210
+ * lib/rubygems/platform.rb
211
+ * Remove deprecated constant warnings and really deprecate them. (WIN32,
212
+ etc).
213
+ * lib/rubygems/remote_fetcher.rb
214
+ * Now uses ~/.gem/cache if the cache dir in GEM_HOME is not writable.
215
+ * lib/rubygems/source_index.rb
216
+ * Deprecate options to 'search' other than Gem::Dependency instances and
217
+ issue warning until November 2008.
218
+ * setup.rb
219
+ * --destdir folder structure now built using Pathname, so it works for
220
+ Windows platforms.
221
+ * test/*
222
+ * Fixes to run tests when under test/rubygems/. Patch by Yusuke ENDOH
223
+ [ruby-core:17353].
224
+ * test/test_ext_configure_builder.rb
225
+ * Locale-free patch by Yusuke Endoh [ruby-core:17444].
226
+
227
+ === 1.2.0 / 2008-06-21
228
+
229
+ New features:
230
+
231
+ * RubyGems no longer performs bulk updates and instead only fetches the gemspec
232
+ files it needs. Alternate sources will need to upgrade to RubyGems 1.2 to
233
+ allow RubyGems to take advantage of the new metadata updater. If a pre 1.2
234
+ remote source is in the sources list, RubyGems will revert to the bulk update
235
+ code for compatibility.
236
+ * RubyGems now has runtime and development dependency types. Use
237
+ #add_development_dependency and #add_runtime_dependency. All typeless
238
+ dependencies are considered to be runtime dependencies.
239
+ * RubyGems will now require rubygems/defaults/operating_system.rb and
240
+ rubygems/defaults/#{RBX_ENGINE}.rb if they exist. This allows packagers and
241
+ ruby implementers to add custom behavior to RubyGems via these files. (If
242
+ the RubyGems API is insufficient, please suggest improvements via the
243
+ RubyGems list.)
244
+ * /etc/gemrc (and windows equivalent) for global settings
245
+ * setup.rb now handles --vendor and --destdir for packagers
246
+ * `gem stale` command that lists gems by last access time
247
+
248
+ Bugs Fixed:
249
+
250
+ * File modes from gems are now honored, patch #19737
251
+ * Marshal Gem::Specification objects from the future can now be loaded.
252
+ * A trailing / is now added to remote sources when missing, bug #20134
253
+ * Gems with legacy platforms will now be correctly uninstalled, patch #19877
254
+ * `gem install --no-wrappers` followed by `gem install --wrappers` no longer
255
+ overwrites executables
256
+ * `gem pristine` now forces reinstallation of gems, bug #20387
257
+ * RubyGems gracefully handles ^C while loading .gemspec files from disk, bug
258
+ #20523
259
+ * Paths are expanded in more places, bug #19317, bug #19896
260
+ * Gem::DependencyInstaller resets installed gems every install, bug #19444
261
+ * Gem.default_path is now honored if GEM_PATH is not set, patch #19502
262
+
263
+ Other Changes Include:
264
+
265
+ * setup.rb
266
+ * stub files created by RubyGems 0.7.x and older are no longer removed. When
267
+ upgrading from these ancient versions, upgrade to 1.1.x first to clean up
268
+ stubs.
269
+ * RDoc is no longer required until necessary, patch #20414
270
+ * `gem server`
271
+ * Now completely matches the output of `gem generate_index` and
272
+ has correct content types
273
+ * Refreshes from source directories for every hit. The server will no longer
274
+ need to be restarted after installing gems.
275
+ * `gem query --details` and friends now display author, homepage, rubyforge url
276
+ and installed location
277
+ * `gem install` without -i no longer reinstalls dependencies if they are in
278
+ GEM_PATH but not in GEM_HOME
279
+ * Gem::RemoteFetcher now performs persistent connections for HEAD requests,
280
+ bug #7973
281
+
282
+ === 1.1.1 / 2008-04-11
283
+
284
+ Bugs Fixed:
285
+
286
+ * Gem.prefix now returns non-nil only when RubyGems was installed outside
287
+ sitelibdir or libdir.
288
+ * The `gem server` gem list now correctly links to gem details.
289
+ * `gem update --system` now passes --no-format-executable to setup.rb.
290
+ * Gem::SourceIndex#refresh! now works with multiple gem repositories.
291
+ * Downloaded gems now go into --install-dir's cache directory.
292
+ * Various fixes to downloading gem metadata.
293
+ * `gem install --force` now ignores network errors too.
294
+ * `gem pristine` now rebuilds extensions.
295
+ * `gem update --system` now works on virgin Apple ruby.
296
+ * Gem::RemoteFetcher handles Errno::ECONNABORTED.
297
+ * Printing of release notes fixed.
298
+
299
+ === 1.1.0 / 2008-03-29
300
+
301
+ New features:
302
+
303
+ * RubyGems now uses persistent connections on index updates. Index updates are
304
+ much faster now.
305
+ * RubyGems only updates from a latest index by default, cutting candidate gems
306
+ for updates to roughly 1/4 (at present). Index updates are even faster
307
+ still.
308
+ * `gem list -r` may only show the latest version of a gem, add --all to see
309
+ all gems.
310
+ * `gem spec` now extracts specifications from .gem files.
311
+ * `gem query --installed` to aid automation of checking for gems.
312
+
313
+ Bugs Fixed:
314
+
315
+ * RubyGems works with both Config and RbConfig now.
316
+ * Executables are now cleaned upon uninstall.
317
+ * You can now uninstall from a particular directory.
318
+ * Updating from non-default sources fixed.
319
+ * Executable stubs now use ruby install name in shebang.
320
+ * `gem unpack` checks every directory in Gem.path now.
321
+ * `gem install` now exits with non-zero exit code when appropriate.
322
+ * `gem update` only updates gems that need updates.
323
+ * `gem update` doesn't force remote-only updates.
324
+ * `gem update` handles dependencies properly when updating.
325
+ * Gems are now loaded in Gem.path order.
326
+ * Gem stub scripts on windows now work outside Gem.bindir.
327
+ * `gem sources -r` now works without network access.
328
+
329
+ Other Changes Include:
330
+
331
+ * RubyGems now requires Ruby > 1.8.3.
332
+ * Release notes are now printed upon installation.
333
+ * `gem env path` now prints a usable path.
334
+ * `gem install` reverts to local-only installation upon network error.
335
+ * Tar handling code refactoring and cleanup.
336
+ * Gem::DependencyInstaller's API has changed.
337
+
338
+ For a full list of changes to RubyGems, see the ChangeLog file.
339
+
340
+ === 1.0.1 / 2007-12-20
341
+
342
+ Bugs Fixed:
343
+
344
+ * Installation on Ruby 1.8.3 through 1.8.5 fixed
345
+ * `gem build` on 1.8.3 fixed
346
+
347
+ Other Changes Include:
348
+
349
+ * Since RubyGems 0.9.5, RubyGems is no longer supported on Ruby 1.8.2 or older,
350
+ this is official in RubyGems 1.0.1.
351
+
352
+ === 1.0.0 / 2007-12-20
353
+
354
+ Major New Features Include:
355
+
356
+ * RubyGems warns about various problems with gemspecs during gem building
357
+ * More-consistent versioning for the RubyGems software
358
+
359
+ Other Changes Include:
360
+
361
+ * Fixed various bugs and problems with installing gems on Windows
362
+ * Fixed using `gem server` for installing gems
363
+ * Various operations are even more verbose with --verbose
364
+ * Built gems are now backwards compatible with 0.9.4
365
+ * Improved detection of RUBYOPT loading rubygems
366
+ * `ruby setup.rb` now has a --help option
367
+ * Gem::Specification#bindir is now respected on installation
368
+ * Executable stubs can now be installed to match ruby's name, so if ruby is
369
+ installed as 'ruby18', foo_exec will be installed as 'foo_exec18'
370
+ * `gem unpack` can now unpack into a specific directory with --target
371
+ * OpenSSL is no longer required by default
372
+
373
+ Deprecations and Deletions:
374
+
375
+ * Kernel#require_gem has been removed
376
+ * Executables without a shebang will not be wrapped in a future version, this
377
+ may cause such executables to fail to operate on installation
378
+ * Gem::Platform constants other than RUBY and CURRENT have been removed
379
+ * Gem::RemoteInstaller was removed
380
+ * Gem::Specification#test_suite_file and #test_suite_file= are deprecated in
381
+ favor of #test_file and #test_file=
382
+ * Gem::Specification#autorequire= has been deprecated
383
+ * Time::today will be removed in a future version
384
+
385
+ === 0.9.5 / 2007-11-19
386
+
387
+ Major New Features Include:
388
+
389
+ * Platform support
390
+ * Automatic installation of platform gems
391
+ * New bandwidth and memory friendlier index file format
392
+ * "Offline" mode (--no-update-sources)
393
+ * Bulk update threshold can be specified (-B, --bulk-threshold)
394
+ * New `gem fetch` command
395
+ * `gem` now has "really verbose" output when you specify -v
396
+ * Improved stubs and `gem.bat` on mswin, including better compatiblity
397
+ with the One-Click Installer.
398
+
399
+ Other Changes Include:
400
+
401
+ * Time::today is deprecated and will be removed at a future date
402
+ * Gem::manage_gems is deprecated and will be removed at a future date
403
+ * `gem install --include-dependencies` (-y) is now deprecated since it is the
404
+ default, use --ignore-dependencies to turn off automatic dependency
405
+ installation
406
+ * Multi-version diamond dependencies only are installed once
407
+ * Processing a YAML bulk index update takes less memory
408
+ * `gem install -i` makes sure all depenencies are installed
409
+ * `gem update --system` reinstalls into the prefix it was originally installed
410
+ in
411
+ * `gem update --system` respects --no-rdoc and --no-ri flags
412
+ * HTTP basic authentication support for proxies
413
+ * Gem::Specification#platforms should no longer be a String, use
414
+ Gem::Platform::CURRENT when building binary gems instead
415
+ * `gem env` has more diagnostic information
416
+ * require 'rubygems' loads less code
417
+ * sources.gem is gone, RubyGems now uses built-in defaults
418
+ * `gem install --source` will no longer add --source by default, use `gem
419
+ sources --add` to make it a permanent extra source
420
+ * `gem query` (list) no longer prints details by default
421
+ * Exact gem names are matched in various places
422
+ * mkrf extensions are now supported
423
+ * A gem can depend on a specific RubyGems version
424
+ * `gem_server` is now `gem server`
425
+ * `gemlock` is now `gem lock`
426
+ * `gem_mirror` is now `gem mirror`
427
+ * `gemwhich` is now `gem which`
428
+ * `gemri` is no longer included with RubyGems
429
+ * `index_gem_repository.rb` is now `gem generate_index`
430
+ * `gem` performs more validation of parameters
431
+ * Custom rdoc styles are now supported
432
+ * Gem indexer no longer removes quick index during index creation
433
+ * Kernel#require only rescues a LoadError for the file being required now
434
+ * `gem dependencies` can now display some information for remote gems
435
+ * Updating RubyGems now works with RUBYOPT=-rubygems
436
+
437
+ Special thanks to:
438
+
439
+ * Daniel Berger
440
+ * Luis Lavena
441
+ * Tom Copeland
442
+ * Wilson Bilkovich
443
+
444
+ === 0.9.4 / 2007-05-23
445
+
446
+ If you are experiencing problems with the source index (e.g. strange
447
+ "No Method" errors), or problems with zlib (e.g. "Buffer Error"
448
+ messsage), we recommend upgrading to RubyGems 0.9.4.
449
+
450
+ Bug Fixes Include:
451
+
452
+ * Several people have been experiencing problems with no method errors
453
+ on the source index cache. The source index cache is now a bit more
454
+ self healing. Furthermore, if the source index cache is
455
+ irreparable, then it is automatically dropped and reloaded.
456
+ * The source cache files may now be dropped with the "gem sources
457
+ --clear-all" command. (This command may require root is the system
458
+ source cache is in a root protected area).
459
+ * Several sub-commands were accidently dropped from the "gem" command.
460
+ These commands have been restored.
461
+
462
+ === 0.9.3 / 2007-05-10
463
+
464
+ Bug Fixes Include:
465
+
466
+ The ZLib library on Windows will occasionally complains about a buffer error
467
+ when unpacking gems. The Gems software has a workaround for that problem, but
468
+ the workaround was only enabled for versions of ZLib 1.2.1 or earlier. We
469
+ have received several reports of the error occuring with ZLib 1.2.3, so we
470
+ have permanently enabled the work around on all versions.
471
+
472
+ === 0.9.2 / 2007-02-05
473
+
474
+ Bug Fixes Include:
475
+
476
+ * The "unpack" command now works properly.
477
+ * User name and password are now passed properly to the authenticating
478
+ proxy when downloading gems.
479
+
480
+ === 0.9.1 / 2007-01-16
481
+
482
+ See ChangeLog
483
+
484
+ === 0.9.0 / 2006-06-28
485
+
486
+ Finally, the much anticipated RubyGems version 0.9.0 is now available.
487
+ This release includes a number of new features and bug fixes. The
488
+ number one change is that we can now download the gem index
489
+ incrementally. This will greatly speed up the gem command when only a
490
+ few gems are out of date.
491
+
492
+ Major Enhancments include:
493
+
494
+ * The gem index is now downloaded incrementally, only updating entries
495
+ that are out of date. If more than 50 entries are out of date, we
496
+ revert back to a bulk download.
497
+ * Several patches related to allowing RubyGems to work with
498
+ authenticating proxies (from Danie Roux and Anatol Pomozov). Just
499
+ put the user and password in the proxy URL (e.g. -p
500
+ http://user:password@proxy.address.com:8080) or use the
501
+ HTTP_PROXY_USER and HTTP_PROXY_PASS environment variables.
502
+ * The gem unpack command can now accept a file path rather than just a
503
+ install gem name.
504
+ * Both RI and RDOC documents are now generated by default.
505
+ * A gemri command is included to read gem RI docs (only needed for
506
+ Ruby 1.8.4 or earlier).
507
+
508
+ Minor enhancements include:
509
+
510
+ * Verison 0.0.0 is now a valid gem version.
511
+ * Better detection of missing SSL functionality.
512
+ * SSL is not required if the security policy does not require
513
+ signature checking.
514
+ * Rake built extensions are now supported (Tilman Sauerbeck).
515
+ * Several autorequire bug fixes.
516
+ * --traceback is now an alias for --backtrace (I can never remember
517
+ which one it is).
518
+ * SAFE=1 compatibility fixes.
519
+ * .rbw is now a supported suffix for RubyGem's custom require.
520
+ * Several Ruby 1.9 compatibility fixes (Eric Hodel).
521
+
522
+ Bug Fixes:
523
+
524
+ * Added dashes to gemspecs generated in Ruby 1.8.3. This solves some
525
+ cross-Ruby version compatibility issues.
526
+ * Fixed bug where the wrong executables could be uninstalled (Eric
527
+ Hodel).
528
+ * Fixed bug where gem unpack occasionally unpacked the wrong gem.
529
+ * Fixed bug where a fatal error occured when permissions on .gemrc
530
+ were too restrictive (reported by Luca Pireddu).
531
+ * Fixed prefix handling for native expressions (patch by Aaron Patterson).
532
+ * Fixed several Upgrade => Update typos.
533
+
534
+ === 0.8.11 / 2005-07-13
535
+
536
+ * -y is a synonym for --include-dependencies.
537
+ * Better handling of errors in the top level rescue clause.
538
+ * Package list command (e.g. gem inspect GEM).
539
+ * .gemrc now allows cvsrc-like options to set defaults per subcommand.
540
+ * The autorequire gem spec field will now accept a list.
541
+ * Substituted Time for Date in specs, increasing performance
542
+ dramatically.
543
+ * Fixed reported bug of gem directories ending in "-" (reported by
544
+ Erik Hatcher).
545
+ * Fixed but in installer that caused dependency installation to not
546
+ work.
547
+ * Added Paul Duncan's gem signing patch.
548
+ * Added Mark Hubbart's Framework patch (for better integration with OS
549
+ X).
550
+ * Added David Glasser's install-from-mirror patch.
551
+ * Additional internal structural cleanup and test reorganization.
552
+
553
+ === 0.8.10 / 2005-03-27
554
+
555
+ * In multi-user environments, it is common to supply mulitple versions of gems
556
+ (for example Rails), allowing individual users to select the version of the
557
+ gem they desire. This allows a user to be insulated from updates to that
558
+ gem. RubyGems 0.8.10 fixes a problem where gems could occasionally become
559
+ confused about the current versions of libraries selected by the user.
560
+ * The other annoying bug is that if there are any existing rubygems-update gems
561
+ installed, then the "gem update --system" command will download a new
562
+ update, but install the latest update prior to the download.
563
+
564
+ === 0.8.9
565
+
566
+ Never released
567
+
568
+ === 0.8.8 / 2005-03-14
569
+
570
+ * Moved the master definition of class Requirement back under version.
571
+ Kept the body of Requirement under Gem.
572
+
573
+ === 0.8.7 / 2005-03-14
574
+
575
+ Even though it has only been a few weeks since that last release,
576
+ there are quite a number of new features in 0.8.7. A complete list of
577
+ new features will be given below, but here is a summary of the hot
578
+ items.
579
+
580
+ * The bug that prevented some users from installing rails has been
581
+ squashed. A big thanks to Bill Guindon (aGorilla) for helping track
582
+ that one down.
583
+
584
+ There are several new commands available on the gem command:
585
+
586
+ * gem cleanup GEMNAME -- Cleanup (uninstall) all the old versions of
587
+ gem. If the gem name is omitted, the entire repository is cleaned.
588
+ * gem dependency GEMNAME -- Show the dependencies for the named gems.
589
+ This is really helpful when trying to figure out what gem needs what
590
+ other gem.
591
+
592
+ There changes to the existing commands as well.
593
+
594
+ * gem uninstall is much smarter about removing gems from the
595
+ repository. Lists of gems are now uninstalled in proper dependency
596
+ order (ie. if A depends on B, A is uninstalled first). Also,
597
+ warnings about broken dependencies occur only when removing the
598
+ *last* gem that supports a dependency is removed.
599
+
600
+ Both gem install and gem uninstall support some new command line
601
+ options that can reduce the amount of yes/no queries given the user.
602
+ For install we have:
603
+
604
+ * --ignore-dependencies -- Only install requests gems, no
605
+ dependendecies are automatically installed.
606
+ * --include-dependencies -- Automatically install dependencies,
607
+ without confirmation.
608
+
609
+ For gem uninstall, the new options are:
610
+
611
+ * --all -- Uninstall all matching gems without confirmation.
612
+ * --ignore-dependencies -- Uninstall, even if dependencies are broken.
613
+ * --executables -- Remove executables without confirmation
614
+
615
+ Under general cleanup, gems will not, by default, run RDoc on packages
616
+ that do not have the RDoc flag set.
617
+
618
+ And finally there is a new library file 'gemconfigure' to aid in
619
+ writing version sensitive applications (without undue dependencies on
620
+ RubyGems); and 'gemwhich', a short script to locate libraries in the
621
+ file system. You can read more about them here:
622
+
623
+ * gemconfigure: http://docs.rubygems.org/read/chapter/4#page73
624
+ * gemwhich: http://docs.rubygems.org/read/chapter/17
625
+
626
+ === 0.8.6 / 2005-02-27
627
+
628
+ * Fixed a small bug with shebang construction
629
+
630
+ === 0.8.5 / 2005-02-26
631
+
632
+ Do you know how you used to dread getting the following message while
633
+ installing gems?
634
+
635
+ Updating Gem source index for: http://gems.rubyforge.org
636
+
637
+ It could take up to 30 seconds (on my machine, even worse on others) for
638
+ that crazy source index to update.
639
+
640
+ This latest release of RubyGems speeds that wait time up considerably.
641
+ The following table gives the following times for installing RedCloth
642
+ with a required source index update on three system we had available to
643
+ us. No RDoc generation was included in the following times.
644
+
645
+ RubyGems Linux Mac OSX Windows
646
+ 0.8.4 33 secs 73 secs 58 secs
647
+ 0.8.5 8 secs 14 secs 21 secs
648
+
649
+ The new caching code is at least 3x faster than previous versions. Woo
650
+ Hoo!
651
+
652
+ === 0.8.4 / 2005-01-01
653
+
654
+ * Rubygems 0.8.3's installer was broken unless you already had an older
655
+ version of RubyGems installed. That's fixed.
656
+ * Change in the way Gem::Specification internally deals with lazy attributes
657
+ and defaults, bringing (with some loadpath_manager changes) a fairly
658
+ significant increase in speed.
659
+ * Support for lower-cased Gem file names (for you, Paul Duncan :)
660
+ * Erik Veenstra's patch for making Gem versions sortable.
661
+
662
+ === 0.8.3 / 2004-12-07
663
+
664
+ No real earth shattering news here, but there were a number of really
665
+ annoying issues involving other libraries that RubyGems depends upon.
666
+ 0.8.3 contains some workarounds for these issues. In particular:
667
+
668
+ * Added workaround for the null byte in Dir string issue. (see
669
+ http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/121702).
670
+ (Thanks to Mauricio Fernández for the quick response on this one).
671
+ * Added workaround for old version of Zlib on windows that caused
672
+ Ruwiki to fail to install. (see
673
+ http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/121770)
674
+ * Added workaround for large YAML file issues. (We dynamically cut
675
+ down the size of the source index YAML file and seem to have worked
676
+ around immediate issues.
677
+
678
+ There has been some minor usability enhancements and changes ...
679
+
680
+ * A user specific source index cache can be used when the site-wide
681
+ cache is unwritable (i.e. because you are running as a non-admin).
682
+ This *greatly* speeds up gem commands run in non-admin mode when the
683
+ site-wide cache is out of date.
684
+ * The gem command now used an HTTP HEAD command to detect if the
685
+ server's source index needs to be downloaed.
686
+ * gem check gemname --test will run unit tests on installed gems that
687
+ have unit tests.
688
+ * Multiple gem names are allowed on the gem install command line.
689
+ This means you can do:
690
+
691
+ gem install rake rails needle postgres-pr pimki
692
+
693
+ (Ok, you get the idea)
694
+ * Multiple authors my be specified in a Gem spec.
695
+ * Switched to using setup.rb (rather than a custom install script) for
696
+ the installation of RubyGems itself. If you have installed RubyGems
697
+ before, double check the installation instructions and make sure you
698
+ use setup.rb instead of install.rb.
699
+ * Ryan Davis has provided a patch so you can use an env variable
700
+ (GEM_SKIP), to tell loadpath_manager not to load gems of those
701
+ names. This was useful for him while testing libs that he had in
702
+ development.
703
+
704
+ === 0.8.1 / 2009-09-14
705
+
706
+ * Quick release to capture some bug fixes.
707
+
708
+ === 0.8.0 / 2009-09-12
709
+
710
+ * Remove need for library stubs. Set the RUBYOPT environment variable to
711
+ include "rrubygems", and a normal require will find gem files. Continue to
712
+ use 'require_gem gem_name, version' to specify gem versions.
713
+ * Deprecated "test_suite_file" gemspec attribute in favor of "test_files" array.
714
+ * Generates rdoc by default on installs.
715
+ * Adopted tar/gzip file format, thanks to Mauricio Fernandez.
716
+ * "gem rdoc" allows generation of rdoc after gem installation (will add a "gem
717
+ test"
718
+ * Application stubs can now accept an optional parameter of _VERSION_ that will
719
+ run an arbitrary version of the application requested.
720
+ * Various bug fixes
721
+ * Various platform-independency improvements
722
+ * "gem spec --all" displays spec info for all installed version of a given gem.
723
+ * Dynamic caching of sources
724
+ * Support for user-definable sources on the command line (thanks Assaph Mehr)
725
+ * More intelligent support for platform-dependent gems. Use Platform::CURRENT
726
+ when building a gem to set its platform to the one you're building on.
727
+ Installation displays a choice of platform-dependent gems, allowing the user
728
+ to pick.
729
+ * Added "gem unpack" for "unpacking" a gem to the current directory
730
+
731
+ === 0.7.0 / 2004-07-09
732
+
733
+ See ChangeLog
734
+
735
+ === 0.6.0 / 2004-06-08
736
+
737
+ * Collapse output of --search and --list (and gem_server) operations so that
738
+ each gem is listed only once, with each of its versions listed on the same
739
+ line.
740
+ * bin/gem: new --upgrade-all option allows one to upgrade every installed gem
741
+ * new #required_ruby_version attribute added to gem specification for
742
+ specifying a dependency on which version of ruby the gem needs. Format it
743
+ accepts is the same as the Gem::Version::Requirement format:
744
+
745
+ spec.required_ruby_version = "> 1.8.0"
746
+ * --install-stub defaults to true, so library stubs are created
747
+
748
+ === 0.5.0 / 2004-06-06
749
+
750
+ * Jim added the ability to specify version constraints to avoid API
751
+ incompatibilities. This has been the subject of much debate for the past
752
+ couple of months, with many ideas and code contributed by Eivind Eklund and
753
+ Mauricio Fernandez. The following set of assertions shows how it works:
754
+
755
+ assert_inadequate("1.3", "~> 1.4")
756
+ assert_adequate( "1.4", "~> 1.4")
757
+ assert_adequate( "1.5", "~> 1.4")
758
+ assert_inadequate("2.0", "~> 1.4") # This one is key--the new operator
759
+ # disallows major version number
760
+ # differences.
761
+ * Group gem search output when multiple versions exist for a given gem:
762
+
763
+ activerecord (0.7.8, 0.7.7, 0.7.6, 0.7.5)
764
+ Implements the ActiveRecord pattern for ORM.
765
+ * Add arbitrary RDoc-able files via gemspec (not just Ruby source files) for
766
+ people who have, for example, README.rdoc in their distributions. Add to
767
+ gemspec via: spec.extra_rdoc_files = ["list", "of", "files"]. Ruby files are
768
+ automatically included.
769
+ * Some small bug fixes
770
+
771
+ === 0.4.0 / 2004-05-31
772
+
773
+ * Minor bug fixes including Windows compatability issues
774
+
775
+ === 0.3.0 / 2004-04-30
776
+
777
+ * Cleanup of command-line arguments and handling. Most commands accept a
778
+ --local or --remote modifier.
779
+ * Creation of Application Gems (packages that include executable programs).
780
+ See http://rubygems.rubyforge.org/wiki/wiki.pl?DeveloperGuide for information
781
+ on how to use it.
782
+ * Basic functionality for installing binary gems from source (:extensions
783
+ property of gem specification holds an array of paths to extconf.rb files to
784
+ be used for compilation)
785
+ * Install library "stub" allowing a normal 'require' to work (which then does
786
+ the rubygems require and 'require_gem'
787
+ * --run-tests runs the test suite specified by the "test_suite_file" property
788
+ of a gem specification
789
+ * HTTP Proxy support works. Rewrite of HTTP code.
790
+ * Unit and functional tests added (see Rakefile).
791
+ * Prompt before remote-installing dependencies during gem installation.
792
+ * Config file for storing preferences for 'gem' command usage.
793
+ * Generally improved error messages (still more work to do)
794
+ * Rearranged gem directory structure for cleanliness.
795
+
796
+ === 0.2.0 / 2004-03-14
797
+
798
+ * Initial public release
799
+