{"action":"closed","number":95,"pull_request":{"url":"https://api.github.com/repos/mbj/unparser/pulls/95","id":233354242,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMzU0MjQy","html_url":"https://github.com/mbj/unparser/pull/95","diff_url":"https://github.com/mbj/unparser/pull/95.diff","patch_url":"https://github.com/mbj/unparser/pull/95.patch","issue_url":"https://api.github.com/repos/mbj/unparser/issues/95","number":95,"state":"closed","locked":false,"title":"Support ruby 2.5 block rescue syntax","user":{"login":"dgollahon","id":4211073,"node_id":"MDQ6VXNlcjQyMTEwNzM=","avatar_url":"https://avatars1.githubusercontent.com/u/4211073?v=4","gravatar_id":"","url":"https://api.github.com/users/dgollahon","html_url":"https://github.com/dgollahon","followers_url":"https://api.github.com/users/dgollahon/followers","following_url":"https://api.github.com/users/dgollahon/following{/other_user}","gists_url":"https://api.github.com/users/dgollahon/gists{/gist_id}","starred_url":"https://api.github.com/users/dgollahon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgollahon/subscriptions","organizations_url":"https://api.github.com/users/dgollahon/orgs","repos_url":"https://api.github.com/users/dgollahon/repos","events_url":"https://api.github.com/users/dgollahon/events{/privacy}","received_events_url":"https://api.github.com/users/dgollahon/received_events","type":"User","site_admin":false},"body":"Prior to this commit, unparser would emit incorrect source representations for users using the new ruby 2.5 block syntax for rescue/ensure.\r\n\r\nRound-tripping\r\n\r\n```ruby\r\nm do\r\n  foo\r\n  bar\r\nrescue\r\n  baz\r\nend\r\n```\r\n\r\nwould produce\r\n\r\n```ruby\r\nm do\r\n  foo\r\n  bar rescue baz\r\nend\r\n```\r\n\r\ninstead of the original source as it should.\r\n","created_at":"2018-11-25T03:47:25Z","updated_at":"2018-11-25T10:05:59Z","closed_at":"2018-11-25T10:05:59Z","merged_at":"2018-11-25T10:05:59Z","merge_commit_sha":"36d906d8483e236a082948fb50525cb4699f40d7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mbj/unparser/pulls/95/commits","review_comments_url":"https://api.github.com/repos/mbj/unparser/pulls/95/comments","review_comment_url":"https://api.github.com/repos/mbj/unparser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mbj/unparser/issues/95/comments","statuses_url":"https://api.github.com/repos/mbj/unparser/statuses/ee793848ed598f9710fc3220868f6c6ab66014f4","head":{"label":"dgollahon:support-block-syntax","ref":"support-block-syntax","sha":"ee793848ed598f9710fc3220868f6c6ab66014f4","user":{"login":"dgollahon","id":4211073,"node_id":"MDQ6VXNlcjQyMTEwNzM=","avatar_url":"https://avatars1.githubusercontent.com/u/4211073?v=4","gravatar_id":"","url":"https://api.github.com/users/dgollahon","html_url":"https://github.com/dgollahon","followers_url":"https://api.github.com/users/dgollahon/followers","following_url":"https://api.github.com/users/dgollahon/following{/other_user}","gists_url":"https://api.github.com/users/dgollahon/gists{/gist_id}","starred_url":"https://api.github.com/users/dgollahon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgollahon/subscriptions","organizations_url":"https://api.github.com/users/dgollahon/orgs","repos_url":"https://api.github.com/users/dgollahon/repos","events_url":"https://api.github.com/users/dgollahon/events{/privacy}","received_events_url":"https://api.github.com/users/dgollahon/received_events","type":"User","site_admin":false},"repo":{"id":158995026,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg5OTUwMjY=","name":"unparser","full_name":"dgollahon/unparser","private":false,"owner":{"login":"dgollahon","id":4211073,"node_id":"MDQ6VXNlcjQyMTEwNzM=","avatar_url":"https://avatars1.githubusercontent.com/u/4211073?v=4","gravatar_id":"","url":"https://api.github.com/users/dgollahon","html_url":"https://github.com/dgollahon","followers_url":"https://api.github.com/users/dgollahon/followers","following_url":"https://api.github.com/users/dgollahon/following{/other_user}","gists_url":"https://api.github.com/users/dgollahon/gists{/gist_id}","starred_url":"https://api.github.com/users/dgollahon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgollahon/subscriptions","organizations_url":"https://api.github.com/users/dgollahon/orgs","repos_url":"https://api.github.com/users/dgollahon/repos","events_url":"https://api.github.com/users/dgollahon/events{/privacy}","received_events_url":"https://api.github.com/users/dgollahon/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dgollahon/unparser","description":"Turn ruby AST into equivalent ruby source","fork":true,"url":"https://api.github.com/repos/dgollahon/unparser","forks_url":"https://api.github.com/repos/dgollahon/unparser/forks","keys_url":"https://api.github.com/repos/dgollahon/unparser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dgollahon/unparser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dgollahon/unparser/teams","hooks_url":"https://api.github.com/repos/dgollahon/unparser/hooks","issue_events_url":"https://api.github.com/repos/dgollahon/unparser/issues/events{/number}","events_url":"https://api.github.com/repos/dgollahon/unparser/events","assignees_url":"https://api.github.com/repos/dgollahon/unparser/assignees{/user}","branches_url":"https://api.github.com/repos/dgollahon/unparser/branches{/branch}","tags_url":"https://api.github.com/repos/dgollahon/unparser/tags","blobs_url":"https://api.github.com/repos/dgollahon/unparser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dgollahon/unparser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dgollahon/unparser/git/refs{/sha}","trees_url":"https://api.github.com/repos/dgollahon/unparser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dgollahon/unparser/statuses/{sha}","languages_url":"https://api.github.com/repos/dgollahon/unparser/languages","stargazers_url":"https://api.github.com/repos/dgollahon/unparser/stargazers","contributors_url":"https://api.github.com/repos/dgollahon/unparser/contributors","subscribers_url":"https://api.github.com/repos/dgollahon/unparser/subscribers","subscription_url":"https://api.github.com/repos/dgollahon/unparser/subscription","commits_url":"https://api.github.com/repos/dgollahon/unparser/commits{/sha}","git_commits_url":"https://api.github.com/repos/dgollahon/unparser/git/commits{/sha}","comments_url":"https://api.github.com/repos/dgollahon/unparser/comments{/number}","issue_comment_url":"https://api.github.com/repos/dgollahon/unparser/issues/comments{/number}","contents_url":"https://api.github.com/repos/dgollahon/unparser/contents/{+path}","compare_url":"https://api.github.com/repos/dgollahon/unparser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dgollahon/unparser/merges","archive_url":"https://api.github.com/repos/dgollahon/unparser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dgollahon/unparser/downloads","issues_url":"https://api.github.com/repos/dgollahon/unparser/issues{/number}","pulls_url":"https://api.github.com/repos/dgollahon/unparser/pulls{/number}","milestones_url":"https://api.github.com/repos/dgollahon/unparser/milestones{/number}","notifications_url":"https://api.github.com/repos/dgollahon/unparser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dgollahon/unparser/labels{/name}","releases_url":"https://api.github.com/repos/dgollahon/unparser/releases{/id}","deployments_url":"https://api.github.com/repos/dgollahon/unparser/deployments","created_at":"2018-11-25T03:39:37Z","updated_at":"2018-11-25T03:39:40Z","pushed_at":"2018-11-25T03:52:35Z","git_url":"git://github.com/dgollahon/unparser.git","ssh_url":"git@github.com:dgollahon/unparser.git","clone_url":"https://github.com/dgollahon/unparser.git","svn_url":"https://github.com/dgollahon/unparser","homepage":"","size":831,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"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","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mbj:master","ref":"master","sha":"2abef8133b3d19fa46dce18ecf2a14b9c0d84e9a","user":{"login":"mbj","id":117966,"node_id":"MDQ6VXNlcjExNzk2Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/117966?v=4","gravatar_id":"","url":"https://api.github.com/users/mbj","html_url":"https://github.com/mbj","followers_url":"https://api.github.com/users/mbj/followers","following_url":"https://api.github.com/users/mbj/following{/other_user}","gists_url":"https://api.github.com/users/mbj/gists{/gist_id}","starred_url":"https://api.github.com/users/mbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbj/subscriptions","organizations_url":"https://api.github.com/users/mbj/orgs","repos_url":"https://api.github.com/users/mbj/repos","events_url":"https://api.github.com/users/mbj/events{/privacy}","received_events_url":"https://api.github.com/users/mbj/received_events","type":"User","site_admin":false},"repo":{"id":9293459,"node_id":"MDEwOlJlcG9zaXRvcnk5MjkzNDU5","name":"unparser","full_name":"mbj/unparser","private":false,"owner":{"login":"mbj","id":117966,"node_id":"MDQ6VXNlcjExNzk2Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/117966?v=4","gravatar_id":"","url":"https://api.github.com/users/mbj","html_url":"https://github.com/mbj","followers_url":"https://api.github.com/users/mbj/followers","following_url":"https://api.github.com/users/mbj/following{/other_user}","gists_url":"https://api.github.com/users/mbj/gists{/gist_id}","starred_url":"https://api.github.com/users/mbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbj/subscriptions","organizations_url":"https://api.github.com/users/mbj/orgs","repos_url":"https://api.github.com/users/mbj/repos","events_url":"https://api.github.com/users/mbj/events{/privacy}","received_events_url":"https://api.github.com/users/mbj/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mbj/unparser","description":"Turn ruby AST into equivalent ruby source","fork":false,"url":"https://api.github.com/repos/mbj/unparser","forks_url":"https://api.github.com/repos/mbj/unparser/forks","keys_url":"https://api.github.com/repos/mbj/unparser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbj/unparser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbj/unparser/teams","hooks_url":"https://api.github.com/repos/mbj/unparser/hooks","issue_events_url":"https://api.github.com/repos/mbj/unparser/issues/events{/number}","events_url":"https://api.github.com/repos/mbj/unparser/events","assignees_url":"https://api.github.com/repos/mbj/unparser/assignees{/user}","branches_url":"https://api.github.com/repos/mbj/unparser/branches{/branch}","tags_url":"https://api.github.com/repos/mbj/unparser/tags","blobs_url":"https://api.github.com/repos/mbj/unparser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbj/unparser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbj/unparser/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbj/unparser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbj/unparser/statuses/{sha}","languages_url":"https://api.github.com/repos/mbj/unparser/languages","stargazers_url":"https://api.github.com/repos/mbj/unparser/stargazers","contributors_url":"https://api.github.com/repos/mbj/unparser/contributors","subscribers_url":"https://api.github.com/repos/mbj/unparser/subscribers","subscription_url":"https://api.github.com/repos/mbj/unparser/subscription","commits_url":"https://api.github.com/repos/mbj/unparser/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbj/unparser/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbj/unparser/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbj/unparser/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbj/unparser/contents/{+path}","compare_url":"https://api.github.com/repos/mbj/unparser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbj/unparser/merges","archive_url":"https://api.github.com/repos/mbj/unparser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbj/unparser/downloads","issues_url":"https://api.github.com/repos/mbj/unparser/issues{/number}","pulls_url":"https://api.github.com/repos/mbj/unparser/pulls{/number}","milestones_url":"https://api.github.com/repos/mbj/unparser/milestones{/number}","notifications_url":"https://api.github.com/repos/mbj/unparser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbj/unparser/labels{/name}","releases_url":"https://api.github.com/repos/mbj/unparser/releases{/id}","deployments_url":"https://api.github.com/repos/mbj/unparser/deployments","created_at":"2013-04-08T09:54:20Z","updated_at":"2018-11-22T17:14:53Z","pushed_at":"2018-11-25T10:05:59Z","git_url":"git://github.com/mbj/unparser.git","ssh_url":"git@github.com:mbj/unparser.git","clone_url":"https://github.com/mbj/unparser.git","svn_url":"https://github.com/mbj/unparser","homepage":"","size":829,"stargazers_count":190,"watchers_count":190,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":43,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":43,"open_issues":6,"watchers":190,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mbj/unparser/pulls/95"},"html":{"href":"https://github.com/mbj/unparser/pull/95"},"issue":{"href":"https://api.github.com/repos/mbj/unparser/issues/95"},"comments":{"href":"https://api.github.com/repos/mbj/unparser/issues/95/comments"},"review_comments":{"href":"https://api.github.com/repos/mbj/unparser/pulls/95/comments"},"review_comment":{"href":"https://api.github.com/repos/mbj/unparser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mbj/unparser/pulls/95/commits"},"statuses":{"href":"https://api.github.com/repos/mbj/unparser/statuses/ee793848ed598f9710fc3220868f6c6ab66014f4"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mbj","id":117966,"node_id":"MDQ6VXNlcjExNzk2Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/117966?v=4","gravatar_id":"","url":"https://api.github.com/users/mbj","html_url":"https://github.com/mbj","followers_url":"https://api.github.com/users/mbj/followers","following_url":"https://api.github.com/users/mbj/following{/other_user}","gists_url":"https://api.github.com/users/mbj/gists{/gist_id}","starred_url":"https://api.github.com/users/mbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbj/subscriptions","organizations_url":"https://api.github.com/users/mbj/orgs","repos_url":"https://api.github.com/users/mbj/repos","events_url":"https://api.github.com/users/mbj/events{/privacy}","received_events_url":"https://api.github.com/users/mbj/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":77,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"mbj"}}