From 418b79ae508c8f0b9bfad59055376bcb8067ffa8 Mon Sep 17 00:00:00 2001 From: Pierre Merlin Date: Mon, 19 Aug 2024 16:32:12 +0200 Subject: [PATCH] Update encrypt.rb Rm mention of some specific internal tool. Every CBOrm user could use the encryption tool of its choice. --- lib/couchbase-orm/encrypt.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/couchbase-orm/encrypt.rb b/lib/couchbase-orm/encrypt.rb index ee1c890..a6d41a3 100644 --- a/lib/couchbase-orm/encrypt.rb +++ b/lib/couchbase-orm/encrypt.rb @@ -7,7 +7,7 @@ def encode_encrypted_attributes type = self.class.attribute_types[key.to_s] if type.is_a?(CouchbaseOrm::Types::Encrypted) next unless value - raise "Can not serialize value #{value} of type '#{value.class}' for Tanker encrypted attribute" unless value.is_a?(String) + raise "Can not serialize value #{value} of type '#{value.class}' for encrypted attribute" unless value.is_a?(String) ["encrypted$#{key}", { alg: type.alg, ciphertext: value