My gem pingdom-client shows an older version on the root page by default

mtodd's Avatar

mtodd

01 Mar, 2011 11:53 PM

https://rubygems.org/gems/pingdom-client shows 0.0.1.alpha instead of 0.0.3.alpha.

  1. Support Staff 2 Posted by Luis Lavena on 02 Mar, 2011 12:04 AM

    Luis Lavena's Avatar

    All your gems are prerelease status, and RubyGems.org prioritizes
    latest releases:

    https://github.com/rubygems/gemcutter/blob/master/app/controllers/rubygems_controller.rb#L19
    https://github.com/rubygems/gemcutter/blob/master/app/models/version.rb#L60

    Which triggers this:
    https://github.com/rubygems/gemcutter/blob/master/app/models/pusher.rb#L49

    And ends here, setting up latest to true:
    https://github.com/rubygems/gemcutter/blob/master/app/models/rubygem.rb#L172

    And, drum roll, here:
    https://github.com/rubygems/gemcutter/blob/master/app/models/rubygem.rb#L181

    Patches are welcome? ;-)

  2. 3 Posted by mtodd on 02 Mar, 2011 06:22 AM

    mtodd's Avatar

    Thanks for the awesome breakdown of the problem, Luis! I'll take a look tomorrow to see if I can come up with a failing spec and possibly a patch.

    Thanks again for doing the legwork! :) Definitely a huge motivator to write a patch.

    Keep up the good motivation ;)

  3. Nick Quaranto closed this discussion on 17 Mar, 2011 03:34 PM.

  4. mtodd re-opened this discussion on 17 Mar, 2011 04:29 PM

  5. 4 Posted by mtodd on 17 Mar, 2011 04:29 PM

    mtodd's Avatar

    Haha, just decided to actually check if this had been fixed because I was going to have some time this weekend for hacking... looks like it was fixed. Booyah. Thanks!

  6. mtodd closed this discussion on 17 Mar, 2011 04:29 PM.

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