Skip to content
Snippets Groups Projects

Adds support for ruby 1.8 in webhook example

Merged gitlab-qa-bot requested to merge github/fork/spuder/issue#7763 into master

Created by: spuder

By using the hash rocket syntax, the web hook will work on older versions of ruby (1.8) in addition to 1.9, 2.0 ect.. Moves do .. end to separate lines for ruby-lint.

Additional Information: http://stackoverflow.com/questions/25899476/webrick-gives-error-unexpected-expecting-end https://github.com/spuder/r10k_gitlab_webhook

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Created by: TeatroIO

    I've prepared a stage. Click to open.

    By Administrator on 2014-09-19T19:42:45 (imported from GitLab project)

    By Administrator on 2014-09-19T19:42:45 (imported from GitLab)

  • Created by: Razer6

    @dosire I think this a good idea! What's your opinion? Endpoints should be as universal as possible.

    By Administrator on 2014-09-20T00:34:11 (imported from GitLab project)

    By Administrator on 2014-09-20T00:34:11 (imported from GitLab)

  • Created by: dosire

    Thanks @spuder and @razer6

    By Administrator on 2014-09-20T09:57:24 (imported from GitLab project)

    By Administrator on 2014-09-20T09:57:24 (imported from GitLab)

Please register or sign in to reply
Loading