console 1.29.0 → 1.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/console/filter.rb +4 -0
- data/lib/console/output/failure.rb +4 -1
- data/lib/console/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60457e10e6e444b206349262e1a13a45d2da0fa1aad7ecfa48f22e4b48e44eb8
|
4
|
+
data.tar.gz: 2b9bc10d6e5981286f93fd573e4ca7afad7aa1da9399ec4e8f4f643e38afcc0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a2554093f2fd42567a2cfa5924518a9e689e19394630a88af25d3e89f20a29250d12dc0a63216aa719b49c6dd957f28e79a8fead0a35103a2c5930794791273
|
7
|
+
data.tar.gz: 003a9d78b6d2835b63f202dcbf3d95618339b04a1f363e07b40a6502008be14b0a85a09b114a85d9b136083e8ce9fa4334371c1ba0fe53161d299e2f7cee4da6
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/console/filter.rb
CHANGED
@@ -37,6 +37,8 @@ module Console
|
|
37
37
|
if self.enabled?(subject, level)
|
38
38
|
@output.call(subject, *arguments, severity: name, **@options, **options, &block)
|
39
39
|
end
|
40
|
+
|
41
|
+
return nil
|
40
42
|
end
|
41
43
|
|
42
44
|
define_immutable_method("#{name}!") do
|
@@ -150,6 +152,8 @@ module Console
|
|
150
152
|
if self.enabled?(subject, level)
|
151
153
|
@output.call(subject, *arguments, **options, &block)
|
152
154
|
end
|
155
|
+
|
156
|
+
return nil
|
153
157
|
end
|
154
158
|
end
|
155
159
|
end
|
@@ -21,8 +21,11 @@ module Console
|
|
21
21
|
if last.is_a?(Exception)
|
22
22
|
options[:event] = Event::Failure.for(last)
|
23
23
|
end
|
24
|
-
|
24
|
+
elsif exception.is_a?(Exception)
|
25
25
|
options[:event] = Event::Failure.for(exception)
|
26
|
+
else
|
27
|
+
# We don't know what this is, so we just pass it through:
|
28
|
+
options[:exception] = exception
|
26
29
|
end
|
27
30
|
|
28
31
|
super(subject, *arguments, **options)
|
data/lib/console/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.29.
|
4
|
+
version: 1.29.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -47,7 +47,7 @@ cert_chain:
|
|
47
47
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
48
48
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
49
49
|
-----END CERTIFICATE-----
|
50
|
-
date: 2024-
|
50
|
+
date: 2024-12-09 00:00:00.000000000 Z
|
51
51
|
dependencies:
|
52
52
|
- !ruby/object:Gem::Dependency
|
53
53
|
name: fiber-annotation
|
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
154
|
- !ruby/object:Gem::Version
|
155
155
|
version: '0'
|
156
156
|
requirements: []
|
157
|
-
rubygems_version: 3.5.
|
157
|
+
rubygems_version: 3.5.22
|
158
158
|
signing_key:
|
159
159
|
specification_version: 4
|
160
160
|
summary: Beautiful logging for Ruby.
|
metadata.gz.sig
CHANGED
Binary file
|