loggun 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -2
- data/lib/loggun/modifiers/sidekiq.rb +10 -2
- data/lib/loggun/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9ed650d3f6c3918eec13856e0819f62575867b5da1ff0849cfc0429293c8487
|
4
|
+
data.tar.gz: 94199fd125aab495113d28910d77570c54ef616c2047da76b66803665053bd6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ce89bf3fe7e5f6cf9326022828cfd2a87c3f32ef5166f8502980fd5bcb7cc92020d0def934c7ffee99a03a4a504b0a8ab6b762dfd6f694db92cb63de5ac56b9
|
7
|
+
data.tar.gz: 66d4cd0e1817f9450bbc13f206ed686ef97644dba46a7cef3ffc9192ea838c76d9dd261ebda4fc51f80b8210d5afd3704e964170439036ccc061a967402d527e
|
data/CHANGELOG.md
CHANGED
@@ -1,17 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.7.0 - 2023-09-19
|
4
|
+
* fixes
|
5
|
+
* Middleware Changes for Sidekiq 7.0
|
6
|
+
|
3
7
|
## 0.6.0 - 2020-09-22
|
4
8
|
* features
|
5
9
|
* Sidekiq client middlware for logging enqueued jobs
|
6
10
|
|
7
11
|
## 0.5.1 - 2020-09-22
|
8
12
|
* fix
|
9
|
-
* `message` string only in `log_format == :json`
|
13
|
+
* `message` string only in `log_format == :json`
|
10
14
|
|
11
15
|
## 0.5.0 - 2020-09-22
|
12
16
|
* features
|
13
17
|
* `config.log_format` - for control full log rows format
|
14
|
-
* `config.exclude_keys`, `config.include_keys` - for include or exclude keys from `:json` log_format
|
18
|
+
* `config.exclude_keys`, `config.include_keys` - for include or exclude keys from `:json` log_format
|
15
19
|
|
16
20
|
## 0.4.1 - 2020-07-28
|
17
21
|
* fixes
|
@@ -8,8 +8,16 @@ module Loggun
|
|
8
8
|
def apply
|
9
9
|
return unless defined?(::Sidekiq) && ::Sidekiq::VERSION >= MIN_SIDEKIQ_V
|
10
10
|
|
11
|
-
::Sidekiq
|
12
|
-
|
11
|
+
if ::Sidekiq::VERSION >= '7.0.0'
|
12
|
+
::Sidekiq.configure_client do |config|
|
13
|
+
config.client_middleware do |chain|
|
14
|
+
chain.add ClientMiddleware
|
15
|
+
end
|
16
|
+
end
|
17
|
+
else
|
18
|
+
::Sidekiq.client_middleware do |chain|
|
19
|
+
chain.add ClientMiddleware
|
20
|
+
end
|
13
21
|
end
|
14
22
|
|
15
23
|
::Sidekiq.configure_server do |config|
|
data/lib/loggun/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: loggun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aleksandr Noskov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-10-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
- !ruby/object:Gem::Version
|
184
184
|
version: '0'
|
185
185
|
requirements: []
|
186
|
-
rubygems_version: 3.
|
186
|
+
rubygems_version: 3.4.6
|
187
187
|
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: Loggun
|