All Projects → zverok → Whatthegem

zverok / Whatthegem

Ruby gem information, stats and usage for your terminal

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Whatthegem

Pulse
Dynamic, api-driven stats collector service for realtime stats publishing and historical aggregation with Influxdb.
Stars: ✭ 48 (-23.81%)
Mutual labels:  developer-tools
Http Prompt
An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie
Stars: ✭ 8,329 (+13120.63%)
Mutual labels:  developer-tools
Xxv
The XXV visual hex viewer for the terminal.
Stars: ✭ 61 (-3.17%)
Mutual labels:  developer-tools
Wwdc
The unofficial WWDC app for macOS
Stars: ✭ 8,137 (+12815.87%)
Mutual labels:  developer-tools
Appraisal
A Ruby library for testing your library against different versions of dependencies.
Stars: ✭ 1,075 (+1606.35%)
Mutual labels:  rubygems
Log Viewer
Web UI to viewing logs
Stars: ✭ 59 (-6.35%)
Mutual labels:  developer-tools
Css Semdiff
Semantic diff tool for CSS
Stars: ✭ 43 (-31.75%)
Mutual labels:  developer-tools
Trymodule
➰ It's never been easier to try nodejs modules!
Stars: ✭ 1,115 (+1669.84%)
Mutual labels:  developer-tools
Grpcc
A gRPC cli interface for easy testing against gRPC servers
Stars: ✭ 1,078 (+1611.11%)
Mutual labels:  developer-tools
Wago
Automate the actions you do after saving code.
Stars: ✭ 60 (-4.76%)
Mutual labels:  developer-tools
Hanami Webpack
A RubyGem to allow you to use the Webpack as your asset pipeline in Hanami.
Stars: ✭ 50 (-20.63%)
Mutual labels:  rubygems
Linessorter Xcode Extension
Xcode Extension that helps you keep your import statements and long code lists organized and uniform
Stars: ✭ 54 (-14.29%)
Mutual labels:  developer-tools
Blindfold
🔎 Gitignore file generator written in rust
Stars: ✭ 60 (-4.76%)
Mutual labels:  developer-tools
Ship
Aids you creating a `Dockerfile` by transforming its (interactive shell) history into `RUN` instructions
Stars: ✭ 50 (-20.63%)
Mutual labels:  developer-tools
Logvac
Simple, lightweight, api-driven log aggregation service with realtime push capabilities and historical persistence.
Stars: ✭ 61 (-3.17%)
Mutual labels:  developer-tools
Shon
A simple tool to convert json or yaml into a shell-compliant data structure.
Stars: ✭ 47 (-25.4%)
Mutual labels:  developer-tools
Dotfiles
🖥️ Automated Configuration, Preferences and Software Installation for macOS
Stars: ✭ 1,103 (+1650.79%)
Mutual labels:  developer-tools
Tables To Go
convert your database tables to structs easily
Stars: ✭ 62 (-1.59%)
Mutual labels:  developer-tools
Git Notify
🙉 📣 Communicate important updates to your team via git commit messages
Stars: ✭ 1,091 (+1631.75%)
Mutual labels:  developer-tools
Webmention Client Ruby
A Ruby gem for sending Webmention notifications.
Stars: ✭ 60 (-4.76%)
Mutual labels:  rubygems

Gem Version

whatthegem is a small utility to answer some questions about Ruby gems you work with or planning to work with.

It tries to answer—right in your terminal—questions like the following:

  • Colleague added gemname to our Gemfile, what is it?
  • How outdated is my favorite gemname I am using locally, what's changed since then?
  • What's that benchmarking gemname's synopsis was, again?
  • There is gemname advised on the internetz for my problem, is it still maintained? Is it widely used?

There are a lot of ways to answer those questions through Google and various sites, but if you are in a terminal currently, whatthegem is fastest, most focused and convenient.

Showcase:

gem install whatthegem

whatthegem <gem> info

Just extracts gem's description and version from RubyGems.org and presents it to you alongside your local versions.

whatthegem <gem> usage

Tries to parse gem's GitHub README (or local README, if the gem is installed and includes it), and extract Ruby code blocks from there (except trivial, like "Add to your Gemfile: gem 'gemname') and prints them. Typically, it is the main/most basic usage examples.

whatthegem <gem> changes

Parses gem's GitHub Changelog.md/NEWS/History, or GitHub releases description, and lists versions and their changes (up to your local version, if it is older than recent one).

whatthegem <gem> stats

Some statistics about gem's maintenance, freshness, and popularity (again, from RubyGems.org and GitHub). It doesn't judge, just provides helpful quick insights.

Note that, for example, "not having a new version in last year or two" doesn't necessary means the gem is abandoned, it could be just "complete".

This functionality is ported from my earlier gem any_good—after its creation, I eventually understood there are several things I'd like to be able to know about the gems, and so whatthegem was born.

Limitations

  • As significant amount of information is taken from GitHub, whatthegem is less useful for gems that aren't on GitHub, or doesn't specify their repo URL in gemspec (available via RubyGems.org API); integrating of other source hosting is possible, but currently, in my experience, it seems like ~99% of gems are there;
  • Also, GitHub usage/changes extraction for gems that aren't in the root of the repo (like ActiveRecord) aren't supported yet;
  • As usage and changes are extracted by heuristics, it doesn't always work well (though it does in a surprisingly large number of cases);
    • For example, usage is typically informative for stand-alone libraries, but hardly so for Rails plugins (which have instructions like "run this generator, add that to config, insert this line in the model" in their README)
    • For other, not all gems have their Changelog findable, or parseable.

Author

@zverok

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].