Project

gemview

0.0
The project is in a healthy, maintained state
An unofficial CLI interface to browse rubygems.org. Search for gems by name, see which ones have been recently updated and look at their dependencies.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.2.0
~> 1.6.0
~> 1.3.0
~> 0.2.1
~> 0.7.2
~> 0.14.0
~> 0.23.1
 Project Readme

Gemview

Gem Version

An unofficial CLI interface for querying information from rubygems.org. It uses the gems gem internally.

Note: This gem is not directly affiliated with rubygems.org. It's just a hobby project.

Usage

Commands:
  gemview author USERNAME             # Find gems by rubygems.org username
  gemview info NAME                   # Show gem info
  gemview releases                    # List the most recent new gem releases
  gemview search TERM                 # Search for gems
  gemview updates                     # List the most recent gem updates
  gemview version                     # Print version

Demo

GIF demoing the info and search subcommands

Implementation

Changelog and readme fetching is only supported for github.com and gitlab.com currently. This works by parsing the URI associated with one of these two sites from gem metadata, building a new URI associated with the given file and trying to download it as a raw file. Let me know if there are any other platforms I should add support for.

Markdown highlighting is added on a best effort basis and if the parser fails for some reason it just falls back to the raw text file.

Development

Testing & Linting

$ rake

Testing

$ rake spec

Linting

$ rake standard
$ rake standard:fix

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/apainintheneck/gemview.

License

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