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

thengem

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thengem

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Thengem

A light command line wrapper around the gems gem that lets you easily see versions of gems.

The aim is to help with upgrading legacy Ruby apps by easily allowing you to view gems released on or just before a specified date.

Installation

$ gem install thengem

Usage

You can get all of the versions for a gem with:

$ thengem -g rails

The output of this could be a bit long with parallel version trees.

To get just the major versions:

$ thengem -g rails -m 4

... or be more specific:

$ thengem -g rails -m 4.2

Say, you've decided to upgrade a Rails 3 app, to Rails 4.2.0, which was released on 2014-12-20. And say Devise was a dependency.

To see what version of Devise was out at the same time:

$ thengem -g devise -d 2014-12-20

This will give you the most recently released version of Devise that came before that date along with the list of versions that came out up to six months before it.

Command line options

shortlongdescription
-g--gem_namename of the gem
-m--major_releasethe major release number (e.g. 4 or 4.1)
-d--date_stringget releases from on or before this date to 6 months before it - format: YYYY-MM-DD (e.g. 2014-12-20)

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 17 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