bmc-daemon-lib 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/bmc-daemon-lib.gemspec +1 -1
- data/lib/bmc-daemon-lib/logger_helper.rb +6 -3
- data/lib/bmc-daemon-lib/worker_base.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c22cde8624fe7fa756334b2cbb655babf11eb0c
|
4
|
+
data.tar.gz: 68ea62fed8cccdd668d8118da673a03201760a4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
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.
|
35
|
-
parser (>= 2.3.
|
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.
|
42
|
+
unicode-display_width (1.1.3)
|
43
43
|
|
44
44
|
PLATFORMS
|
45
45
|
ruby
|
data/bmc-daemon-lib.gemspec
CHANGED
@@ -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
|
-
|
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.
|
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:
|
11
|
+
date: 2017-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|