api_client_bulk_loader 0.1.5 → 0.1.6

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: 53e19e44511c326e77e6294ec3fea41aa63f8494
4
- data.tar.gz: 0b963ab93889108602aee66c7a6795d053069cc6
3
+ metadata.gz: 8b5c8d1bff57a0198499b0e9a98c8488704a4fe4
4
+ data.tar.gz: 46e9b9349ef3a35af1a079266a40274d64bae838
5
5
  SHA512:
6
- metadata.gz: 41cac632b8776265225fb6fc98c12e324a5ea91269a502247e1565852e8b2c453bbf5349afea1bf9a20dc47af9f2b95550bb8f23c04642c2181a1d7b27eb9f52
7
- data.tar.gz: 2c1863cc32c2daa92b305c009b2b457c390775b2aee0d1821a5a5302e64e5a552f3ae075af69a1689ffae432844614dbafdd5b93d20f1bd505d65e87ee059ab2
6
+ metadata.gz: 3ce34db7139bae241c404b33a46cfebaa183cae1dec7b17927655814c2e2e9b68f550c3439fb8891ec9980b23dbbf8984731135f740d143ef0c2dc7e99ae3aec
7
+ data.tar.gz: f8b13a6e24c1f7b436c4aa407aec574c3c3fe9b84737a482c2a25fde56d47f9bc259eb01618520c9c7a4f5bc1d997e996c682be14a75c3f121d6c943570d4d4f
@@ -18,6 +18,9 @@ module ApiClientBulkLoader
18
18
  # Idempotent.
19
19
  create_model_attribute_store(model, attribute)
20
20
 
21
+ # THIS IS DEBATABLE - NOW WE ASSUME THAT WE ALWAYS QUERY BY A NUMBER!
22
+ values = values.map{|v| v.to_i }
23
+
21
24
  # Eliminate those that have already been checked
22
25
  values -= @checked_model_store[model][attribute] if(@checked_model_store[model][attribute])
23
26
 
@@ -1,3 +1,3 @@
1
1
  module ApiClientBulkLoader
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - alex
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-26 00:00:00.000000000 Z
11
+ date: 2015-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport