dry-logger 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/dry/logger/backends/proxy.rb +8 -0
- data/lib/dry/logger/dispatcher.rb +1 -1
- data/lib/dry/logger/version.rb +1 -1
- 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: 684f7f0c0e79988487b854789ccb5fce18a2da413db5c0e002a8dd053da60ca8
|
4
|
+
data.tar.gz: 0c55f8e65565349555885bcfc948d08f4fb1a84114640af14025d684ce3a3d6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6946ec738001c7b1c65c2053792940150d161d5b42fe199c657cd69640ad8156665a332057f2b71f195e6568cd344cee584df3c4d5d0366f29e6fee6402cf7b
|
7
|
+
data.tar.gz: ea712b521c34f3d595413de30251bdc9fa1cbf63e52e70a50905abccd9f7d3d627ed1322094f85261cf33991c8574ab9480f5941b44f51b0f0432d3c95e50d09
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
<!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
|
2
2
|
|
3
|
+
## 1.0.2 2022-11-24
|
4
|
+
|
5
|
+
|
6
|
+
### Fixed
|
7
|
+
|
8
|
+
- Handle `:log_if` in Proxy constructors (via #23) (@solnic)
|
9
|
+
|
10
|
+
|
11
|
+
[Compare v1.0.1...v1.0.2](https://github.com/dry-rb/dry-logger/compare/v1.0.1...v1.0.2)
|
12
|
+
|
3
13
|
## 1.0.1 2022-11-23
|
4
14
|
|
5
15
|
|
@@ -260,7 +260,7 @@ module Dry
|
|
260
260
|
backend =
|
261
261
|
case (instance ||= Dry::Logger.new(**options, **backend_options))
|
262
262
|
when Backends::Stream then instance
|
263
|
-
else Backends::Proxy.new(instance)
|
263
|
+
else Backends::Proxy.new(instance, **options, **backend_options)
|
264
264
|
end
|
265
265
|
|
266
266
|
yield(backend) if block_given?
|
data/lib/dry/logger/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dry-logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|