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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fa166f5900ef3a9c90b337ce6dd57faa99527fd9746a47aa61bb7f7535e606d
4
- data.tar.gz: c6d7d06fdd475006e000c3da6d65fdcd3a5c58e10c90afa8b380f795d45a16d1
3
+ metadata.gz: 60457e10e6e444b206349262e1a13a45d2da0fa1aad7ecfa48f22e4b48e44eb8
4
+ data.tar.gz: 2b9bc10d6e5981286f93fd573e4ca7afad7aa1da9399ec4e8f4f643e38afcc0c
5
5
  SHA512:
6
- metadata.gz: 620b134d260d72d3b69a57e455584d556d611aa8a441fbd7624722b1cfaf3541015335717b82da8ea2aa0682f94e2898c9f28c4162fa5b5842297035f81bd5c0
7
- data.tar.gz: be9318b5f775a9bd33f5c8951ffae4b921dbe0618f209080645a3eb12dcd096ef092d94f1239564e03497961ebbfbbb926d43294b8b524a94486e6b62a835b1a
6
+ metadata.gz: 0a2554093f2fd42567a2cfa5924518a9e689e19394630a88af25d3e89f20a29250d12dc0a63216aa719b49c6dd957f28e79a8fead0a35103a2c5930794791273
7
+ data.tar.gz: 003a9d78b6d2835b63f202dcbf3d95618339b04a1f363e07b40a6502008be14b0a85a09b114a85d9b136083e8ce9fa4334371c1ba0fe53161d299e2f7cee4da6
checksums.yaml.gz.sig CHANGED
Binary file
@@ -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
- else
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)
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2019-2024, by Samuel Williams.
5
5
 
6
6
  module Console
7
- VERSION = "1.29.0"
7
+ VERSION = "1.29.2"
8
8
  end
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.0
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-11-06 00:00:00.000000000 Z
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.11
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