From 78cac9a258d36cde9f0cc119bc5c3e1af78f5de9 Mon Sep 17 00:00:00 2001 From: Mohammed Abdulkareem Date: Fri, 8 Dec 2023 16:34:31 +0300 Subject: [PATCH] Update lib/diffcrypt/rails/encrypted_configuration.rb Co-authored-by: Marc Qualie <101022+marcqualie@users.noreply.github.com> --- lib/diffcrypt/rails/encrypted_configuration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/diffcrypt/rails/encrypted_configuration.rb b/lib/diffcrypt/rails/encrypted_configuration.rb index 8b2237d..405531f 100644 --- a/lib/diffcrypt/rails/encrypted_configuration.rb +++ b/lib/diffcrypt/rails/encrypted_configuration.rb @@ -73,7 +73,7 @@ def key # does not raise MissingKeyError when +raise_if_missing_key+ is true. # @return [Boolean] def key? - read_env_key || read_key_file + !!(read_env_key || read_key_file) end def change(&block)