reactive-record 0.7.37 → 0.7.38

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: b36c2c16110af0053cb7aae2d944d968f53874f7
4
- data.tar.gz: 2d2c5b526e8f1fa9e95573abcd582c841141071e
3
+ metadata.gz: 6f77d2366d23cd6c8049d86b02edd7a82d5723a2
4
+ data.tar.gz: dcfd1e30f5e78ef0ff210ba0593eead0ed31d254
5
5
  SHA512:
6
- metadata.gz: 3efaf62ea05058f8324d078aadc0f72ab40e8da49574767321705458337cb46307cd89117352d454bbc18d3d28c881f96cc3569d59f2dc3b469ef338e76ff53f
7
- data.tar.gz: 4f3ee324e78faad0e77b5d2647a8025267608784a79e13cc85b81b5b21fb13a85e714115933f71dc58abdf1388684410e24ef0d90e33f73c5c5e3aa43edd76f1
6
+ metadata.gz: 4f27b71db22686152ef9638caa65322735ce29901a2122f233bc76f6b6253baea37d4d36e498b9159698d792b64cf5ddae783693e1e9b47c63157acf12c843f8
7
+ data.tar.gz: ef7a46308444d4793973002f35dbefbf4674675164dd65bc459b0304f6d363117fc7e79621d0dc3f5c3bcd8e14ef3f8b7e9ebd1274c1fa2bca17b46c5b1707cf
@@ -186,16 +186,14 @@ module ReactiveRecord
186
186
  elsif aggregation = cache_item.aggregation?(method)
187
187
  cache_item.build_new_cache_item(aggregation.mapping.collect { |attribute, accessor| cache_item.value[attribute] }, method, method)
188
188
  else
189
- ReactiveRecord::Pry::rescue do
190
- begin
191
- cache_item.build_new_cache_item(cache_item.value.send(*method), method, method)
192
- rescue Exception => e
193
- if cache_item.value and cache_item.value != []
194
- ReactiveRecord::Pry::rescued(e)
195
- raise e, "ReactiveRecord exception caught when applying #{method} to db object #{cache_item.value}: #{e}", e.backtrace
196
- else
197
- representative
198
- end
189
+ begin
190
+ cache_item.build_new_cache_item(cache_item.value.send(*method), method, method)
191
+ rescue Exception => e
192
+ if cache_item.value and cache_item.value != []
193
+ ReactiveRecord::Pry::rescued(e)
194
+ raise e, "ReactiveRecord exception caught when applying #{method} to db object #{cache_item.value}: #{e}", e.backtrace
195
+ else
196
+ representative
199
197
  end
200
198
  end
201
199
  end
@@ -1,3 +1,3 @@
1
1
  module ReactiveRecord
2
- VERSION = "0.7.37"
2
+ VERSION = "0.7.38"
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.37
4
+ version: 0.7.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mitch VanDuyn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-21 00:00:00.000000000 Z
11
+ date: 2016-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails