couchbase-orm 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +3 -0
- data/lib/couchbase-orm/encrypt.rb +1 -1
- data/lib/couchbase-orm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f70a9e7ebdde5781a23268a9d400a917fcea2d9432a61f0b374280c2d534325
|
|
4
|
+
data.tar.gz: a3cb52d01386be648eecce010f96399325771b0b50c32f92dec3f91b41fdb628
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7bb46f6fe815f3378e39421453b3a0b901fe81cd35f49ec10505a9d6e12d11d201d58ce02a436adb8b569adc2e01aec7b5c07bdd264bc50a68ff1074d0f574f8
|
|
7
|
+
data.tar.gz: 5f542c3227c7587c1ad14c43f64d35e2a072bc4d39165fd9c6983bf86f3061c220360ce86393cbc67e61c537833bfb6679ed5ad3b3edebc7c2a00065e02997b3
|
data/.github/workflows/test.yml
CHANGED
|
@@ -7,7 +7,7 @@ module CouchbaseOrm
|
|
|
7
7
|
type = self.class.attribute_types[key.to_s]
|
|
8
8
|
if type.is_a?(CouchbaseOrm::Types::Encrypted)
|
|
9
9
|
next unless value
|
|
10
|
-
raise "Can not serialize value #{value} of type '#{value.class}' for
|
|
10
|
+
raise "Can not serialize value #{value} of type '#{value.class}' for encrypted attribute" unless value.is_a?(String)
|
|
11
11
|
["encrypted$#{key}", {
|
|
12
12
|
alg: type.alg,
|
|
13
13
|
ciphertext: value
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: couchbase-orm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stephen von Takach
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2024-
|
|
14
|
+
date: 2024-08-19 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: activemodel
|