state_machine
https://github.com/pluginaweek/state_machine
Ruby
Adds support for creating state machines for attributes on any Ruby class
GitPushService#execute
This method will be called after each git update and only if the provided user and project are present in GitLab. All callbacks for post receive action should be placed here. Next, this method: 1. Creates the push event 2. Updates merge requests 3. Recognizes cross-references from commit messages 4. Executes the project's webhooks 5. Executes the project's services 6. Checks if the project's main language has changed
Edit
git clone [email protected]:pluginaweek/state_machine.git
cd state_machine
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-GitPushService-execute-for-pr
# Commit to gitgit add git commit -m "better docs for GitPushService#execute"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-GitPushService-execute-for-pr
hub pull-request
# Celebrate!