stf-client 0.3.0.rc9 → 0.3.0.rc10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/stf/model/device_list.rb +10 -2
- data/lib/stf/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c249656e07f06e0277ef3bcb2cf2a7ab407b6147207d2e564e89eb8714b7520f
|
4
|
+
data.tar.gz: 13bfab11bd241d2c6b0af14ba559ea242ef2a8e203ba3f6ffa3e1bd7dc7f54a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8929c2e8b8e406b8196e130766be14fde6c91a505ab3ea626a64aa332fd8f4739967700d2771f8abe1509a6d3fd01d5ad7a21411665259c97ebd5e316cba8ae
|
7
|
+
data.tar.gz: ae9311e60e7402761a1287d560b3093d09e4511d790989c1b13fd1c6c9f4e4d05117b7d2b1ab5d7131eb26e8a3681d4872e6cb68a1c420eec88bd8f0b5d1ed40
|
@@ -20,7 +20,15 @@ module Stf
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def filterReadyToConnect
|
23
|
-
|
23
|
+
# https://github.com/openstf/stf/blob/93d9d7fe859bb7ca71669f375d841d94fa47d751/lib/wire/wire.proto#L170
|
24
|
+
# enum DeviceStatus {
|
25
|
+
# OFFLINE = 1;
|
26
|
+
# UNAUTHORIZED = 2;
|
27
|
+
# ONLINE = 3;
|
28
|
+
# CONNECTING = 4;
|
29
|
+
# AUTHORIZING = 5;
|
30
|
+
# }
|
31
|
+
select {|d| d.ready == true && d.present == true && d.usage.nil? && d.status == 3 }
|
24
32
|
end
|
25
33
|
|
26
34
|
def asConnectUrlList
|
@@ -47,4 +55,4 @@ module Stf
|
|
47
55
|
@devices
|
48
56
|
end
|
49
57
|
end
|
50
|
-
end
|
58
|
+
end
|
data/lib/stf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stf-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.0.
|
4
|
+
version: 0.3.0.rc10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Malinskiy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|
@@ -234,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
234
234
|
version: 1.3.1
|
235
235
|
requirements: []
|
236
236
|
rubyforge_project:
|
237
|
-
rubygems_version: 2.
|
237
|
+
rubygems_version: 2.7.7
|
238
238
|
signing_key:
|
239
239
|
specification_version: 4
|
240
240
|
summary: Request devices from Smartphone Test Farm for adb connection
|