Class: PullReview::Coverage::Git
- Inherits:
-
Object
- Object
- PullReview::Coverage::Git
- Defined in:
- lib/pullreview/coverage/git.rb
Overview
Fetch git infos
Instance Method Summary collapse
-
#infos ⇒ Object
return hash with head, head: all commit information sha, author, committer, message, committed_at remotes: list of git urls (name url) committed_at: commit time(as UNIX timestamp) branch: name of the branch.
Instance Method Details
#infos ⇒ Object
return hash with head,
head: all commit information
sha, author, committer, message, committed_at
remotes: list of git urls (name url)
committed_at: commit time(as UNIX timestamp)
branch: name of the branch.
11 12 13 14 15 16 17 |
# File 'lib/pullreview/coverage/git.rb', line 11 def infos { head: last_commit, remotes: remotes, branch: branch_from_git_or_continuous_build } end |