calabash-android 0.8.0 → 0.8.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e864e20621e69cd72b97751e517b3f8111c67af0
4
- data.tar.gz: c89b57360dfbb3c7a12e004e0de686bcdfd11e5d
3
+ metadata.gz: 9ec647f9c577d97b9a1432d89d51fed63406de7d
4
+ data.tar.gz: 032a9fd2df25729235077f01c728d1745fd8eddf
5
5
  SHA512:
6
- metadata.gz: cabe39a51b94f4574390b6fc33fe268c7acea4d62d6fd5412707ec9711224884f69e254e74e8500f680c68968d384416fbbab3aec4f133a24d66d59ab84d2395
7
- data.tar.gz: e805913996ff929371cfc3cdb60576df724322f40dc807667ca4e919e7705d285a839ca1dcf2e62f982e8143e7943c05970fc46e740ecf53fafefed4bb405310
6
+ metadata.gz: 033eb8012e03ee8d32d7672c94cf9095d19044ea94dee803975343e4c1822398db1705ec50ab8230c88fdd86bcf04f58d4ba14e1048994bad0542992364aecef
7
+ data.tar.gz: d2d2739435aa413485e3c2f93d06a9945636e24c15bd46c85b60cba5a65c6c41e400c1a1decdc7f7d6d490380babbc96ac75ed3b982fea7ac847aa48dd8c1d0a
@@ -394,6 +394,10 @@ module Calabash
394
394
  if File.exist?('~/Library/Developer/Xamarin/android-sdk-mac_x86/')
395
395
  return '~/Library/Developer/Xamarin/android-sdk-mac_x86/'
396
396
  end
397
+
398
+ if File.exist?('~/Library/Developer/Xamarin/android-sdk-macosx/')
399
+ return '~/Library/Developer/Xamarin/android-sdk-macosx/'
400
+ end
397
401
 
398
402
  if File.exist?('C:\\Android\\android-sdk')
399
403
  return 'C:\\Android\\android-sdk'
@@ -29,6 +29,9 @@ module Calabash
29
29
 
30
30
  perform_action("touch_coordinate", center_x, center_y)
31
31
  else
32
+ if query_string.nil? && (options.nil? || options.empty?)
33
+ raise "Can't touch nil"
34
+ end
32
35
  execute_gesture(Gesture.with_parameters(Gesture.tap(options), {query_string: query_string}.merge(options)))
33
36
  end
34
37
  end
@@ -1,5 +1,5 @@
1
1
  module Calabash
2
2
  module Android
3
- VERSION = "0.8.0"
3
+ VERSION = "0.8.1"
4
4
  end
5
5
  end
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.0
4
+ version: 0.8.1
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-07-15 00:00:00.000000000 Z
11
+ date: 2016-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber