device_api-android 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/device_api-android.gemspec +1 -1
- data/lib/device_api/android/adb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc10f13dd26a8bb1dfb280a89a47fc53f0abaae8
|
4
|
+
data.tar.gz: c055ac388b285256b3af8b64e43794943de19172
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbad38ebff1f0ce2b03194034151f33e23be15aff5fe3a3caf892994be7423900bf91cbb3ead9e50f78c88eba0e56733cc00a32812dde55f7602900ce6981363
|
7
|
+
data.tar.gz: f0d33b10a999afd50bc6d9fd50377e5c8d0c30acf00d5ea4a88c7b8252205eccfb8834c2073ee4aa4487b4331f560cc5f94c6f97c4726fc94d331c9d17d2274a
|
data/device_api-android.gemspec
CHANGED
@@ -254,7 +254,7 @@ module DeviceAPI
|
|
254
254
|
# @option coords [String] :y_from (0) Coordinate to start from on the Y axis
|
255
255
|
# @option coords [String] :y_to (0) Coordinate to end on on the Y axis
|
256
256
|
def self.swipe(serial, coords = {x_from: 0, x_to: 0, y_from: 0, y_to: 0 })
|
257
|
-
execute("adb -s #{serial} shell input swipe #{coords[:x_from]} #{coords[:x_to]} #{coords[:y_from]} #{coords[:y_to]}")
|
257
|
+
result = execute("adb -s #{serial} shell input swipe #{coords[:x_from]} #{coords[:x_to]} #{coords[:y_from]} #{coords[:y_to]}")
|
258
258
|
raise ADBCommandError.new(result.stderr) if result.exit != 0
|
259
259
|
end
|
260
260
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: device_api-android
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Buckhurst
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-10-
|
13
|
+
date: 2015-10-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: device_api
|