evt-log 2.1.1.0 → 2.1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/log/level.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 571703e4d39532ea2b8ab193b45ca8df40d1f6c8cd24fff328f118e7d9d55925
|
4
|
+
data.tar.gz: c2b606c7bf40d2cb894f7baf90ea19c3caa650927a501c92afda41c1efd87da4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 712c2aee1b7cc47a41702972e68bfd6a4ef7b7939674260d40c1e95bf0d6c5a0bfb5951afe2541b25847e352f87b48746808d37928dc0fdcca7cebdcaeac1801
|
7
|
+
data.tar.gz: 2adb1c1444d84a79b0dccf3b2826cacd9aa2d1b6abe00fe4bac98293e8911684f94e9c83ce9f253d081300cf3b583ed35cec6e5a9420771c4227659d90ec0945
|
data/lib/log/level.rb
CHANGED
@@ -53,11 +53,11 @@ class Log
|
|
53
53
|
|
54
54
|
unless level == :_none
|
55
55
|
if !levels?
|
56
|
-
raise Log::Error, "Level #{level
|
56
|
+
raise Log::Error, "Level \"#{level}\" cannot be set. The logger has no levels defined."
|
57
57
|
end
|
58
58
|
|
59
59
|
if !level?(level)
|
60
|
-
raise Log::Error, "Level #{level
|
60
|
+
raise Log::Error, "Level \"#{level}\" must be one of: #{levels.keys.reduce('') { |acc, val| acc << "\"#{val}\", " }.chomp(', ')}"
|
61
61
|
end
|
62
62
|
end
|
63
63
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.1.
|
4
|
+
version: 2.1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-initializer
|
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
|
-
rubygems_version: 3.
|
140
|
+
rubygems_version: 3.1.2
|
141
141
|
signing_key:
|
142
142
|
specification_version: 4
|
143
143
|
summary: Logging to STD IO with levels, tagging, and coloring
|