reactive-record 0.7.33 → 0.7.34

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: 6f071187fbe9b4f2c5a5ae000a389e429986e34d
4
- data.tar.gz: 5c35aad8d66556df49791a83d05f0569e05adb98
3
+ metadata.gz: 25d5e12a1cd149438ba74e77b496ddd4e73ac7b3
4
+ data.tar.gz: 9857e0bf18690da69436f9c88d2db92c63bc4bdf
5
5
  SHA512:
6
- metadata.gz: bc6431f25bf37975dcf2f294e0cb0feb202730cca3742bff0dda4507058308e5fb48d6f0c677f445f0af58734983fcff093a230145d6db7bfca877e93d411b83
7
- data.tar.gz: b194befb441790f8305e4c8909f7eaacb631978d8629a86691c8e0fb3e22085ee3b6230ef991059710fdd61e294dd416b222b893d7b9b9d4197b8a6468ed974c
6
+ metadata.gz: df7045617c884e0c450fd384aee18cdfb91c7aa3de95dc4065ecc2055f36d7b52bb64bc8b5579897e0839d633138ec02e30c5f19f080a5d4421cf20f442c1c44
7
+ data.tar.gz: 54d9f137ad05c905c185375297803a50ab56566987804379b125f1c1153dacc47ee0a9273f993e740da1be059652b6b8725131940d09ca2383411c62c54f2e06
@@ -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.to_s != id.to_s)
362
+ if id and (found.nil? or !(found.class <= model) or (!found.id.nil? 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
@@ -1,3 +1,3 @@
1
1
  module ReactiveRecord
2
- VERSION = "0.7.33"
2
+ VERSION = "0.7.34"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reactive-record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.33
4
+ version: 0.7.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mitch VanDuyn