Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gem_outdated

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gem_outdated

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

GemOutdated

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

  • MIT license
  • Moya Contributors Guidelines which TLDR: means we give out push access easily and often.

FAQs

Package last updated on 10 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc