Skip to content
/ latest Public

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

License

Notifications You must be signed in to change notification settings

citrus/latest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages