Disable Style/RedundantLineContinuation, as it incorrectly removes line continutations in rhizome/host/lib/vm_setup.rb that are not redundant. All code changes are for _1 => it in blocks.
10 lines
206 B
Ruby
10 lines
206 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Prog::ExpireProjectInvitations < Prog::Base
|
|
label def wait
|
|
ProjectInvitation.where { it.expires_at < Time.now }.all.each(&:destroy)
|
|
|
|
nap 6 * 60 * 60
|
|
end
|
|
end
|