Gem version dates displayed on rubygems.org
Hi!
I've noticed that for some gems the displayed gem version dates looks wrong.
For example https://rubygems.org/gems/rjaswal-geokit have dates in 2009 for its 2 versions, but I got an webhook API notification for this gem version creations today. Its stats page https://rubygems.org/gems/rjaswal-geokit/stats indicates also that all downloads of this gem happened today.
Reading the rubygems code it looks like the displayed date of a version is its build_at date attribute. How is set this attribute? Is it by the gem owner (but could not find a reference to 2009 in rjaswal-geokit code) or by rubygems.org?
Thanks :)
Florent
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Nick Quaranto on 21 Apr, 2011 01:29 PM
The built_at attribute comes from the
datefield of the gemspec. So if you pushed a gem today with a later date, it works (you actually can't do future dates). This sounds to me like it's working as expected...do you have any other questions about it?3 Posted by florent2 on 07 May, 2011 05:55 PM
Nick, sorry for the late reply and thanks your answer, it makes sense. The rjaswal-geokit gem has no gemspec file (tough its Manifest.txt file lists a geokit.gemspec file), that might the cause of the behavior I observed.
Anyway was not a big issue, I'll close the discussion.
florent2 closed this discussion on 07 May, 2011 05:55 PM.