Sha256: 8d4fbb6eacb96ace59befd39a9a8df764cf7b6e487bdcaf2777bb8fec36b23c1
Contents?: true
Size: 674 Bytes
Versions: 8
Compression:
Stored size: 674 Bytes
Contents
module Wordmove module Actions # Runs before push hooks by invoking the external service # Wordmove::Hook class RunBeforePushHook extend ::LightService::Action include Wordmove::Actions::Helpers expects :movefile, :cli_options # @!method execute # @param movefile [Wordmove::Movefile] # @param cli_options [Hash] # @return [LightService::Context] Action's context executed do |context| Wordmove::Hook.run( :push, :before, movefile: context.movefile, simulate: simulate?(cli_options: context.cli_options) ) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems