• Jonathon Reinhart's avatar
    Pass push options to GitLab /internal/post_receive API · 30a06eca
    Jonathon Reinhart authored
    push_opts[] is named as such so that it becomes an array in the
    GitLab internal Grape::API params hash. If it were named push_opts, only
    the final (scalar) push_opts parameter would be present.
    
    Also update specs to include push_opts parameter:
    - gitlab_post_receive_spec
    - gitlab_net_spec for the internal API change
    30a06eca
gitlab_post_receive.rb 3.41 KB