Sha256: df38e272d8cfa45a6777d80dbee5b2ee62f458a45f7be3613014345cabccbe0c
Contents?: true
Size: 502 Bytes
Versions: 47
Compression:
Stored size: 502 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'] == false self.action.output[:post_sync_skipped] = true false else true end end end end end
Version data entries
47 entries across 47 versions & 1 rubygems