devicefarm 0.0.15 → 0.0.16

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: 4ab74b408e90a43ae3ba2bb9caefacbcfa6c365c
4
- data.tar.gz: 1d509828591d2ff480032c4c0e6853da704218af
3
+ metadata.gz: 445423b1651313928eead5561cb8eeb3686bc0df
4
+ data.tar.gz: d813d9dabe5d330735914ec681e674791e8df270
5
5
  SHA512:
6
- metadata.gz: 1e436be8c4ae89ec5a334ad7c5098ff3cf220a00d6287c2a358782a83b9e37a2038aada75f8bc7d419f841f6f05ed6824ff2a23d37f80d2627667f92f9009e78
7
- data.tar.gz: 411aa419202a5f6a86554ee29dfc039b7bd406455e284f8d845273a23d44611b972ced283f0ced0d0cb3940219aa120391bbcb97586322ff8385a806606de4b6
6
+ metadata.gz: 75747009076bb0eeff1be4b931d191e41725b96eabc67da21f17e7bbd62e373169b5e13829e4a0387233946d269a9488b9e9b5a195fb9ad80b76429dbf8ec733
7
+ data.tar.gz: 11aa1734a13395120cfaa0b57e2a68e2be733bcff5b9637d32c25a463f71f23a550df7ed04cccfd24894574538f93f47a2749ce1420ff14521011cc5c94e75fc
@@ -34,12 +34,12 @@ class DeviceFarm::DeviceFarmApi
34
34
  end
35
35
 
36
36
  def wait_for_upload_finish(upload)
37
- upload_result = get_upload_result(upload)
38
- p upload_result.status
39
-
37
+ upload_result = get_upload_result(upload)
40
38
  while(upload_result.status != "SUCCEEDED")
41
39
  upload_result = get_upload_result(upload)
42
- p upload_result
40
+ if upload_result.status.to_s == "FAILED"
41
+ break
42
+ end
43
43
  sleep(POLLING_INTERVAL)
44
44
  end
45
45
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devicefarm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - viniciusmo