calabash-android 0.7.2 → 0.7.3.pre1
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: 541833cd4aab716bb1621126180c8a3ae53f31a8
|
4
|
+
data.tar.gz: 317a101f4b510b68e4a5d6bb356f77e2742b32fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b35c526e1eecd71dc82a752846d01d19d4e0828f0f262d31403d4a7d6fbb0c84f3da6787eecb4aa8bdde5aded4200d41640fa1923487a9b4b0b8c7e297614ff2
|
7
|
+
data.tar.gz: 36538f904d3f82a2a440861bdfc7507941a50f7ed99bf6d017b5e75428384897720cb6bb181c952bc0de33a322a2f4ddf33ac26b9749e85a804f61f6a07fbffd
|
Binary file
|
@@ -332,6 +332,15 @@ module Calabash module Android
|
|
332
332
|
::Cucumber.wants_to_quit = true
|
333
333
|
raise "#{pn} did not get installed. Reason: '#{result.lines.last.chomp}'. Aborting!"
|
334
334
|
end
|
335
|
+
|
336
|
+
# Enable GPS location mocking on Android Marshmallow+
|
337
|
+
if _sdk_version >= 23
|
338
|
+
cmd = "#{adb_command} shell appops set #{package_name(app_path)} 58 allow"
|
339
|
+
log("Enabling GPS mocking using '#{cmd}'")
|
340
|
+
`#{cmd}`
|
341
|
+
end
|
342
|
+
|
343
|
+
true
|
335
344
|
end
|
336
345
|
|
337
346
|
def update_app(app_path)
|
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.7.
|
4
|
+
version: 0.7.3.pre1
|
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-03-
|
11
|
+
date: 2016-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -389,9 +389,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
389
389
|
version: '0'
|
390
390
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
391
391
|
requirements:
|
392
|
-
- - "
|
392
|
+
- - ">"
|
393
393
|
- !ruby/object:Gem::Version
|
394
|
-
version:
|
394
|
+
version: 1.3.1
|
395
395
|
requirements: []
|
396
396
|
rubyforge_project:
|
397
397
|
rubygems_version: 2.4.5.1
|