closeio 2.0.9 → 2.0.10

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: 0c347917d25fcca07447fade9f9e25ccbbf309cb
4
- data.tar.gz: 1d8294e3bfdc4c58f7abc0c7ec7d9c3e2b39b2c4
3
+ metadata.gz: aceaca2a1d6ddd6112aa23380173334c7773d274
4
+ data.tar.gz: 5a804007a1a51d9f59c2458e9f6c8d989bdef058
5
5
  SHA512:
6
- metadata.gz: a005a8cc85cdbe927602cd457fef6a9eb50addaed1fa1e7f5276645f9419434ffcf083daf45863d425c8126f3d5b82c069c0f7b0d9f21308ede5af553d207c5d
7
- data.tar.gz: ab08919e78a298385420e5f9284903eb30b43b2340299848588a8d65382624641e4e944322c555c9a6c415f0f48d659e57ee0a34e82bfe55be7df07047f94116
6
+ metadata.gz: e4147c7babb96f432b15f3bafef5ba26b3547fe8512e66606d25ac212d094cbc64ab7d5cb8d3cdb6c97131e39c1e86614a195791a7345e92482722717b07b610
7
+ data.tar.gz: 55b50c25931b9582b3158f6b3a7b71e3d2932f9bacc554425e369cb12f91a6c8a6bb72ff0b55f8c65261fda73619a1167a1583738fc69f700c7ba3f77bb32415
@@ -52,7 +52,7 @@ module Closeio
52
52
  begin
53
53
  res = get(lead_path, options.merge!(_skip: skip))
54
54
  results.push res.data
55
- skip += res.data.count
55
+ skip += res.data.count if data
56
56
  end while res.has_more
57
57
  json = {has_more: false, total_results: res.total_results, data: results.flatten}
58
58
  Hashie::Mash.new json
@@ -1,3 +1,3 @@
1
1
  module Closeio
2
- VERSION = "2.0.9"
2
+ VERSION = "2.0.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: closeio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9
4
+ version: 2.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-24 00:00:00.000000000 Z
11
+ date: 2015-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday