GitHub PullRequestReviewCommentEvent at 2014-10-17 20:04:39
Repository: blog
Actor: TiuTalk
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/Helabs/blog/pulls/comments/19040113","id":19040113,"diff_hunk":"@@ -0,0 +1,66 @@\n+---\n+layout: post\n+title: \"Debugando com pry\"\n+author: Pedro Henrique\n+categories:\n+  - ruby\n+  - rails\n+  - debug\n+  - pry\n+---\n+\n+As vezes procuramos uma ferramenta pra auxiliar no debug de uma aplicação,\n+que nem sempre é uma tarefa muito tranquila. Veja como pry pode facilitar\n+esse processo.\n+<!--more-->\n+**O que é pry?**\n+\n+Pry é uma alternativa para o irb, que traz consigo, uma série de recursos\n+que nos auxiliam bastante no desenvolvimento de uma aplicação, como syntax\n+highlighting, suporte a plugins e acesso a documentação da linguagem.\n+\n+**Instalação**\n+\n+O primeiro passo, é instalarmos a gem [pry](https://github.com/pry/pry):\n+{% highlight bash linenos %}\n+  $ gem install pry\n+{% endhighlight %}\n+\n+ou então adicionarmos ao nosso gemfile, e dar bundle install:\n+\n+{% highlight ruby linenos %}\n+  # Gemfile\n+  gem 'pry'\n+{% endhighlight %}\n+\n+{% highlight bash linenos %}\n+  $ bundle install\n+{% endhighlight %}\n+\n+**Utilizando o pry**\n+\n+Podemos iniar o pry de várias formas, dependendo da sua intenção com o mesmo:\n+\n+se quiser iniciar uma sessão interativa no lugar do irb, por exemplo, basta","path":"_posts/2014-10-17-debugando-com-pry.markdown","position":44,"original_position":44,"commit_id":"e14526dffd719092baba60f357df9ff4b776ef2c","original_commit_id":"e14526dffd719092baba60f357df9ff4b776ef2c","user":{"login":"TiuTalk","id":145339,"avatar_url":"https://avatars.githubusercontent.com/u/145339?v=2","gravatar_id":"","url":"https://api.github.com/users/TiuTalk","html_url":"https://github.com/TiuTalk","followers_url":"https://api.github.com/users/TiuTalk/followers","following_url":"https://api.github.com/users/TiuTalk/following{/other_user}","gists_url":"https://api.github.com/users/TiuTalk/gists{/gist_id}","starred_url":"https://api.github.com/users/TiuTalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TiuTalk/subscriptions","organizations_url":"https://api.github.com/users/TiuTalk/orgs","repos_url":"https://api.github.com/users/TiuTalk/repos","events_url":"https://api.github.com/users/TiuTalk/events{/privacy}","received_events_url":"https://api.github.com/users/TiuTalk/received_events","type":"User","site_admin":false},"body":"A primeira letra de toda frase tem que ser maiúscula :+1: ","created_at":"2014-10-17T20:04:39Z","updated_at":"2014-10-17T20:04:39Z","html_url":"https://github.com/Helabs/blog/pull/283#discussion_r19040113","pull_request_url":"https://api.github.com/repos/Helabs/blog/pulls/283","_links":{"self":{"href":"https://api.github.com/repos/Helabs/blog/pulls/comments/19040113"},"html":{"href":"https://github.com/Helabs/blog/pull/283#discussion_r19040113"},"pull_request":{"href":"https://api.github.com/repos/Helabs/blog/pulls/283"}}},"pull_request":{"url":"https://api.github.com/repos/Helabs/blog/pulls/283","id":22947289,"html_url":"https://github.com/Helabs/blog/pull/283","diff_url":"https://github.com/Helabs/blog/pull/283.diff","patch_url":"https://github.com/Helabs/blog/pull/283.patch","issue_url":"https://api.github.com/repos/Helabs/blog/issues/283","number":283,"state":"open","locked":false,"title":"Post/debugando com pry","user":{"login":"phinfonet","id":1197211,"avatar_url":"https://avatars.githubusercontent.com/u/1197211?v=2","gravatar_id":"","url":"https://api.github.com/users/phinfonet","html_url":"https://github.com/phinfonet","followers_url":"https://api.github.com/users/phinfonet/followers","following_url":"https://api.github.com/users/phinfonet/following{/other_user}","gists_url":"https://api.github.com/users/phinfonet/gists{/gist_id}","starred_url":"https://api.github.com/users/phinfonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phinfonet/subscriptions","organizations_url":"https://api.github.com/users/phinfonet/orgs","repos_url":"https://api.github.com/users/phinfonet/repos","events_url":"https://api.github.com/users/phinfonet/events{/privacy}","received_events_url":"https://api.github.com/users/phinfonet/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-10-17T19:32:23Z","updated_at":"2014-10-17T20:04:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aff5299544baeba58a2e9eb2e1523b87d7f39db0","assignee":{"login":"beatrizcp87","id":5721795,"avatar_url":"https://avatars.githubusercontent.com/u/5721795?v=2","gravatar_id":"","url":"https://api.github.com/users/beatrizcp87","html_url":"https://github.com/beatrizcp87","followers_url":"https://api.github.com/users/beatrizcp87/followers","following_url":"https://api.github.com/users/beatrizcp87/following{/other_user}","gists_url":"https://api.github.com/users/beatrizcp87/gists{/gist_id}","starred_url":"https://api.github.com/users/beatrizcp87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beatrizcp87/subscriptions","organizations_url":"https://api.github.com/users/beatrizcp87/orgs","repos_url":"https://api.github.com/users/beatrizcp87/repos","events_url":"https://api.github.com/users/beatrizcp87/events{/privacy}","received_events_url":"https://api.github.com/users/beatrizcp87/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Helabs/blog/pulls/283/commits","review_comments_url":"https://api.github.com/repos/Helabs/blog/pulls/283/comments","review_comment_url":"https://api.github.com/repos/Helabs/blog/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Helabs/blog/issues/283/comments","statuses_url":"https://api.github.com/repos/Helabs/blog/statuses/e14526dffd719092baba60f357df9ff4b776ef2c","head":{"label":"Helabs:post/debugando-com-pry","ref":"post/debugando-com-pry","sha":"e14526dffd719092baba60f357df9ff4b776ef2c","user":{"login":"Helabs","id":366128,"avatar_url":"https://avatars.githubusercontent.com/u/366128?v=2","gravatar_id":"","url":"https://api.github.com/users/Helabs","html_url":"https://github.com/Helabs","followers_url":"https://api.github.com/users/Helabs/followers","following_url":"https://api.github.com/users/Helabs/following{/other_user}","gists_url":"https://api.github.com/users/Helabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Helabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Helabs/subscriptions","organizations_url":"https://api.github.com/users/Helabs/orgs","repos_url":"https://api.github.com/users/Helabs/repos","events_url":"https://api.github.com/users/Helabs/events{/privacy}","received_events_url":"https://api.github.com/users/Helabs/received_events","type":"Organization","site_admin":false},"repo":{"id":11905673,"name":"blog","full_name":"Helabs/blog","owner":{"login":"Helabs","id":366128,"avatar_url":"https://avatars.githubusercontent.com/u/366128?v=2","gravatar_id":"","url":"https://api.github.com/users/Helabs","html_url":"https://github.com/Helabs","followers_url":"https://api.github.com/users/Helabs/followers","following_url":"https://api.github.com/users/Helabs/following{/other_user}","gists_url":"https://api.github.com/users/Helabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Helabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Helabs/subscriptions","organizations_url":"https://api.github.com/users/Helabs/orgs","repos_url":"https://api.github.com/users/Helabs/repos","events_url":"https://api.github.com/users/Helabs/events{/privacy}","received_events_url":"https://api.github.com/users/Helabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Helabs/blog","description":"HE:labs Blog","fork":false,"url":"https://api.github.com/repos/Helabs/blog","forks_url":"https://api.github.com/repos/Helabs/blog/forks","keys_url":"https://api.github.com/repos/Helabs/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Helabs/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Helabs/blog/teams","hooks_url":"https://api.github.com/repos/Helabs/blog/hooks","issue_events_url":"https://api.github.com/repos/Helabs/blog/issues/events{/number}","events_url":"https://api.github.com/repos/Helabs/blog/events","assignees_url":"https://api.github.com/repos/Helabs/blog/assignees{/user}","branches_url":"https://api.github.com/repos/Helabs/blog/branches{/branch}","tags_url":"https://api.github.com/repos/Helabs/blog/tags","blobs_url":"https://api.github.com/repos/Helabs/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Helabs/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Helabs/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/Helabs/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Helabs/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/Helabs/blog/languages","stargazers_url":"https://api.github.com/repos/Helabs/blog/stargazers","contributors_url":"https://api.github.com/repos/Helabs/blog/contributors","subscribers_url":"https://api.github.com/repos/Helabs/blog/subscribers","subscription_url":"https://api.github.com/repos/Helabs/blog/subscription","commits_url":"https://api.github.com/repos/Helabs/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/Helabs/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/Helabs/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/Helabs/blog/issues/comments/{number}","contents_url":"https://api.github.com/repos/Helabs/blog/contents/{+path}","compare_url":"https://api.github.com/repos/Helabs/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Helabs/blog/merges","archive_url":"https://api.github.com/repos/Helabs/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Helabs/blog/downloads","issues_url":"https://api.github.com/repos/Helabs/blog/issues{/number}","pulls_url":"https://api.github.com/repos/Helabs/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/Helabs/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/Helabs/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Helabs/blog/labels{/name}","releases_url":"https://api.github.com/repos/Helabs/blog/releases{/id}","created_at":"2013-08-05T18:33:49Z","updated_at":"2014-09-03T14:18:27Z","pushed_at":"2014-10-17T19:26:43Z","git_url":"git://github.com/Helabs/blog.git","ssh_url":"git@github.com:Helabs/blog.git","clone_url":"https://github.com/Helabs/blog.git","svn_url":"https://github.com/Helabs/blog","homepage":"http://helabs.com.br/blog/","size":102554,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":6,"forks":7,"open_issues":6,"watchers":1,"default_branch":"gh-pages"}},"base":{"label":"Helabs:gh-pages","ref":"gh-pages","sha":"aa005c8599e14f94ea54c04eb2e2fd991de8a31b","user":{"login":"Helabs","id":366128,"avatar_url":"https://avatars.githubusercontent.com/u/366128?v=2","gravatar_id":"","url":"https://api.github.com/users/Helabs","html_url":"https://github.com/Helabs","followers_url":"https://api.github.com/users/Helabs/followers","following_url":"https://api.github.com/users/Helabs/following{/other_user}","gists_url":"https://api.github.com/users/Helabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Helabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Helabs/subscriptions","organizations_url":"https://api.github.com/users/Helabs/orgs","repos_url":"https://api.github.com/users/Helabs/repos","events_url":"https://api.github.com/users/Helabs/events{/privacy}","received_events_url":"https://api.github.com/users/Helabs/received_events","type":"Organization","site_admin":false},"repo":{"id":11905673,"name":"blog","full_name":"Helabs/blog","owner":{"login":"Helabs","id":366128,"avatar_url":"https://avatars.githubusercontent.com/u/366128?v=2","gravatar_id":"","url":"https://api.github.com/users/Helabs","html_url":"https://github.com/Helabs","followers_url":"https://api.github.com/users/Helabs/followers","following_url":"https://api.github.com/users/Helabs/following{/other_user}","gists_url":"https://api.github.com/users/Helabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Helabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Helabs/subscriptions","organizations_url":"https://api.github.com/users/Helabs/orgs","repos_url":"https://api.github.com/users/Helabs/repos","events_url":"https://api.github.com/users/Helabs/events{/privacy}","received_events_url":"https://api.github.com/users/Helabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Helabs/blog","description":"HE:labs Blog","fork":false,"url":"https://api.github.com/repos/Helabs/blog","forks_url":"https://api.github.com/repos/Helabs/blog/forks","keys_url":"https://api.github.com/repos/Helabs/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Helabs/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Helabs/blog/teams","hooks_url":"https://api.github.com/repos/Helabs/blog/hooks","issue_events_url":"https://api.github.com/repos/Helabs/blog/issues/events{/number}","events_url":"https://api.github.com/repos/Helabs/blog/events","assignees_url":"https://api.github.com/repos/Helabs/blog/assignees{/user}","branches_url":"https://api.github.com/repos/Helabs/blog/branches{/branch}","tags_url":"https://api.github.com/repos/Helabs/blog/tags","blobs_url":"https://api.github.com/repos/Helabs/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Helabs/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Helabs/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/Helabs/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Helabs/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/Helabs/blog/languages","stargazers_url":"https://api.github.com/repos/Helabs/blog/stargazers","contributors_url":"https://api.github.com/repos/Helabs/blog/contributors","subscribers_url":"https://api.github.com/repos/Helabs/blog/subscribers","subscription_url":"https://api.github.com/repos/Helabs/blog/subscription","commits_url":"https://api.github.com/repos/Helabs/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/Helabs/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/Helabs/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/Helabs/blog/issues/comments/{number}","contents_url":"https://api.github.com/repos/Helabs/blog/contents/{+path}","compare_url":"https://api.github.com/repos/Helabs/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Helabs/blog/merges","archive_url":"https://api.github.com/repos/Helabs/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Helabs/blog/downloads","issues_url":"https://api.github.com/repos/Helabs/blog/issues{/number}","pulls_url":"https://api.github.com/repos/Helabs/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/Helabs/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/Helabs/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Helabs/blog/labels{/name}","releases_url":"https://api.github.com/repos/Helabs/blog/releases{/id}","created_at":"2013-08-05T18:33:49Z","updated_at":"2014-09-03T14:18:27Z","pushed_at":"2014-10-17T19:26:43Z","git_url":"git://github.com/Helabs/blog.git","ssh_url":"git@github.com:Helabs/blog.git","clone_url":"https://github.com/Helabs/blog.git","svn_url":"https://github.com/Helabs/blog","homepage":"http://helabs.com.br/blog/","size":102554,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":6,"forks":7,"open_issues":6,"watchers":1,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/Helabs/blog/pulls/283"},"html":{"href":"https://github.com/Helabs/blog/pull/283"},"issue":{"href":"https://api.github.com/repos/Helabs/blog/issues/283"},"comments":{"href":"https://api.github.com/repos/Helabs/blog/issues/283/comments"},"review_comments":{"href":"https://api.github.com/repos/Helabs/blog/pulls/283/comments"},"review_comment":{"href":"https://api.github.com/repos/Helabs/blog/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Helabs/blog/pulls/283/commits"},"statuses":{"href":"https://api.github.com/repos/Helabs/blog/statuses/e14526dffd719092baba60f357df9ff4b776ef2c"}}}}