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-3.2.0.alpha2 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-3.2.0.alpha1 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-3.1.1 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-3.1.0 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-3.1.0.beta1 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-3.0.5 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-3.0.4 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-3.0.3 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-3.0.2 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-3.0.0 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-3.0.0.rc0 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-3.0.0.beta2 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.4.1 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.4.0 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.4.0.rc2 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.4.0.rc1 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.3.0 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.3.0.rc1 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.2.0 lib/locomotive/wagon/commands/loggers/pull_logger.rb
locomotivecms_wagon-2.2.0.rc3 lib/locomotive/wagon/commands/loggers/pull_logger.rb