8000 Enable support for `topics` property by cmbuckley · Pull Request #166 · jekyll/github-metadata · GitHub
[go: up one dir, main page]

Skip to content

Enable support for topics property #166

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 3, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Allow mercy-preview header in stub
8000
  • Loading branch information
cmbuckley committed May 29, 2019
commit 5cae4bfcd7808e16fb6134ad5d9937383a800b71
4 changes: 2 additions & 2 deletions script/webmock-repopulate
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
curl_me() {
(set -x; curl \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
-H "Accept: application/vnd.github.${3:-v3}+json" \
-H "Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3" \
-H "Content-Type: application/json" \
-H "User-Agent: Octokit Ruby Gem 4.2.0" \
Expand All @@ -18,6 +18,6 @@ curl_me "/repos/jekyll/github-metadata/contributors?per_page=100" "repo_contribu
curl_me "/repos/jekyll/github-metadata/releases?per_page=100" "repo_releases"
curl_me "/orgs/jekyll" "org"
curl_me "/orgs/jekyll/public_members" "org_members"
curl_me "/users/jekyll/repos?per_page=100&type=public" "owner_repos"
curl_me "/users/jekyll/repos?per_page=100&type=public" "owner_repos" "mercy-preview"
curl_me "/repos/jekyll/github-metadata/pages" "repo_pages"
curl_me "/repos/jekyll/github-metadata/releases/latest" "latest_release"
2 changes: 1 addition & 1 deletion spec/spec_helpers/web_mock_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module WebMockHelper
REQUEST_HEADERS = {
"Accept" => %r!application/vnd\.github\.(v3|drax-preview)\+json!,
"Accept" => %r!application/vnd\.github\.(v3|drax-preview|mercy-preview)\+json!,
"Accept-Encoding" => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3",
"Content-Type" => "application/json",
"User-Agent" => "Octokit Ruby Gem #{Octokit::VERSION}",
Expand Down
0