Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@timhaines
Copy link
Contributor

This adds support for the repositories merge_base API endpoint documented here.

It uses the sample response from the docs for spec/fixtures/merge_base.json.

Copy link
Owner

@NARKOZ NARKOZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I've left comments regarding the docs.

# Gitlab.merge_base(42, ['master', 'feature/branch'])
#
# @param [Integer] project The ID of a project.
# @param [String] refs Array containing 2 commit SHAs, branch names, or tags.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@param [Array]

# Gitlab.merge_base(42, ['master', 'feature/branch'])
# Gitlab.merge_base(42, ['master', 'feature/branch'])
#
# @param [Integer] project The ID of a project.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@param [Integer, String] project The ID or URL-encoded path of the project.

@timhaines
Copy link
Contributor Author

@NARKOZ Thanks for the quick review. Comments addressed.

@NARKOZ NARKOZ merged commit 805d2ef into NARKOZ:master Aug 17, 2018
@NARKOZ
Copy link
Owner

NARKOZ commented Aug 17, 2018

Thank you.

@timhaines timhaines deleted the add-merge-base-support branch August 17, 2018 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants