console 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/console.rb +4 -3
- data/lib/console/filter.rb +2 -0
- data/lib/console/version.rb +1 -1
- 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: b8f2a979a83f16c98de42a9ce7c76db88096c5a6baeb0a6739842e627d9c3ba4
|
4
|
+
data.tar.gz: 2e326f28c7a744ff783d009db13438d4333a02e63347fe03aedaab2edb1aee48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e1df308579cd0c3da40dd8fdb970bfd41f0fd006acb9ca62e73dfdd47b62d28ce719f71eb853bea3400f0c1a1b2eec18be82a601652388ebcc8a8a32ac9f135
|
7
|
+
data.tar.gz: 5fd7718437f58ce2a8b41f91f9661b227a5b9b307046f057b837f63fbaf93642fa01b06c35cf720907d2b3d666b828bed3c01d6514f167f92142db18c56a3b9c
|
data/lib/console.rb
CHANGED
@@ -37,10 +37,10 @@ module Console
|
|
37
37
|
LEVELS[level] || Logger.warn
|
38
38
|
elsif $DEBUG
|
39
39
|
Logger::DEBUG
|
40
|
-
elsif $VERBOSE
|
41
|
-
Logger::INFO
|
42
|
-
else
|
40
|
+
elsif $VERBOSE.nil?
|
43
41
|
Logger::WARN
|
42
|
+
else
|
43
|
+
Logger::INFO
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
@@ -49,6 +49,7 @@ module Console
|
|
49
49
|
@logger = Logger.new(
|
50
50
|
Terminal::Logger.new($stderr),
|
51
51
|
level: self.default_log_level,
|
52
|
+
verbose: !$VERBOSE.nil?,
|
52
53
|
)
|
53
54
|
|
54
55
|
def logger= logger
|
data/lib/console/filter.rb
CHANGED
data/lib/console/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: covered
|
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: '0'
|
117
117
|
requirements: []
|
118
|
-
rubygems_version: 3.0.
|
118
|
+
rubygems_version: 3.0.2
|
119
119
|
signing_key:
|
120
120
|
specification_version: 4
|
121
121
|
summary: Beautiful logging for Ruby.
|