deliver 0.7.7 → 0.7.8
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 +6 -0
- data/lib/deliver/deliverer.rb +1 -1
- data/lib/deliver/itunes_connect/itunes_connect_submission.rb +17 -0
- data/lib/deliver/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f37bf2ac44744469287f04640447869de286e1e6
|
|
4
|
+
data.tar.gz: a438489b4bcc8785238a5f7848f6c776a8b336e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 444155aae21dbcd23426679e23388e22c65bd4041844a0b3a848486074d57c685f58d747f22874dca3906493b2f5243dc1de09f67e5d26ac65d1b0786357d237
|
|
7
|
+
data.tar.gz: 0682202f725bafa2f1242c4f6fe541419abc46907ff8d109e786a23e5caf0d6ae62c5a0466268565417b8b480ed02cb44e8bdc649308e905ab315bb2e95b3ac5
|
data/README.md
CHANGED
|
@@ -108,6 +108,12 @@ To build and upload the ipa in one step, you can use [shenzhen](https://github.c
|
|
|
108
108
|
ipa build && deliver testflight
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
+
You can pass the "What to Test" value using the environment variable `DELIVER_WHAT_TO_TEST`:
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
DELIVER_WHAT_TO_TEST="Try the brand new project button" deliver testflight
|
|
115
|
+
```
|
|
116
|
+
|
|
111
117
|
# Quick Start
|
|
112
118
|
|
|
113
119
|
|
data/lib/deliver/deliverer.rb
CHANGED
|
@@ -96,7 +96,7 @@ module Deliver
|
|
|
96
96
|
end
|
|
97
97
|
|
|
98
98
|
if @deliver_process.deploy_information[key]
|
|
99
|
-
Helper.log.warn("You already set a value for key '#{key}'. Overwriting value '#{value}'
|
|
99
|
+
Helper.log.warn("You already set a value for key '#{key}'. Overwriting with new value '#{value}'.")
|
|
100
100
|
end
|
|
101
101
|
|
|
102
102
|
@deliver_process.deploy_information[key] = value
|
|
@@ -16,6 +16,7 @@ module Deliver
|
|
|
16
16
|
|
|
17
17
|
wait_for_preprocessing
|
|
18
18
|
|
|
19
|
+
|
|
19
20
|
# Beta Switches
|
|
20
21
|
if all(".switcher.ng-binding.checked").count == 0
|
|
21
22
|
raise "Looks like Beta Testing is not yet enabled for this app. Open '#{current_url}' and enable TestFlight Beta Testing.".red
|
|
@@ -25,6 +26,14 @@ module Deliver
|
|
|
25
26
|
raise "Couldn't find any builds. Please check the iTunes Conncet page: '#{current_url}'".red
|
|
26
27
|
end
|
|
27
28
|
|
|
29
|
+
# We might have to wait until the second part of "Processing" is finished
|
|
30
|
+
while first("tr > td.bt-internal").text == "Processing"
|
|
31
|
+
Helper.log.debug "iTC needs some more processing... Waiting even longer..."
|
|
32
|
+
sleep 10
|
|
33
|
+
visit current_url
|
|
34
|
+
sleep 10
|
|
35
|
+
end
|
|
36
|
+
|
|
28
37
|
first(".bt-version > a").click
|
|
29
38
|
|
|
30
39
|
|
|
@@ -34,6 +43,14 @@ module Deliver
|
|
|
34
43
|
if save_button
|
|
35
44
|
# First, enable the save button
|
|
36
45
|
evaluate_script("$('.formActionButtons.btn-actions > button').removeAttr('disabled')")
|
|
46
|
+
|
|
47
|
+
# Maybe we have a 'What to Test' to fill in
|
|
48
|
+
to_test = ENV["DELIVER_WHAT_TO_TEST"]
|
|
49
|
+
if to_test
|
|
50
|
+
text_area = first('span[ng-show="testinfo.data.details[currentLoc].whatsNew.isEditable"] > * > textarea')
|
|
51
|
+
text_area.set to_test if text_area
|
|
52
|
+
end
|
|
53
|
+
|
|
37
54
|
save_button.click
|
|
38
55
|
else
|
|
39
56
|
raise "Couldn't find the save button, looks like there is an internet connection problem.".red
|
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.8
|
|
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-02-
|
|
11
|
+
date: 2015-02-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|
|
@@ -128,14 +128,14 @@ dependencies:
|
|
|
128
128
|
requirements:
|
|
129
129
|
- - ~>
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: 4
|
|
131
|
+
version: '4'
|
|
132
132
|
type: :runtime
|
|
133
133
|
prerelease: false
|
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
135
|
requirements:
|
|
136
136
|
- - ~>
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: 4
|
|
138
|
+
version: '4'
|
|
139
139
|
- !ruby/object:Gem::Dependency
|
|
140
140
|
name: prawn
|
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|