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: 25d5e12a1cd149438ba74e77b496ddd4e73ac7b3
4
- data.tar.gz: 9857e0bf18690da69436f9c88d2db92c63bc4bdf
3
+ metadata.gz: b2c3452956a7f5f694a3e57dbb0de12a11727854
4
+ data.tar.gz: 5dfbe5870446dafaf6481ed27cd362d4e3e832b6
5
5
  SHA512:
6
- metadata.gz: df7045617c884e0c450fd384aee18cdfb91c7aa3de95dc4065ecc2055f36d7b52bb64bc8b5579897e0839d633138ec02e30c5f19f080a5d4421cf20f442c1c44
7
- data.tar.gz: 54d9f137ad05c905c185375297803a50ab56566987804379b125f1c1153dacc47ee0a9273f993e740da1be059652b6b8725131940d09ca2383411c62c54f2e06
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 (!found.id.nil? and found.id.to_s != id.to_s))
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
@@ -1,3 +1,3 @@
1
1
  module ReactiveRecord
2
- VERSION = "0.7.34"
2
+ VERSION = "0.7.35"
3
3
  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.34
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-30 00:00:00.000000000 Z
11
+ date: 2015-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails