{"action":"created","comment":{"url":"https://api.github.com/repos/aoki77/TaskManager/pulls/comments/78658117","id":78658117,"diff_hunk":"@@ -0,0 +1,338 @@\n+//\n+//  ViewController.swift\n+//  TaskManager\n+//\n+//  Created by 青木孝乃輔 on 2016/08/12.\n+//  Copyright © 2016年 青木孝乃輔. All rights reserved.\n+//\n+\n+import UIKit\n+\n+final class ViewController: UIViewController, UIGestureRecognizerDelegate {\n+    \n+    // MARK: - アウトレット\n+    \n+    @IBOutlet weak private var dateLabel: UILabel!\n+    @IBOutlet weak private var timeLineCollectionView: UICollectionView!\n+    @IBOutlet weak private var tommorowButton: UIButton!\n+    @IBOutlet weak private var yesterdayButton: UIButton!\n+    @IBOutlet weak private var dayTimeTableView: UITableView!\n+    @IBOutlet weak private var dayTimeWidthLayoutConstraint: NSLayoutConstraint!\n+    \n+    // MARK: - 定数プロパティ\n+    \n+    /// カレンダー\n+    let calendar = NSCalendar(identifier: NSCalendarIdentifierGregorian)!\n+    \n+    /// 日付用のフォーマッター\n+    private let dateFormatter: NSDateFormatter = {\n+        let dateFormatter = NSDateFormatter()\n+        dateFormatter.locale = NSLocale(localeIdentifier: \"en_US\")\n+        dateFormatter.dateFormat = \"yyyy/MM/dd\"\n+        return dateFormatter\n+    }()\n+    \n+    /// 時間\n+    private let hourTime = { () -> NSMutableArray in\n+        let time: NSMutableArray = []\n+        for num in 0 ... 23 {\n+            time.addObject(String(num) + \"時\")\n+        }\n+        return time\n+    }\n+    \n+    // MARK: - 変数プロパティ\n+    \n+    /// 当日の日付\n+    private var currentDate = NSDate()\n+    \n+    /// 翌日の日付\n+    private var nextDate: NSDate = NSDate() {\n+        didSet {\n+             tommorowButton.setTitle(dateFormatter.stringFromDate(nextDate), forState: UIControlState.Normal)\n+        }\n+    }\n+    /// 昨日の日付\n+    private var previousDate: NSDate = NSDate() {\n+        didSet {\n+            yesterdayButton.setTitle(dateFormatter.stringFromDate(previousDate), forState: UIControlState.Normal)\n+        }\n+    }\n+    \n+    /// 選択されたセルのインデックスパス\n+    private var selectedCellIndexPath: NSIndexPath?\n+    \n+    /// popoverのサイズ\n+    private var popoverSize: CGSize {\n+        switch UIApplication.sharedApplication().statusBarOrientation {\n+        case .Portrait, .PortraitUpsideDown, .Unknown:\n+            return CGSize(width: view.bounds.width, height: view.bounds.height / 3)\n+        case .LandscapeLeft, .LandscapeRight:\n+            return CGSize(width: view.bounds.width / 3, height: view.bounds.height)\n+        }\n+    }\n+    \n+    /// popoverの方向\n+    private var popoverDirection: UIPopoverArrowDirection {\n+        switch UIApplication.sharedApplication().statusBarOrientation {\n+        case .Portrait, .PortraitUpsideDown, .Unknown:\n+            return [.Up, .Down]\n+        case .LandscapeLeft, .LandscapeRight:\n+            return [.Left, .Right]\n+        }\n+    }\n+    \n+    // MARK: - ライフサイクル関数\n+    \n+    override func viewDidLoad() {\n+        super.viewDidLoad()\n+        setupView()\n+        setupDate()\n+        setupTable()\n+        setupCollection()\n+    }\n+    \n+    /// 画面回転時の処理\n+    override func viewWillTransitionToSize(size: CGSize, withTransitionCoordinator coordinator: UIViewControllerTransitionCoordinator) {\n+        super.viewWillTransitionToSize(size, withTransitionCoordinator: coordinator)\n+        coordinator.animateAlongsideTransition(nil) { [weak self] _ in\n+            guard let guardSelf = self else { return }\n+            guardSelf.setupView()\n+            guardSelf.dayTimeTableView.reloadData()\n+            if let TimeLineLayout = guardSelf.timeLineCollectionView.collectionViewLayout as? TimeLineLayout{\n+                TimeLineLayout.updateLayout()\n+            }\n+            if let indexPath = guardSelf.selectedCellIndexPath {\n+                guardSelf.presentPopover(guardSelf.timeLineCollectionView, indexPath: indexPath)\n+            }\n+            \n+        }\n+    }\n+    \n+    // MARK: - プライベート関数\n+    \n+    /// 初期値を設定\n+    private func setupView() {\n+        switch UIApplication.sharedApplication().statusBarOrientation {\n+        case .Portrait, .PortraitUpsideDown, .Unknown:\n+            dayTimeTableView.rowHeight = self.view.frame.size.height / 16\n+            dayTimeWidthLayoutConstraint.constant = self.view.frame.size.width / 4\n+        case .LandscapeLeft, .LandscapeRight:\n+            dayTimeTableView.rowHeight = self.view.frame.size.height / 10\n+            dayTimeWidthLayoutConstraint.constant = self.view.frame.size.width / 4\n+        }\n+    }\n+    \n+    /// テーブルの設定\n+    private func setupTable() {\n+        dayTimeTableView.allowsSelection = false\n+        dayTimeTableView.separatorInset = UIEdgeInsetsZero\n+        \n+        // セル名の登録をおこなう.\n+        dayTimeTableView.registerClass(UITableViewCell.self, forCellReuseIdentifier: \"tableCell\")\n+        \n+        // スクロールバー非表示\n+        dayTimeTableView.showsVerticalScrollIndicator = false\n+        \n+        // 羅線の色を設定\n+        dayTimeTableView.separatorColor = UIColor.blackColor()\n+        \n+        // DataSourceの設定\n+        dayTimeTableView.dataSource = self\n+        \n+        // Delegateを設定\n+        dayTimeTableView.delegate = self\n+        \n+    }\n+    \n+    /// コレクションの設定\n+    private func setupCollection() {\n+        timeLineCollectionView.registerClass(UICollectionViewCell.self, forCellWithReuseIdentifier: \"collectionCell\")\n+        timeLineCollectionView.backgroundColor = UIColor.whiteColor()\n+        \n+        timeLineCollectionView.delegate = self\n+        timeLineCollectionView.dataSource = self\n+        \n+        longTap()\n+    }\n+    \n+    /// ロングタップの設定\n+    private func longTap() {\n+        // viewにロングタップの使用宣言を追加\n+        let longPressGestureRecognizer = UILongPressGestureRecognizer(target: self, action: #selector(ViewController.cellLongPressed(_:)))\n+        \n+        longPressGestureRecognizer.delegate = self\n+        \n+        // collectionにrecognizerを設定\n+        timeLineCollectionView.addGestureRecognizer(longPressGestureRecognizer)\n+    }\n+    \n+    /// 日付の設定\n+    private func setupDate() {\n+        nextDate = calendar.dateByAddingUnit(.Day, value: 1, toDate: currentDate, options: NSCalendarOptions())!\n+        previousDate = calendar.dateByAddingUnit(.Day, value: -1, toDate: currentDate, options: NSCalendarOptions())!\n+        \n+        // 日付ラベルの設定\n+        dateLabel.text = dateFormatter.stringFromDate(currentDate)\n+        dateLabel.textAlignment = NSTextAlignment.Center\n+        dateLabel.textColor = UIColor.blackColor()\n+    }\n+    \n+    /// popover処理\n+    private func presentPopover(collectionView: UICollectionView, indexPath: NSIndexPath) {\n+        let sourceView = collectionView.cellForItemAtIndexPath(indexPath)\n+        let storyboard: UIStoryboard = UIStoryboard(name: \"TaskPop\", bundle: NSBundle.mainBundle())\n+        let viewController: UIViewController = storyboard.instantiateViewControllerWithIdentifier(\"TaskPop\") as UIViewController\n+        \n+        viewController.modalPresentationStyle = .Popover\n+        viewController.preferredContentSize = popoverSize\n+        if let popoverViewController = presentedViewController {\n+            let animated: Bool = false\n+            // popoverを閉じる\n+            popoverViewController.dismissViewControllerAnimated(animated, completion: nil)\n+        }\n+        \n+        if let popoverController = viewController.popoverPresentationController {\n+            popoverController.delegate = self\n+            // 出す向き\n+            popoverController.permittedArrowDirections = popoverDirection\n+            \n+            // どこから出た感じにするか\n+            popoverController.sourceView = sourceView\n+            guard let guardSourceView = sourceView else { return }\n+            popoverController.sourceRect = guardSourceView.bounds\n+        }\n+        presentViewController(viewController, animated: true, completion: nil)\n+    }\n+    \n+    // MARK: - アクション\n+    \n+    /// 日付を翌日に更新\n+    @IBAction func goTommorow(sender: AnyObject) {\n+        currentDate = nextDate\n+        setupDate()\n+    }\n+    \n+    /// 日付を昨日に更新\n+    @IBAction func goYesterday(sender: AnyObject) {\n+        currentDate = previousDate\n+        setupDate()\n+    }\n+    \n+    /// セル長押し時の処理\n+    func cellLongPressed(sender : UILongPressGestureRecognizer){\n+        // 押された位置でcellのpathを取得\n+        let point = sender.locationInView(timeLineCollectionView)\n+        let indexPath = timeLineCollectionView.indexPathForItemAtPoint(point)\n+        \n+        if sender.state == UIGestureRecognizerState.Began{\n+            // セルが長押しされたときの処理\n+            // 完了か未完了かを把握して変更する処理をここに記載\n+            print(\"\\(indexPath!.row + 1)が長押しされました\")\n+        }\n+    }\n+}\n+\n+// MARK: - UICollectionViewDelegate\n+\n+extension ViewController: UICollectionViewDelegate {\n+    \n+    // セルクリック時の処理\n+    func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {\n+        print(\"選択しました: \\(indexPath.row)\")\n+        selectedCellIndexPath = indexPath\n+        self.presentPopover(collectionView, indexPath: indexPath)\n+    }\n+}\n+\n+// MARK: - UICollectionViewDateSource\n+\n+extension ViewController: UICollectionViewDataSource {\n+    \n+    /// データの個数を返す\n+    func collectionView(collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n+        // 行数\n+        let row = 24\n+        // 列数\n+        let column = 3\n+        \n+        return row * column\n+    }\n+    /// データを返す\n+    func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell {\n+        // コレクションビューから識別子「TestCell」のセルを取得\n+        let cell = collectionView.dequeueReusableCellWithReuseIdentifier(\"collectionCell\", forIndexPath: indexPath)\n+        // セルの背景色を赤に設定\n+        cell.backgroundColor = UIColor.whiteColor()","path":"TaskManager/ViewController.swift","position":265,"original_position":266,"commit_id":"9d766805b860952f099f90675a38282ce40a607f","original_commit_id":"9d766805b860952f099f90675a38282ce40a607f","user":{"login":"t-ota","id":7590043,"avatar_url":"https://avatars.githubusercontent.com/u/7590043?v=3","gravatar_id":"","url":"https://api.github.com/users/t-ota","html_url":"https://github.com/t-ota","followers_url":"https://api.github.com/users/t-ota/followers","following_url":"https://api.github.com/users/t-ota/following{/other_user}","gists_url":"https://api.github.com/users/t-ota/gists{/gist_id}","starred_url":"https://api.github.com/users/t-ota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-ota/subscriptions","organizations_url":"https://api.github.com/users/t-ota/orgs","repos_url":"https://api.github.com/users/t-ota/repos","events_url":"https://api.github.com/users/t-ota/events{/privacy}","received_events_url":"https://api.github.com/users/t-ota/received_events","type":"User","site_admin":false},"body":"UIColorの省略が可能ですね。","created_at":"2016-09-13T22:39:34Z","updated_at":"2016-09-13T22:39:34Z","html_url":"https://github.com/aoki77/TaskManager/pull/12#discussion_r78658117","pull_request_url":"https://api.github.com/repos/aoki77/TaskManager/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/aoki77/TaskManager/pulls/comments/78658117"},"html":{"href":"https://github.com/aoki77/TaskManager/pull/12#discussion_r78658117"},"pull_request":{"href":"https://api.github.com/repos/aoki77/TaskManager/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/aoki77/TaskManager/pulls/12","id":84596723,"html_url":"https://github.com/aoki77/TaskManager/pull/12","diff_url":"https://github.com/aoki77/TaskManager/pull/12.diff","patch_url":"https://github.com/aoki77/TaskManager/pull/12.patch","issue_url":"https://api.github.com/repos/aoki77/TaskManager/issues/12","number":12,"state":"open","locked":false,"title":"【InReview】スケジュール画面 (iPhone版)","user":{"login":"aoki77","id":13234696,"avatar_url":"https://avatars.githubusercontent.com/u/13234696?v=3","gravatar_id":"","url":"https://api.github.com/users/aoki77","html_url":"https://github.com/aoki77","followers_url":"https://api.github.com/users/aoki77/followers","following_url":"https://api.github.com/users/aoki77/following{/other_user}","gists_url":"https://api.github.com/users/aoki77/gists{/gist_id}","starred_url":"https://api.github.com/users/aoki77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoki77/subscriptions","organizations_url":"https://api.github.com/users/aoki77/orgs","repos_url":"https://api.github.com/users/aoki77/repos","events_url":"https://api.github.com/users/aoki77/events{/privacy}","received_events_url":"https://api.github.com/users/aoki77/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-09T05:44:34Z","updated_at":"2016-09-13T22:39:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd2aa451d2838bc00c94abfaf883447b70a684b7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/aoki77/TaskManager/pulls/12/commits","review_comments_url":"https://api.github.com/repos/aoki77/TaskManager/pulls/12/comments","review_comment_url":"https://api.github.com/repos/aoki77/TaskManager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aoki77/TaskManager/issues/12/comments","statuses_url":"https://api.github.com/repos/aoki77/TaskManager/statuses/9d766805b860952f099f90675a38282ce40a607f","head":{"label":"aoki77:TimeScheduleIPhone","ref":"TimeScheduleIPhone","sha":"9d766805b860952f099f90675a38282ce40a607f","user":{"login":"aoki77","id":13234696,"avatar_url":"https://avatars.githubusercontent.com/u/13234696?v=3","gravatar_id":"","url":"https://api.github.com/users/aoki77","html_url":"https://github.com/aoki77","followers_url":"https://api.github.com/users/aoki77/followers","following_url":"https://api.github.com/users/aoki77/following{/other_user}","gists_url":"https://api.github.com/users/aoki77/gists{/gist_id}","starred_url":"https://api.github.com/users/aoki77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoki77/subscriptions","organizations_url":"https://api.github.com/users/aoki77/orgs","repos_url":"https://api.github.com/users/aoki77/repos","events_url":"https://api.github.com/users/aoki77/events{/privacy}","received_events_url":"https://api.github.com/users/aoki77/received_events","type":"User","site_admin":false},"repo":{"id":65512508,"name":"TaskManager","full_name":"aoki77/TaskManager","owner":{"login":"aoki77","id":13234696,"avatar_url":"https://avatars.githubusercontent.com/u/13234696?v=3","gravatar_id":"","url":"https://api.github.com/users/aoki77","html_url":"https://github.com/aoki77","followers_url":"https://api.github.com/users/aoki77/followers","following_url":"https://api.github.com/users/aoki77/following{/other_user}","gists_url":"https://api.github.com/users/aoki77/gists{/gist_id}","starred_url":"https://api.github.com/users/aoki77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoki77/subscriptions","organizations_url":"https://api.github.com/users/aoki77/orgs","repos_url":"https://api.github.com/users/aoki77/repos","events_url":"https://api.github.com/users/aoki77/events{/privacy}","received_events_url":"https://api.github.com/users/aoki77/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aoki77/TaskManager","description":null,"fork":false,"url":"https://api.github.com/repos/aoki77/TaskManager","forks_url":"https://api.github.com/repos/aoki77/TaskManager/forks","keys_url":"https://api.github.com/repos/aoki77/TaskManager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aoki77/TaskManager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aoki77/TaskManager/teams","hooks_url":"https://api.github.com/repos/aoki77/TaskManager/hooks","issue_events_url":"https://api.github.com/repos/aoki77/TaskManager/issues/events{/number}","events_url":"https://api.github.com/repos/aoki77/TaskManager/events","assignees_url":"https://api.github.com/repos/aoki77/TaskManager/assignees{/user}","branches_url":"https://api.github.com/repos/aoki77/TaskManager/branches{/branch}","tags_url":"https://api.github.com/repos/aoki77/TaskManager/tags","blobs_url":"https://api.github.com/repos/aoki77/TaskManager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aoki77/TaskManager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aoki77/TaskManager/git/refs{/sha}","trees_url":"https://api.github.com/repos/aoki77/TaskManager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aoki77/TaskManager/statuses/{sha}","languages_url":"https://api.github.com/repos/aoki77/TaskManager/languages","stargazers_url":"https://api.github.com/repos/aoki77/TaskManager/stargazers","contributors_url":"https://api.github.com/repos/aoki77/TaskManager/contributors","subscribers_url":"https://api.github.com/repos/aoki77/TaskManager/subscribers","subscription_url":"https://api.github.com/repos/aoki77/TaskManager/subscription","commits_url":"https://api.github.com/repos/aoki77/TaskManager/commits{/sha}","git_commits_url":"https://api.github.com/repos/aoki77/TaskManager/git/commits{/sha}","comments_url":"https://api.github.com/repos/aoki77/TaskManager/comments{/number}","issue_comment_url":"https://api.github.com/repos/aoki77/TaskManager/issues/comments{/number}","contents_url":"https://api.github.com/repos/aoki77/TaskManager/contents/{+path}","compare_url":"https://api.github.com/repos/aoki77/TaskManager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aoki77/TaskManager/merges","archive_url":"https://api.github.com/repos/aoki77/TaskManager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aoki77/TaskManager/downloads","issues_url":"https://api.github.com/repos/aoki77/TaskManager/issues{/number}","pulls_url":"https://api.github.com/repos/aoki77/TaskManager/pulls{/number}","milestones_url":"https://api.github.com/repos/aoki77/TaskManager/milestones{/number}","notifications_url":"https://api.github.com/repos/aoki77/TaskManager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aoki77/TaskManager/labels{/name}","releases_url":"https://api.github.com/repos/aoki77/TaskManager/releases{/id}","deployments_url":"https://api.github.com/repos/aoki77/TaskManager/deployments","created_at":"2016-08-12T01:13:04Z","updated_at":"2016-08-12T01:26:32Z","pushed_at":"2016-09-13T04:47:42Z","git_url":"git://github.com/aoki77/TaskManager.git","ssh_url":"git@github.com:aoki77/TaskManager.git","clone_url":"https://github.com/aoki77/TaskManager.git","svn_url":"https://github.com/aoki77/TaskManager","homepage":null,"size":19775,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"aoki77:TimeSchedule","ref":"TimeSchedule","sha":"4cc724007655ec54dd32b73aca732d64f2fdedcf","user":{"login":"aoki77","id":13234696,"avatar_url":"https://avatars.githubusercontent.com/u/13234696?v=3","gravatar_id":"","url":"https://api.github.com/users/aoki77","html_url":"https://github.com/aoki77","followers_url":"https://api.github.com/users/aoki77/followers","following_url":"https://api.github.com/users/aoki77/following{/other_user}","gists_url":"https://api.github.com/users/aoki77/gists{/gist_id}","starred_url":"https://api.github.com/users/aoki77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoki77/subscriptions","organizations_url":"https://api.github.com/users/aoki77/orgs","repos_url":"https://api.github.com/users/aoki77/repos","events_url":"https://api.github.com/users/aoki77/events{/privacy}","received_events_url":"https://api.github.com/users/aoki77/received_events","type":"User","site_admin":false},"repo":{"id":65512508,"name":"TaskManager","full_name":"aoki77/TaskManager","owner":{"login":"aoki77","id":13234696,"avatar_url":"https://avatars.githubusercontent.com/u/13234696?v=3","gravatar_id":"","url":"https://api.github.com/users/aoki77","html_url":"https://github.com/aoki77","followers_url":"https://api.github.com/users/aoki77/followers","following_url":"https://api.github.com/users/aoki77/following{/other_user}","gists_url":"https://api.github.com/users/aoki77/gists{/gist_id}","starred_url":"https://api.github.com/users/aoki77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoki77/subscriptions","organizations_url":"https://api.github.com/users/aoki77/orgs","repos_url":"https://api.github.com/users/aoki77/repos","events_url":"https://api.github.com/users/aoki77/events{/privacy}","received_events_url":"https://api.github.com/users/aoki77/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aoki77/TaskManager","description":null,"fork":false,"url":"https://api.github.com/repos/aoki77/TaskManager","forks_url":"https://api.github.com/repos/aoki77/TaskManager/forks","keys_url":"https://api.github.com/repos/aoki77/TaskManager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aoki77/TaskManager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aoki77/TaskManager/teams","hooks_url":"https://api.github.com/repos/aoki77/TaskManager/hooks","issue_events_url":"https://api.github.com/repos/aoki77/TaskManager/issues/events{/number}","events_url":"https://api.github.com/repos/aoki77/TaskManager/events","assignees_url":"https://api.github.com/repos/aoki77/TaskManager/assignees{/user}","branches_url":"https://api.github.com/repos/aoki77/TaskManager/branches{/branch}","tags_url":"https://api.github.com/repos/aoki77/TaskManager/tags","blobs_url":"https://api.github.com/repos/aoki77/TaskManager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aoki77/TaskManager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aoki77/TaskManager/git/refs{/sha}","trees_url":"https://api.github.com/repos/aoki77/TaskManager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aoki77/TaskManager/statuses/{sha}","languages_url":"https://api.github.com/repos/aoki77/TaskManager/languages","stargazers_url":"https://api.github.com/repos/aoki77/TaskManager/stargazers","contributors_url":"https://api.github.com/repos/aoki77/TaskManager/contributors","subscribers_url":"https://api.github.com/repos/aoki77/TaskManager/subscribers","subscription_url":"https://api.github.com/repos/aoki77/TaskManager/subscription","commits_url":"https://api.github.com/repos/aoki77/TaskManager/commits{/sha}","git_commits_url":"https://api.github.com/repos/aoki77/TaskManager/git/commits{/sha}","comments_url":"https://api.github.com/repos/aoki77/TaskManager/comments{/number}","issue_comment_url":"https://api.github.com/repos/aoki77/TaskManager/issues/comments{/number}","contents_url":"https://api.github.com/repos/aoki77/TaskManager/contents/{+path}","compare_url":"https://api.github.com/repos/aoki77/TaskManager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aoki77/TaskManager/merges","archive_url":"https://api.github.com/repos/aoki77/TaskManager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aoki77/TaskManager/downloads","issues_url":"https://api.github.com/repos/aoki77/TaskManager/issues{/number}","pulls_url":"https://api.github.com/repos/aoki77/TaskManager/pulls{/number}","milestones_url":"https://api.github.com/repos/aoki77/TaskManager/milestones{/number}","notifications_url":"https://api.github.com/repos/aoki77/TaskManager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aoki77/TaskManager/labels{/name}","releases_url":"https://api.github.com/repos/aoki77/TaskManager/releases{/id}","deployments_url":"https://api.github.com/repos/aoki77/TaskManager/deployments","created_at":"2016-08-12T01:13:04Z","updated_at":"2016-08-12T01:26:32Z","pushed_at":"2016-09-13T04:47:42Z","git_url":"git://github.com/aoki77/TaskManager.git","ssh_url":"git@github.com:aoki77/TaskManager.git","clone_url":"https://github.com/aoki77/TaskManager.git","svn_url":"https://github.com/aoki77/TaskManager","homepage":null,"size":19775,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aoki77/TaskManager/pulls/12"},"html":{"href":"https://github.com/aoki77/TaskManager/pull/12"},"issue":{"href":"https://api.github.com/repos/aoki77/TaskManager/issues/12"},"comments":{"href":"https://api.github.com/repos/aoki77/TaskManager/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/aoki77/TaskManager/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/aoki77/TaskManager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aoki77/TaskManager/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/aoki77/TaskManager/statuses/9d766805b860952f099f90675a38282ce40a607f"}}}}
{"actor":{"display_login":"t-ota"}}