{"action":"created","comment":{"url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/pulls/comments/36209781","id":36209781,"diff_hunk":"@@ -1,19 +1,21 @@\n class GamedevWorker\n-\tinclude Sidekiq::Worker\n+  include Sidekiq::Worker\n \n-\tdef perform\n-\t\tresponse = RubyStackoverflow.questions({ order: 'asc', filter: 'withbody', pagesize: 100 })\n-\t\tresponse.data.each do | question|\n-\t\t  p =  ExternalPost.new(title: question.title,\n-                            user_display_name: question.owner[:display_name],\n-                            body_html: question.body,\n-                            source_url: question.link,\n-                            external_id: question.question_id)\n-\t\t  p.save\n-\t    end\n-\tend\n-\n-  Sidekiq::Cron::Job.create(name: \"RubyStackoverflow fetch questions every friday\",\n-                            cron: \"* * * * 5\", klass: \"GamedevWorker\")\n+  def perform\n+    response = RubyStackoverflow.questions({ order: 'asc', filter: 'withbody', pagesize: 100 })","path":"app/workers/gamedev_worker.rb","position":20,"original_position":20,"commit_id":"5954a512513c07b2502360dff41c659ccf17f082","original_commit_id":"5954a512513c07b2502360dff41c659ccf17f082","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [95/80]<br>Redundant curly braces around a hash parameter.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-08-04T16:31:49Z","updated_at":"2015-08-04T16:31:49Z","html_url":"https://github.com/PowerCodeGirls/RubyGameDev.com/pull/5#discussion_r36209781","pull_request_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/pulls/comments/36209781"},"html":{"href":"https://github.com/PowerCodeGirls/RubyGameDev.com/pull/5#discussion_r36209781"},"pull_request":{"href":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/pulls/5","id":41588899,"html_url":"https://github.com/PowerCodeGirls/RubyGameDev.com/pull/5","diff_url":"https://github.com/PowerCodeGirls/RubyGameDev.com/pull/5.diff","patch_url":"https://github.com/PowerCodeGirls/RubyGameDev.com/pull/5.patch","issue_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/issues/5","number":5,"state":"open","locked":false,"title":"Feature implement sti","user":{"login":"sandramu26","id":9082790,"avatar_url":"https://avatars.githubusercontent.com/u/9082790?v=3","gravatar_id":"","url":"https://api.github.com/users/sandramu26","html_url":"https://github.com/sandramu26","followers_url":"https://api.github.com/users/sandramu26/followers","following_url":"https://api.github.com/users/sandramu26/following{/other_user}","gists_url":"https://api.github.com/users/sandramu26/gists{/gist_id}","starred_url":"https://api.github.com/users/sandramu26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandramu26/subscriptions","organizations_url":"https://api.github.com/users/sandramu26/orgs","repos_url":"https://api.github.com/users/sandramu26/repos","events_url":"https://api.github.com/users/sandramu26/events{/privacy}","received_events_url":"https://api.github.com/users/sandramu26/received_events","type":"User","site_admin":false},"body":"This PR include\r\n\r\n- Improve code according Houndci comments","created_at":"2015-08-04T16:23:53Z","updated_at":"2015-08-04T16:31:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee4002402521d60323634d4e5a15842cd0b6d987","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/pulls/5/commits","review_comments_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/pulls/5/comments","review_comment_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/issues/5/comments","statuses_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/statuses/5954a512513c07b2502360dff41c659ccf17f082","head":{"label":"PowerCodeGirls:feature_implement_sti","ref":"feature_implement_sti","sha":"5954a512513c07b2502360dff41c659ccf17f082","user":{"login":"PowerCodeGirls","id":13152786,"avatar_url":"https://avatars.githubusercontent.com/u/13152786?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerCodeGirls","html_url":"https://github.com/PowerCodeGirls","followers_url":"https://api.github.com/users/PowerCodeGirls/followers","following_url":"https://api.github.com/users/PowerCodeGirls/following{/other_user}","gists_url":"https://api.github.com/users/PowerCodeGirls/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerCodeGirls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerCodeGirls/subscriptions","organizations_url":"https://api.github.com/users/PowerCodeGirls/orgs","repos_url":"https://api.github.com/users/PowerCodeGirls/repos","events_url":"https://api.github.com/users/PowerCodeGirls/events{/privacy}","received_events_url":"https://api.github.com/users/PowerCodeGirls/received_events","type":"Organization","site_admin":false},"repo":{"id":38441001,"name":"RubyGameDev.com","full_name":"PowerCodeGirls/RubyGameDev.com","owner":{"login":"PowerCodeGirls","id":13152786,"avatar_url":"https://avatars.githubusercontent.com/u/13152786?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerCodeGirls","html_url":"https://github.com/PowerCodeGirls","followers_url":"https://api.github.com/users/PowerCodeGirls/followers","following_url":"https://api.github.com/users/PowerCodeGirls/following{/other_user}","gists_url":"https://api.github.com/users/PowerCodeGirls/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerCodeGirls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerCodeGirls/subscriptions","organizations_url":"https://api.github.com/users/PowerCodeGirls/orgs","repos_url":"https://api.github.com/users/PowerCodeGirls/repos","events_url":"https://api.github.com/users/PowerCodeGirls/events{/privacy}","received_events_url":"https://api.github.com/users/PowerCodeGirls/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PowerCodeGirls/RubyGameDev.com","description":"A community-contributed, information hub to help others build games in Ruby.","fork":true,"url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com","forks_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/forks","keys_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/teams","hooks_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/hooks","issue_events_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/issues/events{/number}","events_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/events","assignees_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/assignees{/user}","branches_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/branches{/branch}","tags_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/tags","blobs_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/languages","stargazers_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/stargazers","contributors_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/contributors","subscribers_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/subscribers","subscription_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/subscription","commits_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/contents/{+path}","compare_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/merges","archive_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/downloads","issues_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/issues{/number}","pulls_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/labels{/name}","releases_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/releases{/id}","created_at":"2015-07-02T15:33:10Z","updated_at":"2015-07-20T15:40:49Z","pushed_at":"2015-08-04T16:31:45Z","git_url":"git://github.com/PowerCodeGirls/RubyGameDev.com.git","ssh_url":"git@github.com:PowerCodeGirls/RubyGameDev.com.git","clone_url":"https://github.com/PowerCodeGirls/RubyGameDev.com.git","svn_url":"https://github.com/PowerCodeGirls/RubyGameDev.com","homepage":"http://www.rubygamedev.com","size":1505,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"PowerCodeGirls:master","ref":"master","sha":"7e48b993f7cc9ef6a6e2bfc23e5dcf926226a48a","user":{"login":"PowerCodeGirls","id":13152786,"avatar_url":"https://avatars.githubusercontent.com/u/13152786?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerCodeGirls","html_url":"https://github.com/PowerCodeGirls","followers_url":"https://api.github.com/users/PowerCodeGirls/followers","following_url":"https://api.github.com/users/PowerCodeGirls/following{/other_user}","gists_url":"https://api.github.com/users/PowerCodeGirls/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerCodeGirls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerCodeGirls/subscriptions","organizations_url":"https://api.github.com/users/PowerCodeGirls/orgs","repos_url":"https://api.github.com/users/PowerCodeGirls/repos","events_url":"https://api.github.com/users/PowerCodeGirls/events{/privacy}","received_events_url":"https://api.github.com/users/PowerCodeGirls/received_events","type":"Organization","site_admin":false},"repo":{"id":38441001,"name":"RubyGameDev.com","full_name":"PowerCodeGirls/RubyGameDev.com","owner":{"login":"PowerCodeGirls","id":13152786,"avatar_url":"https://avatars.githubusercontent.com/u/13152786?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerCodeGirls","html_url":"https://github.com/PowerCodeGirls","followers_url":"https://api.github.com/users/PowerCodeGirls/followers","following_url":"https://api.github.com/users/PowerCodeGirls/following{/other_user}","gists_url":"https://api.github.com/users/PowerCodeGirls/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerCodeGirls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerCodeGirls/subscriptions","organizations_url":"https://api.github.com/users/PowerCodeGirls/orgs","repos_url":"https://api.github.com/users/PowerCodeGirls/repos","events_url":"https://api.github.com/users/PowerCodeGirls/events{/privacy}","received_events_url":"https://api.github.com/users/PowerCodeGirls/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PowerCodeGirls/RubyGameDev.com","description":"A community-contributed, information hub to help others build games in Ruby.","fork":true,"url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com","forks_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/forks","keys_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/teams","hooks_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/hooks","issue_events_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/issues/events{/number}","events_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/events","assignees_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/assignees{/user}","branches_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/branches{/branch}","tags_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/tags","blobs_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/languages","stargazers_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/stargazers","contributors_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/contributors","subscribers_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/subscribers","subscription_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/subscription","commits_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/contents/{+path}","compare_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/merges","archive_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/downloads","issues_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/issues{/number}","pulls_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/labels{/name}","releases_url":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/releases{/id}","created_at":"2015-07-02T15:33:10Z","updated_at":"2015-07-20T15:40:49Z","pushed_at":"2015-08-04T16:31:45Z","git_url":"git://github.com/PowerCodeGirls/RubyGameDev.com.git","ssh_url":"git@github.com:PowerCodeGirls/RubyGameDev.com.git","clone_url":"https://github.com/PowerCodeGirls/RubyGameDev.com.git","svn_url":"https://github.com/PowerCodeGirls/RubyGameDev.com","homepage":"http://www.rubygamedev.com","size":1505,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/pulls/5"},"html":{"href":"https://github.com/PowerCodeGirls/RubyGameDev.com/pull/5"},"issue":{"href":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/issues/5"},"comments":{"href":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/PowerCodeGirls/RubyGameDev.com/statuses/5954a512513c07b2502360dff41c659ccf17f082"}}}}