lib/billd/status.rb in billd-0.0.1 vs lib/billd/status.rb in billd-0.0.2

- old
+ new

@@ -7,12 +7,12 @@ def initialize uri @builds = Billd::Parser.parse(uri) end def overall - result = :success - result = :failure if @builds.any? { |b| b.outcome == :failure } - result = :building if @builds.any? { |b| b.outcome == :building } + result = :success! + result = :failure! if @builds.any? { |b| b.outcome == :failure! } + result = :building! if @builds.any? { |b| b.outcome == :building! } result end end end \ No newline at end of file