lib/chamber/encryption_methods/none.rb in chamber-2.10.1 vs lib/chamber/encryption_methods/none.rb in chamber-2.10.2
- old
+ new
@@ -4,9 +4,11 @@
def self.encrypt(_key, value, _encryption_key)
value
end
def self.decrypt(key, value, _decryption_key)
+ return value if value.nil?
+
warn "WARNING: It appears that you would like to keep your information for #{key} " \
"secure, however the value for that setting does not appear to be encrypted. " \
"Make sure you run 'chamber secure' before committing."
value