lib/travis/client/cache.rb in travis-1.11.1 vs lib/travis/client/cache.rb in travis-1.12.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'travis/client/weak_entity'
module Travis
module Client
class Cache < WeakEntity
@@ -12,14 +14,14 @@
one :cache
many :caches
def delete
- repository.delete_caches(:branch => branch, :match => slug)
+ repository.delete_caches(branch:, match: slug)
end
def inspect_info
- [repository.slug, branch, slug].compact.join(" ")
+ [repository.slug, branch, slug].compact.join(' ')
end
end
end
end