api_client_bulk_loader 0.1.13 → 0.1.14
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: f78304377c17601b74c77a7988e44e99c062de9f
|
4
|
+
data.tar.gz: b3143766ea2c56120699565113a23173c6e7e47b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06b7d3d5efebe7278ec32a8bcd85b7f5e41cf6a3b9eed5996c67f882a33c6db557f66027e5789356d2e66f284ccfa0a6b8ec7727614452b944904233722138ef
|
7
|
+
data.tar.gz: 344d702855f70edd51d86664c0455bf15bf48b25a1b3ad82f728fa77e964cffd94ba540053d2c41a2dea59bd8e5868ebfc3642a595b6dbb301578f158ff40c46
|
@@ -11,13 +11,13 @@ module ApiClientBulkLoader
|
|
11
11
|
|
12
12
|
#Getter for registered association load queues
|
13
13
|
def self.bulk_queued_associations
|
14
|
-
@bulk_queued_associations
|
14
|
+
@bulk_queued_associations ||= {}
|
15
15
|
end
|
16
16
|
|
17
17
|
def initialize(*args)
|
18
18
|
super(*args)
|
19
19
|
#Skip em unless we got em
|
20
|
-
return self unless self.class.bulk_queued_associations
|
20
|
+
return self unless self.class.bulk_queued_associations.present?
|
21
21
|
self.class.bulk_queued_associations.each do |assoc, adapter|
|
22
22
|
if adapter.class == ApiClientBulkLoader::Client::PolymorphicAssociationAdapter
|
23
23
|
self.queue_poly_association(assoc) if adapter.autoload
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alex
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04
|
11
|
+
date: 2016-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: sqlite3
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
55
|
description: todo.
|
70
56
|
email:
|
71
57
|
- alex@avvo.com
|