{"action":"closed","number":55,"pull_request":{"url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/pulls/55","id":30235181,"html_url":"https://github.com/deivid-rodriguez/pry-byebug/pull/55","diff_url":"https://github.com/deivid-rodriguez/pry-byebug/pull/55.diff","patch_url":"https://github.com/deivid-rodriguez/pry-byebug/pull/55.patch","issue_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/issues/55","number":55,"state":"closed","locked":false,"title":"Add frame nav commands up and down","user":{"login":"christian-schulze","id":239226,"avatar_url":"https://avatars.githubusercontent.com/u/239226?v=3","gravatar_id":"","url":"https://api.github.com/users/christian-schulze","html_url":"https://github.com/christian-schulze","followers_url":"https://api.github.com/users/christian-schulze/followers","following_url":"https://api.github.com/users/christian-schulze/following{/other_user}","gists_url":"https://api.github.com/users/christian-schulze/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-schulze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-schulze/subscriptions","organizations_url":"https://api.github.com/users/christian-schulze/orgs","repos_url":"https://api.github.com/users/christian-schulze/repos","events_url":"https://api.github.com/users/christian-schulze/events{/privacy}","received_events_url":"https://api.github.com/users/christian-schulze/received_events","type":"User","site_admin":false},"body":"This is a proof of concept for adding frame navigation commands (up and down) to **pry-byebug** through **byebug**. I don't really expect this to be merged as there are a number of challenges in how **byebug's** code is factored, which make it difficult to implement correctly.\r\n\r\nHopefully this can start a conversation and perhaps some refactoring to better support these kind of features in future.\r\n\r\nSome problems encountered:\r\n- After an up or down command, **pry** shows a syntax highlighted block of code, but **byebug** also shows its own block of code. This could be fixed by refactoring **byebug's** `UpCommand` and `DownCommand` classes to allow disabling execution of `ListCommand`. \r\n- **pry** and **byebuy** use frame indexes in opposite directions. For example, given a call stack 3 levels deep, **pry** will show a frame of 3, while **byebug** will show 0.\r\n\r\nI'd love to see these types of commands implemented, but not sure if the effort is worthwhile yet. What do you think?","created_at":"2015-03-01T02:03:23Z","updated_at":"2015-03-14T01:00:34Z","closed_at":"2015-03-14T01:00:34Z","merged_at":null,"merge_commit_sha":"f8717b1296764bf7c3e60f01265ef09a49ad2314","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/pulls/55/commits","review_comments_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/pulls/55/comments","review_comment_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/pulls/comments{/number}","comments_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/issues/55/comments","statuses_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/statuses/46881d1e165093e028f23af6161934b018ad3709","head":{"label":"christian-schulze:add-frame-nav-commands-up-and-down","ref":"add-frame-nav-commands-up-and-down","sha":"46881d1e165093e028f23af6161934b018ad3709","user":{"login":"christian-schulze","id":239226,"avatar_url":"https://avatars.githubusercontent.com/u/239226?v=3","gravatar_id":"","url":"https://api.github.com/users/christian-schulze","html_url":"https://github.com/christian-schulze","followers_url":"https://api.github.com/users/christian-schulze/followers","following_url":"https://api.github.com/users/christian-schulze/following{/other_user}","gists_url":"https://api.github.com/users/christian-schulze/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-schulze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-schulze/subscriptions","organizations_url":"https://api.github.com/users/christian-schulze/orgs","repos_url":"https://api.github.com/users/christian-schulze/repos","events_url":"https://api.github.com/users/christian-schulze/events{/privacy}","received_events_url":"https://api.github.com/users/christian-schulze/received_events","type":"User","site_admin":false},"repo":{"id":31482911,"name":"pry-byebug","full_name":"christian-schulze/pry-byebug","owner":{"login":"christian-schulze","id":239226,"avatar_url":"https://avatars.githubusercontent.com/u/239226?v=3","gravatar_id":"","url":"https://api.github.com/users/christian-schulze","html_url":"https://github.com/christian-schulze","followers_url":"https://api.github.com/users/christian-schulze/followers","following_url":"https://api.github.com/users/christian-schulze/following{/other_user}","gists_url":"https://api.github.com/users/christian-schulze/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-schulze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-schulze/subscriptions","organizations_url":"https://api.github.com/users/christian-schulze/orgs","repos_url":"https://api.github.com/users/christian-schulze/repos","events_url":"https://api.github.com/users/christian-schulze/events{/privacy}","received_events_url":"https://api.github.com/users/christian-schulze/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/christian-schulze/pry-byebug","description":"Pry navigation commands via byebug","fork":true,"url":"https://api.github.com/repos/christian-schulze/pry-byebug","forks_url":"https://api.github.com/repos/christian-schulze/pry-byebug/forks","keys_url":"https://api.github.com/repos/christian-schulze/pry-byebug/keys{/key_id}","collaborators_url":"https://api.github.com/repos/christian-schulze/pry-byebug/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/christian-schulze/pry-byebug/teams","hooks_url":"https://api.github.com/repos/christian-schulze/pry-byebug/hooks","issue_events_url":"https://api.github.com/repos/christian-schulze/pry-byebug/issues/events{/number}","events_url":"https://api.github.com/repos/christian-schulze/pry-byebug/events","assignees_url":"https://api.github.com/repos/christian-schulze/pry-byebug/assignees{/user}","branches_url":"https://api.github.com/repos/christian-schulze/pry-byebug/branches{/branch}","tags_url":"https://api.github.com/repos/christian-schulze/pry-byebug/tags","blobs_url":"https://api.github.com/repos/christian-schulze/pry-byebug/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/christian-schulze/pry-byebug/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/christian-schulze/pry-byebug/git/refs{/sha}","trees_url":"https://api.github.com/repos/christian-schulze/pry-byebug/git/trees{/sha}","statuses_url":"https://api.github.com/repos/christian-schulze/pry-byebug/statuses/{sha}","languages_url":"https://api.github.com/repos/christian-schulze/pry-byebug/languages","stargazers_url":"https://api.github.com/repos/christian-schulze/pry-byebug/stargazers","contributors_url":"https://api.github.com/repos/christian-schulze/pry-byebug/contributors","subscribers_url":"https://api.github.com/repos/christian-schulze/pry-byebug/subscribers","subscription_url":"https://api.github.com/repos/christian-schulze/pry-byebug/subscription","commits_url":"https://api.github.com/repos/christian-schulze/pry-byebug/commits{/sha}","git_commits_url":"https://api.github.com/repos/christian-schulze/pry-byebug/git/commits{/sha}","comments_url":"https://api.github.com/repos/christian-schulze/pry-byebug/comments{/number}","issue_comment_url":"https://api.github.com/repos/christian-schulze/pry-byebug/issues/comments{/number}","contents_url":"https://api.github.com/repos/christian-schulze/pry-byebug/contents/{+path}","compare_url":"https://api.github.com/repos/christian-schulze/pry-byebug/compare/{base}...{head}","merges_url":"https://api.github.com/repos/christian-schulze/pry-byebug/merges","archive_url":"https://api.github.com/repos/christian-schulze/pry-byebug/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/christian-schulze/pry-byebug/downloads","issues_url":"https://api.github.com/repos/christian-schulze/pry-byebug/issues{/number}","pulls_url":"https://api.github.com/repos/christian-schulze/pry-byebug/pulls{/number}","milestones_url":"https://api.github.com/repos/christian-schulze/pry-byebug/milestones{/number}","notifications_url":"https://api.github.com/repos/christian-schulze/pry-byebug/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/christian-schulze/pry-byebug/labels{/name}","releases_url":"https://api.github.com/repos/christian-schulze/pry-byebug/releases{/id}","created_at":"2015-03-01T01:19:12Z","updated_at":"2015-03-13T21:18:50Z","pushed_at":"2015-03-14T01:00:34Z","git_url":"git://github.com/christian-schulze/pry-byebug.git","ssh_url":"git@github.com:christian-schulze/pry-byebug.git","clone_url":"https://github.com/christian-schulze/pry-byebug.git","svn_url":"https://github.com/christian-schulze/pry-byebug","homepage":"","size":239,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"deivid-rodriguez:master","ref":"master","sha":"13c19cb46e8e48cfc169b62fd96d91f27dcf3d5f","user":{"login":"deivid-rodriguez","id":2887858,"avatar_url":"https://avatars.githubusercontent.com/u/2887858?v=3","gravatar_id":"","url":"https://api.github.com/users/deivid-rodriguez","html_url":"https://github.com/deivid-rodriguez","followers_url":"https://api.github.com/users/deivid-rodriguez/followers","following_url":"https://api.github.com/users/deivid-rodriguez/following{/other_user}","gists_url":"https://api.github.com/users/deivid-rodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/deivid-rodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deivid-rodriguez/subscriptions","organizations_url":"https://api.github.com/users/deivid-rodriguez/orgs","repos_url":"https://api.github.com/users/deivid-rodriguez/repos","events_url":"https://api.github.com/users/deivid-rodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/deivid-rodriguez/received_events","type":"User","site_admin":false},"repo":{"id":9824738,"name":"pry-byebug","full_name":"deivid-rodriguez/pry-byebug","owner":{"login":"deivid-rodriguez","id":2887858,"avatar_url":"https://avatars.githubusercontent.com/u/2887858?v=3","gravatar_id":"","url":"https://api.github.com/users/deivid-rodriguez","html_url":"https://github.com/deivid-rodriguez","followers_url":"https://api.github.com/users/deivid-rodriguez/followers","following_url":"https://api.github.com/users/deivid-rodriguez/following{/other_user}","gists_url":"https://api.github.com/users/deivid-rodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/deivid-rodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deivid-rodriguez/subscriptions","organizations_url":"https://api.github.com/users/deivid-rodriguez/orgs","repos_url":"https://api.github.com/users/deivid-rodriguez/repos","events_url":"https://api.github.com/users/deivid-rodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/deivid-rodriguez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deivid-rodriguez/pry-byebug","description":"Pry navigation commands via byebug","fork":false,"url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug","forks_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/forks","keys_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/teams","hooks_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/hooks","issue_events_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/issues/events{/number}","events_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/events","assignees_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/assignees{/user}","branches_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/branches{/branch}","tags_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/tags","blobs_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/git/refs{/sha}","trees_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/statuses/{sha}","languages_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/languages","stargazers_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/stargazers","contributors_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/contributors","subscribers_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/subscribers","subscription_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/subscription","commits_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/commits{/sha}","git_commits_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/git/commits{/sha}","comments_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/comments{/number}","issue_comment_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/issues/comments{/number}","contents_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/contents/{+path}","compare_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/merges","archive_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/downloads","issues_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/issues{/number}","pulls_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/pulls{/number}","milestones_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/milestones{/number}","notifications_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/labels{/name}","releases_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/releases{/id}","created_at":"2013-05-02T23:30:11Z","updated_at":"2015-03-13T15:10:21Z","pushed_at":"2015-03-13T15:10:21Z","git_url":"git://github.com/deivid-rodriguez/pry-byebug.git","ssh_url":"git@github.com:deivid-rodriguez/pry-byebug.git","clone_url":"https://github.com/deivid-rodriguez/pry-byebug.git","svn_url":"https://github.com/deivid-rodriguez/pry-byebug","homepage":"","size":783,"stargazers_count":468,"watchers_count":468,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":9,"forks":34,"open_issues":9,"watchers":468,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/pulls/55"},"html":{"href":"https://github.com/deivid-rodriguez/pry-byebug/pull/55"},"issue":{"href":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/issues/55"},"comments":{"href":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/statuses/46881d1e165093e028f23af6161934b018ad3709"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":16,"review_comments":0,"commits":0,"additions":0,"deletions":0,"changed_files":0}}