deprecate changed

This commit is contained in:
2025-09-01 11:00:13 -05:00
parent f16b8c60cc
commit 1cb90593a4
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@ dunlop
Installation Installation
----------------------- -----------------------
test change for git
``` ```
gem 'dunlop-core', github: 'mozolutions/dunlop-core', branch: :master gem 'dunlop-core', github: 'mozolutions/dunlop-core', branch: :master
gem 'devise' gem 'devise'
+1 -1
View File
@@ -73,7 +73,7 @@ module Dunlop::ExecutionBatchModel
def execute def execute
execute! execute!
end end
deprecate execute: "Please use execute! in stead of execute. This will be removed in dunlop v0.2.0" # deprecate execute: "Please use execute! in stead of execute. This will be removed in dunlop v0.2.0"
def cleanup!(older_than = 1.month.ago) def cleanup!(older_than = 1.month.ago)
older_than = older_than.ago if older_than.is_a?(ActiveSupport::Duration) older_than = older_than.ago if older_than.is_a?(ActiveSupport::Duration)