arvicco-avalon 0.0.19 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,8 +18,9 @@ module Avalon
18
18
  :uptime => [9, /(?<=Elapsed=)[\d\.]*/, ->(x){ my_time(x, :relative_time)}],
19
19
  :last => [8, /(?<=Status=Alive,).*?Last Share Time=[\d\.]*/,
20
20
  ->(x){ convert_last(x)}],
21
- :temp => [5, /(?<=Temperature=)[\d\.]*/, :f],
22
- :utility => [7, /(?<=,Utility=)[\d\.]*/, :f],
21
+ :temp => [4, /(?<=Temperature=)[\d\.]*/, :i],
22
+ :freq => [4, /(?<=frequency=)[\d\.]*/, :i],
23
+ :utility => [8, /(?<=,Work Utility=)[\d\.]*/, :f],
23
24
  :getworks => [8, /(?<=Getworks=)[\d\.]*/, :i],
24
25
  :accepted => [8, /(?<=,Accepted=)[\d\.]*/, :i],
25
26
  :rejected => [8, /(?<=Rejected=)[\d\.]*/, :i],
@@ -62,7 +63,7 @@ module Avalon
62
63
  def poll verbose=true
63
64
  self[:ping] = ping @ip
64
65
 
65
- status = get_api('summary') + get_api('pools') + get_api('devs')
66
+ status = get_api('summary') + get_api('pools') + get_api('devs') + get_api('stats')
66
67
  # pools = get_api('pools')
67
68
  # p pools[FIELDS[:last][1]]
68
69
  # devs = get_api('devs')
@@ -1,3 +1,3 @@
1
1
  module Avalon
2
- VERSION = "0.0.19"
2
+ VERSION = "0.0.20"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arvicco-avalon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: