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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8f3cd4d6b212dc0c25d4e73cf47b856df1ebef24
4
- data.tar.gz: 689022a5a8023bccaaa6c1ec0b2c1b61f46a5bf8
2
+ SHA256:
3
+ metadata.gz: c249656e07f06e0277ef3bcb2cf2a7ab407b6147207d2e564e89eb8714b7520f
4
+ data.tar.gz: 13bfab11bd241d2c6b0af14ba559ea242ef2a8e203ba3f6ffa3e1bd7dc7f54a3
5
5
  SHA512:
6
- metadata.gz: 22f0b4d6c29be20d704f17ec2fe3714ad322af0ecd0f996ced4fc04c8c22689176ce90a002249906b61cc628094e02410fba4d26f069005db8462435ac7fe38d
7
- data.tar.gz: ed26145ed4eb3675405313ba312462ca9172dc793b8146f0cb7dba0ec3191a34f7a11dc47b1f5be66b4377e8d3b6b77960d195608f3c584b5dff5f960f166a7e
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
- select {|d| d.ready == true && d.present == true && d.usage.nil? }
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
@@ -1,3 +1,3 @@
1
1
  module Stf
2
- VERSION = '0.3.0.rc9'
2
+ VERSION = '0.3.0.rc10'
3
3
  end
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.rc9
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-04-09 00:00:00.000000000 Z
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.6.13
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