deliver 0.4.0.beta1 → 0.4.0
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 +4 -4
- data/lib/deliver/deliver_process.rb +7 -1
- data/lib/deliver/ipa_uploader.rb +3 -2
- data/lib/deliver/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 534a6b8ed220433bd502dfa2f7c788104f99da4a
|
|
4
|
+
data.tar.gz: fa7864e238b1924e3cfc4e114404b88302e2ad2d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9611bb1d5a25ac9dd2db52685e48148dbb8437fef80eb8000cf89b920214272c7ba536938950264db6cea703900776a65dffa494e05c7bf7ca1827758b1c7095
|
|
7
|
+
data.tar.gz: a4d905e853d4134dbca1a41fa3ad30f24974eb692d425103ca829880d6cd58c92740e614ec24b7f6b9e956237648b3bf92e09c903d760103b72525df6128e21f
|
|
@@ -32,9 +32,10 @@ module Deliver
|
|
|
32
32
|
run_unit_tests
|
|
33
33
|
fetch_information_from_ipa_file
|
|
34
34
|
|
|
35
|
+
verify_ipa_file
|
|
36
|
+
|
|
35
37
|
Helper.log.info("Got all information needed to deploy a new update ('#{@app_version}') for app '#{@app_identifier}'")
|
|
36
38
|
|
|
37
|
-
verify_ipa_file
|
|
38
39
|
create_app
|
|
39
40
|
verify_app_on_itunesconnect
|
|
40
41
|
|
|
@@ -77,6 +78,11 @@ module Deliver
|
|
|
77
78
|
elsif is_beta_build?
|
|
78
79
|
used_ipa_file = @deploy_information[:beta_ipa]
|
|
79
80
|
end
|
|
81
|
+
|
|
82
|
+
if (used_ipa_file || '').length == 0 and is_beta_build?
|
|
83
|
+
# Beta Release but no ipa given
|
|
84
|
+
raise "Could not find an ipa file for 'beta' mode. Provide one using `beta_ipa do ... end`.".red
|
|
85
|
+
end
|
|
80
86
|
|
|
81
87
|
if used_ipa_file
|
|
82
88
|
upload_strategy = Deliver::IPA_UPLOAD_STRATEGY_APP_STORE
|
data/lib/deliver/ipa_uploader.rb
CHANGED
|
@@ -77,7 +77,7 @@ module Deliver
|
|
|
77
77
|
|
|
78
78
|
if is_okay
|
|
79
79
|
unless Helper.is_test?
|
|
80
|
-
`rm -rf ./#{@app.apple_id}.itmsp` # we don't need
|
|
80
|
+
`rm -rf ./#{@app.apple_id}.itmsp` # we don't need this file any more
|
|
81
81
|
|
|
82
82
|
return publish_on_itunes_connect(submit_information)
|
|
83
83
|
end
|
|
@@ -90,13 +90,14 @@ module Deliver
|
|
|
90
90
|
|
|
91
91
|
private
|
|
92
92
|
# This method will trigger the iTunesConnect class to choose the latest build
|
|
93
|
+
# @return Was it successful?
|
|
93
94
|
def publish_on_itunes_connect(submit_information = nil)
|
|
94
95
|
if @publish_strategy == IPA_UPLOAD_STRATEGY_APP_STORE
|
|
95
96
|
return publish_production_build(submit_information)
|
|
96
97
|
elsif @publish_strategy == IPA_UPLOAD_STRATEGY_BETA_BUILD
|
|
97
98
|
return publish_beta_build
|
|
98
99
|
end
|
|
99
|
-
return
|
|
100
|
+
return true
|
|
100
101
|
end
|
|
101
102
|
|
|
102
103
|
def publish_beta_build
|
data/lib/deliver/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: deliver
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.0
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Felix Krause
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-12-
|
|
11
|
+
date: 2014-12-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|
|
@@ -58,14 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - ~>
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 1.6.
|
|
61
|
+
version: 1.6.5
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - ~>
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 1.6.
|
|
68
|
+
version: 1.6.5
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: fastimage
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -350,9 +350,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
350
350
|
version: 2.0.0
|
|
351
351
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
352
352
|
requirements:
|
|
353
|
-
- - '
|
|
353
|
+
- - '>='
|
|
354
354
|
- !ruby/object:Gem::Version
|
|
355
|
-
version:
|
|
355
|
+
version: '0'
|
|
356
356
|
requirements: []
|
|
357
357
|
rubyforge_project:
|
|
358
358
|
rubygems_version: 2.2.2
|