bmc-daemon-lib 0.7.1 → 0.7.2

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: d0d7285018f935fe5ea94804910be3d373ff77fc
4
- data.tar.gz: 8bb8feb09c600311699b617a4f9f226d26050412
3
+ metadata.gz: 5c22cde8624fe7fa756334b2cbb655babf11eb0c
4
+ data.tar.gz: 68ea62fed8cccdd668d8118da673a03201760a4d
5
5
  SHA512:
6
- metadata.gz: 1b357f032c381f758a500319ff003a20e62e01b3971f9c0b780808810908bae64f907d70af473aefa2cf05142e550855fc2550b4ee4bae5d8aab90ba5c7ef740
7
- data.tar.gz: 2bc2ed43b3f143b157264974b9ef255b7038e13943e37e57712fd711262fff3508b1f01150592f0e3c7a83f5c3fa8ba158a0aee7fb599ae26208383df398888e
6
+ metadata.gz: 85232255888a2ccd6f72631424b2e3768bf7f82c14cc5c4cd4a4126c88f4f06d54913bc760584c3f6319d2c0f683e9325aefcd52f02b1af807951c8caccbb00a
7
+ data.tar.gz: fd60acfee6aceb6e2407d5f2303267463bd3c2e01a2e41850f54bd5c007cba333bda689da526ed459749290e50c77a800ef439bdd6cf6cc7218034321fdc4485
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bmc-daemon-lib (0.7.1)
4
+ bmc-daemon-lib (0.7.2)
5
5
  chamber (~> 2.9.1)
6
6
 
7
7
  GEM
@@ -16,7 +16,7 @@ GEM
16
16
  parser (2.3.3.1)
17
17
  ast (~> 2.2)
18
18
  powerpack (0.1.1)
19
- rainbow (2.1.0)
19
+ rainbow (2.2.1)
20
20
  rake (12.0.0)
21
21
  rspec (3.5.0)
22
22
  rspec-core (~> 3.5.0)
@@ -31,15 +31,15 @@ GEM
31
31
  diff-lcs (>= 1.2.0, < 2.0)
32
32
  rspec-support (~> 3.5.0)
33
33
  rspec-support (3.5.0)
34
- rubocop (0.46.0)
35
- parser (>= 2.3.1.1, < 3.0)
34
+ rubocop (0.47.0)
35
+ parser (>= 2.3.3.1, < 3.0)
36
36
  powerpack (~> 0.1)
37
37
  rainbow (>= 1.99.1, < 3.0)
38
38
  ruby-progressbar (~> 1.7)
39
39
  unicode-display_width (~> 1.0, >= 1.0.1)
40
40
  ruby-progressbar (1.8.1)
41
41
  thor (0.19.4)
42
- unicode-display_width (1.1.2)
42
+ unicode-display_width (1.1.3)
43
43
 
44
44
  PLATFORMS
45
45
  ruby
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |spec|
3
3
  # Project version
4
- spec.version = "0.7.1"
4
+ spec.version = "0.7.2"
5
5
 
6
6
  # Project description
7
7
  spec.name = "bmc-daemon-lib"
@@ -17,15 +17,18 @@ module BmcDaemonLib
17
17
  {}
18
18
  end
19
19
 
20
+ def log_debug message, details = nil
21
+ log Logger::DEBUG, message, details
22
+ end
20
23
  def log_info message, details = nil
21
24
  log Logger::INFO, message, details
22
25
  end
26
+ def log_warning message, details = nil
27
+ log Logger::WARNING, message, details
28
+ end
23
29
  def log_error message, details = nil
24
30
  log Logger::ERROR, message, details
25
31
  end
26
- def log_debug message, details = nil
27
- log Logger::DEBUG, message, details
28
- end
29
32
 
30
33
  private
31
34
 
@@ -22,7 +22,7 @@ module BmcDaemonLib
22
22
 
23
23
  # Ask worker to init itself, and return if there are errors
24
24
  if worker_init_result = worker_init
25
- log_error "worker_init aborting: #{worker_init_result.inspect}", @config
25
+ log_warning "aborting: #{worker_init_result.inspect}", @config
26
26
  else
27
27
  # We're ok, let's start out loop
28
28
  start_loop
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.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno MEDICI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-27 00:00:00.000000000 Z
11
+ date: 2017-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler