lorekeeper 2.6.3 → 2.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +11 -6
- data/CHANGELOG.md +3 -0
- data/lib/lorekeeper/json_logger.rb +3 -2
- data/lib/lorekeeper/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e282bfe416e749c799f15f0536b549564a754c772046e31ac718eb765c9883df
|
4
|
+
data.tar.gz: 002bee464879dc13c440b5fa835e844352f4f19bbf137926328e1f410e635dc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: babd0aa08447fc53c1430c588439bb5743dbee7e0dbdfb8fc4d2f70e1a9fa231cf46e74e05e1b905515239f06573a33e59ecfacc7c8138c152de24bc234647b2
|
7
|
+
data.tar.gz: 2951023ec3da1084c90b0c2ac156ba98617c9b28cdded020dc179cd63c9345215b22fdfe732dbcc16c9d4e7c8d7e4eff39fe2089ebff6c756c6e9dc0120683ec
|
data/.github/workflows/build.yml
CHANGED
@@ -15,18 +15,23 @@ jobs:
|
|
15
15
|
strategy:
|
16
16
|
matrix:
|
17
17
|
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3']
|
18
|
-
rails: ['5.2.
|
18
|
+
rails: ['5.2.8', '6.0.6', '6.1.7', '7.0.8', '7.1.4', '7.2.1']
|
19
19
|
include:
|
20
|
-
- rails: '4.0.
|
20
|
+
- rails: '4.0.13'
|
21
21
|
ruby: '2.7'
|
22
|
-
- rails: '4.1.
|
22
|
+
- rails: '4.1.16'
|
23
23
|
ruby: '2.7'
|
24
|
-
- rails: '4.2.
|
24
|
+
- rails: '4.2.11'
|
25
25
|
ruby: '2.7'
|
26
|
-
- rails: '5.0.
|
26
|
+
- rails: '5.0.7'
|
27
27
|
ruby: '2.7'
|
28
|
-
- rails: '5.1.
|
28
|
+
- rails: '5.1.7'
|
29
29
|
ruby: '2.7'
|
30
|
+
exclude:
|
31
|
+
- rails: '7.2.1'
|
32
|
+
ruby: '2.7'
|
33
|
+
- rails: '7.2.1'
|
34
|
+
ruby: '3.0'
|
30
35
|
|
31
36
|
steps:
|
32
37
|
- uses: actions/checkout@v4
|
data/CHANGELOG.md
CHANGED
@@ -10,7 +10,7 @@ module Lorekeeper
|
|
10
10
|
reset_state
|
11
11
|
@base_fields = { TIMESTAMP => '', MESSAGE => '', LEVEL => '' }
|
12
12
|
|
13
|
-
super
|
13
|
+
super
|
14
14
|
end
|
15
15
|
|
16
16
|
def current_fields
|
@@ -77,10 +77,11 @@ module Lorekeeper
|
|
77
77
|
if exception.is_a?(Exception)
|
78
78
|
backtrace = clean_backtrace(exception.backtrace || [])
|
79
79
|
exception_fields = {
|
80
|
+
DATA => param_data,
|
80
81
|
EXCEPTION => "#{exception.class}: #{exception.message}",
|
81
82
|
STACK => backtrace
|
82
83
|
}
|
83
|
-
exception_fields
|
84
|
+
exception_fields.compact!
|
84
85
|
|
85
86
|
message = param_message || exception.message
|
86
87
|
with_extra_fields(exception_fields) { log_data(log_level, message) }
|
data/lib/lorekeeper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lorekeeper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordi Polo
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|
@@ -235,7 +235,7 @@ homepage: https://github.com/JordiPolo/lorekeeper
|
|
235
235
|
licenses:
|
236
236
|
- MIT
|
237
237
|
metadata: {}
|
238
|
-
post_install_message:
|
238
|
+
post_install_message:
|
239
239
|
rdoc_options: []
|
240
240
|
require_paths:
|
241
241
|
- lib
|
@@ -250,8 +250,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
250
250
|
- !ruby/object:Gem::Version
|
251
251
|
version: '0'
|
252
252
|
requirements: []
|
253
|
-
rubygems_version: 3.
|
254
|
-
signing_key:
|
253
|
+
rubygems_version: 3.5.3
|
254
|
+
signing_key:
|
255
255
|
specification_version: 4
|
256
256
|
summary: Very fast JSON logger
|
257
257
|
test_files: []
|