Skip to content

Update regex to allow for new sha-ish ids in Gist. #1

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 2 commits into from
Jun 18, 2014

Conversation

leongersing
Copy link

Recently Gist unified all the URLs (which in public gists were numeric
and in private gists, alphanumeric). This made certain flows break but
Gist now should redirect to the proper url if given either the new
SHA-ish id or the classic numeric ID.

This PR also resets some of the assumptions in the test suite to better
match the current implementation of Gist.

Leon Gersing added 2 commits June 17, 2014 18:30
Recently Gist unified all the URLs (which in public gists were numeric
and in private gists, alphanumeric). This made certain flows break but
Gist now should redirect to the proper url if given either the new
SHA-ish id or the classic numeric ID.
@parkr
Copy link
Member

parkr commented Jun 18, 2014

Hey @leongersing! I was going to ask for documentation of the new sha-ish stuff, but it looks like you might be a bit more trustworthy than the average GitHub user. 😉

I ran the tests locally (weird that Travis wasn't turned on...) and it all looks good to me! Will release jekyll-gist 1.1.0 momentarily.

Thank you for the PR!

@parkr parkr merged commit 9198f4e into jekyll:master Jun 18, 2014
parkr added a commit that referenced this pull request Jun 18, 2014
@leongersing
Copy link
Author

thanks @parkr! (Ithaca? I went to Ithaca College back in the 90s! I love that gorges town 😉) PR was my pleasure and If I can be of any further service, just holler to me. 😄 🎆 🤘

@parkr
Copy link
Member

parkr commented Jun 18, 2014

Ithaca? I went to Ithaca College back in the 90s! I love that gorges town

whaaaaaaa??? Currently sitting in CTB, soaking up the Ithaca summer sun. So awesome to meet someone else on GitHub who's studied here! I just graduated from Cornell. 😃

selfie-1

If I can be of any further service, just holler to me.

You da 💣 dot com, man. Thanks, will do!

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants