sappho-heatmiser-proxy 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,11 +29,11 @@ module Sappho
29
29
  end
30
30
  end
31
31
 
32
- def refreshStatus
32
+ def refreshRequested
33
33
  @mutex.synchronize do
34
- required = @refreshStatus
34
+ requested = @refreshStatus
35
35
  @refreshStatus = false
36
- required
36
+ requested
37
37
  end
38
38
  end
39
39
 
@@ -48,7 +48,7 @@ module Sappho
48
48
  log.info "clock correction: #{hexString command}"
49
49
  end
50
50
  end
51
- refreshRequested = queue.refreshStatus or yield
51
+ refreshRequested = queue.refreshRequested or yield
52
52
  unless command
53
53
  command = queryCommand if refreshRequested or (Time.now - timestamp) >= config.sampleDelay
54
54
  end
@@ -7,7 +7,7 @@ module Sappho
7
7
  module Heatmiser
8
8
  module Proxy
9
9
  NAME = 'sappho-heatmiser-proxy'
10
- VERSION = '0.1.7'
10
+ VERSION = '0.1.8'
11
11
  AUTHORS = ['Andrew Heald']
12
12
  EMAILS = ['andrew@heald.co.uk']
13
13
  HOMEPAGE = 'https://github.com/sappho/sappho-heatmiser-proxy/wiki'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sappho-heatmiser-proxy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
9
+ - 8
10
+ version: 0.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew Heald