lib/bukin/providers/bukkit_dl.rb in bukin-0.4.0 vs lib/bukin/providers/bukkit_dl.rb in bukin-0.5.0

- old
+ new

@@ -13,14 +13,9 @@ def api_url "#{url}/api/1.0/downloads" end def resolve_info(data) - if data[:download] - data[:display_version] = data[:version] - return data - end - name = data[:name] version = data[:version] || 'latest-rb' url = "#{api_url}/projects/#{name}/view/#{version}/" info = JSON.parse(open(url).read)