deliver 0.7.7 → 0.7.8

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: 52a791042a39c42e55f37902615e3b5f971dbff0
4
- data.tar.gz: eb723e44c71c3d50f6bc20eae780e0d72c6e51a5
3
+ metadata.gz: f37bf2ac44744469287f04640447869de286e1e6
4
+ data.tar.gz: a438489b4bcc8785238a5f7848f6c776a8b336e0
5
5
  SHA512:
6
- metadata.gz: 35fa4ded728a083a010180b1dbf51e6fa00d6b767d477ec7813a5bb34b303f8b6e71d3a3519163262197ae1625d456050b3e86a858020605a75a75ced9954615
7
- data.tar.gz: 33511b3d0548ae2450c1bb95f56bc4c228d4c138138bfbd6e7476ddb3d177a940b9f876ee8cf3fd72542379d20f35d64bcbd02aa4b8e80d16475a568c91c3109
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
 
@@ -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}' with new 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
@@ -1,3 +1,3 @@
1
1
  module Deliver
2
- VERSION = "0.7.7"
2
+ VERSION = "0.7.8"
3
3
  end
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.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-05 00:00:00.000000000 Z
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.2.0
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.2.0
138
+ version: '4'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: prawn
141
141
  requirement: !ruby/object:Gem::Requirement