[x] I've added tests to cover the proposed changes
Adds a add_rubygems_resource processor to the code-packaging pipeline. Processor collects total_downloads directly from the rubygems.org API, and calculates a daily downloads value by comparing today's total_downloads with yesterday's.
Historical data isn't available from rubygems.org.
This pull request fixes #40.
Adds a
add_rubygems_resource
processor to thecode-packaging
pipeline. Processor collectstotal_downloads
directly from the rubygems.org API, and calculates a dailydownloads
value by comparing today's total_downloads with yesterday's.Historical data isn't available from rubygems.org.