Last active
December 20, 2015 02:39
-
-
Save jeffweiss/6057646 to your computer and use it in GitHub Desktop.
Recently updated gems that don't specify a license
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'gems' | |
require 'pp' | |
pp Gems.latest.map {|g| g["name"]}. | |
sort. | |
map {|n| {n => Gems.versions(n) } }. | |
reject {|elem| elem.has_value? "This rubygem could not be found."}. | |
map {|elem| {elem.keys.first => elem.values.first.all? {|h| h["licenses"].empty?}}}. | |
reject {|h| h.has_value? false} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment