The following errors have been observed on new Rails 6.0 applications with ruby 2.7.1
# when file is empty
lib/diffcrypt/rails/encrypted_configuration.rb:102:in `decrypt': undefined method `decrypt_and_verify' for nil:NilClass (NoMethodError)
# when file just contents `---`
lib/diffcrypt/file.rb:18:in `cipher': undefined method `[]' for nil:NilClass (NoMethodError)
# when file contains non encrypted data, like `---\ntest: true`
lib/diffcrypt/encryptor.rb:37:in `decrypt_hash': undefined method `each' for nil:NilClass (NoMethodError)
The following errors have been observed on new Rails 6.0 applications with ruby 2.7.1