bmc-daemon-lib 0.11.0 → 0.11.1

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: 5e310d3a2ec000411286ea62a49815223b2f9e43
4
- data.tar.gz: 9c9d16f29b9d121ccc20717012c2b7fee401b032
3
+ metadata.gz: 33d44b07f1b2e61afc977f59148fc4b12cc43011
4
+ data.tar.gz: 8cb8de3d2e042ba3f1278bb3dfabef1b0812df04
5
5
  SHA512:
6
- metadata.gz: f47929c8cdcff98598bc491327eb54ccce4e0d84c48d8c8f25ab6db7901100beac4b150c051059212b79372558dc20b8036036fc5f43af3501e17fca9736e5f3
7
- data.tar.gz: f625227ac059b003c4680bbf3d83268931aa756c76577e42e0fc0bb9e952bd90b6df5b43269a0d88626f03f1b2d2f4f99b1905440d0b7016f3245e7975ad9bcd
6
+ metadata.gz: e531b1a4fad486d22be39245406dd72bba75e1b6dc71367b0942a1b171c9416a4d742a92e669e5b8bcb7eaa9484c4dffa7f90bf62f22eb6a1e2ef13675a00beb
7
+ data.tar.gz: 483137418291dc509e3ee417728740b006aca63797f03334e5aa715c0443413c92d4bde878d76f31da9566caefa0c28feb0543fe6462fbbc668f8c3d29194254
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |spec|
3
3
  # Project version
4
- spec.version = "0.11.0"
4
+ spec.version = "0.11.1"
5
5
 
6
6
  # Project description
7
7
  spec.name = "bmc-daemon-lib"
@@ -1,5 +1,5 @@
1
1
  module BmcDaemonLib
2
- class Worker
2
+ class WorkerBase
3
3
  include LoggerHelper
4
4
 
5
5
  # Statuses
@@ -54,12 +54,12 @@ module BmcDaemonLib
54
54
  def worker_sleep seconds
55
55
  return if seconds.nil? || seconds.to_f == 0.0
56
56
  worker_status STATUS_SLEEPING
57
- log_debug "worker_sleep: #{seconds}"
58
- sleep seconds
57
+ # log_debug "worker_sleep: #{seconds}"
58
+ sleep(seconds)
59
59
  end
60
60
 
61
61
  def start_loop
62
- log_info "start_loop starting", @config
62
+ log_info "worker loop starting", @config
63
63
  loop do
64
64
  begin
65
65
  # Announce we're waiting for work
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bmc-daemon-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno MEDICI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-25 00:00:00.000000000 Z
11
+ date: 2017-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler