grape
https://github.com/intridea/grape
Ruby
An opinionated framework for creating REST-like APIs in Ruby.
Ci::Pipeline.latest_status_per_commit
Returns a Hash containing the latest pipeline status for every given
commit.
The keys of this Hash are the commit SHAs, the values the statuses.
commits - The list of commit SHAs to get the status for.
ref - The ref to scope the data to (e.g. "master"). If the ref is not
given we simply get the latest status for the commits, regardless
of what refs their pipelines belong to.Edit
git clone [email protected]:intridea/grape.git
cd grape
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Ci--Pipeline-latest_status_per_commit-for-pr
# Commit to gitgit add git commit -m "better docs for Ci::Pipeline.latest_status_per_commit"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Ci--Pipeline-latest_status_per_commit-for-pr
hub pull-request
# Celebrate!