[Rubygems-developers] 1.3.2 release notes
drbrain at segment7.net
Tue Apr 7 17:25:22 EDT 2009
On Apr 6, 2009, at 20:32, Luis Lavena wrote:
> On Mon, Apr 6, 2009 at 10:55 PM, Eric Hodel <drbrain at segment7.net>
>> Here's what I've selected for the 1.3.2 release notes. Let me know
>> if I
>> left out something important. (I'm still doing some work on
>> here and there.)
> I have some questions...
>> I may be out of town over the coming weekend, so I expect I'd do a
>> Monday 4/13 or Tuesday 4/14.
>> Release 1.3.2 fixes some bugs and adds some features.
>> * RubyGems now includes a Rake task for creating gems which
>> replaces rake's
>> Rake::GemPackageTask. See Gem::PackageTask.
> What is the advantage of this? Asking this since rake-compiler tool
> uses Rake::GemPackageTask to build the native versions, and in case of
> an advantage, will be great to know.
If there needs to be any bug fixes or changes to the gem package task
we don't have to wait for a rake release.
>> * Gem::Specification
>> * #validate complains about not-files.
>> * #description no longer removes newlines.
>> * #name must be a String.
> I required #dup in Gem::Specification for rake-compiler:
> Due the lack of it, I just dump and loaded the generated YAML, which
> was suboptimal.
I implemented Gem::Specification#initialize_copy, which should take
care of your problem.
>> * `gem install`
>> * Uses Gem::bin_path in executable stubs to work around
>> Kernel#load bug in
>> * setup.rb
> Does the installation update the existing stub scripts?
No, but `gem pristine --all` should do that.
More information about the Rubygems-developers