Download ALL existing gems from S3. Then, populate the database with:
Basically needs a rake task to do this, and then start pulling this info out when a gem is pushed.
I have the vast majority of this information captured already, and am happy to help work on this.
Current working code that captures it is in: https://github.com/copiousfreetime/gemology.
I'm also working on some code to do automatic license detection that I will probably add to gemology.
This has happened a few times already, closing this issue.