{"action":"created","comment":{"url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/comments/88025747","pull_request_review_id":8611642,"id":88025747,"diff_hunk":"@@ -0,0 +1,41 @@\n+namespace :stream do\n+  namespace :sync do\n+    desc 'Synchronize followers to Stream'\n+    task :follows => :environment do\n+      StreamSync.follows\n+    end\n+\n+    desc 'Synchronize automatic (under-the-hood) follows to Stream'\n+    task :auto_follows => :environment do\n+      StreamSync.follow_timeline\n+      StreamSync.follow_global\n+      StreamSync.follow_user_aggr\n+\n+      [Anime, Manga, Drama].each do |type|\n+        StreamSync.follow_media_aggr(type)\n+      end\n+    end\n+  end\n+\n+  namespace :dump do\n+    desc 'Dump posts in the mass import format for Stream'\n+    task :posts => :environment do\n+      StreamDump.posts.each { |instr| puts instr.to_json }\n+    end\n+\n+    desc 'Dump all stories in the mass import format for Stream'\n+    task :stories => :environment do\n+      StreamDump.stories.each { |instr| STDOUT.puts instr.to_json }\n+    end\n+\n+    desc 'Dump automatic follows'\n+    task :auto_follows => :environment do\n+      StreamDump.auto_follows.each { |instr| STDOUT.puts instr.to_json }\n+    end\n+\n+    desc 'Dump follows'\n+    task :follows => :environment do","path":"lib/tasks/stream.rake","position":37,"original_position":37,"commit_id":"c68cba1b6e8ab87960af16c11f63fa5553a0369f","original_commit_id":"c68cba1b6e8ab87960af16c11f63fa5553a0369f","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Use the new Ruby 1.9 hash syntax. (https://github.com/bbatsov/ruby-style-guide#hash-literals)","created_at":"2016-11-15T14:25:08Z","updated_at":"2016-11-15T14:25:08Z","html_url":"https://github.com/hummingbird-me/hummingbird-server/pull/13#discussion_r88025747","pull_request_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/comments/88025747"},"html":{"href":"https://github.com/hummingbird-me/hummingbird-server/pull/13#discussion_r88025747"},"pull_request":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/13","id":93774400,"html_url":"https://github.com/hummingbird-me/hummingbird-server/pull/13","diff_url":"https://github.com/hummingbird-me/hummingbird-server/pull/13.diff","patch_url":"https://github.com/hummingbird-me/hummingbird-server/pull/13.patch","issue_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/issues/13","number":13,"state":"open","locked":false,"title":"Consecutive days badge","user":{"login":"dissident","id":3728600,"avatar_url":"https://avatars.githubusercontent.com/u/3728600?v=3","gravatar_id":"","url":"https://api.github.com/users/dissident","html_url":"https://github.com/dissident","followers_url":"https://api.github.com/users/dissident/followers","following_url":"https://api.github.com/users/dissident/following{/other_user}","gists_url":"https://api.github.com/users/dissident/gists{/gist_id}","starred_url":"https://api.github.com/users/dissident/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dissident/subscriptions","organizations_url":"https://api.github.com/users/dissident/orgs","repos_url":"https://api.github.com/users/dissident/repos","events_url":"https://api.github.com/users/dissident/events{/privacy}","received_events_url":"https://api.github.com/users/dissident/received_events","type":"User","site_admin":false},"body":"This PR must be merged before PR [`badges`](https://github.com/hummingbird-me/hummingbird-server/pull/12) will be merged to `the-future`.","created_at":"2016-11-15T14:24:00Z","updated_at":"2016-11-15T14:25:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"823ed6cd23869d4253d85c312f1d7430f7b0ee6e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/13/commits","review_comments_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/13/comments","review_comment_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/issues/13/comments","statuses_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/statuses/c68cba1b6e8ab87960af16c11f63fa5553a0369f","head":{"label":"dissident:consecutive_days_badge","ref":"consecutive_days_badge","sha":"c68cba1b6e8ab87960af16c11f63fa5553a0369f","user":{"login":"dissident","id":3728600,"avatar_url":"https://avatars.githubusercontent.com/u/3728600?v=3","gravatar_id":"","url":"https://api.github.com/users/dissident","html_url":"https://github.com/dissident","followers_url":"https://api.github.com/users/dissident/followers","following_url":"https://api.github.com/users/dissident/following{/other_user}","gists_url":"https://api.github.com/users/dissident/gists{/gist_id}","starred_url":"https://api.github.com/users/dissident/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dissident/subscriptions","organizations_url":"https://api.github.com/users/dissident/orgs","repos_url":"https://api.github.com/users/dissident/repos","events_url":"https://api.github.com/users/dissident/events{/privacy}","received_events_url":"https://api.github.com/users/dissident/received_events","type":"User","site_admin":false},"repo":{"id":71102609,"name":"hummingbird-server","full_name":"dissident/hummingbird-server","owner":{"login":"dissident","id":3728600,"avatar_url":"https://avatars.githubusercontent.com/u/3728600?v=3","gravatar_id":"","url":"https://api.github.com/users/dissident","html_url":"https://github.com/dissident","followers_url":"https://api.github.com/users/dissident/followers","following_url":"https://api.github.com/users/dissident/following{/other_user}","gists_url":"https://api.github.com/users/dissident/gists{/gist_id}","starred_url":"https://api.github.com/users/dissident/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dissident/subscriptions","organizations_url":"https://api.github.com/users/dissident/orgs","repos_url":"https://api.github.com/users/dissident/repos","events_url":"https://api.github.com/users/dissident/events{/privacy}","received_events_url":"https://api.github.com/users/dissident/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dissident/hummingbird-server","description":"Rails API server for Hummingbird.me","fork":true,"url":"https://api.github.com/repos/dissident/hummingbird-server","forks_url":"https://api.github.com/repos/dissident/hummingbird-server/forks","keys_url":"https://api.github.com/repos/dissident/hummingbird-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dissident/hummingbird-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dissident/hummingbird-server/teams","hooks_url":"https://api.github.com/repos/dissident/hummingbird-server/hooks","issue_events_url":"https://api.github.com/repos/dissident/hummingbird-server/issues/events{/number}","events_url":"https://api.github.com/repos/dissident/hummingbird-server/events","assignees_url":"https://api.github.com/repos/dissident/hummingbird-server/assignees{/user}","branches_url":"https://api.github.com/repos/dissident/hummingbird-server/branches{/branch}","tags_url":"https://api.github.com/repos/dissident/hummingbird-server/tags","blobs_url":"https://api.github.com/repos/dissident/hummingbird-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dissident/hummingbird-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dissident/hummingbird-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/dissident/hummingbird-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dissident/hummingbird-server/statuses/{sha}","languages_url":"https://api.github.com/repos/dissident/hummingbird-server/languages","stargazers_url":"https://api.github.com/repos/dissident/hummingbird-server/stargazers","contributors_url":"https://api.github.com/repos/dissident/hummingbird-server/contributors","subscribers_url":"https://api.github.com/repos/dissident/hummingbird-server/subscribers","subscription_url":"https://api.github.com/repos/dissident/hummingbird-server/subscription","commits_url":"https://api.github.com/repos/dissident/hummingbird-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/dissident/hummingbird-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/dissident/hummingbird-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/dissident/hummingbird-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/dissident/hummingbird-server/contents/{+path}","compare_url":"https://api.github.com/repos/dissident/hummingbird-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dissident/hummingbird-server/merges","archive_url":"https://api.github.com/repos/dissident/hummingbird-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dissident/hummingbird-server/downloads","issues_url":"https://api.github.com/repos/dissident/hummingbird-server/issues{/number}","pulls_url":"https://api.github.com/repos/dissident/hummingbird-server/pulls{/number}","milestones_url":"https://api.github.com/repos/dissident/hummingbird-server/milestones{/number}","notifications_url":"https://api.github.com/repos/dissident/hummingbird-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dissident/hummingbird-server/labels{/name}","releases_url":"https://api.github.com/repos/dissident/hummingbird-server/releases{/id}","deployments_url":"https://api.github.com/repos/dissident/hummingbird-server/deployments","created_at":"2016-10-17T05:24:02Z","updated_at":"2016-10-17T05:24:03Z","pushed_at":"2016-11-15T14:12:29Z","git_url":"git://github.com/dissident/hummingbird-server.git","ssh_url":"git@github.com:dissident/hummingbird-server.git","clone_url":"https://github.com/dissident/hummingbird-server.git","svn_url":"https://github.com/dissident/hummingbird-server","homepage":null,"size":1232,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"the-future"}},"base":{"label":"hummingbird-me:badges","ref":"badges","sha":"f3931db9c6eeab3bf0f290a393c6b73166923e35","user":{"login":"hummingbird-me","id":7648832,"avatar_url":"https://avatars.githubusercontent.com/u/7648832?v=3","gravatar_id":"","url":"https://api.github.com/users/hummingbird-me","html_url":"https://github.com/hummingbird-me","followers_url":"https://api.github.com/users/hummingbird-me/followers","following_url":"https://api.github.com/users/hummingbird-me/following{/other_user}","gists_url":"https://api.github.com/users/hummingbird-me/gists{/gist_id}","starred_url":"https://api.github.com/users/hummingbird-me/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hummingbird-me/subscriptions","organizations_url":"https://api.github.com/users/hummingbird-me/orgs","repos_url":"https://api.github.com/users/hummingbird-me/repos","events_url":"https://api.github.com/users/hummingbird-me/events{/privacy}","received_events_url":"https://api.github.com/users/hummingbird-me/received_events","type":"Organization","site_admin":false},"repo":{"id":68339720,"name":"hummingbird-server","full_name":"hummingbird-me/hummingbird-server","owner":{"login":"hummingbird-me","id":7648832,"avatar_url":"https://avatars.githubusercontent.com/u/7648832?v=3","gravatar_id":"","url":"https://api.github.com/users/hummingbird-me","html_url":"https://github.com/hummingbird-me","followers_url":"https://api.github.com/users/hummingbird-me/followers","following_url":"https://api.github.com/users/hummingbird-me/following{/other_user}","gists_url":"https://api.github.com/users/hummingbird-me/gists{/gist_id}","starred_url":"https://api.github.com/users/hummingbird-me/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hummingbird-me/subscriptions","organizations_url":"https://api.github.com/users/hummingbird-me/orgs","repos_url":"https://api.github.com/users/hummingbird-me/repos","events_url":"https://api.github.com/users/hummingbird-me/events{/privacy}","received_events_url":"https://api.github.com/users/hummingbird-me/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hummingbird-me/hummingbird-server","description":":steam_locomotive: Rails API server for Hummingbird.me","fork":false,"url":"https://api.github.com/repos/hummingbird-me/hummingbird-server","forks_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/forks","keys_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/teams","hooks_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/hooks","issue_events_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/issues/events{/number}","events_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/events","assignees_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/assignees{/user}","branches_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/branches{/branch}","tags_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/tags","blobs_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/statuses/{sha}","languages_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/languages","stargazers_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/stargazers","contributors_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/contributors","subscribers_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/subscribers","subscription_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/subscription","commits_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/contents/{+path}","compare_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/merges","archive_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/downloads","issues_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/issues{/number}","pulls_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls{/number}","milestones_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/milestones{/number}","notifications_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/labels{/name}","releases_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/releases{/id}","deployments_url":"https://api.github.com/repos/hummingbird-me/hummingbird-server/deployments","created_at":"2016-09-15T23:36:19Z","updated_at":"2016-11-09T19:12:35Z","pushed_at":"2016-11-15T14:24:00Z","git_url":"git://github.com/hummingbird-me/hummingbird-server.git","ssh_url":"git@github.com:hummingbird-me/hummingbird-server.git","clone_url":"https://github.com/hummingbird-me/hummingbird-server.git","svn_url":"https://github.com/hummingbird-me/hummingbird-server","homepage":"","size":1376,"stargazers_count":15,"watchers_count":15,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":4,"forks":16,"open_issues":4,"watchers":15,"default_branch":"the-future"}},"_links":{"self":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/13"},"html":{"href":"https://github.com/hummingbird-me/hummingbird-server/pull/13"},"issue":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/issues/13"},"comments":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird-server/statuses/c68cba1b6e8ab87960af16c11f63fa5553a0369f"}}}}
{"actor":{"display_login":"houndci-bot"}}