Bugs item #29181, was opened at 2011-05-07 10:42
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=29181&group_id=126

Category: other
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Luis Lavena (luislavena)
Assigned to: Ryan Davis (zenspider)
Summary: RubyGems date spec field causing issues

Initial Comment:
A new gem just released by one of the RubyInstaller contributors generated this:

http://groups.google.com/group/rubyinstaller/msg/6a0b05d51811f5bc

A simple gem, generated with Ruby 1.9.2 causes date to be generated incorrectly:

Ruby 1.9.2 with RubyGems 1.8.1
date: 2011-05-07 00:00:00.000000000Z

Ruby 1.8.7 with RubyGems 1.8.1:
date: 2011-05-07 00:00:00 Z

Installing that gem causes this:

Invalid gemspec in 
[C:/Users/Luis/.gem/ruby/x86-mingw32/1.8/specifications/autotest-snarl-0.0.2.gemspec]:
 invalid date format in specification: "2011-05-07 00:00:00.000000000Z"
C:/Users/Luis/Tools/ruby/ruby-1.8.7-p334-i386-mingw32/lib/ruby/site_ruby/1.8/rubygems/specification.rb:277:in
 `_resort!': undefined method `name' for nil:NilClass (NoMethodError)

Not during installation but later in the process.

You can reproduce this using my simple gem here:

https://github.com/luislavena/autotest-snarl

I don't use anything that is not RubyGems and Rake to generate it (even use 
Gem::PackageTask)


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=29181&group_id=126
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to