{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/crofty/mapstatic/pulls/12","id":188754502,"html_url":"https://github.com/crofty/mapstatic/pull/12","diff_url":"https://github.com/crofty/mapstatic/pull/12.diff","patch_url":"https://github.com/crofty/mapstatic/pull/12.patch","issue_url":"https://api.github.com/repos/crofty/mapstatic/issues/12","number":12,"state":"closed","locked":false,"title":"Possibility to configure user-agent and other settings when requesting tiles","user":{"login":"holli","id":100112,"avatar_url":"https://avatars0.githubusercontent.com/u/100112?v=4","gravatar_id":"","url":"https://api.github.com/users/holli","html_url":"https://github.com/holli","followers_url":"https://api.github.com/users/holli/followers","following_url":"https://api.github.com/users/holli/following{/other_user}","gists_url":"https://api.github.com/users/holli/gists{/gist_id}","starred_url":"https://api.github.com/users/holli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holli/subscriptions","organizations_url":"https://api.github.com/users/holli/orgs","repos_url":"https://api.github.com/users/holli/repos","events_url":"https://api.github.com/users/holli/events{/privacy}","received_events_url":"https://api.github.com/users/holli/received_events","type":"User","site_admin":false},"body":"So for example changing user-agent or timeout\r\n\r\n```\r\nMapstatic.options[:typhoeus_options][:headers][\"User-Agent\"] = 'Mapstatic creator - admin@admin.inv'\r\nMapstatic.options[:typhoeus_options][:timeout] = 5\r\n```\r\n\r\nAlso changed:\r\n\r\n- updated major gems to newer versions (e.g. mini_magick was forbidden to use < 4.4, now using ~> 4)\r\n- changed from faraday to use typhoeus directly, one less gem needed and easier to configure settings.","created_at":"2018-05-17T14:23:05Z","updated_at":"2018-05-17T14:33:46Z","closed_at":"2018-05-17T14:33:46Z","merged_at":"2018-05-17T14:33:46Z","merge_commit_sha":"3ceb634dba4c0964e04183428013716e42d99470","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/crofty/mapstatic/pulls/12/commits","review_comments_url":"https://api.github.com/repos/crofty/mapstatic/pulls/12/comments","review_comment_url":"https://api.github.com/repos/crofty/mapstatic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crofty/mapstatic/issues/12/comments","statuses_url":"https://api.github.com/repos/crofty/mapstatic/statuses/be76534b8794a2a56f99deae7af20fc0aa1e505c","head":{"label":"holli:holliv1","ref":"holliv1","sha":"be76534b8794a2a56f99deae7af20fc0aa1e505c","user":{"login":"holli","id":100112,"avatar_url":"https://avatars0.githubusercontent.com/u/100112?v=4","gravatar_id":"","url":"https://api.github.com/users/holli","html_url":"https://github.com/holli","followers_url":"https://api.github.com/users/holli/followers","following_url":"https://api.github.com/users/holli/following{/other_user}","gists_url":"https://api.github.com/users/holli/gists{/gist_id}","starred_url":"https://api.github.com/users/holli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holli/subscriptions","organizations_url":"https://api.github.com/users/holli/orgs","repos_url":"https://api.github.com/users/holli/repos","events_url":"https://api.github.com/users/holli/events{/privacy}","received_events_url":"https://api.github.com/users/holli/received_events","type":"User","site_admin":false},"repo":{"id":67832820,"name":"mapstatic","full_name":"holli/mapstatic","owner":{"login":"holli","id":100112,"avatar_url":"https://avatars0.githubusercontent.com/u/100112?v=4","gravatar_id":"","url":"https://api.github.com/users/holli","html_url":"https://github.com/holli","followers_url":"https://api.github.com/users/holli/followers","following_url":"https://api.github.com/users/holli/following{/other_user}","gists_url":"https://api.github.com/users/holli/gists{/gist_id}","starred_url":"https://api.github.com/users/holli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holli/subscriptions","organizations_url":"https://api.github.com/users/holli/orgs","repos_url":"https://api.github.com/users/holli/repos","events_url":"https://api.github.com/users/holli/events{/privacy}","received_events_url":"https://api.github.com/users/holli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/holli/mapstatic","description":"Static map generator","fork":true,"url":"https://api.github.com/repos/holli/mapstatic","forks_url":"https://api.github.com/repos/holli/mapstatic/forks","keys_url":"https://api.github.com/repos/holli/mapstatic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/holli/mapstatic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/holli/mapstatic/teams","hooks_url":"https://api.github.com/repos/holli/mapstatic/hooks","issue_events_url":"https://api.github.com/repos/holli/mapstatic/issues/events{/number}","events_url":"https://api.github.com/repos/holli/mapstatic/events","assignees_url":"https://api.github.com/repos/holli/mapstatic/assignees{/user}","branches_url":"https://api.github.com/repos/holli/mapstatic/branches{/branch}","tags_url":"https://api.github.com/repos/holli/mapstatic/tags","blobs_url":"https://api.github.com/repos/holli/mapstatic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/holli/mapstatic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/holli/mapstatic/git/refs{/sha}","trees_url":"https://api.github.com/repos/holli/mapstatic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/holli/mapstatic/statuses/{sha}","languages_url":"https://api.github.com/repos/holli/mapstatic/languages","stargazers_url":"https://api.github.com/repos/holli/mapstatic/stargazers","contributors_url":"https://api.github.com/repos/holli/mapstatic/contributors","subscribers_url":"https://api.github.com/repos/holli/mapstatic/subscribers","subscription_url":"https://api.github.com/repos/holli/mapstatic/subscription","commits_url":"https://api.github.com/repos/holli/mapstatic/commits{/sha}","git_commits_url":"https://api.github.com/repos/holli/mapstatic/git/commits{/sha}","comments_url":"https://api.github.com/repos/holli/mapstatic/comments{/number}","issue_comment_url":"https://api.github.com/repos/holli/mapstatic/issues/comments{/number}","contents_url":"https://api.github.com/repos/holli/mapstatic/contents/{+path}","compare_url":"https://api.github.com/repos/holli/mapstatic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/holli/mapstatic/merges","archive_url":"https://api.github.com/repos/holli/mapstatic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/holli/mapstatic/downloads","issues_url":"https://api.github.com/repos/holli/mapstatic/issues{/number}","pulls_url":"https://api.github.com/repos/holli/mapstatic/pulls{/number}","milestones_url":"https://api.github.com/repos/holli/mapstatic/milestones{/number}","notifications_url":"https://api.github.com/repos/holli/mapstatic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/holli/mapstatic/labels{/name}","releases_url":"https://api.github.com/repos/holli/mapstatic/releases{/id}","deployments_url":"https://api.github.com/repos/holli/mapstatic/deployments","created_at":"2016-09-09T21:08:11Z","updated_at":"2016-09-09T21:08:13Z","pushed_at":"2016-09-10T19:11:40Z","git_url":"git://github.com/holli/mapstatic.git","ssh_url":"git@github.com:holli/mapstatic.git","clone_url":"https://github.com/holli/mapstatic.git","svn_url":"https://github.com/holli/mapstatic","homepage":null,"size":1647,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":0,"watchers":0,"default_branch":"holliv1"}},"base":{"label":"crofty:master","ref":"master","sha":"6b5b7f45ba0dd11018a96216fce599dc29226f01","user":{"login":"crofty","id":12736,"avatar_url":"https://avatars0.githubusercontent.com/u/12736?v=4","gravatar_id":"","url":"https://api.github.com/users/crofty","html_url":"https://github.com/crofty","followers_url":"https://api.github.com/users/crofty/followers","following_url":"https://api.github.com/users/crofty/following{/other_user}","gists_url":"https://api.github.com/users/crofty/gists{/gist_id}","starred_url":"https://api.github.com/users/crofty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crofty/subscriptions","organizations_url":"https://api.github.com/users/crofty/orgs","repos_url":"https://api.github.com/users/crofty/repos","events_url":"https://api.github.com/users/crofty/events{/privacy}","received_events_url":"https://api.github.com/users/crofty/received_events","type":"User","site_admin":false},"repo":{"id":14726292,"name":"mapstatic","full_name":"crofty/mapstatic","owner":{"login":"crofty","id":12736,"avatar_url":"https://avatars0.githubusercontent.com/u/12736?v=4","gravatar_id":"","url":"https://api.github.com/users/crofty","html_url":"https://github.com/crofty","followers_url":"https://api.github.com/users/crofty/followers","following_url":"https://api.github.com/users/crofty/following{/other_user}","gists_url":"https://api.github.com/users/crofty/gists{/gist_id}","starred_url":"https://api.github.com/users/crofty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crofty/subscriptions","organizations_url":"https://api.github.com/users/crofty/orgs","repos_url":"https://api.github.com/users/crofty/repos","events_url":"https://api.github.com/users/crofty/events{/privacy}","received_events_url":"https://api.github.com/users/crofty/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/crofty/mapstatic","description":"Static map generator","fork":false,"url":"https://api.github.com/repos/crofty/mapstatic","forks_url":"https://api.github.com/repos/crofty/mapstatic/forks","keys_url":"https://api.github.com/repos/crofty/mapstatic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crofty/mapstatic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crofty/mapstatic/teams","hooks_url":"https://api.github.com/repos/crofty/mapstatic/hooks","issue_events_url":"https://api.github.com/repos/crofty/mapstatic/issues/events{/number}","events_url":"https://api.github.com/repos/crofty/mapstatic/events","assignees_url":"https://api.github.com/repos/crofty/mapstatic/assignees{/user}","branches_url":"https://api.github.com/repos/crofty/mapstatic/branches{/branch}","tags_url":"https://api.github.com/repos/crofty/mapstatic/tags","blobs_url":"https://api.github.com/repos/crofty/mapstatic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crofty/mapstatic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crofty/mapstatic/git/refs{/sha}","trees_url":"https://api.github.com/repos/crofty/mapstatic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crofty/mapstatic/statuses/{sha}","languages_url":"https://api.github.com/repos/crofty/mapstatic/languages","stargazers_url":"https://api.github.com/repos/crofty/mapstatic/stargazers","contributors_url":"https://api.github.com/repos/crofty/mapstatic/contributors","subscribers_url":"https://api.github.com/repos/crofty/mapstatic/subscribers","subscription_url":"https://api.github.com/repos/crofty/mapstatic/subscription","commits_url":"https://api.github.com/repos/crofty/mapstatic/commits{/sha}","git_commits_url":"https://api.github.com/repos/crofty/mapstatic/git/commits{/sha}","comments_url":"https://api.github.com/repos/crofty/mapstatic/comments{/number}","issue_comment_url":"https://api.github.com/repos/crofty/mapstatic/issues/comments{/number}","contents_url":"https://api.github.com/repos/crofty/mapstatic/contents/{+path}","compare_url":"https://api.github.com/repos/crofty/mapstatic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crofty/mapstatic/merges","archive_url":"https://api.github.com/repos/crofty/mapstatic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crofty/mapstatic/downloads","issues_url":"https://api.github.com/repos/crofty/mapstatic/issues{/number}","pulls_url":"https://api.github.com/repos/crofty/mapstatic/pulls{/number}","milestones_url":"https://api.github.com/repos/crofty/mapstatic/milestones{/number}","notifications_url":"https://api.github.com/repos/crofty/mapstatic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crofty/mapstatic/labels{/name}","releases_url":"https://api.github.com/repos/crofty/mapstatic/releases{/id}","deployments_url":"https://api.github.com/repos/crofty/mapstatic/deployments","created_at":"2013-11-26T19:03:04Z","updated_at":"2018-05-17T14:05:18Z","pushed_at":"2018-05-17T14:33:46Z","git_url":"git://github.com/crofty/mapstatic.git","ssh_url":"git@github.com:crofty/mapstatic.git","clone_url":"https://github.com/crofty/mapstatic.git","svn_url":"https://github.com/crofty/mapstatic","homepage":null,"size":1644,"stargazers_count":17,"watchers_count":17,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":8,"open_issues":5,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crofty/mapstatic/pulls/12"},"html":{"href":"https://github.com/crofty/mapstatic/pull/12"},"issue":{"href":"https://api.github.com/repos/crofty/mapstatic/issues/12"},"comments":{"href":"https://api.github.com/repos/crofty/mapstatic/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/crofty/mapstatic/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/crofty/mapstatic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crofty/mapstatic/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/crofty/mapstatic/statuses/be76534b8794a2a56f99deae7af20fc0aa1e505c"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"crofty","id":12736,"avatar_url":"https://avatars0.githubusercontent.com/u/12736?v=4","gravatar_id":"","url":"https://api.github.com/users/crofty","html_url":"https://github.com/crofty","followers_url":"https://api.github.com/users/crofty/followers","following_url":"https://api.github.com/users/crofty/following{/other_user}","gists_url":"https://api.github.com/users/crofty/gists{/gist_id}","starred_url":"https://api.github.com/users/crofty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crofty/subscriptions","organizations_url":"https://api.github.com/users/crofty/orgs","repos_url":"https://api.github.com/users/crofty/repos","events_url":"https://api.github.com/users/crofty/events{/privacy}","received_events_url":"https://api.github.com/users/crofty/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":64,"deletions":60,"changed_files":8}}
{"actor":{"display_login":"crofty"}}