Skip to content

Instantly share code, notes, and snippets.

View hmistry's full-sized avatar

Hiren Mistry hmistry

View GitHub Profile
@hmistry
hmistry / ruby_gems_age.rb
Created August 17, 2019 22:47 — forked from borama/ruby_gems_age.rb
A script that collects and prints info about the age of all ruby gems in your project, see https://dev.to/borama/how-old-are-dependencies-in-your-ruby-project-3jia
#!/bin/env ruby
#
# Collects info about the age of all gems in the project
#
require "json"
require "date"
bundle = `bundle list`
yearly_stats = {}