class CapistranoMulticonfigParallel::BundlerStatus

class that is used to execute the capistrano tasks and it is invoked by the celluloid worker

Public Instance Methods

call_bundler_progress(data) click to toggle source
# File lib/capistrano_multiconfig_parallel/classes/bundler_status.rb, line 19
def call_bundler_progress(data)
  if @actor.respond_to?(:async)
    @actor.async.show_bundler_progress(data)
  else
    @actor.show_bundler_progress(data)
  end
end
on_read_stdout(data) click to toggle source
# File lib/capistrano_multiconfig_parallel/classes/bundler_status.rb, line 6
def on_read_stdout(data)
  show_bundler_progress(data)
  super(data)
end
show_bundler_progress(data) click to toggle source
# File lib/capistrano_multiconfig_parallel/classes/bundler_status.rb, line 11
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