agent462/sensu-cli — pull request #5 by piavlo (2013-04-30 15:28:30+00:00)
Title: make sure object is string before using color method

or experience this grace

#sensu aggregate show system_git_revision
-------
/var/lib/gems/1.9.1/gems/sensu-cli-0.0.7/lib/sensu-cli/sensu.rb:154:in `block in pretty': undefined method `color' for 1367335132:Fixnum (NoMethodError)
from /var/lib/gems/1.9.1/gems/sensu-cli-0.0.7/lib/sensu-cli/sensu.rb:147:in `each'
from /var/lib/gems/1.9.1/gems/sensu-cli-0.0.7/lib/sensu-cli/sensu.rb:147:in `pretty'
from /var/lib/gems/1.9.1/gems/sensu-cli-0.0.7/lib/sensu-cli/sensu.rb:114:in `make_call'
from /var/lib/gems/1.9.1/gems/sensu-cli-0.0.7/lib/sensu-cli/sensu.rb:27:in `setup'
from /var/lib/gems/1.9.1/gems/sensu-cli-0.0.7/bin/sensu:8:in `'
from /usr/local/bin/sensu:23:in `load'
from /usr/local/bin/sensu:23:in `

'