deprecate changed
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user