lib/travis/client/artifact.rb in travis-1.6.15.travis.559.6 vs lib/travis/client/artifact.rb in travis-1.6.15.travis.560.6

- old
+ new

@@ -12,10 +12,10 @@ # @!parse attr_reader :job has :job def delete_body(reason = {}) - reason = { reason: reason } unless reason.is_a? Hash + reason = { :reason => reason } unless reason.is_a? Hash session.patch_raw("jobs/#{job_id}/log", reason) reload rescue Travis::Client::Error => error raise unless error.message == '409' self