#!/usr/bin/env ruby require 'yaml' require 'rainbow' results = YAML::load(STDIN) success = results["successes"] || [] errors = results["errors"] || [] success.each { |ruby| puts ruby.color(:green) } errors.each { |ruby| puts ruby.color(:red) } exit -1 unless errors.empty?