Sha256: 24b042aa9ec63ae9e7aaeb23fb9c90bea2024fb3dbd9679a92a36b3ed14f6b84
Contents?: true
Size: 761 Bytes
Versions: 30
Compression:
Stored size: 761 Bytes
Contents
require_relative './runner_status' module CapistranoMulticonfigParallel # class that is used to execute the capistrano tasks and it is invoked by the celluloid worker class BundlerStatus < CapistranoMulticonfigParallel::RunnerStatus def on_read_stdout(data) show_bundler_progress(data) super(data) end def show_bundler_progress(data) data = data.strip return if data.blank? || data == '.' if @actor.present? && @actor.respond_to?(:show_bundler_progress) call_bundler_progress(data) end end def call_bundler_progress(data) if @actor.respond_to?(:async) @actor.async.show_bundler_progress(data) else @actor.show_bundler_progress(data) end end end end
Version data entries
30 entries across 30 versions & 1 rubygems