health_hero-human_api 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0ed77a15aa9a4f4d52a1ad6b147bb4d5e08c84cc
4
- data.tar.gz: ea9e5d872a2af3485f6485d0684f303bb5a5ac65
3
+ metadata.gz: b8ea5b82fdb0ba9893af4333b6ca73234f0da0d7
4
+ data.tar.gz: 6e31b3d78e63ee5cdb5002d9e8f79addddfef16d
5
5
  SHA512:
6
- metadata.gz: 7ffeb1730dedef35efb285c1ddd034a2ad485df7a46f591b6db049c5b3c0ab448f7a683f7a9c15721aef8f7551affbfaa508970f69cb670f83be77872975cd95
7
- data.tar.gz: ac9a87898529735646086ded69d9393dc5552769d382aaeb286796ac3bc08d40403030db06c4dcc5d83cf578533ee98789f0f0b426ba534c1c9620af8c4e640a
6
+ metadata.gz: 89e6f1f9b6979fdb7e2d035d77eb27090e8b7c4ec7873b224d97948581fa95d6e62a4a6f10e467001530b6cf432ba024fe63ac0261062e3f629e132d07e149d1
7
+ data.tar.gz: 360046c8d4e6d6ece2ac045dbee2f5ca680b8fac926361239140bf1adb1740395d7f37049ca8faa6c3b8d1026325be7cc6403a73a8d927bf1cc7acfd1fc9b235
@@ -69,8 +69,8 @@ module HumanApi
69
69
 
70
70
  if options[:fetch_all]
71
71
  fetch_page url
72
- while results.count < total_size
73
- fetch_page
72
+ if total_size.present?
73
+ fetch_page while results.count < total_size
74
74
  end
75
75
 
76
76
  options[:handle_data] ? @success : results
@@ -1,3 +1,3 @@
1
1
  module HumanApi
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: health_hero-human_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Aiken
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-08 00:00:00.000000000 Z
11
+ date: 2015-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nestful