diff --git a/Gemfile b/Gemfile index ee844338d..725829a79 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gem "acts_as_votable", "~> 0.14.0" gem "ahoy_matey", "~> 4.2.1" gem "airbrake", "~> 13.0.4" gem "ancestry", "~> 4.3.3" -gem "audited", "~> 5.4.0" +gem "audited", "~> 5.4.3" gem "autoprefixer-rails", "~> 8.2.0" gem "bing_translator", "~> 6.2.0" gem "cancancan", "~> 3.5.0" diff --git a/Gemfile.lock b/Gemfile.lock index bb075d7f1..4e7032f8e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -89,7 +89,7 @@ GEM ancestry (4.3.3) activerecord (>= 5.2.6) ast (2.4.2) - audited (5.4.0) + audited (5.4.3) activerecord (>= 5.0, < 7.2) request_store (~> 1.2) autoprefixer-rails (8.2.0) @@ -706,7 +706,7 @@ DEPENDENCIES ahoy_matey (~> 4.2.1) airbrake (~> 13.0.4) ancestry (~> 4.3.3) - audited (~> 5.4.0) + audited (~> 5.4.3) autoprefixer-rails (~> 8.2.0) bing_translator (~> 6.2.0) bullet (~> 7.1.6) diff --git a/config/initializers/audited.rb b/config/initializers/audited.rb index 74ad9b5a3..14de509e8 100644 --- a/config/initializers/audited.rb +++ b/config/initializers/audited.rb @@ -1,3 +1,4 @@ Audited.config do |config| config.audit_class = ::Audit + config.ignored_default_callbacks = [:touch] end