Sha256: 95640b558189675c44cc0e4f50c62ce334d91b7bc889cbee268ad387f434e225

Contents?: true

Size: 295 Bytes

Versions: 4

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true
require 'httparty'
require 'multi_json'

IO.read(File.dirname(__FILE__) + '/versions.txt').each_line do |version|
  json = HTTParty.get("http://rubygems.org/api/v1/downloads/cucumber-#{version.strip}.json")
  puts MultiJson.load(json.body)['version_downloads']
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cucumber-3.0.1 gem_tasks/downloads.rb
cucumber-3.0.0 gem_tasks/downloads.rb
cucumber-3.0.0.pre.2 gem_tasks/downloads.rb
cucumber-3.0.0.pre.1 gem_tasks/downloads.rb