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: b81776db6f7702a3fedb2be7363c9a1ffd97ccc5656a3f5dd57c1c35801c7150
4
- data.tar.gz: 6446b273934c9c481bb537e68381c61bb4751c46433b726f0666f5cc5fbbd1ee
3
+ metadata.gz: 29a2f35841f2c300e99ba671235f38282574392f3e0ad58ac1a4b19e78603f51
4
+ data.tar.gz: 3460cc2ed8dcac7975fe8fe18ed1d111c121499bb540ce1ba587d9420f8d888c
5
5
  SHA512:
6
- metadata.gz: 05f8f12e77b0b430e78a8d2345e99e458bd298b48fb3aa43043aead349d3cc61a012a54f0d29a303fa4fb3a1e8f80a5c7b52a01b4432db94e46f9210bbaf938a
7
- data.tar.gz: ea74b3b8b19c3539ea73c966df52d677a768e552ff468e7cf8fcb049a22c9a3d24df2bdee4c0a5ad8d65b1e08e11a99652f46d1007295c392e41337122334348
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
- EffectiveLogChangesDatatable.new(changes_to: self) if persisted?
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 = {})
@@ -1,3 +1,3 @@
1
1
  module EffectiveLogging
2
- VERSION = '3.5.2'.freeze
2
+ VERSION = '3.5.3'.freeze
3
3
  end
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.2
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: 2022-11-09 00:00:00.000000000 Z
11
+ date: 2023-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails