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: fe9cc6ce883ae5a1ef9158539058ebed422ab9d4
4
- data.tar.gz: 5164ee12c815c6edfb379b6d6dc0754e86d19c3a
3
+ metadata.gz: 1e3b60dd29be6c12e2a977a9b908485fd83f21fc
4
+ data.tar.gz: 3c229540e351f4b0c4dc97522888afc7556b90b8
5
5
  SHA512:
6
- metadata.gz: 9dda0f8cf03dfa336336eba9a9c89767aa50919a7dd4312c6a133e8817bccf886989beb7bd6a3249e3eda21eb6e66b532b605731f4309353f0cd47d6e3794f0b
7
- data.tar.gz: 3d14cf32d5248947288e1f496e4d54e12d98a3f1ad02764d4253ece6e21729db7a4a79eec678234abab56bad73c51b40ef38b3f5c9011c53725ea2992e2d163e
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
 
@@ -1,3 +1,3 @@
1
1
  module ApiClientBulkLoader
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
3
3
  end
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.11
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-02-04 00:00:00.000000000 Z
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.2.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