[Rubygems-developers] RubyGems 1.2.0 release in less than one week

Eric Hodel drbrain at segment7.net
Mon Jun 16 20:58:05 EDT 2008

I would like to release a RubyGems by the end of the week, but on  
Monday at latest.  Please test revision 1772 of trunk.

Windows users, please check out  
Gem::ConfigFile::SYSTEM_WIDE_CONFIG_FILE to make sure it is correct.   
I pulled this code from an email from Daniel Berger of several months  

I'll be contacting the operators of gems.rubyonrails.org and  
gems.github.com to give them a heads-up about the upcoming release so  
they can update to the new rubygems as close to the release  
announcement as possible.

Here is a draft of the 1.2.0 release notes, let me know if I missed  

New features:

* RubyGems no longer performs bulk updates and instead only fetches  
the gemspec
   files it needs.  Alternate sources will need to upgrade to RubyGems  
1.2 to
   allow RubyGems to take advantage of the new metadata updater.  If a  
pre 1.2
   remote source is in the sources list, RubyGems will revert to the  
bulk update
   code for compatibility.
* RubyGems now has runtime and development dependency types.  Use
   #add_development_dependency and #add_runtime_dependency.  All  
   dependencies are considered to be development dependencies.
* RubyGems will now require rubygems/defaults/operating_system.rb and
   rubygems/defaults/#{RBX_ENGINE}.rb if they exist.  This allows  
packagers and
   ruby implementers to add custom behavior to RubyGems via these files.
* /etc/gemrc (and windows equivalent) for global settings
* setup.rb now handles --vendor and --destdir for packagers
* `gem stale` command that lists gems by last access time

Bugs Fixed:

* `gem install --no-wrappers` followed by `gem install --wrappers` no  
   overwrites executables
* `gem pristine` now forces reinstallation of gems, bug #20387
* A trailing / is now added to remote sources when missing, bug #20134
* RubyGems gracefully handles ^C while loading .gemspec files from  
disk, bug
* Paths are expanded in more places, bug #19317, bug #19896
* Gem::DependencyInstaller resets installed gems every install, bug  
* Gems with legacy platforms will now be correctly uninstalled, patch  
* Gem.default_path is now honored if GEM_PATH is not set, patch #19502
* File modes from gems are now honored, patch #19737

Other Changes Include:

* setup.rb
   * stub files created by RubyGems 0.7.x and older are no longer  
removed.  When
     upgrading from these ancient versions, upgrade to 1.1.x first to  
clean up
   * RDoc is no longer required untill necessary, patch #20414
* `gem server`
   * Now completely matches the output of `gem generate_index` and
     has correct content types
   * Refreshes from source directories for every hit.  The server will  
no longer
     need to be restarted after installing gems.
* `gem query --details` and friends now display author, homepage,  
rubyforge url
   and installed location
* `gem install` without -i no longer reinstalls dependencies if they  
are in
   GEM_PATH and not in GEM_HOME
* Gem::RemoteFetcher now performs persistent connections for HEAD  
   bug #7973

For a full list of changes to RubyGems and the contributor for each  
change, see
the ChangeLog file.

More information about the Rubygems-developers mailing list