reactive-record 0.7.34 → 0.7.35
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2c3452956a7f5f694a3e57dbb0de12a11727854
|
4
|
+
data.tar.gz: 5dfbe5870446dafaf6481ed27cd362d4e3e832b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e91839b1180ae6bff126b71555bf7eaecde136b95f4d223f5edfa90e67e2508dcd73875ed3e3806da39f256d1f65aa798a29a51aaf8a8c259bd5efcf57b3776
|
7
|
+
data.tar.gz: 5168e51dae8c78c0b049e0718b07bd22939fd75cf08b45b9b5de8a54013dc2846b65d5e6093cd7f99dd611784de6a539544bce3b7c54baeda6edec9fc8fceef6
|
@@ -359,7 +359,7 @@ module ReactiveRecord
|
|
359
359
|
object.send(method)
|
360
360
|
end
|
361
361
|
end
|
362
|
-
if id and (found.nil? or !(found.class <= model) or (
|
362
|
+
if id and (found.nil? or !(found.class <= model) or (found.id and found.id.to_s != id.to_s))
|
363
363
|
raise "Inconsistent data sent to server - #{model.name}.find(#{id}) != [#{vector}]"
|
364
364
|
end
|
365
365
|
found
|
@@ -506,7 +506,7 @@ module ReactiveRecord
|
|
506
506
|
|
507
507
|
else
|
508
508
|
|
509
|
-
vectors.each { |vector, model| model.reload unless model.nil? or model.new_record? }
|
509
|
+
vectors.each { |vector, model| model.reload unless model.nil? or model.new_record? or model.frozen? }
|
510
510
|
vectors
|
511
511
|
|
512
512
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reactive-record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.35
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mitch VanDuyn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|