{"action":"created","comment":{"url":"https://api.github.com/repos/h3poteto/Whalebird/pulls/comments/59047647","id":59047647,"diff_hunk":"@@ -148,16 +149,20 @@ class ProfileViewController: UIViewController, UITableViewDelegate, UITableViewD\n                     // フォローイベント\n                     if (aUserData.objectForKey(\"follow_request_sent?\") as! Bool) {\n                     } else {\n-                        if (aUserData.objectForKey(\"following?\") as! Bool) {\n-                            self.navigationItem.rightBarButtonItem = self.unfollowButton\n+                        if self.myself {\n+                            self.navigationItem.rightBarButtonItem = nil\n                         } else {\n-                            self.navigationItem.rightBarButtonItem = self.followButton\n+                            if (aUserData.objectForKey(\"following?\") as! Bool) {","path":"Whalebird/ProfileViewController.swift","position":93,"original_position":93,"commit_id":"ed2375c2445645d367fc2690a2fc35ae52a9e152","original_commit_id":"ed2375c2445645d367fc2690a2fc35ae52a9e152","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":"Control Statement Violation: if,for,while,do statements shouldn't wrap their conditionals in parentheses. (control_statement)","created_at":"2016-04-08T16:00:10Z","updated_at":"2016-04-08T16:00:10Z","html_url":"https://github.com/h3poteto/Whalebird/pull/66#discussion_r59047647","pull_request_url":"https://api.github.com/repos/h3poteto/Whalebird/pulls/66","_links":{"self":{"href":"https://api.github.com/repos/h3poteto/Whalebird/pulls/comments/59047647"},"html":{"href":"https://github.com/h3poteto/Whalebird/pull/66#discussion_r59047647"},"pull_request":{"href":"https://api.github.com/repos/h3poteto/Whalebird/pulls/66"}}},"pull_request":{"url":"https://api.github.com/repos/h3poteto/Whalebird/pulls/66","id":65808396,"html_url":"https://github.com/h3poteto/Whalebird/pull/66","diff_url":"https://github.com/h3poteto/Whalebird/pull/66.diff","patch_url":"https://github.com/h3poteto/Whalebird/pull/66.patch","issue_url":"https://api.github.com/repos/h3poteto/Whalebird/issues/66","number":66,"state":"open","locked":false,"title":"closes #61 自分自身のプロフィールを見た時に不要なフォロー情報や鍵垢制御をやめる","user":{"login":"h3poteto","id":4631959,"avatar_url":"https://avatars.githubusercontent.com/u/4631959?v=3","gravatar_id":"","url":"https://api.github.com/users/h3poteto","html_url":"https://github.com/h3poteto","followers_url":"https://api.github.com/users/h3poteto/followers","following_url":"https://api.github.com/users/h3poteto/following{/other_user}","gists_url":"https://api.github.com/users/h3poteto/gists{/gist_id}","starred_url":"https://api.github.com/users/h3poteto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h3poteto/subscriptions","organizations_url":"https://api.github.com/users/h3poteto/orgs","repos_url":"https://api.github.com/users/h3poteto/repos","events_url":"https://api.github.com/users/h3poteto/events{/privacy}","received_events_url":"https://api.github.com/users/h3poteto/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-08T15:59:57Z","updated_at":"2016-04-08T16:00:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d18f1093548cd1ba417cbc69a697cfec93b329dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/h3poteto/Whalebird/pulls/66/commits","review_comments_url":"https://api.github.com/repos/h3poteto/Whalebird/pulls/66/comments","review_comment_url":"https://api.github.com/repos/h3poteto/Whalebird/pulls/comments{/number}","comments_url":"https://api.github.com/repos/h3poteto/Whalebird/issues/66/comments","statuses_url":"https://api.github.com/repos/h3poteto/Whalebird/statuses/ed2375c2445645d367fc2690a2fc35ae52a9e152","head":{"label":"h3poteto:iss-61","ref":"iss-61","sha":"ed2375c2445645d367fc2690a2fc35ae52a9e152","user":{"login":"h3poteto","id":4631959,"avatar_url":"https://avatars.githubusercontent.com/u/4631959?v=3","gravatar_id":"","url":"https://api.github.com/users/h3poteto","html_url":"https://github.com/h3poteto","followers_url":"https://api.github.com/users/h3poteto/followers","following_url":"https://api.github.com/users/h3poteto/following{/other_user}","gists_url":"https://api.github.com/users/h3poteto/gists{/gist_id}","starred_url":"https://api.github.com/users/h3poteto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h3poteto/subscriptions","organizations_url":"https://api.github.com/users/h3poteto/orgs","repos_url":"https://api.github.com/users/h3poteto/repos","events_url":"https://api.github.com/users/h3poteto/events{/privacy}","received_events_url":"https://api.github.com/users/h3poteto/received_events","type":"User","site_admin":false},"repo":{"id":22784293,"name":"Whalebird","full_name":"h3poteto/Whalebird","owner":{"login":"h3poteto","id":4631959,"avatar_url":"https://avatars.githubusercontent.com/u/4631959?v=3","gravatar_id":"","url":"https://api.github.com/users/h3poteto","html_url":"https://github.com/h3poteto","followers_url":"https://api.github.com/users/h3poteto/followers","following_url":"https://api.github.com/users/h3poteto/following{/other_user}","gists_url":"https://api.github.com/users/h3poteto/gists{/gist_id}","starred_url":"https://api.github.com/users/h3poteto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h3poteto/subscriptions","organizations_url":"https://api.github.com/users/h3poteto/orgs","repos_url":"https://api.github.com/users/h3poteto/repos","events_url":"https://api.github.com/users/h3poteto/events{/privacy}","received_events_url":"https://api.github.com/users/h3poteto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/h3poteto/Whalebird","description":"Twitter client for iOS","fork":false,"url":"https://api.github.com/repos/h3poteto/Whalebird","forks_url":"https://api.github.com/repos/h3poteto/Whalebird/forks","keys_url":"https://api.github.com/repos/h3poteto/Whalebird/keys{/key_id}","collaborators_url":"https://api.github.com/repos/h3poteto/Whalebird/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/h3poteto/Whalebird/teams","hooks_url":"https://api.github.com/repos/h3poteto/Whalebird/hooks","issue_events_url":"https://api.github.com/repos/h3poteto/Whalebird/issues/events{/number}","events_url":"https://api.github.com/repos/h3poteto/Whalebird/events","assignees_url":"https://api.github.com/repos/h3poteto/Whalebird/assignees{/user}","branches_url":"https://api.github.com/repos/h3poteto/Whalebird/branches{/branch}","tags_url":"https://api.github.com/repos/h3poteto/Whalebird/tags","blobs_url":"https://api.github.com/repos/h3poteto/Whalebird/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/h3poteto/Whalebird/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/h3poteto/Whalebird/git/refs{/sha}","trees_url":"https://api.github.com/repos/h3poteto/Whalebird/git/trees{/sha}","statuses_url":"https://api.github.com/repos/h3poteto/Whalebird/statuses/{sha}","languages_url":"https://api.github.com/repos/h3poteto/Whalebird/languages","stargazers_url":"https://api.github.com/repos/h3poteto/Whalebird/stargazers","contributors_url":"https://api.github.com/repos/h3poteto/Whalebird/contributors","subscribers_url":"https://api.github.com/repos/h3poteto/Whalebird/subscribers","subscription_url":"https://api.github.com/repos/h3poteto/Whalebird/subscription","commits_url":"https://api.github.com/repos/h3poteto/Whalebird/commits{/sha}","git_commits_url":"https://api.github.com/repos/h3poteto/Whalebird/git/commits{/sha}","comments_url":"https://api.github.com/repos/h3poteto/Whalebird/comments{/number}","issue_comment_url":"https://api.github.com/repos/h3poteto/Whalebird/issues/comments{/number}","contents_url":"https://api.github.com/repos/h3poteto/Whalebird/contents/{+path}","compare_url":"https://api.github.com/repos/h3poteto/Whalebird/compare/{base}...{head}","merges_url":"https://api.github.com/repos/h3poteto/Whalebird/merges","archive_url":"https://api.github.com/repos/h3poteto/Whalebird/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/h3poteto/Whalebird/downloads","issues_url":"https://api.github.com/repos/h3poteto/Whalebird/issues{/number}","pulls_url":"https://api.github.com/repos/h3poteto/Whalebird/pulls{/number}","milestones_url":"https://api.github.com/repos/h3poteto/Whalebird/milestones{/number}","notifications_url":"https://api.github.com/repos/h3poteto/Whalebird/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/h3poteto/Whalebird/labels{/name}","releases_url":"https://api.github.com/repos/h3poteto/Whalebird/releases{/id}","deployments_url":"https://api.github.com/repos/h3poteto/Whalebird/deployments","created_at":"2014-08-09T10:49:06Z","updated_at":"2016-01-11T14:49:47Z","pushed_at":"2016-04-08T15:59:57Z","git_url":"git://github.com/h3poteto/Whalebird.git","ssh_url":"git@github.com:h3poteto/Whalebird.git","clone_url":"https://github.com/h3poteto/Whalebird.git","svn_url":"https://github.com/h3poteto/Whalebird","homepage":"http://whalebird.org/","size":3617,"stargazers_count":9,"watchers_count":9,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":8,"forks":2,"open_issues":8,"watchers":9,"default_branch":"master"}},"base":{"label":"h3poteto:master","ref":"master","sha":"9c3bafca586115bb45d760e6d8ce86526c3ed10f","user":{"login":"h3poteto","id":4631959,"avatar_url":"https://avatars.githubusercontent.com/u/4631959?v=3","gravatar_id":"","url":"https://api.github.com/users/h3poteto","html_url":"https://github.com/h3poteto","followers_url":"https://api.github.com/users/h3poteto/followers","following_url":"https://api.github.com/users/h3poteto/following{/other_user}","gists_url":"https://api.github.com/users/h3poteto/gists{/gist_id}","starred_url":"https://api.github.com/users/h3poteto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h3poteto/subscriptions","organizations_url":"https://api.github.com/users/h3poteto/orgs","repos_url":"https://api.github.com/users/h3poteto/repos","events_url":"https://api.github.com/users/h3poteto/events{/privacy}","received_events_url":"https://api.github.com/users/h3poteto/received_events","type":"User","site_admin":false},"repo":{"id":22784293,"name":"Whalebird","full_name":"h3poteto/Whalebird","owner":{"login":"h3poteto","id":4631959,"avatar_url":"https://avatars.githubusercontent.com/u/4631959?v=3","gravatar_id":"","url":"https://api.github.com/users/h3poteto","html_url":"https://github.com/h3poteto","followers_url":"https://api.github.com/users/h3poteto/followers","following_url":"https://api.github.com/users/h3poteto/following{/other_user}","gists_url":"https://api.github.com/users/h3poteto/gists{/gist_id}","starred_url":"https://api.github.com/users/h3poteto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h3poteto/subscriptions","organizations_url":"https://api.github.com/users/h3poteto/orgs","repos_url":"https://api.github.com/users/h3poteto/repos","events_url":"https://api.github.com/users/h3poteto/events{/privacy}","received_events_url":"https://api.github.com/users/h3poteto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/h3poteto/Whalebird","description":"Twitter client for iOS","fork":false,"url":"https://api.github.com/repos/h3poteto/Whalebird","forks_url":"https://api.github.com/repos/h3poteto/Whalebird/forks","keys_url":"https://api.github.com/repos/h3poteto/Whalebird/keys{/key_id}","collaborators_url":"https://api.github.com/repos/h3poteto/Whalebird/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/h3poteto/Whalebird/teams","hooks_url":"https://api.github.com/repos/h3poteto/Whalebird/hooks","issue_events_url":"https://api.github.com/repos/h3poteto/Whalebird/issues/events{/number}","events_url":"https://api.github.com/repos/h3poteto/Whalebird/events","assignees_url":"https://api.github.com/repos/h3poteto/Whalebird/assignees{/user}","branches_url":"https://api.github.com/repos/h3poteto/Whalebird/branches{/branch}","tags_url":"https://api.github.com/repos/h3poteto/Whalebird/tags","blobs_url":"https://api.github.com/repos/h3poteto/Whalebird/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/h3poteto/Whalebird/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/h3poteto/Whalebird/git/refs{/sha}","trees_url":"https://api.github.com/repos/h3poteto/Whalebird/git/trees{/sha}","statuses_url":"https://api.github.com/repos/h3poteto/Whalebird/statuses/{sha}","languages_url":"https://api.github.com/repos/h3poteto/Whalebird/languages","stargazers_url":"https://api.github.com/repos/h3poteto/Whalebird/stargazers","contributors_url":"https://api.github.com/repos/h3poteto/Whalebird/contributors","subscribers_url":"https://api.github.com/repos/h3poteto/Whalebird/subscribers","subscription_url":"https://api.github.com/repos/h3poteto/Whalebird/subscription","commits_url":"https://api.github.com/repos/h3poteto/Whalebird/commits{/sha}","git_commits_url":"https://api.github.com/repos/h3poteto/Whalebird/git/commits{/sha}","comments_url":"https://api.github.com/repos/h3poteto/Whalebird/comments{/number}","issue_comment_url":"https://api.github.com/repos/h3poteto/Whalebird/issues/comments{/number}","contents_url":"https://api.github.com/repos/h3poteto/Whalebird/contents/{+path}","compare_url":"https://api.github.com/repos/h3poteto/Whalebird/compare/{base}...{head}","merges_url":"https://api.github.com/repos/h3poteto/Whalebird/merges","archive_url":"https://api.github.com/repos/h3poteto/Whalebird/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/h3poteto/Whalebird/downloads","issues_url":"https://api.github.com/repos/h3poteto/Whalebird/issues{/number}","pulls_url":"https://api.github.com/repos/h3poteto/Whalebird/pulls{/number}","milestones_url":"https://api.github.com/repos/h3poteto/Whalebird/milestones{/number}","notifications_url":"https://api.github.com/repos/h3poteto/Whalebird/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/h3poteto/Whalebird/labels{/name}","releases_url":"https://api.github.com/repos/h3poteto/Whalebird/releases{/id}","deployments_url":"https://api.github.com/repos/h3poteto/Whalebird/deployments","created_at":"2014-08-09T10:49:06Z","updated_at":"2016-01-11T14:49:47Z","pushed_at":"2016-04-08T15:59:57Z","git_url":"git://github.com/h3poteto/Whalebird.git","ssh_url":"git@github.com:h3poteto/Whalebird.git","clone_url":"https://github.com/h3poteto/Whalebird.git","svn_url":"https://github.com/h3poteto/Whalebird","homepage":"http://whalebird.org/","size":3617,"stargazers_count":9,"watchers_count":9,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":8,"forks":2,"open_issues":8,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/h3poteto/Whalebird/pulls/66"},"html":{"href":"https://github.com/h3poteto/Whalebird/pull/66"},"issue":{"href":"https://api.github.com/repos/h3poteto/Whalebird/issues/66"},"comments":{"href":"https://api.github.com/repos/h3poteto/Whalebird/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/h3poteto/Whalebird/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/h3poteto/Whalebird/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/h3poteto/Whalebird/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/h3poteto/Whalebird/statuses/ed2375c2445645d367fc2690a2fc35ae52a9e152"}}}}