lib/biscuit/secrets_decrypter.rb in biscuit-0.1.4 vs lib/biscuit/secrets_decrypter.rb in biscuit-0.2.0
- old
+ new
@@ -3,10 +3,10 @@
module Biscuit
class SecretsDecrypter
attr_reader :secrets_file
def initialize(secrets_file)
- fail "#{secrets_file} is not found" unless File.exists? secrets_file
+ fail "#{secrets_file} is not found" unless File.exist? secrets_file
@secrets_file = secrets_file
end
def load(&block)