README.md in gems-0.2.0 vs README.md in gems-0.3.0
- old
+ new
@@ -26,25 +26,25 @@
puts Gems.search 'cucumber'
# Returns an array of version details for coulda.
puts Gems.versions 'coulda'
- # Returns the number of downloads by day for a particular gem version for the past 90 days.
+ # Returns the number of downloads by day for coulda 0.6.3 for the past 90 days.
# Defaults to the latest version if no version is specified.
puts Gems.downloads 'coulda', '0.6.3'
- # Returns the number of downloads by day for a particular gem version for the past year.
+ # Returns the number of downloads by day for coulda 0.6.3 for the past year.
puts Gems.downloads 'coulda', '0.6.3', Date.today - 365, Date.today
# Returns an array of gem dependency details for all versions of all the given gems.
puts Gems.dependencies ['rails', 'thor']
# Retrieve your API key using HTTP basic authentication.
Gems.configure do |config|
config.username = 'nick@gemcutter.org'
config.password = 'schwwwwing'
end
- Gems.api_key
+ puts Gems.api_key
# The following methods require authentication.
# By default, we load your API key from ~/.gem/credentails
# You can override this default by specifying a custom API key.
Gems.configure do |config|