{"action":"created","comment":{"url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/pulls/comments/63929164","id":63929164,"diff_hunk":"@@ -0,0 +1,9 @@\n+FactoryGirl.define do\n+  factory :news_article do\n+    sequence(:title) {|n| \"#{Faker::Company.bs}-#{n}\" }\n+    snippet             { Faker::Hipster.paragraph       }\n+    link             {Faker::Internet.url}\n+    thumbnail        {Faker::Internet.url}\n+    published_on      { Time.now - rand(30).days      }","path":"spec/factories/news_articles.rb","position":7,"original_position":7,"commit_id":"6bd8bc2d3337d57eed967aea93f1f0e4ac1ad68d","original_commit_id":"6bd8bc2d3337d57eed967aea93f1f0e4ac1ad68d","user":{"login":"tkbeili","id":245105,"avatar_url":"https://avatars.githubusercontent.com/u/245105?v=3","gravatar_id":"","url":"https://api.github.com/users/tkbeili","html_url":"https://github.com/tkbeili","followers_url":"https://api.github.com/users/tkbeili/followers","following_url":"https://api.github.com/users/tkbeili/following{/other_user}","gists_url":"https://api.github.com/users/tkbeili/gists{/gist_id}","starred_url":"https://api.github.com/users/tkbeili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkbeili/subscriptions","organizations_url":"https://api.github.com/users/tkbeili/orgs","repos_url":"https://api.github.com/users/tkbeili/repos","events_url":"https://api.github.com/users/tkbeili/events{/privacy}","received_events_url":"https://api.github.com/users/tkbeili/received_events","type":"User","site_admin":false},"body":"fix spacing","created_at":"2016-05-19T18:19:53Z","updated_at":"2016-05-19T18:19:53Z","html_url":"https://github.com/CodeCoreYVR/vancouvertechhub/pull/4#discussion_r63929164","pull_request_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/pulls/comments/63929164"},"html":{"href":"https://github.com/CodeCoreYVR/vancouvertechhub/pull/4#discussion_r63929164"},"pull_request":{"href":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/pulls/4","id":70735732,"html_url":"https://github.com/CodeCoreYVR/vancouvertechhub/pull/4","diff_url":"https://github.com/CodeCoreYVR/vancouvertechhub/pull/4.diff","patch_url":"https://github.com/CodeCoreYVR/vancouvertechhub/pull/4.patch","issue_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/issues/4","number":4,"state":"open","locked":false,"title":"Team 1 - Google news search for NewsController#index","user":{"login":"frankliu81","id":16039389,"avatar_url":"https://avatars.githubusercontent.com/u/16039389?v=3","gravatar_id":"","url":"https://api.github.com/users/frankliu81","html_url":"https://github.com/frankliu81","followers_url":"https://api.github.com/users/frankliu81/followers","following_url":"https://api.github.com/users/frankliu81/following{/other_user}","gists_url":"https://api.github.com/users/frankliu81/gists{/gist_id}","starred_url":"https://api.github.com/users/frankliu81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankliu81/subscriptions","organizations_url":"https://api.github.com/users/frankliu81/orgs","repos_url":"https://api.github.com/users/frankliu81/repos","events_url":"https://api.github.com/users/frankliu81/events{/privacy}","received_events_url":"https://api.github.com/users/frankliu81/received_events","type":"User","site_admin":false},"body":"- Save the google NewsArticle to a model.\r\n- Using jquery to insert placeholder image if no images are found.\r\n- Parse the published date from article, only show ones with published date and order the query by that.\r\n- Create rake task that launches a sidekiq background job to perform the  Google news search.\r\n- Refactor the GoogleCustomSearchApi::ResponseData parsing into a ArticleParser service object. Add rspec tests coverage using rspec-mock.","created_at":"2016-05-19T17:44:03Z","updated_at":"2016-05-19T18:19:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea7568afc2da5cb631f15bedb355fc4d78ab2403","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/pulls/4/commits","review_comments_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/pulls/4/comments","review_comment_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/issues/4/comments","statuses_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/statuses/6bd8bc2d3337d57eed967aea93f1f0e4ac1ad68d","head":{"label":"CodeCoreYVR:google_news_search","ref":"google_news_search","sha":"6bd8bc2d3337d57eed967aea93f1f0e4ac1ad68d","user":{"login":"CodeCoreYVR","id":6611839,"avatar_url":"https://avatars.githubusercontent.com/u/6611839?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeCoreYVR","html_url":"https://github.com/CodeCoreYVR","followers_url":"https://api.github.com/users/CodeCoreYVR/followers","following_url":"https://api.github.com/users/CodeCoreYVR/following{/other_user}","gists_url":"https://api.github.com/users/CodeCoreYVR/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeCoreYVR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeCoreYVR/subscriptions","organizations_url":"https://api.github.com/users/CodeCoreYVR/orgs","repos_url":"https://api.github.com/users/CodeCoreYVR/repos","events_url":"https://api.github.com/users/CodeCoreYVR/events{/privacy}","received_events_url":"https://api.github.com/users/CodeCoreYVR/received_events","type":"Organization","site_admin":false},"repo":{"id":59041940,"name":"vancouvertechhub","full_name":"CodeCoreYVR/vancouvertechhub","owner":{"login":"CodeCoreYVR","id":6611839,"avatar_url":"https://avatars.githubusercontent.com/u/6611839?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeCoreYVR","html_url":"https://github.com/CodeCoreYVR","followers_url":"https://api.github.com/users/CodeCoreYVR/followers","following_url":"https://api.github.com/users/CodeCoreYVR/following{/other_user}","gists_url":"https://api.github.com/users/CodeCoreYVR/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeCoreYVR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeCoreYVR/subscriptions","organizations_url":"https://api.github.com/users/CodeCoreYVR/orgs","repos_url":"https://api.github.com/users/CodeCoreYVR/repos","events_url":"https://api.github.com/users/CodeCoreYVR/events{/privacy}","received_events_url":"https://api.github.com/users/CodeCoreYVR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeCoreYVR/vancouvertechhub","description":"","fork":true,"url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub","forks_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/forks","keys_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/teams","hooks_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/hooks","issue_events_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/issues/events{/number}","events_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/events","assignees_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/assignees{/user}","branches_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/branches{/branch}","tags_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/tags","blobs_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/languages","stargazers_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/stargazers","contributors_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/contributors","subscribers_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/subscribers","subscription_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/subscription","commits_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/contents/{+path}","compare_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/merges","archive_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/downloads","issues_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/issues{/number}","pulls_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/labels{/name}","releases_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/releases{/id}","deployments_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/deployments","created_at":"2016-05-17T16:57:45Z","updated_at":"2016-05-17T16:57:46Z","pushed_at":"2016-05-19T18:18:35Z","git_url":"git://github.com/CodeCoreYVR/vancouvertechhub.git","ssh_url":"git@github.com:CodeCoreYVR/vancouvertechhub.git","clone_url":"https://github.com/CodeCoreYVR/vancouvertechhub.git","svn_url":"https://github.com/CodeCoreYVR/vancouvertechhub","homepage":null,"size":2035,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"CodeCoreYVR:integration","ref":"integration","sha":"3e66a290f8ca3520030e9387d3dbbdd452f2f810","user":{"login":"CodeCoreYVR","id":6611839,"avatar_url":"https://avatars.githubusercontent.com/u/6611839?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeCoreYVR","html_url":"https://github.com/CodeCoreYVR","followers_url":"https://api.github.com/users/CodeCoreYVR/followers","following_url":"https://api.github.com/users/CodeCoreYVR/following{/other_user}","gists_url":"https://api.github.com/users/CodeCoreYVR/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeCoreYVR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeCoreYVR/subscriptions","organizations_url":"https://api.github.com/users/CodeCoreYVR/orgs","repos_url":"https://api.github.com/users/CodeCoreYVR/repos","events_url":"https://api.github.com/users/CodeCoreYVR/events{/privacy}","received_events_url":"https://api.github.com/users/CodeCoreYVR/received_events","type":"Organization","site_admin":false},"repo":{"id":59041940,"name":"vancouvertechhub","full_name":"CodeCoreYVR/vancouvertechhub","owner":{"login":"CodeCoreYVR","id":6611839,"avatar_url":"https://avatars.githubusercontent.com/u/6611839?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeCoreYVR","html_url":"https://github.com/CodeCoreYVR","followers_url":"https://api.github.com/users/CodeCoreYVR/followers","following_url":"https://api.github.com/users/CodeCoreYVR/following{/other_user}","gists_url":"https://api.github.com/users/CodeCoreYVR/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeCoreYVR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeCoreYVR/subscriptions","organizations_url":"https://api.github.com/users/CodeCoreYVR/orgs","repos_url":"https://api.github.com/users/CodeCoreYVR/repos","events_url":"https://api.github.com/users/CodeCoreYVR/events{/privacy}","received_events_url":"https://api.github.com/users/CodeCoreYVR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeCoreYVR/vancouvertechhub","description":"","fork":true,"url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub","forks_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/forks","keys_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/teams","hooks_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/hooks","issue_events_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/issues/events{/number}","events_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/events","assignees_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/assignees{/user}","branches_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/branches{/branch}","tags_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/tags","blobs_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/languages","stargazers_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/stargazers","contributors_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/contributors","subscribers_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/subscribers","subscription_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/subscription","commits_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/contents/{+path}","compare_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/merges","archive_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/downloads","issues_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/issues{/number}","pulls_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/labels{/name}","releases_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/releases{/id}","deployments_url":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/deployments","created_at":"2016-05-17T16:57:45Z","updated_at":"2016-05-17T16:57:46Z","pushed_at":"2016-05-19T18:18:35Z","git_url":"git://github.com/CodeCoreYVR/vancouvertechhub.git","ssh_url":"git@github.com:CodeCoreYVR/vancouvertechhub.git","clone_url":"https://github.com/CodeCoreYVR/vancouvertechhub.git","svn_url":"https://github.com/CodeCoreYVR/vancouvertechhub","homepage":null,"size":2035,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/pulls/4"},"html":{"href":"https://github.com/CodeCoreYVR/vancouvertechhub/pull/4"},"issue":{"href":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/issues/4"},"comments":{"href":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/CodeCoreYVR/vancouvertechhub/statuses/6bd8bc2d3337d57eed967aea93f1f0e4ac1ad68d"}}}}