Module: Fuci::Travis::Build::ShaDetectable
- Included in:
- Master, PullRequest
- Defined in:
- lib/fuci/travis/build/sha_detectable.rb
Instance Method Summary collapse
Instance Method Details
#detect_build_with_sha(sha) ⇒ Object
5 6 7 |
# File 'lib/fuci/travis/build/sha_detectable.rb', line 5 def detect_build_with_sha sha repo_builds.detect { |build| commit(build).sha == sha } end |