Sha256: d64e7871b5be7a17f085905f70148f49f2fd002cdd0cc4b205f8c567e10b4512
Contents?: true
Size: 532 Bytes
Versions: 48
Compression:
Stored size: 532 Bytes
Contents
module Actions module Middleware class ExecuteIfContentsChanged < Dynflow::Middleware def run(*args) pass(*args) if execute? end def finalize(*args) pass(*args) if execute? end private def execute? if action.input.keys.include?('contents_changed') && !action.input['contents_changed'] && !Setting[:force_post_sync_actions] self.action.output[:post_sync_skipped] = true false else true end end end end end
Version data entries
48 entries across 48 versions & 1 rubygems