robertwahler / win32-autogui

A Ruby Win32 GUI testing framework packaged as a RubyGem
http://www.gearheadforhire.com/articles/ruby/win32-autogui/using-ruby-to-drive-windows-applications
MIT License
52 stars 6 forks source link

gem spec problem #4

Closed catmando closed 13 years ago

catmando commented 13 years ago

The gemspec has the following line:

 s.date = %q{2011-08-17 00:00:00.000000000Z}

which is causing problems with latest rubygems

$ gem -v
Invalid gemspec in [c:/Ruby187/lib/ruby/gems/1.8/specifications/ocra-1.3.0.gemspec]: invalid date format in specification: "2011-06-19 00:00:00.000000000Z "
Invalid gemspec in [c:/Ruby187/lib/ruby/gems/1.8/specifications/win32-autogui-0.5.0.gemspec]: invalid date format in specification: "2011-08-17 00:00:00.000000000Z"
 1.8.8

Couple of other gems are having the same problem... seems like there was a buggy rubygems floating around.

For now I am just editing the gemspec to remove the 00.00...Z and problem goes away.

robertwahler commented 13 years ago

Ack! The only way I found to address it was to build the gem without psych on my system. I've pushed up version 0.5.1 so that other folks shouldn't have to go through the same hassle you did. Thanks for reporting this.