deliver 0.7.2 → 0.7.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 +4 -4
- data/README.md +2 -2
- data/lib/deliver/itunes_connect/itunes_connect_submission.rb +13 -8
- data/lib/deliver/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78d849164108dd65b5c77fa073754ee65e347a56
|
|
4
|
+
data.tar.gz: 115c89bc18e3b45967740c8e3d0fa9676835d681
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 927ca5a578b8f7a3b1b88e9e18f500b6a5ba015e3328993f68de22ae3ab4db5b61d6522002ef31be0262ee041a0c2806a8f7fa6254666c2a9579a360e85e9db3
|
|
7
|
+
data.tar.gz: b57239a10535ff16f527ec771e5370f2da26bcc3e7a168625e5d24ca049cfdee789691b768584d53cf189f7fb089ff40c6ad04a585621086127fe4eec6a088c3
|
data/README.md
CHANGED
|
@@ -206,9 +206,9 @@ success do
|
|
|
206
206
|
system("Say 'success'")
|
|
207
207
|
end
|
|
208
208
|
|
|
209
|
-
error do |
|
|
209
|
+
error do |information|
|
|
210
210
|
# custom exception handling here
|
|
211
|
-
raise "Something went wrong: #{
|
|
211
|
+
raise "Something went wrong: #{information['error']}"
|
|
212
212
|
end
|
|
213
213
|
```
|
|
214
214
|
|
|
@@ -13,23 +13,28 @@ module Deliver
|
|
|
13
13
|
click_on "Prerelease"
|
|
14
14
|
|
|
15
15
|
wait_for_preprocessing
|
|
16
|
+
|
|
17
|
+
beta_switch = (all(".switcher.ng-binding").first rescue nil)
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
unless beta_switch
|
|
18
20
|
raise "Could not find beta build on '#{current_url}'. Make sure it is available there"
|
|
19
21
|
end
|
|
20
22
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
# Toggeling beta builds, since Apple's TestFlight does not publish the update to testers automatically
|
|
25
|
+
if beta_switch['class'].include?"checked"
|
|
26
|
+
# Disable beta tests first
|
|
27
|
+
beta_switch.click
|
|
28
|
+
all("a").find { |a| a.text == "Stop Testing" }.click
|
|
24
29
|
end
|
|
25
30
|
|
|
26
|
-
|
|
27
|
-
if page.has_content?"Are you sure you want to start testing"
|
|
31
|
+
beta_switch.click
|
|
32
|
+
if page.has_content?"Are you sure you want to start testing" # this only happens on the first time
|
|
28
33
|
click_on "Start"
|
|
29
|
-
|
|
30
|
-
Helper.log.info "Successfully enabled beta builds".green
|
|
31
34
|
end
|
|
32
35
|
|
|
36
|
+
Helper.log.info "Successfully enabled latest beta build.".green
|
|
37
|
+
|
|
33
38
|
return true
|
|
34
39
|
rescue => ex
|
|
35
40
|
error_occured(ex)
|
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.7.
|
|
4
|
+
version: 0.7.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Felix Krause
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-01-
|
|
11
|
+
date: 2015-01-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|
|
@@ -24,6 +24,20 @@ dependencies:
|
|
|
24
24
|
- - '>='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: multi_json
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - '>='
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - '>='
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
27
41
|
- !ruby/object:Gem::Dependency
|
|
28
42
|
name: highline
|
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|