api_client_bulk_loader 0.1.11 → 0.1.12
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: 1e3b60dd29be6c12e2a977a9b908485fd83f21fc
|
4
|
+
data.tar.gz: 3c229540e351f4b0c4dc97522888afc7556b90b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ae436a67ca76ca20cd919a1376ebf2be33cd4d9395d8f0a1d46af9739abfe81d2c7fe0961e0e5d2a9c73141996de264bb5ea2927c168c6d33ebae3687eaf985
|
7
|
+
data.tar.gz: 26568cfbc371813499a49223775911f86ebc0f7fabbdc648ebcb9d541c5e0e27352a2fabcf719d38791a9e2d29d6b66cc36acd16f5ec23bd07d67690d048c9cf
|
@@ -11,7 +11,7 @@ module ApiClientBulkLoader
|
|
11
11
|
|
12
12
|
#Fetch.
|
13
13
|
def fetch(values)
|
14
|
-
results = bulk_loader.fetch(@resource_model, values, @attribute)
|
14
|
+
results = bulk_loader.fetch(@resource_model, values, @attribute).flatten
|
15
15
|
return @has_one ? results.first : results
|
16
16
|
end
|
17
17
|
|
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.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alex
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: '0'
|
142
142
|
requirements: []
|
143
143
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.
|
144
|
+
rubygems_version: 2.4.6
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: Bulk association fetching ability for API and Hybrid API models
|