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 +4 -4
- data/lib/tickethub/collection.rb +1 -2
- data/lib/tickethub/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e87494a40da501ed5049f42be78ad18c060c598
|
4
|
+
data.tar.gz: 17da18e8657285fce922f03b835cc2409d942e27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ca70e607c4b5f654a77ec62cffe889b97d875cfcf57b599095a29d222ce0e750417213a8636ed8e47129def26b92d7186dbd67dfb7d1dbd7fd1a855f1b5b593
|
7
|
+
data.tar.gz: 0434a2ddc9ef885cfd7b1037e558ca05f36b3f1216983eaf92da2ce8c15c54e37dcd375027e19e63ce71f8e9e46d514d23a06a08b54f71d61878027c1e0ee5ca
|
data/lib/tickethub/collection.rb
CHANGED
@@ -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)
|
data/lib/tickethub/version.rb
CHANGED