api_client_bulk_loader 0.1.7 → 0.1.8
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: 30f62e1fd55d2e0d1183a09a6e66002c6b88a1b9
|
4
|
+
data.tar.gz: c1a63aed961350e4d0c9e7a9dfe0ae545b9e0904
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04ea779dfe26fc3ea0ba9397a6153a6beb40c71d531b8783f8dc85cce22f92431788b4f6493f09b45908d73b83571dbc2f64636bfd78ab7eb329d2cd29041d36
|
7
|
+
data.tar.gz: 78865a1e2a46a24d3e393b8004a7dcf805b74f0d2b36ff41976fa718639a5ec17032f756bd53a6b4c1c75c6abdc81c5111a640dafe730e2453d251b8463e0fab
|
@@ -2,7 +2,11 @@ module ApiClientBulkLoader
|
|
2
2
|
module Client
|
3
3
|
#Storage class for our bulk loading. Is one per thread.
|
4
4
|
class Loader
|
5
|
-
def initialize
|
5
|
+
def initialize
|
6
|
+
reset!
|
7
|
+
end
|
8
|
+
|
9
|
+
def reset!
|
6
10
|
#Hash with keys being a client model, pointing to hashes with id's as keys and loaded objects as values.
|
7
11
|
@model_store = {}
|
8
12
|
|
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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alex
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|