console 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/console/filter.rb +3 -1
- data/lib/console/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de8d5bf7f57f9e3f42e3590fd2aa5110afbb10d51e99905192d139d901ec1832
|
4
|
+
data.tar.gz: 3813dcba7055875b67794c20fd57ef840a4db646fead53a08ca8687c749e5f72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc435d2391b023d4f6921b4897e3dae2116b48e68f2b2b54311da4b7acd3219d52f6a18b805e0fbe9cd76a49d2d698208a6dcedf880ab9ebe3a5562944e7509f
|
7
|
+
data.tar.gz: 39e2aa007367e6423c9f633f027fdfea4dc65568e251cee47844a5dc8a83540391138b359384fbeebbc7df73c65c9ff4352da419b84d1ddc3cc80da23699b3ae
|
data/lib/console/filter.rb
CHANGED
@@ -65,8 +65,10 @@ module Console
|
|
65
65
|
@options = options
|
66
66
|
end
|
67
67
|
|
68
|
-
def with(**options)
|
68
|
+
def with(level: @level, verbose: @verbose, **options)
|
69
69
|
dup.tap do |logger|
|
70
|
+
logger.level = level
|
71
|
+
logger.verbose! if verbose
|
70
72
|
logger.options = @options.merge(options)
|
71
73
|
end
|
72
74
|
end
|
data/lib/console/version.rb
CHANGED