lumberjack 2.0.4 → 2.0.5
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
- data/CHANGELOG.md +6 -0
- data/VERSION +1 -1
- data/lib/lumberjack/io_compatibility.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e1af0567acc694ebd29f04587e9203db03d14958306abd6a691721c918cd024
|
|
4
|
+
data.tar.gz: 0eab429fc4ef909b57cec680fc84ab5cb12fd99a0e986d105d497be9dee97369
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3894fec45c2f423348c6926c5bef9c1aff794e5e3d7e11394bd791be74d606ad0ad4e5613c7295b9b4051af3a6f9089a6ac60ade8f86a7a407f4d346fcb80df7
|
|
7
|
+
data.tar.gz: 608590677da050618459e44be516f72b00d9a8e8db7edc2be63fc7622864936db74b429ce013b2e12c75da9d65e5b89b289b49cecf2683803353a2832f45463a
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## 2.0.5
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Added `isatty` method on loggers for IO compatibility.
|
|
12
|
+
|
|
7
13
|
## 2.0.4
|
|
8
14
|
|
|
9
15
|
### Fixed
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.0.
|
|
1
|
+
2.0.5
|
|
@@ -120,6 +120,14 @@ module Lumberjack
|
|
|
120
120
|
false
|
|
121
121
|
end
|
|
122
122
|
|
|
123
|
+
# Alias for tty? to provide complete IO compatibility.
|
|
124
|
+
#
|
|
125
|
+
# @return [Boolean]
|
|
126
|
+
# @api private
|
|
127
|
+
def isatty
|
|
128
|
+
tty?
|
|
129
|
+
end
|
|
130
|
+
|
|
123
131
|
# Set the encoding for the stream. This method is provided for IO compatibility
|
|
124
132
|
# but is a no-op since loggers handle encoding internally through their devices
|
|
125
133
|
# and formatters.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lumberjack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Durand
|
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
124
124
|
- !ruby/object:Gem::Version
|
|
125
125
|
version: '0'
|
|
126
126
|
requirements: []
|
|
127
|
-
rubygems_version:
|
|
127
|
+
rubygems_version: 3.6.9
|
|
128
128
|
specification_version: 4
|
|
129
129
|
summary: Extension of Ruby’s standard Logger for advanced, structured logging. Includes
|
|
130
130
|
log entry attributes, context isolation, customizable formatters, flexible output
|