{"action":"closed","number":57,"pull_request":{"url":"https://api.github.com/repos/Devex/article_json/pulls/57","id":141882952,"html_url":"https://github.com/Devex/article_json/pull/57","diff_url":"https://github.com/Devex/article_json/pull/57.diff","patch_url":"https://github.com/Devex/article_json/pull/57.patch","issue_url":"https://api.github.com/repos/Devex/article_json/issues/57","number":57,"state":"closed","locked":false,"title":"Add custom configuration support and set oembed user agent","user":{"login":"dsager","id":1056502,"avatar_url":"https://avatars0.githubusercontent.com/u/1056502?v=4","gravatar_id":"","url":"https://api.github.com/users/dsager","html_url":"https://github.com/dsager","followers_url":"https://api.github.com/users/dsager/followers","following_url":"https://api.github.com/users/dsager/following{/other_user}","gists_url":"https://api.github.com/users/dsager/gists{/gist_id}","starred_url":"https://api.github.com/users/dsager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsager/subscriptions","organizations_url":"https://api.github.com/users/dsager/orgs","repos_url":"https://api.github.com/users/dsager/repos","events_url":"https://api.github.com/users/dsager/events{/privacy}","received_events_url":"https://api.github.com/users/dsager/received_events","type":"User","site_admin":false},"body":"#### Add top level configuration block\nThis allows the gem consumer to set configuration values the ruby-way:\n```ruby\nArticleJSON.configure do |config|\n  config.oembed_user_agent = 'article-json oembed'\nend\n```\n\n#### Set user agent header for oembed requests\nCertain services (like facebook) require a user agent for oembed requests, now we can easily set one via config :tada:","created_at":"2017-09-19T15:32:27Z","updated_at":"2017-09-19T15:43:45Z","closed_at":"2017-09-19T15:43:45Z","merged_at":"2017-09-19T15:43:45Z","merge_commit_sha":"2950544efe543ecb1975026d4b37bc0397f56131","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Devex/article_json/pulls/57/commits","review_comments_url":"https://api.github.com/repos/Devex/article_json/pulls/57/comments","review_comment_url":"https://api.github.com/repos/Devex/article_json/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Devex/article_json/issues/57/comments","statuses_url":"https://api.github.com/repos/Devex/article_json/statuses/78ca9d7171877356e88562b4a1ae3351003c124a","head":{"label":"dsager:config","ref":"config","sha":"78ca9d7171877356e88562b4a1ae3351003c124a","user":{"login":"dsager","id":1056502,"avatar_url":"https://avatars0.githubusercontent.com/u/1056502?v=4","gravatar_id":"","url":"https://api.github.com/users/dsager","html_url":"https://github.com/dsager","followers_url":"https://api.github.com/users/dsager/followers","following_url":"https://api.github.com/users/dsager/following{/other_user}","gists_url":"https://api.github.com/users/dsager/gists{/gist_id}","starred_url":"https://api.github.com/users/dsager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsager/subscriptions","organizations_url":"https://api.github.com/users/dsager/orgs","repos_url":"https://api.github.com/users/dsager/repos","events_url":"https://api.github.com/users/dsager/events{/privacy}","received_events_url":"https://api.github.com/users/dsager/received_events","type":"User","site_admin":false},"repo":{"id":102473085,"name":"article_json","full_name":"dsager/article_json","owner":{"login":"dsager","id":1056502,"avatar_url":"https://avatars0.githubusercontent.com/u/1056502?v=4","gravatar_id":"","url":"https://api.github.com/users/dsager","html_url":"https://github.com/dsager","followers_url":"https://api.github.com/users/dsager/followers","following_url":"https://api.github.com/users/dsager/following{/other_user}","gists_url":"https://api.github.com/users/dsager/gists{/gist_id}","starred_url":"https://api.github.com/users/dsager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsager/subscriptions","organizations_url":"https://api.github.com/users/dsager/orgs","repos_url":"https://api.github.com/users/dsager/repos","events_url":"https://api.github.com/users/dsager/events{/privacy}","received_events_url":"https://api.github.com/users/dsager/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dsager/article_json","description":"JSON Format for News Articles & Ruby Gem","fork":true,"url":"https://api.github.com/repos/dsager/article_json","forks_url":"https://api.github.com/repos/dsager/article_json/forks","keys_url":"https://api.github.com/repos/dsager/article_json/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsager/article_json/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsager/article_json/teams","hooks_url":"https://api.github.com/repos/dsager/article_json/hooks","issue_events_url":"https://api.github.com/repos/dsager/article_json/issues/events{/number}","events_url":"https://api.github.com/repos/dsager/article_json/events","assignees_url":"https://api.github.com/repos/dsager/article_json/assignees{/user}","branches_url":"https://api.github.com/repos/dsager/article_json/branches{/branch}","tags_url":"https://api.github.com/repos/dsager/article_json/tags","blobs_url":"https://api.github.com/repos/dsager/article_json/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsager/article_json/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsager/article_json/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsager/article_json/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsager/article_json/statuses/{sha}","languages_url":"https://api.github.com/repos/dsager/article_json/languages","stargazers_url":"https://api.github.com/repos/dsager/article_json/stargazers","contributors_url":"https://api.github.com/repos/dsager/article_json/contributors","subscribers_url":"https://api.github.com/repos/dsager/article_json/subscribers","subscription_url":"https://api.github.com/repos/dsager/article_json/subscription","commits_url":"https://api.github.com/repos/dsager/article_json/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsager/article_json/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsager/article_json/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsager/article_json/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsager/article_json/contents/{+path}","compare_url":"https://api.github.com/repos/dsager/article_json/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsager/article_json/merges","archive_url":"https://api.github.com/repos/dsager/article_json/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsager/article_json/downloads","issues_url":"https://api.github.com/repos/dsager/article_json/issues{/number}","pulls_url":"https://api.github.com/repos/dsager/article_json/pulls{/number}","milestones_url":"https://api.github.com/repos/dsager/article_json/milestones{/number}","notifications_url":"https://api.github.com/repos/dsager/article_json/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsager/article_json/labels{/name}","releases_url":"https://api.github.com/repos/dsager/article_json/releases{/id}","deployments_url":"https://api.github.com/repos/dsager/article_json/deployments","created_at":"2017-09-05T11:29:46Z","updated_at":"2017-09-06T08:20:24Z","pushed_at":"2017-09-19T15:32:26Z","git_url":"git://github.com/dsager/article_json.git","ssh_url":"git@github.com:dsager/article_json.git","clone_url":"https://github.com/dsager/article_json.git","svn_url":"https://github.com/dsager/article_json","homepage":"","size":177,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Devex:master","ref":"master","sha":"63ea4def492f7e1cbc20ff89778afde6ee8843b6","user":{"login":"Devex","id":3806616,"avatar_url":"https://avatars2.githubusercontent.com/u/3806616?v=4","gravatar_id":"","url":"https://api.github.com/users/Devex","html_url":"https://github.com/Devex","followers_url":"https://api.github.com/users/Devex/followers","following_url":"https://api.github.com/users/Devex/following{/other_user}","gists_url":"https://api.github.com/users/Devex/gists{/gist_id}","starred_url":"https://api.github.com/users/Devex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Devex/subscriptions","organizations_url":"https://api.github.com/users/Devex/orgs","repos_url":"https://api.github.com/users/Devex/repos","events_url":"https://api.github.com/users/Devex/events{/privacy}","received_events_url":"https://api.github.com/users/Devex/received_events","type":"Organization","site_admin":false},"repo":{"id":102473070,"name":"article_json","full_name":"Devex/article_json","owner":{"login":"Devex","id":3806616,"avatar_url":"https://avatars2.githubusercontent.com/u/3806616?v=4","gravatar_id":"","url":"https://api.github.com/users/Devex","html_url":"https://github.com/Devex","followers_url":"https://api.github.com/users/Devex/followers","following_url":"https://api.github.com/users/Devex/following{/other_user}","gists_url":"https://api.github.com/users/Devex/gists{/gist_id}","starred_url":"https://api.github.com/users/Devex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Devex/subscriptions","organizations_url":"https://api.github.com/users/Devex/orgs","repos_url":"https://api.github.com/users/Devex/repos","events_url":"https://api.github.com/users/Devex/events{/privacy}","received_events_url":"https://api.github.com/users/Devex/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Devex/article_json","description":"JSON Format for News Articles & Ruby Gem ","fork":false,"url":"https://api.github.com/repos/Devex/article_json","forks_url":"https://api.github.com/repos/Devex/article_json/forks","keys_url":"https://api.github.com/repos/Devex/article_json/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Devex/article_json/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Devex/article_json/teams","hooks_url":"https://api.github.com/repos/Devex/article_json/hooks","issue_events_url":"https://api.github.com/repos/Devex/article_json/issues/events{/number}","events_url":"https://api.github.com/repos/Devex/article_json/events","assignees_url":"https://api.github.com/repos/Devex/article_json/assignees{/user}","branches_url":"https://api.github.com/repos/Devex/article_json/branches{/branch}","tags_url":"https://api.github.com/repos/Devex/article_json/tags","blobs_url":"https://api.github.com/repos/Devex/article_json/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Devex/article_json/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Devex/article_json/git/refs{/sha}","trees_url":"https://api.github.com/repos/Devex/article_json/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Devex/article_json/statuses/{sha}","languages_url":"https://api.github.com/repos/Devex/article_json/languages","stargazers_url":"https://api.github.com/repos/Devex/article_json/stargazers","contributors_url":"https://api.github.com/repos/Devex/article_json/contributors","subscribers_url":"https://api.github.com/repos/Devex/article_json/subscribers","subscription_url":"https://api.github.com/repos/Devex/article_json/subscription","commits_url":"https://api.github.com/repos/Devex/article_json/commits{/sha}","git_commits_url":"https://api.github.com/repos/Devex/article_json/git/commits{/sha}","comments_url":"https://api.github.com/repos/Devex/article_json/comments{/number}","issue_comment_url":"https://api.github.com/repos/Devex/article_json/issues/comments{/number}","contents_url":"https://api.github.com/repos/Devex/article_json/contents/{+path}","compare_url":"https://api.github.com/repos/Devex/article_json/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Devex/article_json/merges","archive_url":"https://api.github.com/repos/Devex/article_json/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Devex/article_json/downloads","issues_url":"https://api.github.com/repos/Devex/article_json/issues{/number}","pulls_url":"https://api.github.com/repos/Devex/article_json/pulls{/number}","milestones_url":"https://api.github.com/repos/Devex/article_json/milestones{/number}","notifications_url":"https://api.github.com/repos/Devex/article_json/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Devex/article_json/labels{/name}","releases_url":"https://api.github.com/repos/Devex/article_json/releases{/id}","deployments_url":"https://api.github.com/repos/Devex/article_json/deployments","created_at":"2017-09-05T11:29:36Z","updated_at":"2017-09-05T14:50:34Z","pushed_at":"2017-09-19T15:43:45Z","git_url":"git://github.com/Devex/article_json.git","ssh_url":"git@github.com:Devex/article_json.git","clone_url":"https://github.com/Devex/article_json.git","svn_url":"https://github.com/Devex/article_json","homepage":"","size":160,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Devex/article_json/pulls/57"},"html":{"href":"https://github.com/Devex/article_json/pull/57"},"issue":{"href":"https://api.github.com/repos/Devex/article_json/issues/57"},"comments":{"href":"https://api.github.com/repos/Devex/article_json/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/Devex/article_json/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/Devex/article_json/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Devex/article_json/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/Devex/article_json/statuses/78ca9d7171877356e88562b4a1ae3351003c124a"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"dsager","id":1056502,"avatar_url":"https://avatars0.githubusercontent.com/u/1056502?v=4","gravatar_id":"","url":"https://api.github.com/users/dsager","html_url":"https://github.com/dsager","followers_url":"https://api.github.com/users/dsager/followers","following_url":"https://api.github.com/users/dsager/following{/other_user}","gists_url":"https://api.github.com/users/dsager/gists{/gist_id}","starred_url":"https://api.github.com/users/dsager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsager/subscriptions","organizations_url":"https://api.github.com/users/dsager/orgs","repos_url":"https://api.github.com/users/dsager/repos","events_url":"https://api.github.com/users/dsager/events{/privacy}","received_events_url":"https://api.github.com/users/dsager/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":66,"deletions":3,"changed_files":5}}
{"actor":{"display_login":"dsager"}}