stf-client 0.2.5 → 0.2.6

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: e611575d710151bc5174f3becf20249a17620de6
4
- data.tar.gz: 2fca333c0cc0e4a27b1b417a4c38d6285b49f065
3
+ metadata.gz: 7db448c2c0164d028021aa694aa0a726cee55941
4
+ data.tar.gz: 5dca57695b59bfa254ced82f32ba0c8cc10489b4
5
5
  SHA512:
6
- metadata.gz: 6912657d0b053de969a660f86ce9837eec43731c242b758391d3ec144a32cd3b30e2646bde74351c76ae193c4418e01f86876105aee755b91bb56539676f9eeb
7
- data.tar.gz: 50464617b8c5849893929fa976c50f37bac995e6ee4d457caff945b49a145f8581eedbbd04a752538702e7a46968cea376b6cd525eb8c53b36aae77320590a03
6
+ metadata.gz: 597d3bd7df408f76a32f0a6b6f79534a450e0a8233df2e70893fdf7981cebee79c810bb9dadef5fa275d622d6062a4a6ad06abf50a21f5a5d388581ea1b055a6
7
+ data.tar.gz: 762ca50470092120eeda8b84348f650a95da64406f8da2c75b1d1a1f68bef1a8be99d14768fb506d185c12d7e7591730d67730eb349902265a424d00ebbdf6b9
@@ -46,6 +46,11 @@ module Stf
46
46
  begin
47
47
  # we will try clean anyway
48
48
  DI[:stf].remove_device serial
49
+ if test ?d, '/custom-metrics'
50
+ File.open('/custom-metrics/openstf_connect_fail', 'a') do
51
+ |f| f.write("openstf_connect_fail #{serial} #{Time.now.to_i}")
52
+ end
53
+ end
49
54
  rescue
50
55
  end
51
56
 
data/lib/stf/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Stf
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
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.2.5
4
+ version: 0.2.6
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-02-27 00:00:00.000000000 Z
11
+ date: 2018-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gli