Skip to content

Instantly share code, notes, and snippets.

@zhangshine
Created September 22, 2014 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhangshine/345cffa9aefd2eab35f1 to your computer and use it in GitHub Desktop.
Save zhangshine/345cffa9aefd2eab35f1 to your computer and use it in GitHub Desktop.
gems index
m = Marshal.load(Gem.gunzip(File.read("latest_specs.4.8.gz")))
m.each do |specs|
#specs = m[2]
print specs[0]
print '('
print specs[1].version
print ')'
puts
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment