rubotium 0.0.29 → 0.0.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubotium/adb/devices.rb +6 -1
- data/lib/rubotium/version.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: 52908d4749bb9c3dc4d42f52f389d31032b2d429
|
4
|
+
data.tar.gz: f551b743fe16dba4e75d1fbebfe00a23a2fef16c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 969cfdf4646cc8a81aab5687e9a7de0865cf133cb4be7251b7ca9c5d3519186a8fd0c4c9d8936f0fdadbcf6d73c53b30a2e51e7bf928bb6b79f149cb38bf3692
|
7
|
+
data.tar.gz: f6ab4623740b742c164ff37601f3d5df6d42c9a7286052508b22fab07c950da7c2bfc66f4ff7746937115f9713633d989c5fb928f0c7f31dfc83597b5368c8d7
|
data/lib/rubotium/adb/devices.rb
CHANGED
@@ -18,7 +18,12 @@ module Rubotium
|
|
18
18
|
wait_for_adb
|
19
19
|
CMD.run_command('adb start-server')
|
20
20
|
wait_for_adb
|
21
|
-
CMD.run_command('adb devices', { :timeout => 5 } )
|
21
|
+
devices = CMD.run_command('adb devices', { :timeout => 5 } )
|
22
|
+
if devices.status_code != 1
|
23
|
+
devices.result
|
24
|
+
else
|
25
|
+
raise Rubotium::NoDevicesError
|
26
|
+
end
|
22
27
|
end
|
23
28
|
|
24
29
|
def wait_for_adb
|
data/lib/rubotium/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubotium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Slawomir Smiechura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|