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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29854a26817b1913294cae292fbb943cb700e6eb
|
4
|
+
data.tar.gz: a72cd75bff2fd5bdac1ded397e5c1c324e84dd8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
70
|
-
JsonApiResource::Handlers::FindHandler.new(results).result
|
70
|
+
cacheless_connection.execute(action, *args)
|
71
71
|
end
|
72
72
|
|
73
73
|
def cacheless_connection
|