Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Latest keeps us up to speed by querying rubygems.org for a gem's most recent version number. Yep, that's all it does.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
spec
.gitignore
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
latest.gemspec

README.md

Latest Build Status

Latest keeps us up to speed by querying rubygems.org for a gem's most recent version number. Yep, that's all it does.

Basically I was tired of visiting https://rubygems.org/gems/whatever-gem to find out a gem's most recent version.


Usage

After installing, use latest from your command line like so:

latest rails
# rails 3.2.2 (41013 downloads)

latest rails spree haml
# rails 3.2.2 (41014 downloads)
# spree 1.0.1 (279 downloads)
# haml 3.1.4 (289029 downloads)

latest rails spree --pre haml
# rails 3.2.2 (41015 downloads)
# spree --pre 1.0.0.rc4 (134 downloads)
# haml 3.1.4 (289029 downloads)

You can print latest's version like so:

latest -v
# Latest v0.4.0

Installation

As usual, just use the gem install command:

gem install latest
# or
sudo gem install latest

Testing

Testing is done with minitest/spec. Run the specs with:

bundle exec rake

Requirements

Other than rake and bundler for development, Latest has zero gem dependencies! All it requires is Ruby >= 1.9.2.


License

Copyright (c) 2011 - 2012 Spencer Steffen & Citrus, released under the New BSD License All rights reserved.

Something went wrong with that request. Please try again.