tickethub 0.1.3 → 0.1.4

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: 52858bd6c6142d9efab457ae065e8e84fad87d73
4
- data.tar.gz: 26888ac02476697c685bc1f64404dae71830b254
3
+ metadata.gz: 2e87494a40da501ed5049f42be78ad18c060c598
4
+ data.tar.gz: 17da18e8657285fce922f03b835cc2409d942e27
5
5
  SHA512:
6
- metadata.gz: 388dba070d38d78965a720284fe3bc13b0b97381bc20fdc137e93ee9e8ec5454c0430a747f7548579f0e2d0724a7856d386c07650625fecf51c4a2dfb6732d87
7
- data.tar.gz: a646ea18d5dab878c291223b99725cd2e6cbfbb1f2794959faa14f167441b9ec4b0207324e1778d079852d7b99e03f25fd665bf55d5d5edfab9342ae5fdbedd5
6
+ metadata.gz: 9ca70e607c4b5f654a77ec62cffe889b97d875cfcf57b599095a29d222ce0e750417213a8636ed8e47129def26b92d7186dbd67dfb7d1dbd7fd1a855f1b5b593
7
+ data.tar.gz: 0434a2ddc9ef885cfd7b1037e558ca05f36b3f1216983eaf92da2ce8c15c54e37dcd375027e19e63ce71f8e9e46d514d23a06a08b54f71d61878027c1e0ee5ca
@@ -28,8 +28,7 @@ module Tickethub
28
28
  yielder << @klass.load(@endpoint, row)
29
29
  end
30
30
 
31
- while @cache.length < @count
32
- offset = @offset + @cache.length
31
+ while (@offset + @cache.length) < @count
33
32
  response = @endpoint.get @params.merge(offset: @cache.length)
34
33
  response.decoded.each do |row| @cache << row
35
34
  yielder << @klass.load(@endpoint, row)
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tickethub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Morgan