jsonapi_compliable 0.11.28 → 0.11.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jsonapi_compliable/scope.rb +7 -1
- data/lib/jsonapi_compliable/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b35655eb99b786bb32bb69e4affa3ded9eb818c7
|
4
|
+
data.tar.gz: bb8d020c20f9e05dd2c879e4e0a2b47a3ace67c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e7aabdf515d0767372fe5e5a8a68ee70a56196479a7ad6fab8adda3750ff38a67ce3d27a4217e0a6ab4bc8f8f392cb051cb7a2b4858a7ce8d77816ed7234436
|
7
|
+
data.tar.gz: 58137447b8674f20f6a25a61c4840ae176aef22377b96238b989adb2c5d561e69fb3c034e6777c5f5d8d58957cba2a7bfb77c03a0c3ea7c0f25e7e26bba8e1e1
|
@@ -95,7 +95,13 @@ module JsonapiCompliable
|
|
95
95
|
end
|
96
96
|
else
|
97
97
|
namespace = Util::Sideload.namespace(@namespace, sideload.name)
|
98
|
-
resolve_sideload = -> {
|
98
|
+
resolve_sideload = -> {
|
99
|
+
begin
|
100
|
+
sideload.resolve(results, @query, namespace)
|
101
|
+
ensure
|
102
|
+
ActiveRecord::Base.clear_active_connections!
|
103
|
+
end
|
104
|
+
}
|
99
105
|
if concurrent
|
100
106
|
promises << Concurrent::Promise.execute(&resolve_sideload)
|
101
107
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsonapi_compliable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Richmond
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-09-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jsonapi-serializable
|