effective_logging 3.5.2 → 3.5.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29a2f35841f2c300e99ba671235f38282574392f3e0ad58ac1a4b19e78603f51
|
4
|
+
data.tar.gz: 3460cc2ed8dcac7975fe8fe18ed1d111c121499bb540ce1ba587d9420f8d888c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a73c5c23e02b3e230e343f32d185231ad30ac8ec2282cea0481d1943c3b7c8887c7245d09e118f946822aac38e175992450be9d12971fdc68fa1bab65d8b6fc3
|
7
|
+
data.tar.gz: dff10915122c29bf7adc3585550721dcd2ee913c32d9bf7f7443774c44ed367096f227cf0a5e2a6fd0c582f523e2ddcd203323a214836281f6dff41beeef4f2a
|
@@ -69,7 +69,8 @@ module ActsAsLoggable
|
|
69
69
|
end
|
70
70
|
|
71
71
|
def log_changes_datatable
|
72
|
-
|
72
|
+
# We use the changes_to_type and changes_to_id so that the bootstrap3 datatable is still aware of the resources
|
73
|
+
EffectiveLogChangesDatatable.new(changes_to: self, changes_to_type: self.class.name, changes_to_id: id) if persisted?
|
73
74
|
end
|
74
75
|
|
75
76
|
end
|
@@ -3,7 +3,7 @@ module EffectiveLogging
|
|
3
3
|
attr_accessor :object, :resource, :options
|
4
4
|
|
5
5
|
BLANK = "''"
|
6
|
-
BLACKLIST = [:updated_at, :created_at, :encrypted_password, :status_steps] # Don't log changes or attributes
|
6
|
+
BLACKLIST = [:updated_at, :created_at, :encrypted_password, :status_steps, :wizard_steps] # Don't log changes or attributes
|
7
7
|
|
8
8
|
# to, prefix, only, except
|
9
9
|
def initialize(object, args = {})
|
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: 3.5.
|
4
|
+
version: 3.5.3
|
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:
|
11
|
+
date: 2023-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|