watchbuild 0.1.0 → 0.1.1

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: f2a75ca431d1d17407a3855d434f394277e900cd
4
- data.tar.gz: fab63c404e920fcb70c9d31dd60a8c4f8092ef9d
3
+ metadata.gz: bed9886bd3532a76cd597a04e926d785d7956f3b
4
+ data.tar.gz: f4b19483d41066efbe86c7c1e82bea7b90581e8f
5
5
  SHA512:
6
- metadata.gz: fddbc0a964a6516fea90ed55f619d089efd3a541a942fdca91f2f13b5b1f486aee425c84c7a9729c3b8339368eb2f238e6fc44f4920fb832e6e47dc3a8e9e501
7
- data.tar.gz: 7e1b59a8999a5de4d1ab0dd8df1d606680665920eb700ad4b4d62dea3c35916337f4862a651d550c49d1d2a53b3d0979d0b75d3547ed6327559d34766ecd1f6c
6
+ metadata.gz: 0c250fd1c5efe485238789983bfd11632089615be1d9ff59cae70cfa280adf1c31c534735f2dbb1859267ccbecf4219ff387e5c67ff3ae800162744a6e4ff636
7
+ data.tar.gz: bd4d5fac13a2ead9430b1e799e4e149e03cd7000b74593e527f729e5b65229520b53e9709bf502d0e95c167cb904c0aaf47ce3ff7a2e02290a0b2a960c82d3db
@@ -25,10 +25,14 @@ module WatchBuild
25
25
  raise "Could not find app with app identiifer #{WatchBuild.config[:app_identifier]}".red unless app
26
26
 
27
27
  loop do
28
- build = find_build
29
- return build if build.processing == false
30
-
31
- Helper.log.info "Waiting iTunes Connect processing for build #{build.train_version} (#{build.build_version})... this might take a while..."
28
+ begin
29
+ build = find_build
30
+ return build if build.processing == false
31
+ Helper.log.info "Waiting iTunes Connect processing for build #{build.train_version} (#{build.build_version})... this might take a while..."
32
+ rescue => ex
33
+ Helper.log.error ex
34
+ Helper.log.info "Something failed... trying again to recover"
35
+ end
32
36
  sleep 30
33
37
  end
34
38
  nil
@@ -1,4 +1,4 @@
1
1
  module WatchBuild
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  DESCRIPTION = "Get a notification once your iTunes Connect build is finished processing"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watchbuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  version: '0'
220
220
  requirements: []
221
221
  rubyforge_project:
222
- rubygems_version: 2.4.6
222
+ rubygems_version: 2.5.0
223
223
  signing_key:
224
224
  specification_version: 4
225
225
  summary: Get a notification once your iTunes Connect build is finished processing