{"action":"created","comment":{"url":"https://api.github.com/repos/gduck/newz/pulls/comments/25563910","id":25563910,"diff_hunk":"@@ -16,19 +16,53 @@ namespace :scrape_news do\n \n     newArray = []\n     countArticles = 0\n-    counter = 0\n+    whichArticle = 0","path":"lib/tasks/scrape_news.rake","position":5,"original_position":5,"commit_id":"4da11c9bcde9a79ba5d89a5c3d2fa1bc12dd1477","original_commit_id":"d6d362082f18d4068ea2ad91267aa12c318b1b7f","user":{"login":"harrychenca","id":1697380,"avatar_url":"https://avatars.githubusercontent.com/u/1697380?v=3","gravatar_id":"","url":"https://api.github.com/users/harrychenca","html_url":"https://github.com/harrychenca","followers_url":"https://api.github.com/users/harrychenca/followers","following_url":"https://api.github.com/users/harrychenca/following{/other_user}","gists_url":"https://api.github.com/users/harrychenca/gists{/gist_id}","starred_url":"https://api.github.com/users/harrychenca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrychenca/subscriptions","organizations_url":"https://api.github.com/users/harrychenca/orgs","repos_url":"https://api.github.com/users/harrychenca/repos","events_url":"https://api.github.com/users/harrychenca/events{/privacy}","received_events_url":"https://api.github.com/users/harrychenca/received_events","type":"User","site_admin":false},"body":"In ruby, you should use underscores, instead if camelCase for all variable and function names","created_at":"2015-03-01T04:17:46Z","updated_at":"2015-03-01T04:17:46Z","html_url":"https://github.com/gduck/newz/pull/47#discussion_r25563910","pull_request_url":"https://api.github.com/repos/gduck/newz/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/gduck/newz/pulls/comments/25563910"},"html":{"href":"https://github.com/gduck/newz/pull/47#discussion_r25563910"},"pull_request":{"href":"https://api.github.com/repos/gduck/newz/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/gduck/newz/pulls/47","id":30236358,"html_url":"https://github.com/gduck/newz/pull/47","diff_url":"https://github.com/gduck/newz/pull/47.diff","patch_url":"https://github.com/gduck/newz/pull/47.patch","issue_url":"https://api.github.com/repos/gduck/newz/issues/47","number":47,"state":"open","locked":false,"title":"Fillers","user":{"login":"harrychenca","id":1697380,"avatar_url":"https://avatars.githubusercontent.com/u/1697380?v=3","gravatar_id":"","url":"https://api.github.com/users/harrychenca","html_url":"https://github.com/harrychenca","followers_url":"https://api.github.com/users/harrychenca/followers","following_url":"https://api.github.com/users/harrychenca/following{/other_user}","gists_url":"https://api.github.com/users/harrychenca/gists{/gist_id}","starred_url":"https://api.github.com/users/harrychenca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrychenca/subscriptions","organizations_url":"https://api.github.com/users/harrychenca/orgs","repos_url":"https://api.github.com/users/harrychenca/repos","events_url":"https://api.github.com/users/harrychenca/events{/privacy}","received_events_url":"https://api.github.com/users/harrychenca/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-01T03:53:42Z","updated_at":"2015-03-01T04:17:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b38733b7671eae3e8d9817d84cb9e7a2bfbc3f8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gduck/newz/pulls/47/commits","review_comments_url":"https://api.github.com/repos/gduck/newz/pulls/47/comments","review_comment_url":"https://api.github.com/repos/gduck/newz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gduck/newz/issues/47/comments","statuses_url":"https://api.github.com/repos/gduck/newz/statuses/4da11c9bcde9a79ba5d89a5c3d2fa1bc12dd1477","head":{"label":"gduck:fillers","ref":"fillers","sha":"4da11c9bcde9a79ba5d89a5c3d2fa1bc12dd1477","user":{"login":"gduck","id":9581715,"avatar_url":"https://avatars.githubusercontent.com/u/9581715?v=3","gravatar_id":"","url":"https://api.github.com/users/gduck","html_url":"https://github.com/gduck","followers_url":"https://api.github.com/users/gduck/followers","following_url":"https://api.github.com/users/gduck/following{/other_user}","gists_url":"https://api.github.com/users/gduck/gists{/gist_id}","starred_url":"https://api.github.com/users/gduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gduck/subscriptions","organizations_url":"https://api.github.com/users/gduck/orgs","repos_url":"https://api.github.com/users/gduck/repos","events_url":"https://api.github.com/users/gduck/events{/privacy}","received_events_url":"https://api.github.com/users/gduck/received_events","type":"User","site_admin":false},"repo":{"id":30512884,"name":"newz","full_name":"gduck/newz","owner":{"login":"gduck","id":9581715,"avatar_url":"https://avatars.githubusercontent.com/u/9581715?v=3","gravatar_id":"","url":"https://api.github.com/users/gduck","html_url":"https://github.com/gduck","followers_url":"https://api.github.com/users/gduck/followers","following_url":"https://api.github.com/users/gduck/following{/other_user}","gists_url":"https://api.github.com/users/gduck/gists{/gist_id}","starred_url":"https://api.github.com/users/gduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gduck/subscriptions","organizations_url":"https://api.github.com/users/gduck/orgs","repos_url":"https://api.github.com/users/gduck/repos","events_url":"https://api.github.com/users/gduck/events{/privacy}","received_events_url":"https://api.github.com/users/gduck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gduck/newz","description":"A birthday newz website","fork":false,"url":"https://api.github.com/repos/gduck/newz","forks_url":"https://api.github.com/repos/gduck/newz/forks","keys_url":"https://api.github.com/repos/gduck/newz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gduck/newz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gduck/newz/teams","hooks_url":"https://api.github.com/repos/gduck/newz/hooks","issue_events_url":"https://api.github.com/repos/gduck/newz/issues/events{/number}","events_url":"https://api.github.com/repos/gduck/newz/events","assignees_url":"https://api.github.com/repos/gduck/newz/assignees{/user}","branches_url":"https://api.github.com/repos/gduck/newz/branches{/branch}","tags_url":"https://api.github.com/repos/gduck/newz/tags","blobs_url":"https://api.github.com/repos/gduck/newz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gduck/newz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gduck/newz/git/refs{/sha}","trees_url":"https://api.github.com/repos/gduck/newz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gduck/newz/statuses/{sha}","languages_url":"https://api.github.com/repos/gduck/newz/languages","stargazers_url":"https://api.github.com/repos/gduck/newz/stargazers","contributors_url":"https://api.github.com/repos/gduck/newz/contributors","subscribers_url":"https://api.github.com/repos/gduck/newz/subscribers","subscription_url":"https://api.github.com/repos/gduck/newz/subscription","commits_url":"https://api.github.com/repos/gduck/newz/commits{/sha}","git_commits_url":"https://api.github.com/repos/gduck/newz/git/commits{/sha}","comments_url":"https://api.github.com/repos/gduck/newz/comments{/number}","issue_comment_url":"https://api.github.com/repos/gduck/newz/issues/comments{/number}","contents_url":"https://api.github.com/repos/gduck/newz/contents/{+path}","compare_url":"https://api.github.com/repos/gduck/newz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gduck/newz/merges","archive_url":"https://api.github.com/repos/gduck/newz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gduck/newz/downloads","issues_url":"https://api.github.com/repos/gduck/newz/issues{/number}","pulls_url":"https://api.github.com/repos/gduck/newz/pulls{/number}","milestones_url":"https://api.github.com/repos/gduck/newz/milestones{/number}","notifications_url":"https://api.github.com/repos/gduck/newz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gduck/newz/labels{/name}","releases_url":"https://api.github.com/repos/gduck/newz/releases{/id}","created_at":"2015-02-09T01:21:42Z","updated_at":"2015-02-27T08:46:28Z","pushed_at":"2015-03-01T04:01:29Z","git_url":"git://github.com/gduck/newz.git","ssh_url":"git@github.com:gduck/newz.git","clone_url":"https://github.com/gduck/newz.git","svn_url":"https://github.com/gduck/newz","homepage":null,"size":2208,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"base":{"label":"gduck:pdf","ref":"pdf","sha":"1af723d054ecf551ac417504a6d7a703acfb02e0","user":{"login":"gduck","id":9581715,"avatar_url":"https://avatars.githubusercontent.com/u/9581715?v=3","gravatar_id":"","url":"https://api.github.com/users/gduck","html_url":"https://github.com/gduck","followers_url":"https://api.github.com/users/gduck/followers","following_url":"https://api.github.com/users/gduck/following{/other_user}","gists_url":"https://api.github.com/users/gduck/gists{/gist_id}","starred_url":"https://api.github.com/users/gduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gduck/subscriptions","organizations_url":"https://api.github.com/users/gduck/orgs","repos_url":"https://api.github.com/users/gduck/repos","events_url":"https://api.github.com/users/gduck/events{/privacy}","received_events_url":"https://api.github.com/users/gduck/received_events","type":"User","site_admin":false},"repo":{"id":30512884,"name":"newz","full_name":"gduck/newz","owner":{"login":"gduck","id":9581715,"avatar_url":"https://avatars.githubusercontent.com/u/9581715?v=3","gravatar_id":"","url":"https://api.github.com/users/gduck","html_url":"https://github.com/gduck","followers_url":"https://api.github.com/users/gduck/followers","following_url":"https://api.github.com/users/gduck/following{/other_user}","gists_url":"https://api.github.com/users/gduck/gists{/gist_id}","starred_url":"https://api.github.com/users/gduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gduck/subscriptions","organizations_url":"https://api.github.com/users/gduck/orgs","repos_url":"https://api.github.com/users/gduck/repos","events_url":"https://api.github.com/users/gduck/events{/privacy}","received_events_url":"https://api.github.com/users/gduck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gduck/newz","description":"A birthday newz website","fork":false,"url":"https://api.github.com/repos/gduck/newz","forks_url":"https://api.github.com/repos/gduck/newz/forks","keys_url":"https://api.github.com/repos/gduck/newz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gduck/newz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gduck/newz/teams","hooks_url":"https://api.github.com/repos/gduck/newz/hooks","issue_events_url":"https://api.github.com/repos/gduck/newz/issues/events{/number}","events_url":"https://api.github.com/repos/gduck/newz/events","assignees_url":"https://api.github.com/repos/gduck/newz/assignees{/user}","branches_url":"https://api.github.com/repos/gduck/newz/branches{/branch}","tags_url":"https://api.github.com/repos/gduck/newz/tags","blobs_url":"https://api.github.com/repos/gduck/newz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gduck/newz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gduck/newz/git/refs{/sha}","trees_url":"https://api.github.com/repos/gduck/newz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gduck/newz/statuses/{sha}","languages_url":"https://api.github.com/repos/gduck/newz/languages","stargazers_url":"https://api.github.com/repos/gduck/newz/stargazers","contributors_url":"https://api.github.com/repos/gduck/newz/contributors","subscribers_url":"https://api.github.com/repos/gduck/newz/subscribers","subscription_url":"https://api.github.com/repos/gduck/newz/subscription","commits_url":"https://api.github.com/repos/gduck/newz/commits{/sha}","git_commits_url":"https://api.github.com/repos/gduck/newz/git/commits{/sha}","comments_url":"https://api.github.com/repos/gduck/newz/comments{/number}","issue_comment_url":"https://api.github.com/repos/gduck/newz/issues/comments{/number}","contents_url":"https://api.github.com/repos/gduck/newz/contents/{+path}","compare_url":"https://api.github.com/repos/gduck/newz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gduck/newz/merges","archive_url":"https://api.github.com/repos/gduck/newz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gduck/newz/downloads","issues_url":"https://api.github.com/repos/gduck/newz/issues{/number}","pulls_url":"https://api.github.com/repos/gduck/newz/pulls{/number}","milestones_url":"https://api.github.com/repos/gduck/newz/milestones{/number}","notifications_url":"https://api.github.com/repos/gduck/newz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gduck/newz/labels{/name}","releases_url":"https://api.github.com/repos/gduck/newz/releases{/id}","created_at":"2015-02-09T01:21:42Z","updated_at":"2015-02-27T08:46:28Z","pushed_at":"2015-03-01T04:01:29Z","git_url":"git://github.com/gduck/newz.git","ssh_url":"git@github.com:gduck/newz.git","clone_url":"https://github.com/gduck/newz.git","svn_url":"https://github.com/gduck/newz","homepage":null,"size":2208,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gduck/newz/pulls/47"},"html":{"href":"https://github.com/gduck/newz/pull/47"},"issue":{"href":"https://api.github.com/repos/gduck/newz/issues/47"},"comments":{"href":"https://api.github.com/repos/gduck/newz/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/gduck/newz/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/gduck/newz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gduck/newz/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/gduck/newz/statuses/4da11c9bcde9a79ba5d89a5c3d2fa1bc12dd1477"}}}}