0.0
No commit activity in last 3 years
No release in over 3 years
Find if your gem is outdated.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 3.0

Runtime

>= 0
 Project Readme

GemOutdated

Build Status

Find out if a given gem and version is outdated or not.

Installation

Add this line to your application's Gemfile then bundle:

gem "gem_outdated"

Or install it yourself as:

$ gem install gem_outdated

Usage

Suppose latest Rails is 5.1.4.

# Tells latest when asked a outdated version
GemOutdated.outdated?("rails", "5.1.2")
=> "5.1.4"

# Already latest
GemOutdated.outdated?("rails", "5.1.4")
=> false

# Newer than latest
GemOutdated.outdated?("rails", "5.1.5.rc1")
=> false

# Returns false when Version not exists
GemOutdated.outdated?("rails", "1.2.3.4")
=> false

# Gem not exists raises an error
GemOutdated.outdated?("greatest_rails", "1.0.0")
=> GemOutdated::RubygemsAPI::GemNotFound

License, Contributor's Guidelines