check status of Heroku platform
status
display current status of Heroku platform
# File lib/heroku/command/status.rb, line 11 def index status = json_decode(heroku.get("https://status.heroku.com/status.json")) display('') if status.values.all? {|value| value == 'green'} display("All Systems Go: No known issues at this time.") else status.each do |key, value| display("#{key}: #{value}") end response = heroku.xml(heroku.get("https://status.heroku.com/feed")) entry = response.elements.to_a("//entry").first display('') display(entry.elements['title'].text) display(entry.elements['content'].text.gsub(%r\n\n/, "\n ").gsub(%r<[^>]*>/, '')) end display('') end