effective_logging 4.1.0 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/concerns/effective_logging_log.rb +5 -1
- data/lib/effective_logging/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: 74bf05a0a557e1531374cd9ca326cb9ecd146f6a927374fb5d1117a75b18fea3
|
4
|
+
data.tar.gz: 1bff1e311688259c293e9c156faaa3f45901a74ca8d807b1ad523a1933ebd0d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d0fa2b76946519fbb3aafee11f4779ceae251167344af550f041c9346787a73a5442d582a50bfa8ba64254024cdc818e3df12ebc28e8d2c561591ba44579e75
|
7
|
+
data.tar.gz: a7ec3c636a43dda30beb7414db6e37fcfb57f8d2f1eb984262139086a0699be2e2551d4920341bd4d4cfb44f717dbda5e26811b848aa3fca0d066927d2afe1b7
|
@@ -40,7 +40,11 @@ module EffectiveLoggingLog
|
|
40
40
|
timestamps
|
41
41
|
end
|
42
42
|
|
43
|
-
|
43
|
+
if EffectiveResources.serialize_with_coder?
|
44
|
+
serialize :details, type: Hash, coder: YAML
|
45
|
+
else
|
46
|
+
serialize :details, Hash
|
47
|
+
end
|
44
48
|
|
45
49
|
validates :message, presence: true
|
46
50
|
validates :status, presence: true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_logging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|