{"action":"closed","number":56,"pull_request":{"url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/pulls/56","id":53929713,"html_url":"https://github.com/SimonSapin/Frozen-Flask/pull/56","diff_url":"https://github.com/SimonSapin/Frozen-Flask/pull/56.diff","patch_url":"https://github.com/SimonSapin/Frozen-Flask/pull/56.patch","issue_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/issues/56","number":56,"state":"closed","locked":false,"title":"Set endpoint name to generator name when the generator yields strings","user":{"login":"sodastsai","id":270913,"avatar_url":"https://avatars.githubusercontent.com/u/270913?v=3","gravatar_id":"","url":"https://api.github.com/users/sodastsai","html_url":"https://github.com/sodastsai","followers_url":"https://api.github.com/users/sodastsai/followers","following_url":"https://api.github.com/users/sodastsai/following{/other_user}","gists_url":"https://api.github.com/users/sodastsai/gists{/gist_id}","starred_url":"https://api.github.com/users/sodastsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sodastsai/subscriptions","organizations_url":"https://api.github.com/users/sodastsai/orgs","repos_url":"https://api.github.com/users/sodastsai/repos","events_url":"https://api.github.com/users/sodastsai/events{/privacy}","received_events_url":"https://api.github.com/users/sodastsai/received_events","type":"User","site_admin":false},"body":"This PR would fix the `MissingURLGeneratorWarning` warning when using following configuration.\r\n\r\n```\r\n@app.route('/page/<int:code>/')\r\ndef page(code):\r\n    return str(code)\r\n```\r\n```\r\n@freezer.register_generator\r\ndef page():\r\n    return ('/page/{}/'.format(code) for code in range(1, 5))\r\n```","created_at":"2015-12-17T03:11:30Z","updated_at":"2015-12-17T14:20:28Z","closed_at":"2015-12-17T14:20:28Z","merged_at":null,"merge_commit_sha":"691494c5dab5d84eeab7935076ca5c455bfb9b8b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/pulls/56/commits","review_comments_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/pulls/56/comments","review_comment_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/issues/56/comments","statuses_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/statuses/723689db6d1fe5848cdb3e5bd470d476afbae662","head":{"label":"sodastsai:master","ref":"master","sha":"723689db6d1fe5848cdb3e5bd470d476afbae662","user":{"login":"sodastsai","id":270913,"avatar_url":"https://avatars.githubusercontent.com/u/270913?v=3","gravatar_id":"","url":"https://api.github.com/users/sodastsai","html_url":"https://github.com/sodastsai","followers_url":"https://api.github.com/users/sodastsai/followers","following_url":"https://api.github.com/users/sodastsai/following{/other_user}","gists_url":"https://api.github.com/users/sodastsai/gists{/gist_id}","starred_url":"https://api.github.com/users/sodastsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sodastsai/subscriptions","organizations_url":"https://api.github.com/users/sodastsai/orgs","repos_url":"https://api.github.com/users/sodastsai/repos","events_url":"https://api.github.com/users/sodastsai/events{/privacy}","received_events_url":"https://api.github.com/users/sodastsai/received_events","type":"User","site_admin":false},"repo":{"id":48149035,"name":"Frozen-Flask","full_name":"sodastsai/Frozen-Flask","owner":{"login":"sodastsai","id":270913,"avatar_url":"https://avatars.githubusercontent.com/u/270913?v=3","gravatar_id":"","url":"https://api.github.com/users/sodastsai","html_url":"https://github.com/sodastsai","followers_url":"https://api.github.com/users/sodastsai/followers","following_url":"https://api.github.com/users/sodastsai/following{/other_user}","gists_url":"https://api.github.com/users/sodastsai/gists{/gist_id}","starred_url":"https://api.github.com/users/sodastsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sodastsai/subscriptions","organizations_url":"https://api.github.com/users/sodastsai/orgs","repos_url":"https://api.github.com/users/sodastsai/repos","events_url":"https://api.github.com/users/sodastsai/events{/privacy}","received_events_url":"https://api.github.com/users/sodastsai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sodastsai/Frozen-Flask","description":"Freezes a Flask application into a set of static files.","fork":true,"url":"https://api.github.com/repos/sodastsai/Frozen-Flask","forks_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/forks","keys_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/teams","hooks_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/hooks","issue_events_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/issues/events{/number}","events_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/events","assignees_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/assignees{/user}","branches_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/branches{/branch}","tags_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/tags","blobs_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/git/refs{/sha}","trees_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/statuses/{sha}","languages_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/languages","stargazers_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/stargazers","contributors_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/contributors","subscribers_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/subscribers","subscription_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/subscription","commits_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/commits{/sha}","git_commits_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/git/commits{/sha}","comments_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/comments{/number}","issue_comment_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/issues/comments{/number}","contents_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/contents/{+path}","compare_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/merges","archive_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/downloads","issues_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/issues{/number}","pulls_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/pulls{/number}","milestones_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/milestones{/number}","notifications_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/labels{/name}","releases_url":"https://api.github.com/repos/sodastsai/Frozen-Flask/releases{/id}","created_at":"2015-12-17T03:02:50Z","updated_at":"2015-12-17T03:02:51Z","pushed_at":"2015-12-17T03:07:52Z","git_url":"git://github.com/sodastsai/Frozen-Flask.git","ssh_url":"git@github.com:sodastsai/Frozen-Flask.git","clone_url":"https://github.com/sodastsai/Frozen-Flask.git","svn_url":"https://github.com/sodastsai/Frozen-Flask","homepage":"http://packages.python.org/Frozen-Flask/","size":265,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"SimonSapin:master","ref":"master","sha":"7d64e34f4133d5d68074e5a3c2eed1447c49aad5","user":{"login":"SimonSapin","id":291359,"avatar_url":"https://avatars.githubusercontent.com/u/291359?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonSapin","html_url":"https://github.com/SimonSapin","followers_url":"https://api.github.com/users/SimonSapin/followers","following_url":"https://api.github.com/users/SimonSapin/following{/other_user}","gists_url":"https://api.github.com/users/SimonSapin/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSapin/subscriptions","organizations_url":"https://api.github.com/users/SimonSapin/orgs","repos_url":"https://api.github.com/users/SimonSapin/repos","events_url":"https://api.github.com/users/SimonSapin/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSapin/received_events","type":"User","site_admin":false},"repo":{"id":1195619,"name":"Frozen-Flask","full_name":"SimonSapin/Frozen-Flask","owner":{"login":"SimonSapin","id":291359,"avatar_url":"https://avatars.githubusercontent.com/u/291359?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonSapin","html_url":"https://github.com/SimonSapin","followers_url":"https://api.github.com/users/SimonSapin/followers","following_url":"https://api.github.com/users/SimonSapin/following{/other_user}","gists_url":"https://api.github.com/users/SimonSapin/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSapin/subscriptions","organizations_url":"https://api.github.com/users/SimonSapin/orgs","repos_url":"https://api.github.com/users/SimonSapin/repos","events_url":"https://api.github.com/users/SimonSapin/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSapin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SimonSapin/Frozen-Flask","description":"Freezes a Flask application into a set of static files.","fork":false,"url":"https://api.github.com/repos/SimonSapin/Frozen-Flask","forks_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/forks","keys_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/teams","hooks_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/hooks","issue_events_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/issues/events{/number}","events_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/events","assignees_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/assignees{/user}","branches_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/branches{/branch}","tags_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/tags","blobs_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/git/refs{/sha}","trees_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/statuses/{sha}","languages_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/languages","stargazers_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/stargazers","contributors_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/contributors","subscribers_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/subscribers","subscription_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/subscription","commits_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/commits{/sha}","git_commits_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/git/commits{/sha}","comments_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/comments{/number}","issue_comment_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/issues/comments{/number}","contents_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/contents/{+path}","compare_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/merges","archive_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/downloads","issues_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/issues{/number}","pulls_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/pulls{/number}","milestones_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/milestones{/number}","notifications_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/labels{/name}","releases_url":"https://api.github.com/repos/SimonSapin/Frozen-Flask/releases{/id}","created_at":"2010-12-24T14:59:29Z","updated_at":"2015-12-08T09:21:56Z","pushed_at":"2015-12-17T03:11:30Z","git_url":"git://github.com/SimonSapin/Frozen-Flask.git","ssh_url":"git@github.com:SimonSapin/Frozen-Flask.git","clone_url":"https://github.com/SimonSapin/Frozen-Flask.git","svn_url":"https://github.com/SimonSapin/Frozen-Flask","homepage":"http://packages.python.org/Frozen-Flask/","size":623,"stargazers_count":313,"watchers_count":313,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":17,"forks":29,"open_issues":17,"watchers":313,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SimonSapin/Frozen-Flask/pulls/56"},"html":{"href":"https://github.com/SimonSapin/Frozen-Flask/pull/56"},"issue":{"href":"https://api.github.com/repos/SimonSapin/Frozen-Flask/issues/56"},"comments":{"href":"https://api.github.com/repos/SimonSapin/Frozen-Flask/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/SimonSapin/Frozen-Flask/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/SimonSapin/Frozen-Flask/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SimonSapin/Frozen-Flask/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/SimonSapin/Frozen-Flask/statuses/723689db6d1fe5848cdb3e5bd470d476afbae662"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":1}}