GitHub PullRequestEvent at 2014-03-18 18:44:05
Repository: pry
Actor: johnny5-
Payload: {"action":"closed","number":1099,"pull_request":{"url":"https://api.github.com/repos/pry/pry/pulls/1099","id":11679948,"html_url":"https://github.com/pry/pry/pull/1099","diff_url":"https://github.com/pry/pry/pull/1099.diff","patch_url":"https://github.com/pry/pry/pull/1099.patch","issue_url":"https://api.github.com/repos/pry/pry/issues/1099","number":1099,"state":"closed","title":"patch non_interactive_mode to prevent double REPL layer","user":{"login":"vincentwoo","id":613320,"avatar_url":"https://avatars.githubusercontent.com/u/613320?","gravatar_id":"ef261163df50f82a96093054933f8b0b","url":"https://api.github.com/users/vincentwoo","html_url":"https://github.com/vincentwoo","followers_url":"https://api.github.com/users/vincentwoo/followers","following_url":"https://api.github.com/users/vincentwoo/following{/other_user}","gists_url":"https://api.github.com/users/vincentwoo/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentwoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentwoo/subscriptions","organizations_url":"https://api.github.com/users/vincentwoo/orgs","repos_url":"https://api.github.com/users/vincentwoo/repos","events_url":"https://api.github.com/users/vincentwoo/events{/privacy}","received_events_url":"https://api.github.com/users/vincentwoo/received_events","type":"User","site_admin":false},"body":"This commit fixes the issue wherein running a file `test.rb` with `pry -i test.rb` causes a second REPL to be run after the REPL created automatically to handle an exception caused by `test.rb` is closed.\r\n\r\n    vincents-air:pry vwoo$ pry -i ../test.rb\r\n\r\n    Exception: RuntimeError: lol\r\n    --\r\n    From: (pry) @ line 2 @ level: 0 of backtrace (of 21).\r\n\r\n        1: x = 1\r\n     => 2: raise 'lol'\r\n    ...exception encountered, going interactive!\r\n    [3] pry(main)> <-- hitting ctrl-d here\r\n    [1] pry(main)> <-- yields a second console instead of quitting\r\n\r\n\r\n`test.rb`:\r\n\r\n    x = 1\r\n    raise 'lol'\r\n\r\n","created_at":"2014-01-20T16:09:37Z","updated_at":"2014-03-18T18:44:05Z","closed_at":"2014-03-18T18:44:05Z","merged_at":null,"merge_commit_sha":"6c95b7d79425bc041024cee81955c81c814abc19","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pry/pry/pulls/1099/commits","review_comments_url":"https://api.github.com/repos/pry/pry/pulls/1099/comments","review_comment_url":"https://api.github.com/repos/pry/pry/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pry/pry/issues/1099/comments","statuses_url":"https://api.github.com/repos/pry/pry/statuses/56cf6f1f0a60d929e099d1619131ab5b9817e1b1","head":{"label":"vincentwoo:master","ref":"master","sha":"56cf6f1f0a60d929e099d1619131ab5b9817e1b1","user":{"login":"vincentwoo","id":613320,"avatar_url":"https://avatars.githubusercontent.com/u/613320?","gravatar_id":"ef261163df50f82a96093054933f8b0b","url":"https://api.github.com/users/vincentwoo","html_url":"https://github.com/vincentwoo","followers_url":"https://api.github.com/users/vincentwoo/followers","following_url":"https://api.github.com/users/vincentwoo/following{/other_user}","gists_url":"https://api.github.com/users/vincentwoo/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentwoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentwoo/subscriptions","organizations_url":"https://api.github.com/users/vincentwoo/orgs","repos_url":"https://api.github.com/users/vincentwoo/repos","events_url":"https://api.github.com/users/vincentwoo/events{/privacy}","received_events_url":"https://api.github.com/users/vincentwoo/received_events","type":"User","site_admin":false},"repo":{"id":16070930,"name":"pry","full_name":"vincentwoo/pry","owner":{"login":"vincentwoo","id":613320,"avatar_url":"https://avatars.githubusercontent.com/u/613320?","gravatar_id":"ef261163df50f82a96093054933f8b0b","url":"https://api.github.com/users/vincentwoo","html_url":"https://github.com/vincentwoo","followers_url":"https://api.github.com/users/vincentwoo/followers","following_url":"https://api.github.com/users/vincentwoo/following{/other_user}","gists_url":"https://api.github.com/users/vincentwoo/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentwoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentwoo/subscriptions","organizations_url":"https://api.github.com/users/vincentwoo/orgs","repos_url":"https://api.github.com/users/vincentwoo/repos","events_url":"https://api.github.com/users/vincentwoo/events{/privacy}","received_events_url":"https://api.github.com/users/vincentwoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vincentwoo/pry","description":"An IRB alternative and runtime developer console","fork":true,"url":"https://api.github.com/repos/vincentwoo/pry","forks_url":"https://api.github.com/repos/vincentwoo/pry/forks","keys_url":"https://api.github.com/repos/vincentwoo/pry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vincentwoo/pry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vincentwoo/pry/teams","hooks_url":"https://api.github.com/repos/vincentwoo/pry/hooks","issue_events_url":"https://api.github.com/repos/vincentwoo/pry/issues/events{/number}","events_url":"https://api.github.com/repos/vincentwoo/pry/events","assignees_url":"https://api.github.com/repos/vincentwoo/pry/assignees{/user}","branches_url":"https://api.github.com/repos/vincentwoo/pry/branches{/branch}","tags_url":"https://api.github.com/repos/vincentwoo/pry/tags","blobs_url":"https://api.github.com/repos/vincentwoo/pry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vincentwoo/pry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vincentwoo/pry/git/refs{/sha}","trees_url":"https://api.github.com/repos/vincentwoo/pry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vincentwoo/pry/statuses/{sha}","languages_url":"https://api.github.com/repos/vincentwoo/pry/languages","stargazers_url":"https://api.github.com/repos/vincentwoo/pry/stargazers","contributors_url":"https://api.github.com/repos/vincentwoo/pry/contributors","subscribers_url":"https://api.github.com/repos/vincentwoo/pry/subscribers","subscription_url":"https://api.github.com/repos/vincentwoo/pry/subscription","commits_url":"https://api.github.com/repos/vincentwoo/pry/commits{/sha}","git_commits_url":"https://api.github.com/repos/vincentwoo/pry/git/commits{/sha}","comments_url":"https://api.github.com/repos/vincentwoo/pry/comments{/number}","issue_comment_url":"https://api.github.com/repos/vincentwoo/pry/issues/comments/{number}","contents_url":"https://api.github.com/repos/vincentwoo/pry/contents/{+path}","compare_url":"https://api.github.com/repos/vincentwoo/pry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vincentwoo/pry/merges","archive_url":"https://api.github.com/repos/vincentwoo/pry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vincentwoo/pry/downloads","issues_url":"https://api.github.com/repos/vincentwoo/pry/issues{/number}","pulls_url":"https://api.github.com/repos/vincentwoo/pry/pulls{/number}","milestones_url":"https://api.github.com/repos/vincentwoo/pry/milestones{/number}","notifications_url":"https://api.github.com/repos/vincentwoo/pry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vincentwoo/pry/labels{/name}","releases_url":"https://api.github.com/repos/vincentwoo/pry/releases{/id}","created_at":"2014-01-20T13:08:35Z","updated_at":"2014-01-20T16:09:37Z","pushed_at":"2014-01-20T16:07:04Z","git_url":"git://github.com/vincentwoo/pry.git","ssh_url":"git@github.com:vincentwoo/pry.git","clone_url":"https://github.com/vincentwoo/pry.git","svn_url":"https://github.com/vincentwoo/pry","homepage":"","size":9672,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"pry:master","ref":"master","sha":"f27802fec43669ce444cac4a1a721e076a9e1269","user":{"login":"pry","id":845682,"avatar_url":"https://avatars.githubusercontent.com/u/845682?","gravatar_id":"a4d18d0b6cf7ecf7f8b15e61eef139a8","url":"https://api.github.com/users/pry","html_url":"https://github.com/pry","followers_url":"https://api.github.com/users/pry/followers","following_url":"https://api.github.com/users/pry/following{/other_user}","gists_url":"https://api.github.com/users/pry/gists{/gist_id}","starred_url":"https://api.github.com/users/pry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pry/subscriptions","organizations_url":"https://api.github.com/users/pry/orgs","repos_url":"https://api.github.com/users/pry/repos","events_url":"https://api.github.com/users/pry/events{/privacy}","received_events_url":"https://api.github.com/users/pry/received_events","type":"Organization","site_admin":false},"repo":{"id":1145832,"name":"pry","full_name":"pry/pry","owner":{"login":"pry","id":845682,"avatar_url":"https://avatars.githubusercontent.com/u/845682?","gravatar_id":"a4d18d0b6cf7ecf7f8b15e61eef139a8","url":"https://api.github.com/users/pry","html_url":"https://github.com/pry","followers_url":"https://api.github.com/users/pry/followers","following_url":"https://api.github.com/users/pry/following{/other_user}","gists_url":"https://api.github.com/users/pry/gists{/gist_id}","starred_url":"https://api.github.com/users/pry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pry/subscriptions","organizations_url":"https://api.github.com/users/pry/orgs","repos_url":"https://api.github.com/users/pry/repos","events_url":"https://api.github.com/users/pry/events{/privacy}","received_events_url":"https://api.github.com/users/pry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pry/pry","description":"An IRB alternative and runtime developer console","fork":false,"url":"https://api.github.com/repos/pry/pry","forks_url":"https://api.github.com/repos/pry/pry/forks","keys_url":"https://api.github.com/repos/pry/pry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pry/pry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pry/pry/teams","hooks_url":"https://api.github.com/repos/pry/pry/hooks","issue_events_url":"https://api.github.com/repos/pry/pry/issues/events{/number}","events_url":"https://api.github.com/repos/pry/pry/events","assignees_url":"https://api.github.com/repos/pry/pry/assignees{/user}","branches_url":"https://api.github.com/repos/pry/pry/branches{/branch}","tags_url":"https://api.github.com/repos/pry/pry/tags","blobs_url":"https://api.github.com/repos/pry/pry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pry/pry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pry/pry/git/refs{/sha}","trees_url":"https://api.github.com/repos/pry/pry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pry/pry/statuses/{sha}","languages_url":"https://api.github.com/repos/pry/pry/languages","stargazers_url":"https://api.github.com/repos/pry/pry/stargazers","contributors_url":"https://api.github.com/repos/pry/pry/contributors","subscribers_url":"https://api.github.com/repos/pry/pry/subscribers","subscription_url":"https://api.github.com/repos/pry/pry/subscription","commits_url":"https://api.github.com/repos/pry/pry/commits{/sha}","git_commits_url":"https://api.github.com/repos/pry/pry/git/commits{/sha}","comments_url":"https://api.github.com/repos/pry/pry/comments{/number}","issue_comment_url":"https://api.github.com/repos/pry/pry/issues/comments/{number}","contents_url":"https://api.github.com/repos/pry/pry/contents/{+path}","compare_url":"https://api.github.com/repos/pry/pry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pry/pry/merges","archive_url":"https://api.github.com/repos/pry/pry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pry/pry/downloads","issues_url":"https://api.github.com/repos/pry/pry/issues{/number}","pulls_url":"https://api.github.com/repos/pry/pry/pulls{/number}","milestones_url":"https://api.github.com/repos/pry/pry/milestones{/number}","notifications_url":"https://api.github.com/repos/pry/pry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pry/pry/labels{/name}","releases_url":"https://api.github.com/repos/pry/pry/releases{/id}","created_at":"2010-12-07T08:10:47Z","updated_at":"2014-03-18T04:34:47Z","pushed_at":"2014-03-18T04:34:46Z","git_url":"git://github.com/pry/pry.git","ssh_url":"git@github.com:pry/pry.git","clone_url":"https://github.com/pry/pry.git","svn_url":"https://github.com/pry/pry","homepage":"","size":25230,"stargazers_count":2653,"watchers_count":2653,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":230,"mirror_url":null,"open_issues_count":106,"forks":230,"open_issues":106,"watchers":2653,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pry/pry/pulls/1099"},"html":{"href":"https://github.com/pry/pry/pull/1099"},"issue":{"href":"https://api.github.com/repos/pry/pry/issues/1099"},"comments":{"href":"https://api.github.com/repos/pry/pry/issues/1099/comments"},"review_comments":{"href":"https://api.github.com/repos/pry/pry/pulls/1099/comments"},"review_comment":{"href":"https://api.github.com/repos/pry/pry/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pry/pry/pulls/1099/commits"},"statuses":{"href":"https://api.github.com/repos/pry/pry/statuses/56cf6f1f0a60d929e099d1619131ab5b9817e1b1"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":8,"review_comments":0,"commits":1,"additions":4,"deletions":3,"changed_files":2}}