json_api_resource_connections 1.0.3 → 1.0.4

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: 71a664de7de58f8bfc1cfc8446110d13bcd4d392
4
- data.tar.gz: 65d96095eb48e63d09b48cc20407fdd15caeb489
3
+ metadata.gz: 29854a26817b1913294cae292fbb943cb700e6eb
4
+ data.tar.gz: a72cd75bff2fd5bdac1ded397e5c1c324e84dd8d
5
5
  SHA512:
6
- metadata.gz: 48232fba63b0c98e9e6f98e98584c5d50d3ad57b6c28596c469e3b9ac939fe0d8a5d9352ac635fec423e8ab9316b8dda98460aee30a3c993f2b65b97fde9a298
7
- data.tar.gz: a3be6f732b7f57fb205e11e6a83da45482b635e5bd1ec2449d214d471fbe069bbef46be6dee841d04f706e0b64ff01ee52a429d506def2692576b64aef0113b1
6
+ metadata.gz: ca579c98389e9ff922a7dde921cb7b21459fbd58596c5effab9ff9121bd4ea6446ba872722428fb61c994ff3d4a9e904bd11025bb55378a1470e926b6ae63e76
7
+ data.tar.gz: 83cff2f858975400949aa6b6a9490fa89c17e9862668551ec89d626d1e55139d544cbaaa493b3acaf07917b8f66a6d45eebec6fc8c44404b4eb49fa18d069e21
@@ -55,7 +55,8 @@ module JsonApiResourceConnections
55
55
  end
56
56
 
57
57
  def cacheless_find( id )
58
- direct_execute :find, id
58
+ result = direct_execute :find, id
59
+ JsonApiResource::Handlers::FindHandler.new(result).result
59
60
  end
60
61
 
61
62
  def cacheless_where( opts = {} )
@@ -66,8 +67,7 @@ module JsonApiResourceConnections
66
67
 
67
68
  # skips looking in cache first and goes to the server directly
68
69
  def direct_execute( action, *args )
69
- results = cacheless_connection.execute(action, *args)
70
- JsonApiResource::Handlers::FindHandler.new(results).result
70
+ cacheless_connection.execute(action, *args)
71
71
  end
72
72
 
73
73
  def cacheless_connection
@@ -1,3 +1,3 @@
1
1
  module JsonApiResourceConnections
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_api_resource_connections
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg