Sha256: 453e10ba7850907ab60daa085320c37e11bb798c942017cea751cc54abe0db15

Contents?: true

Size: 390 Bytes

Versions: 40

Compression:

Stored size: 390 Bytes

Contents

require_relative 'base_logger'

module Locomotive::Wagon

  class PullLogger < BaseLogger

    def initialize
      subscribe :start do |event|
        log "\n"
        log "Pulling #{event.payload[:name].camelcase}", { color: :black, background: :white }
      end

    end

    private

    def subscribe(action = nil, &block)
      _subscribe('pull', action, &block)
    end

  end

end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
locomotivecms_wagon-2.2.0.rc2 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.2.0.rc1 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.2.0.beta1 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.1.1 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.1.0 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.1.0.rc5 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.1.0.rc4 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.1.0.rc3 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.0.1 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.0.0 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.0.0.rc8 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.0.0.rc7 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.0.0.rc6 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.0.0.rc5 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.0.0.rc4 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.0.0.rc3 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.0.0.rc2 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.0.0.rc1 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.0.0.pre.beta.2 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.0.0.pre.beta.1 lib/locomotive/wagon/commands/loggers/pull_logger.rb