deliver 0.7.6 → 0.7.7

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: accfc5483d720f1d64cc544614898360c4f713a3
4
- data.tar.gz: dff405ed808809348b08c75461abb7147b939738
3
+ metadata.gz: 52a791042a39c42e55f37902615e3b5f971dbff0
4
+ data.tar.gz: eb723e44c71c3d50f6bc20eae780e0d72c6e51a5
5
5
  SHA512:
6
- metadata.gz: e6f38afa087360daaf8cd4fb29c3f3e67804cda9986a70162ebe700a1fa37503f1d3a958b51b75b04fb55d7f51b3e6f8168728bb0e3b904b89d1f0656c8f3bda
7
- data.tar.gz: c9f393c99b638a350c098c971e31969e5954e02d187029bc80ee1c6ecbe92c8858cba627d1a39818168b16676337eebf7ee638d25ef48be9f261174c3034cc3e
6
+ metadata.gz: 35fa4ded728a083a010180b1dbf51e6fa00d6b767d477ec7813a5bb34b303f8b6e71d3a3519163262197ae1625d456050b3e86a858020605a75a75ced9954615
7
+ data.tar.gz: 33511b3d0548ae2450c1bb95f56bc4c228d4c138138bfbd6e7476ddb3d177a940b9f876ee8cf3fd72542379d20f35d64bcbd02aa4b8e80d16475a568c91c3109
@@ -27,11 +27,16 @@ module Deliver
27
27
 
28
28
  first(".bt-version > a").click
29
29
 
30
- email = wait_for_elements("input[ng-model='testinfo.data.details[currentLoc].feedbackEmail.value']").first
31
- if email.value.to_s.length == 0
32
- # Some value is needed to actually distribute the beta version
33
- email.set CredentialsManager::PasswordManager.shared_manager.username
34
- click_on "Save"
30
+
31
+ # Inside the build now, enabling the 'Save' button
32
+ save_button = wait_for_elements(".formActionButtons.btn-actions > button").first
33
+
34
+ if save_button
35
+ # First, enable the save button
36
+ evaluate_script("$('.formActionButtons.btn-actions > button').removeAttr('disabled')")
37
+ save_button.click
38
+ else
39
+ raise "Couldn't find the save button, looks like there is an internet connection problem.".red
35
40
  end
36
41
 
37
42
  Helper.log.info "Successfully enabled latest beta build.".green
@@ -1,3 +1,3 @@
1
1
  module Deliver
2
- VERSION = "0.7.6"
2
+ VERSION = "0.7.7"
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.6
4
+ version: 0.7.7
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-04 00:00:00.000000000 Z
11
+ date: 2015-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json