ree_lib 1.0.119 → 1.0.120
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ree_lib/packages/ree_dao/package/ree_dao/dataset_extensions.rb +10 -1
- data/lib/ree_lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2116bbd5ccddea0d1712d9735936d9254e39218adda88a3b5589e8f38b10683
|
4
|
+
data.tar.gz: 878f695cf24c9f46bf41549a5213bf03e63d58f2a957c255a4b12559926dd86c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69ea27c870a0e5982eb019afa07486f00c6e21e5c916505141cb31748971bd2dab19f05ebecb5c58011540e6eb5e120971c28fe8a9fe9833df512ce459ac15d9
|
7
|
+
data.tar.gz: b0a5671bf0744fb788a825bc09a6b512b85c3db28f1717bbd91f79184e4372cd4f2bab963588ecd1b7c40b41caa5857fe529e1035aab1e23706e87f3fef3eadd
|
data/Gemfile.lock
CHANGED
@@ -251,7 +251,16 @@ module ReeDao
|
|
251
251
|
|
252
252
|
def extract_changes(entity, hash)
|
253
253
|
if is_ree_dto?(entity)
|
254
|
-
|
254
|
+
result = {}
|
255
|
+
changed = entity.changed_fields
|
256
|
+
|
257
|
+
hash.each do |k, v|
|
258
|
+
if changed.include?(k) || v.respond_to?(:each)
|
259
|
+
result[k] = v
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
result
|
255
264
|
else
|
256
265
|
return hash unless entity.instance_variable_defined?(PERSISTENCE_STATE_VARIABLE)
|
257
266
|
changes = {}
|
data/lib/ree_lib/version.rb
CHANGED