console 1.31.0 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/console/capture.rb +2 -1
- data/lib/console/filter.rb +1 -1
- data/lib/console/output/serialized.rb +2 -1
- data/lib/console/output/terminal.rb +1 -0
- data/lib/console/terminal/text.rb +1 -0
- data/lib/console/version.rb +1 -1
- data/license.md +1 -1
- data/readme.md +5 -0
- data/releases.md +5 -0
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: 51db72e147d6bbe3aa01e48b78ebc454cb34a719be4f936b58542c5623fb803d
|
4
|
+
data.tar.gz: 4ca2801323f3ee8149e6d967d1fe8920aff5958db3a6b37980251fde3e51fc61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42b590f516d239a57d796b5ac8a8c3f3a40da40bc3430e0a797940ffa3f2bbaa47be07c3943ce9df1a94121ea70288c41615f7b71d166094e43bde91681ac1c4
|
7
|
+
data.tar.gz: 17fa1288f63cdb231f5c1c91e10098550b3418d6d2c1743939a15d5380d7fc68c7a95997327b417a28686bb0b9784196ce832615b2cd1d98bedf65cb29360c57
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/console/capture.rb
CHANGED
@@ -18,9 +18,10 @@ module Console
|
|
18
18
|
# @attribute [Array(Hash)] All records captured by this buffer.
|
19
19
|
attr :records
|
20
20
|
|
21
|
-
# @deprecated Use {
|
21
|
+
# @deprecated Use {records} instead of {buffer}.
|
22
22
|
alias buffer records
|
23
23
|
|
24
|
+
# @deprecated Use {records} instead of {to_a}.
|
24
25
|
alias to_a records
|
25
26
|
|
26
27
|
# @attribute [Boolean] If true, the buffer will capture verbose messages.
|
data/lib/console/filter.rb
CHANGED
@@ -11,7 +11,7 @@ module Console
|
|
11
11
|
|
12
12
|
# A log filter which can be used to filter log messages based on severity, subject, and other criteria.
|
13
13
|
class Filter
|
14
|
-
if Object.const_defined?(:Ractor) and RUBY_VERSION >= "3.
|
14
|
+
if Object.const_defined?(:Ractor) and RUBY_VERSION >= "3.4"
|
15
15
|
# Define a method which can be shared between ractors.
|
16
16
|
def self.define_immutable_method(name, &block)
|
17
17
|
block = Ractor.make_shareable(block)
|
data/lib/console/version.rb
CHANGED
data/license.md
CHANGED
@@ -10,7 +10,7 @@ Copyright, 2021, by Robert Schulze.
|
|
10
10
|
Copyright, 2022, by Anton Sozontov.
|
11
11
|
Copyright, 2022, by William T. Nelson.
|
12
12
|
Copyright, 2023, by Felix Yan.
|
13
|
-
Copyright, 2024, by Patrik Wenger.
|
13
|
+
Copyright, 2024-2025, by Patrik Wenger.
|
14
14
|
Copyright, 2025, by Shigeru Nakajima.
|
15
15
|
|
16
16
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
data/readme.md
CHANGED
@@ -34,6 +34,11 @@ Please see the [project documentation](https://socketry.github.io/console/) for
|
|
34
34
|
|
35
35
|
Please see the [project releases](https://socketry.github.io/console/releases/index) for all releases.
|
36
36
|
|
37
|
+
### v1.32.0
|
38
|
+
|
39
|
+
- Add `fiber_id` to serialized output records to help identify which fiber logged the message.
|
40
|
+
- Ractor support appears broken in older Ruby versions, so we now require Ruby 3.4 or later for Ractor compatibility, if you need Ractor support.
|
41
|
+
|
37
42
|
### v1.31.0
|
38
43
|
|
39
44
|
- [Ractor compatibility.](https://socketry.github.io/console/releases/index#ractor-compatibility.)
|
data/releases.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Releases
|
2
2
|
|
3
|
+
## v1.32.0
|
4
|
+
|
5
|
+
- Add `fiber_id` to serialized output records to help identify which fiber logged the message.
|
6
|
+
- Ractor support appears broken in older Ruby versions, so we now require Ruby 3.4 or later for Ractor compatibility, if you need Ractor support.
|
7
|
+
|
3
8
|
## v1.31.0
|
4
9
|
|
5
10
|
### Ractor compatibility.
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.32.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
- Robert Schulze
|
9
9
|
- Bryan Powell
|
10
10
|
- Michael Adams
|
11
|
+
- Patrik Wenger
|
11
12
|
- Anton Sozontov
|
12
13
|
- Cyril Roelandt
|
13
14
|
- Cédric Boutillier
|
14
15
|
- Felix Yan
|
15
16
|
- Olle Jonsson
|
16
|
-
- Patrik Wenger
|
17
17
|
- Shigeru Nakajima
|
18
18
|
- William T. Nelson
|
19
19
|
bindir: bin
|
metadata.gz.sig
CHANGED
Binary file
|