calabash-android 0.8.1 → 0.8.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa3663285a474865b4f6a21abb902e14bdeb3d5b
|
4
|
+
data.tar.gz: faa0ec4e08a8eaf54c938d2f027907d68f2e5e22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1039f2886af768ea0b55bc33e5d1fdd3783ca240877b372d87cfdf6e3c83e1409d735aecba923f532755af303c3027e07ed75f0be07996957f17f0f6859e3f56
|
7
|
+
data.tar.gz: f84eba70004f291a111f985e8322d1204a8f9831723c24d3cab357787aa86804e05fd2d7314aa646ff56f828460b705c527abf5175aa8a4ed29c580087b1eaa5
|
@@ -398,7 +398,12 @@ module Calabash
|
|
398
398
|
if File.exist?('~/Library/Developer/Xamarin/android-sdk-macosx/')
|
399
399
|
return '~/Library/Developer/Xamarin/android-sdk-macosx/'
|
400
400
|
end
|
401
|
-
|
401
|
+
|
402
|
+
# Default location when installing with Android Studio
|
403
|
+
if File.exist?('~/Library/Android/sdk/')
|
404
|
+
return '~/Library/Android/sdk/'
|
405
|
+
end
|
406
|
+
|
402
407
|
if File.exist?('C:\\Android\\android-sdk')
|
403
408
|
return 'C:\\Android\\android-sdk'
|
404
409
|
end
|
Binary file
|
@@ -749,7 +749,11 @@ module Calabash module Android
|
|
749
749
|
end
|
750
750
|
|
751
751
|
def start_application(intent)
|
752
|
-
|
752
|
+
begin
|
753
|
+
result = JSON.parse(http("/start-application", {intent: intent}, {read_timeout: 60}))
|
754
|
+
rescue HTTPClient::ReceiveTimeoutError => e
|
755
|
+
raise "Failed to start application. Starting took more than 60 seconds: #{e.class} - #{e.message}"
|
756
|
+
end
|
753
757
|
|
754
758
|
if result['outcome'] != 'SUCCESS'
|
755
759
|
raise result['detail']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash-android
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Maturana Larsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|