synced 0.0.9 → 0.0.10

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: 2bc7b5c1daa11812688c34ca63c14cbd7810349d
4
- data.tar.gz: 875a5c3e47e273e120c1a284be987e3b158835ba
3
+ metadata.gz: c4fc9e12c7b99f00248a73eb62357a0e0b2928c9
4
+ data.tar.gz: a23abc1036b239dce3e36ca5f11ff61057962016
5
5
  SHA512:
6
- metadata.gz: 754e283a744b0e7fdedeec8550262a106f1ca1c22f0ccbd3d0ff64a498e2da98d3612a0b3563654dc6251d0190cd7eecd473c44b764c333b7b4cbede0b922112
7
- data.tar.gz: 2c7d79d49111f0f2c66a456448e3e7631704d746c5ddacd6f36deeb85e7a125f33ad2668b9146e91e7f5ba438fd6ace892e69d5c070876edd60b05526dbde67b
6
+ metadata.gz: 2baa22253253eb795eb5c5ca589c8073b44681b9205e330716ed39295c92516878c546378737f990b98ed615d87428ae8efa75052a436f277d7a1743f06ba947
7
+ data.tar.gz: 5847c5673ef7ac069c3369b3e309a7c1240367f4fd51560d93f1e8c9cc921885cedc390c51ff8c9c7c1e4e753fc5c9c5a9ba1dc7fd13acc24a927add849d4928
@@ -124,7 +124,7 @@ module Synced
124
124
  end
125
125
 
126
126
  def local_object_by_remote_id(remote_id)
127
- local_objects.find { |l| l.attributes[id_key.to_s] == remote_id }
127
+ local_objects.find { |l| l.public_send(id_key) == remote_id }
128
128
  end
129
129
 
130
130
  def local_objects
@@ -1,3 +1,3 @@
1
1
  module Synced
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synced
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Grosjean
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-07 00:00:00.000000000 Z
12
+ date: 2014-08-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails