deliver 1.10.1 → 1.10.2

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: ee0ecd7ff87e212ec51e1327e2a2b5b679385d17
4
- data.tar.gz: 097588231526c68f2b01f6632321ea3f287714dc
3
+ metadata.gz: 6882be5a147bd9ff07a20994c06e85526ff9998c
4
+ data.tar.gz: 76e61ff854160c9a1f0880ee2fde93a385ac7d80
5
5
  SHA512:
6
- metadata.gz: aebbb2a5c69fb22540e988272d9407794c38a19367fe655ef796911eae9ce279da934c687b99582193fb9eed8a4955e6889aa0de41fefcdd7e8635dc67de36b5
7
- data.tar.gz: 4c934940012aea0cd7aac43eff0766a165013d853ce31428ab1b6ed74278a61861f3d988c58bf3625ab4bd8e910b81be4feaf5d1f93161c322dc67ab248fa62a
6
+ metadata.gz: 46c8abdf42198abc197e60c93f8694c45763a6fcc17516d71fd210b130bf54cd56f80cab631b4e3e3ec62976e89d19d9f8e73515ff9343187ce37676f1c9ab4c
7
+ data.tar.gz: 21baa62dc0269bf44414f487b41127f7d1a2dd573a6c4dbf76ef1d0a902d4b2200cefd2700f0c6abdc5bc12e0d66fb8de89d97cb6921da117e761fbb6aa43152
@@ -55,7 +55,7 @@ module Deliver
55
55
  start = Time.now
56
56
 
57
57
  loop do
58
- build = find_build(app)
58
+ build = find_build(app.latest_version.candidate_builds)
59
59
  return build if build.processing == false
60
60
 
61
61
  UI.message("Waiting iTunes Connect processing for build #{build.train_version} (#{build.build_version})... this might take a while...")
@@ -68,16 +68,16 @@ module Deliver
68
68
  nil
69
69
  end
70
70
 
71
- def find_build(app)
71
+ def find_build(candidate_builds)
72
72
  build = nil
73
- app.latest_version.candidate_builds.each do |b|
73
+ candidate_builds.each do |b|
74
74
  if !build or b.upload_date > build.upload_date
75
75
  build = b
76
76
  end
77
77
  end
78
78
 
79
79
  unless build
80
- UI.error(app.latest_version.candidate_builds)
80
+ UI.error(candidate_builds)
81
81
  UI.crash!("Could not find build")
82
82
  end
83
83
 
@@ -1,4 +1,4 @@
1
1
  module Deliver
2
- VERSION = "1.10.1"
2
+ VERSION = "1.10.2"
3
3
  DESCRIPTION = 'Upload screenshots, metadata and your app to the App Store using a single command'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.1
4
+ version: 1.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.36.1
19
+ version: 0.36.4
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 1.0.0
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.36.1
29
+ version: 0.36.4
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.0
@@ -290,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
290
290
  version: '0'
291
291
  requirements: []
292
292
  rubyforge_project:
293
- rubygems_version: 2.4.0
293
+ rubygems_version: 2.4.6
294
294
  signing_key:
295
295
  specification_version: 4
296
296
  summary: Upload screenshots, metadata and your app to the App Store using a single