lib/github-status/in.rb in concourse-github-status-0.4.0 vs lib/github-status/in.rb in concourse-github-status-0.4.1
- old
+ new
@@ -10,10 +10,10 @@
include Core
include Support::Params
include Support::Git
include Support::GitHub
- def status
+ def state
github
.statuses(repo, sha)
.select { |status| status.context == context }
.map(&:state)
.first