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: 29b829abee7f0ab67c7d7ad2d14562c0fd9153cd
4
- data.tar.gz: 66d03415855d122de39f22e6e912c9d54cad4bd7
3
+ metadata.gz: 30f62e1fd55d2e0d1183a09a6e66002c6b88a1b9
4
+ data.tar.gz: c1a63aed961350e4d0c9e7a9dfe0ae545b9e0904
5
5
  SHA512:
6
- metadata.gz: 55344452b12972ba1a8d6e02de16f2eb1b93752c039b79ce8a93cde64da6991cb92f5a208ce132b9f13ce9453549754b46d6dd0fce681dd6c4a415bca60587e3
7
- data.tar.gz: 2d38d044ec17f04ec7c6505631e7d73f662a7342a13e1bb9f1618f8d50e1543ae307cf8dd5ab1f7cc72e1af0cf3bfac6057a7c3d6c75b86afbf629ce0ecabb33
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
 
@@ -1,3 +1,3 @@
1
1
  module ApiClientBulkLoader
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
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.7
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-03-04 00:00:00.000000000 Z
11
+ date: 2015-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport