active_cabinet 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_cabinet.rb +1 -1
- data/lib/active_cabinet/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: 2bb7b25b6bcdc051746be14b1fae78903def36a69aa9682a32ef101dd327a170
|
4
|
+
data.tar.gz: 563e0fbc9af54cf6f07bf7a8fa46036e36312389986fc3b9b6fafb11f535befa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 714556c68763e4e48f9760dbcb77147c21106e70643087ddebf86e726f00fc13888542214b89bd1cac30c26ec4f5287999440d685fde3d5121ddf5182370644e
|
7
|
+
data.tar.gz: 2a511fa52992ee68169fb224002b5b0500c7a3ae8f21af7571d2115c62388b10c70e560a2315972146ca58e2c1f879f485430c54349538fcfaea9a3eddd08070
|
data/lib/active_cabinet.rb
CHANGED
@@ -159,7 +159,7 @@ class ActiveCabinet
|
|
159
159
|
#
|
160
160
|
# @param [Hash] new_attributes record attributes
|
161
161
|
def update(new_attributes)
|
162
|
-
@attributes = attributes.merge
|
162
|
+
@attributes = attributes.merge(new_attributes.transform_keys &:to_sym)
|
163
163
|
end
|
164
164
|
|
165
165
|
# Update the record with new or modified attributes, and save.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_cabinet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hash_cabinet
|