remote_record 0.9.0 → 0.9.1

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
  SHA256:
3
- metadata.gz: cc34774fa806d697634b398dbd57f7e6d2b52086060b315ec2066f37368cd604
4
- data.tar.gz: f6eb1f63c8bc0122d6c5bb888831098ee617880de9175d77b84cf03dd1e77ce6
3
+ metadata.gz: a3b327ba09a62e4e8f611fd0cca0fc924069fdd374998a84bbe67a9c9435aa4a
4
+ data.tar.gz: dc7b5a360c8090219ebf6408940c0ef32a71cb1d06f60987e4a71bd6658d777d
5
5
  SHA512:
6
- metadata.gz: 6db7769b4a322e0a64b8bcce2b66db9c5e89a88de4fd291772ec47ab4dea03e0309966a418500def4aa4adaccaf8e3708509a098400ca9d12925307cb5c4b5f2
7
- data.tar.gz: 18fb7dcfd77b4a79086af690032c47a5ae956d96c1ec5f108a8847f8910369a280b73715c9df2c80c4b43a543de73656fd7f76a67edeeb4c80c978960acf595b
6
+ metadata.gz: 8c7b4e58bbb751dd40c8f4ecea1828f5930ada30bb370f393fdbfa5f3711cea2720fae4d631112126bc70f2b58f6dbcfd8ccf3d46e7e2fb833572185413b8b3b
7
+ data.tar.gz: 0e8d8988b94f9135be23ca340eea7b4ee4c117eeb82131620695df35d607846f9229b09782c30fd3be885eeb137889c9b57c6bfd093ce335ab4d780d7bd075e6
@@ -41,7 +41,7 @@ module RemoteRecord
41
41
  @relation.map do |record|
42
42
  record.remote.attrs = response.find do |resource|
43
43
  yield(resource).to_s == record.public_send(@id_field).remote_resource_id
44
- end
44
+ end || {}
45
45
  record
46
46
  end
47
47
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RemoteRecord
4
- VERSION = '0.9.0'
4
+ VERSION = '0.9.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remote_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Fish
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-04-15 00:00:00.000000000 Z
12
+ date: 2021-04-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord