lib/cobra_commander/executor/concurrent.rb in cobra_commander-0.14.0 vs lib/cobra_commander/executor/concurrent.rb in cobra_commander-0.15.0
- old
+ new
@@ -21,20 +21,20 @@
end
@multi.auto_spin
@results
end
- private
+ private
def pastel
@pastel ||= Pastel.new
end
def spinner_options
@spinner_options ||= {
format: :bouncing,
success_mark: pastel.green("[DONE]"),
- error_mark: pastel.red("[ERROR]")
+ error_mark: pastel.red("[ERROR]"),
}
end
def register_job(component, command)
@multi.register(":spinner #{component.name}", **spinner_options) do |spinner|