lib/concourse-resource/rubygems/in.rb in concourse-resource-rubygems-0.3.2 vs lib/concourse-resource/rubygems/in.rb in concourse-resource-rubygems-0.3.3

- old
+ new

@@ -9,9 +9,12 @@ class In < Fuselage::In include Core def filename @filename ||= "#{gem}-#{version.fetch 'number'}.gem" + rescue KeyError + STDERR.puts 'config.version is missing number', version + abort end def download @download ||= HTTParty.get "https://#{host}/gems/#{filename}" end