Gem version dates displayed on rubygems.org

florent2's Avatar

florent2

14 Apr, 2011 10:14 PM

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

  1. Support Staff 1 Posted by Nick Quaranto on 21 Apr, 2011 01:29 PM

    Nick Quaranto's Avatar

    The built_at attribute comes from the date field 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?

  2. 2 Posted by florent2 on 07 May, 2011 05:55 PM

    florent2's Avatar

    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.

  3. florent2 closed this discussion on 07 May, 2011 05:55 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac