dynamoid

https://github.com/veraticus/dynamoid

Ruby ORM for Amazon's DynamoDB

SystemNoteService#add_commits

Called when commits are added to a Merge Request

noteable         - Noteable object
project          - Project owning noteable
author           - User performing the change
new_commits      - Array of Commits added since last push
existing_commits - Array of Commits added in a previous push
oldrev           - Optional String SHA of a previous Commit

See new_commit_summary and existing_commit_summary.

Returns the created Note object

Source | Google | Stack overflow

Edit

git clone [email protected]:veraticus/dynamoid.git

cd dynamoid

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-SystemNoteService-add_commits-for-pr


# Commit to git

git add git commit -m "better docs for SystemNoteService#add_commits"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-SystemNoteService-add_commits-for-pr

hub pull-request


# Celebrate!