Skip to content

allow usage of a custom GitLab URL #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 9, 2018
Merged

allow usage of a custom GitLab URL #14

merged 3 commits into from
Mar 9, 2018

Conversation

ahanselka
Copy link
Contributor

This PR will add the ability to set a custom GitLab instance in _config.yml if you happen to be using Pages in a self-hosted environment.

This is pretty much my first contribution to a Ruby gem, so I welcome any feedback on making it better.

@coveralls
Copy link

coveralls commented Mar 9, 2018

Coverage Status

Coverage increased (+0.6%) to 80.0% when pulling 1754edc on ahanselka:enable-custom-gitlab into 578d0ab on JustinAiken:master.

Copy link
Owner

@JustinAiken JustinAiken left a comment

Choose a reason for hiding this comment

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

This is pretty much my first contribution to a Ruby gem

An absolute fantastic contribution! Added a needed feature, added tests, kept it inline with the way the rest of the code is written, and kept CI green.

I'll give my own blog's cert a run with this later today just as a final sanity check, but as long as it works I'll merge and push out a new release today.
Have you given it a try with your own gitlab instance?

@@ -1,3 +1,7 @@
# 0.2.1
Copy link
Owner

Choose a reason for hiding this comment

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

  • Usually when doing a PR to a gem/library, just put something like NEXT, and leave it to the maintainers to bump the version..
  • Also to follow semvar, this is a new "feature", so I probably should bump it to 0.3.0... but it's such a small feature I'll .z release it

So no worries this time, just a note for the next PRs you send 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Awesome, good to know. Thank you for the feedback!

@ahanselka
Copy link
Contributor Author

I have used it with my own instance and with the commit I just added, it worked.

@JustinAiken JustinAiken merged commit 5daaca9 into JustinAiken:master Mar 9, 2018
@JustinAiken
Copy link
Owner

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.

3 participants