{"action":"created","comment":{"url":"https://api.github.com/repos/hummingbird-me/hummingbird/pulls/comments/69675816","id":69675816,"diff_hunk":"@@ -0,0 +1,71 @@\n+require 'rails_helper'\n+\n+RSpec.describe DataImport::MyAnimeList do\n+  subject { described_class.new }\n+\n+  before do\n+    host = described_class::ATARASHII_API_HOST\n+    stub_request(:get, \"#{host}anime/1\").\n+      to_return(body: fixture('my_anime_list/cowboy-bebop-tv.json'))\n+    stub_request(:get, \"#{host}anime/5\").\n+      to_return(body: fixture('my_anime_list/cowboy-bebop-movie.json'))\n+    stub_request(:get, \"http://cdn.myanimelist.net/images/anime/4/19644.jpg\").\n+      to_return(body: fixture('image.jpg'), headers: {\n+        'Content-Type': 'image/jpg'\n+      })\n+\n+    stub_request(:get, \"#{host}manga/1\").\n+      to_return(body: fixture('my_anime_list/berserk-manga.json'))\n+    stub_request(:get, \"http://cdn.myanimelist.net/images/manga/1/157931.jpg\").\n+      to_return(body: fixture('image.jpg'), headers: {\n+        'Content-Type': 'image/jpg'\n+      })","path":"server/spec/lib/data_import/my_anime_list_spec.rb","position":22,"original_position":22,"commit_id":"a7d79193fe951e3c83df202d73952ce3d276de47","original_commit_id":"a7d79193fe951e3c83df202d73952ce3d276de47","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":"Indent the right brace the same as the first position after the preceding left parenthesis.","created_at":"2016-07-06T05:06:29Z","updated_at":"2016-07-06T05:06:29Z","html_url":"https://github.com/hummingbird-me/hummingbird/pull/734#discussion_r69675816","pull_request_url":"https://api.github.com/repos/hummingbird-me/hummingbird/pulls/734","_links":{"self":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird/pulls/comments/69675816"},"html":{"href":"https://github.com/hummingbird-me/hummingbird/pull/734#discussion_r69675816"},"pull_request":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird/pulls/734"}}},"pull_request":{"url":"https://api.github.com/repos/hummingbird-me/hummingbird/pulls/734","id":76100874,"html_url":"https://github.com/hummingbird-me/hummingbird/pull/734","diff_url":"https://github.com/hummingbird-me/hummingbird/pull/734.diff","patch_url":"https://github.com/hummingbird-me/hummingbird/pull/734.patch","issue_url":"https://api.github.com/repos/hummingbird-me/hummingbird/issues/734","number":734,"state":"open","locked":false,"title":"MyAnimeList Importer","user":{"login":"toyhammered","id":1283983,"avatar_url":"https://avatars.githubusercontent.com/u/1283983?v=3","gravatar_id":"","url":"https://api.github.com/users/toyhammered","html_url":"https://github.com/toyhammered","followers_url":"https://api.github.com/users/toyhammered/followers","following_url":"https://api.github.com/users/toyhammered/following{/other_user}","gists_url":"https://api.github.com/users/toyhammered/gists{/gist_id}","starred_url":"https://api.github.com/users/toyhammered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toyhammered/subscriptions","organizations_url":"https://api.github.com/users/toyhammered/orgs","repos_url":"https://api.github.com/users/toyhammered/repos","events_url":"https://api.github.com/users/toyhammered/events{/privacy}","received_events_url":"https://api.github.com/users/toyhammered/received_events","type":"User","site_admin":false},"body":"reference #710 (need to still add manga)","created_at":"2016-07-03T23:03:02Z","updated_at":"2016-07-06T05:06:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d419394619dd7945599fa44daf6e8a5c7e1de023","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hummingbird-me/hummingbird/pulls/734/commits","review_comments_url":"https://api.github.com/repos/hummingbird-me/hummingbird/pulls/734/comments","review_comment_url":"https://api.github.com/repos/hummingbird-me/hummingbird/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hummingbird-me/hummingbird/issues/734/comments","statuses_url":"https://api.github.com/repos/hummingbird-me/hummingbird/statuses/a7d79193fe951e3c83df202d73952ce3d276de47","head":{"label":"toyhammered:my-anime-list-importer","ref":"my-anime-list-importer","sha":"a7d79193fe951e3c83df202d73952ce3d276de47","user":{"login":"toyhammered","id":1283983,"avatar_url":"https://avatars.githubusercontent.com/u/1283983?v=3","gravatar_id":"","url":"https://api.github.com/users/toyhammered","html_url":"https://github.com/toyhammered","followers_url":"https://api.github.com/users/toyhammered/followers","following_url":"https://api.github.com/users/toyhammered/following{/other_user}","gists_url":"https://api.github.com/users/toyhammered/gists{/gist_id}","starred_url":"https://api.github.com/users/toyhammered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toyhammered/subscriptions","organizations_url":"https://api.github.com/users/toyhammered/orgs","repos_url":"https://api.github.com/users/toyhammered/repos","events_url":"https://api.github.com/users/toyhammered/events{/privacy}","received_events_url":"https://api.github.com/users/toyhammered/received_events","type":"User","site_admin":false},"repo":{"id":61855361,"name":"hummingbird","full_name":"toyhammered/hummingbird","owner":{"login":"toyhammered","id":1283983,"avatar_url":"https://avatars.githubusercontent.com/u/1283983?v=3","gravatar_id":"","url":"https://api.github.com/users/toyhammered","html_url":"https://github.com/toyhammered","followers_url":"https://api.github.com/users/toyhammered/followers","following_url":"https://api.github.com/users/toyhammered/following{/other_user}","gists_url":"https://api.github.com/users/toyhammered/gists{/gist_id}","starred_url":"https://api.github.com/users/toyhammered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toyhammered/subscriptions","organizations_url":"https://api.github.com/users/toyhammered/orgs","repos_url":"https://api.github.com/users/toyhammered/repos","events_url":"https://api.github.com/users/toyhammered/events{/privacy}","received_events_url":"https://api.github.com/users/toyhammered/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toyhammered/hummingbird","description":"Probably the coolest anime discovery platform around.","fork":true,"url":"https://api.github.com/repos/toyhammered/hummingbird","forks_url":"https://api.github.com/repos/toyhammered/hummingbird/forks","keys_url":"https://api.github.com/repos/toyhammered/hummingbird/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toyhammered/hummingbird/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toyhammered/hummingbird/teams","hooks_url":"https://api.github.com/repos/toyhammered/hummingbird/hooks","issue_events_url":"https://api.github.com/repos/toyhammered/hummingbird/issues/events{/number}","events_url":"https://api.github.com/repos/toyhammered/hummingbird/events","assignees_url":"https://api.github.com/repos/toyhammered/hummingbird/assignees{/user}","branches_url":"https://api.github.com/repos/toyhammered/hummingbird/branches{/branch}","tags_url":"https://api.github.com/repos/toyhammered/hummingbird/tags","blobs_url":"https://api.github.com/repos/toyhammered/hummingbird/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toyhammered/hummingbird/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toyhammered/hummingbird/git/refs{/sha}","trees_url":"https://api.github.com/repos/toyhammered/hummingbird/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toyhammered/hummingbird/statuses/{sha}","languages_url":"https://api.github.com/repos/toyhammered/hummingbird/languages","stargazers_url":"https://api.github.com/repos/toyhammered/hummingbird/stargazers","contributors_url":"https://api.github.com/repos/toyhammered/hummingbird/contributors","subscribers_url":"https://api.github.com/repos/toyhammered/hummingbird/subscribers","subscription_url":"https://api.github.com/repos/toyhammered/hummingbird/subscription","commits_url":"https://api.github.com/repos/toyhammered/hummingbird/commits{/sha}","git_commits_url":"https://api.github.com/repos/toyhammered/hummingbird/git/commits{/sha}","comments_url":"https://api.github.com/repos/toyhammered/hummingbird/comments{/number}","issue_comment_url":"https://api.github.com/repos/toyhammered/hummingbird/issues/comments{/number}","contents_url":"https://api.github.com/repos/toyhammered/hummingbird/contents/{+path}","compare_url":"https://api.github.com/repos/toyhammered/hummingbird/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toyhammered/hummingbird/merges","archive_url":"https://api.github.com/repos/toyhammered/hummingbird/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toyhammered/hummingbird/downloads","issues_url":"https://api.github.com/repos/toyhammered/hummingbird/issues{/number}","pulls_url":"https://api.github.com/repos/toyhammered/hummingbird/pulls{/number}","milestones_url":"https://api.github.com/repos/toyhammered/hummingbird/milestones{/number}","notifications_url":"https://api.github.com/repos/toyhammered/hummingbird/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toyhammered/hummingbird/labels{/name}","releases_url":"https://api.github.com/repos/toyhammered/hummingbird/releases{/id}","deployments_url":"https://api.github.com/repos/toyhammered/hummingbird/deployments","created_at":"2016-06-24T03:49:10Z","updated_at":"2016-06-24T03:49:11Z","pushed_at":"2016-07-06T05:06:24Z","git_url":"git://github.com/toyhammered/hummingbird.git","ssh_url":"git@github.com:toyhammered/hummingbird.git","clone_url":"https://github.com/toyhammered/hummingbird.git","svn_url":"https://github.com/toyhammered/hummingbird","homepage":"http://hummingbird.me/","size":163762,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"the-future"}},"base":{"label":"hummingbird-me:the-future","ref":"the-future","sha":"64fef9e3cc5b1a8839d0abaacc73ef059f4448dd","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":20206508,"name":"hummingbird","full_name":"hummingbird-me/hummingbird","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","description":"Probably the coolest anime discovery platform around.","fork":false,"url":"https://api.github.com/repos/hummingbird-me/hummingbird","forks_url":"https://api.github.com/repos/hummingbird-me/hummingbird/forks","keys_url":"https://api.github.com/repos/hummingbird-me/hummingbird/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hummingbird-me/hummingbird/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hummingbird-me/hummingbird/teams","hooks_url":"https://api.github.com/repos/hummingbird-me/hummingbird/hooks","issue_events_url":"https://api.github.com/repos/hummingbird-me/hummingbird/issues/events{/number}","events_url":"https://api.github.com/repos/hummingbird-me/hummingbird/events","assignees_url":"https://api.github.com/repos/hummingbird-me/hummingbird/assignees{/user}","branches_url":"https://api.github.com/repos/hummingbird-me/hummingbird/branches{/branch}","tags_url":"https://api.github.com/repos/hummingbird-me/hummingbird/tags","blobs_url":"https://api.github.com/repos/hummingbird-me/hummingbird/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hummingbird-me/hummingbird/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hummingbird-me/hummingbird/git/refs{/sha}","trees_url":"https://api.github.com/repos/hummingbird-me/hummingbird/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hummingbird-me/hummingbird/statuses/{sha}","languages_url":"https://api.github.com/repos/hummingbird-me/hummingbird/languages","stargazers_url":"https://api.github.com/repos/hummingbird-me/hummingbird/stargazers","contributors_url":"https://api.github.com/repos/hummingbird-me/hummingbird/contributors","subscribers_url":"https://api.github.com/repos/hummingbird-me/hummingbird/subscribers","subscription_url":"https://api.github.com/repos/hummingbird-me/hummingbird/subscription","commits_url":"https://api.github.com/repos/hummingbird-me/hummingbird/commits{/sha}","git_commits_url":"https://api.github.com/repos/hummingbird-me/hummingbird/git/commits{/sha}","comments_url":"https://api.github.com/repos/hummingbird-me/hummingbird/comments{/number}","issue_comment_url":"https://api.github.com/repos/hummingbird-me/hummingbird/issues/comments{/number}","contents_url":"https://api.github.com/repos/hummingbird-me/hummingbird/contents/{+path}","compare_url":"https://api.github.com/repos/hummingbird-me/hummingbird/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hummingbird-me/hummingbird/merges","archive_url":"https://api.github.com/repos/hummingbird-me/hummingbird/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hummingbird-me/hummingbird/downloads","issues_url":"https://api.github.com/repos/hummingbird-me/hummingbird/issues{/number}","pulls_url":"https://api.github.com/repos/hummingbird-me/hummingbird/pulls{/number}","milestones_url":"https://api.github.com/repos/hummingbird-me/hummingbird/milestones{/number}","notifications_url":"https://api.github.com/repos/hummingbird-me/hummingbird/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hummingbird-me/hummingbird/labels{/name}","releases_url":"https://api.github.com/repos/hummingbird-me/hummingbird/releases{/id}","deployments_url":"https://api.github.com/repos/hummingbird-me/hummingbird/deployments","created_at":"2014-05-27T04:05:08Z","updated_at":"2016-07-05T14:01:11Z","pushed_at":"2016-07-06T05:06:24Z","git_url":"git://github.com/hummingbird-me/hummingbird.git","ssh_url":"git@github.com:hummingbird-me/hummingbird.git","clone_url":"https://github.com/hummingbird-me/hummingbird.git","svn_url":"https://github.com/hummingbird-me/hummingbird","homepage":"http://hummingbird.me/","size":167007,"stargazers_count":1662,"watchers_count":1662,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":219,"mirror_url":null,"open_issues_count":29,"forks":219,"open_issues":29,"watchers":1662,"default_branch":"the-future"}},"_links":{"self":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird/pulls/734"},"html":{"href":"https://github.com/hummingbird-me/hummingbird/pull/734"},"issue":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird/issues/734"},"comments":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird/issues/734/comments"},"review_comments":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird/pulls/734/comments"},"review_comment":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird/pulls/734/commits"},"statuses":{"href":"https://api.github.com/repos/hummingbird-me/hummingbird/statuses/a7d79193fe951e3c83df202d73952ce3d276de47"}}}}
{"actor":{"display_login":"houndci-bot"}}