lib/fernet/verifier.rb in fernet-2.1.1 vs lib/fernet/verifier.rb in fernet-2.2

- old
+ new

@@ -33,10 +33,10 @@ @token.valid? end # Public: Returns the token's message def message - @token.message + @token.message.dup.force_encoding(Encoding::UTF_8) end # Deprecated: returns the token's message def data puts "[WARNING] data is deprecated. Use message instead"