api_client_bulk_loader 0.1.8 → 0.1.9
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: 5e1a6264b5c56b4bb3fc73819585debf8184a6b6
|
4
|
+
data.tar.gz: 10e57fc2cbb10632df38a7d862d87fbc347f4767
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37904974d237a5a29cfd5424e32656f1231d4c5d1f05e6d6269e70d5d88db75bd1d4cd910c2b50f935d04c9d97ce36bbc71f476cf03d160b7d5bed0b2375360d
|
7
|
+
data.tar.gz: 668964bdc7e265c9b4073ba3a4a37ba59976ba922111a79b1447dd7c796db6d04ec4767377af01d11783b33cffe85baed21140d4b469cd9258f9903d46bd364f
|
@@ -12,8 +12,8 @@ module ApiClientBulkLoader
|
|
12
12
|
@has_one = is_has_one
|
13
13
|
@limit = limit
|
14
14
|
|
15
|
-
|
16
|
-
@bulk_loader =
|
15
|
+
RequestStore.store[:bulk_loader] ||= ApiClientBulkLoader::Client::Loader.new
|
16
|
+
@bulk_loader = RequestStore.store[:bulk_loader]
|
17
17
|
end
|
18
18
|
|
19
19
|
#Fetch.
|
@@ -12,9 +12,8 @@ module ApiClientBulkLoader
|
|
12
12
|
@type_from = type_from
|
13
13
|
@has_one = is_has_one
|
14
14
|
@limit = limit
|
15
|
-
|
16
|
-
|
17
|
-
@bulk_loader = Thread.current[:bulk_loader]
|
15
|
+
RequestStore.store[:bulk_loader] ||= ApiClientBulkLoader::Client::Loader.new
|
16
|
+
@bulk_loader = RequestStore.store[:bulk_loader]
|
18
17
|
end
|
19
18
|
|
20
19
|
#Fetch.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api_client_bulk_loader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alex
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: request_store
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.1.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.1.0
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: json_api_client
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|