{"action":"created","comment":{"url":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls/comments/60968736","id":60968736,"diff_hunk":"@@ -0,0 +1,209 @@\n+//\n+//  TestLogicTests.swift\n+//  StudyBox_iOS\n+//\n+//  Created by Piotr Zielinski on 25.04.2016.\n+//  Copyright © 2016 BLStream. All rights reserved.\n+//\n+\n+import XCTest\n+@testable import StudyBox_iOS\n+\n+class TestLogicTests: XCTestCase {\n+    \n+    override func setUp() {\n+        super.setUp()\n+        // Put setup code here. This method is called before the invocation of each test method in the class.\n+    }\n+    \n+    override func tearDown() {\n+        \n+        super.tearDown()\n+    }\n+\n+    func testCheckIfAllFlashcardsHidden() {\n+        // checking if true\n+        var mockData = MockData(amount: 1, hidden: 1)\n+        var testLogic = Test(deck: mockData.flashcardArray, testType: .Learn)\n+        \n+        XCTAssertTrue(testLogic.checkIfAllFlashcardsHidden(), \"Initialized with 1 deck, Learn mode and all hidden, checkIfAllFlashcardsHidden should be true\")\n+        \n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Test(1))\n+        \n+        XCTAssertTrue(testLogic.checkIfAllFlashcardsHidden(), \"Initialized with 1 deck, Test mode and all hidden, checkIfAllFlashcardsHidden should be true\")\n+        \n+        mockData = MockData(amount: MockData.notOneNumber, hidden: MockData.notOneNumber)\n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Learn)\n+        \n+        XCTAssertTrue(testLogic.checkIfAllFlashcardsHidden(), \"Initialized with \\(MockData.notOneNumber) deck(s), Learn mode and all hidden, checkIfAllFlashcardsHidden should be true\")\n+        \n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Test(1))\n+        \n+        XCTAssertTrue(testLogic.checkIfAllFlashcardsHidden(), \"Initialized with \\(MockData.notOneNumber) deck(s), Test mode and all hidden, checkIfAllFlashcardsHidden should be true\")\n+        \n+        // checking if false\n+        mockData = MockData(amount: 1, hidden: 0)\n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Learn)\n+        \n+        XCTAssertFalse(testLogic.checkIfAllFlashcardsHidden(), \"Initialized with 1 deck(s), Learn mode and no hidden, checkIfAllFlashcardsHidden should be false\")\n+        \n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Test(1))\n+        \n+        XCTAssertEqual(1, testLogic.cardsAnsweredAndPossible().1, \"There should be only one card in test\")\n+        \n+        XCTAssertFalse(testLogic.checkIfAllFlashcardsHidden(), \"Initialized with 1 deck(s), Test mode and no hidden, checkIfAllFlashcardsHidden should be false\")\n+        \n+        mockData = MockData(amount: MockData.notOneNumber, hidden: 1)\n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Learn)\n+        \n+        XCTAssertFalse(testLogic.checkIfAllFlashcardsHidden(), \"Initialized with \\(MockData.notOneNumber) deck(s), Learn mode and 1 hidden, checkIfAllFlashcardsHidden should be false\")\n+        \n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Test(1))\n+        \n+        XCTAssertEqual(1, testLogic.cardsAnsweredAndPossible().1, \"There should be only one card in test\")\n+        \n+        XCTAssertFalse(testLogic.checkIfAllFlashcardsHidden(), \"Initialized with \\(MockData.notOneNumber) deck(s), Test mode and 1 hidden, checkIfAllFlashcardsHidden should be false\")\n+    }\n+    \n+    func testCheckIfPassedDeckIsEmpty() {\n+        // checking if returning true\n+        var testLogic = Test(deck: [], testType: .Learn)\n+        \n+        XCTAssertTrue(testLogic.checkIfPassedDeckIsEmpty(), \"Initialized with empty Flashcard array and Learn mode, passedDeckWasEmpty should be true\")\n+        \n+        testLogic = Test(deck: [], testType: .Test(1))\n+        \n+        XCTAssertEqual(0, testLogic.cardsAnsweredAndPossible().1, \"There should not be any card int test\")\n+        XCTAssertTrue(testLogic.checkIfPassedDeckIsEmpty(), \"Initialized with empty Flashcard array and Test mode, passedDeckWasEmpty should be true\")\n+        \n+        // checking if returning false\n+        let mockData = MockData(amount: 1)\n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Learn)\n+        \n+        XCTAssertFalse(testLogic.checkIfPassedDeckIsEmpty(), \"Initialized with not empty Flashcard array, passedDeckWasEmpty should be false\")\n+        \n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Test(1))\n+        \n+        XCTAssertEqual(1, testLogic.cardsAnsweredAndPossible().1, \"There should not be any card int test\")\n+        \n+        XCTAssertFalse(testLogic.checkIfPassedDeckIsEmpty(), \"Initialized with not empty Flashcard array and Test mode, passedDeckWasEmpty should be false\")\n+    }\n+    \n+    func testCorrectAnswer() {\n+        // should return nil, empty array\n+        var testLogic = Test(deck: [], testType: .Learn)\n+        \n+        XCTAssertNil(testLogic.correctAnswer(), \"No flashcards in deck, correctAnswer should resturn nil\")\n+        XCTAssertEqual(testLogic.index, 1, \"index should be increased, after correctAnswer\")\n+        \n+        var mockData = MockData(amount: 1)\n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Learn)\n+        \n+        XCTAssertNil(testLogic.correctAnswer(), \"Only one flashcard in deck, correctAnswer should resturn nil\")\n+        XCTAssertEqual(testLogic.index, 1, \"index should be increased, after correctAnswer\")\n+        \n+        // not nil\n+        mockData = MockData(amount: MockData.notOneNumber)\n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Learn)\n+        \n+        XCTAssertNotNil(testLogic.correctAnswer(), \"\\(MockData.notOneNumber) flashcards in deck, correctAnswer should return not nil object\")\n+        XCTAssertEqual(testLogic.index, 1, \"index should be increased, after correctAnswer\")\n+        \n+        for _ in 2...MockData.notOneNumber {\n+            testLogic.correctAnswer()\n+        }\n+        \n+        XCTAssertEqual(testLogic.index, MockData.notOneNumber, \"index should be equal \\(MockData.notOneNumber)\")\n+        \n+        // test from 10 decks\n+        mockData = MockData(amount: 10)\n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Test(10))\n+        \n+        XCTAssertEqual(10, testLogic.cardsAnsweredAndPossible().1, \"There should be 10 cards in test\")\n+        \n+        for _ in 1...9 {\n+            XCTAssertNotNil(testLogic.correctAnswer(), \"Only last correctAnswer call should return nil\")\n+        }\n+        \n+        XCTAssertNil(testLogic.correctAnswer(), \"Only last correctAnswer call should return nil\")\n+        \n+        let passed = testLogic.cardsAnsweredAndPossible().0\n+        \n+        XCTAssertEqual(passed, 10, \"Passed cards should be equal 10\")\n+    }\n+    \n+    func testIncorrectAnswer() {\n+        // should return nil, empty array\n+        var testLogic = Test(deck: [], testType: .Learn)\n+        \n+        XCTAssertNil(testLogic.incorrectAnswer(), \"No flashcards in deck, incorrectAnswer should resturn nil\")\n+        XCTAssertEqual(testLogic.index, 0, \"index should not be increased, after incorrectAnswer in Learn mode\")\n+        \n+        // one flashcard, Learn mode\n+        var mockData = MockData(amount: 1)\n+        let givenFlashcard = mockData.flashcardArray.last!\n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Learn)\n+        let result = testLogic.incorrectAnswer()\n+        \n+        XCTAssertNotNil(result, \"Deck not empty, incorrectAnswer should return next flashcard\")\n+        XCTAssertTrue(result === givenFlashcard, \"One flashcard in deck, incorrectAnswer in Learn mode should return the same object\")\n+        \n+        // few flashcards, Learn mode\n+        mockData = MockData(amount: 2)\n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Learn)\n+        \n+        let second = testLogic.incorrectAnswer()\n+        let first = testLogic.incorrectAnswer()\n+        \n+        XCTAssertNotNil(first, \"Deck not empty, incorrectAnswer should return next flashcard\")\n+        XCTAssertFalse(first === second, \"Two flashcards in deck, incorrectAnswer in Learn mode should return diffrent objects\")\n+ \n+        // test from one flashcard, Test mode\n+        mockData = MockData(amount: 1)\n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Test(1))\n+        \n+        XCTAssertNil(testLogic.incorrectAnswer(), \"Test from one flashcard, incorrectAnswer should resturn nil\")\n+        \n+        mockData = MockData(amount: MockData.notOneNumber)\n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Test(1))\n+        \n+        XCTAssertEqual(1, testLogic.cardsAnsweredAndPossible().1, \"There should be only one card in test\")\n+        XCTAssertNil(testLogic.incorrectAnswer(), \"Test from one flashcard, incorrectAnswer should resturn nil\")\n+\n+    }\n+    \n+    func testSkipCard() {\n+        // should return nil, empty array\n+        var testLogic = Test(deck: [], testType: .Learn)\n+        \n+        XCTAssertNil(testLogic.skipCard(), \"No flashcards in deck, skipCard should resturn nil\")\n+        \n+        // should return nil, empty array\n+        let mockData = MockData(amount: 1)\n+        testLogic = Test(deck: mockData.flashcardArray, testType: .Learn)\n+        let skipped = testLogic.skipCard()\n+        \n+        XCTAssertTrue(skipped === testLogic.skipCard(), \"No flashcards in deck, skipCard should resturn nil\")\n+    }\n+    \n+    class MockData {\n+        var flashcardArray = [Flashcard]()\n+        static let notOneNumber = 10","path":"StudyBox_iOSTests/TestLogicTests.swift","position":191,"original_position":191,"commit_id":"1b20f25638ef636aa9ad1aceb7b7d17d5987caae","original_commit_id":"1b20f25638ef636aa9ad1aceb7b7d17d5987caae","user":{"login":"piotr-tobolski","id":1545279,"avatar_url":"https://avatars.githubusercontent.com/u/1545279?v=3","gravatar_id":"","url":"https://api.github.com/users/piotr-tobolski","html_url":"https://github.com/piotr-tobolski","followers_url":"https://api.github.com/users/piotr-tobolski/followers","following_url":"https://api.github.com/users/piotr-tobolski/following{/other_user}","gists_url":"https://api.github.com/users/piotr-tobolski/gists{/gist_id}","starred_url":"https://api.github.com/users/piotr-tobolski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotr-tobolski/subscriptions","organizations_url":"https://api.github.com/users/piotr-tobolski/orgs","repos_url":"https://api.github.com/users/piotr-tobolski/repos","events_url":"https://api.github.com/users/piotr-tobolski/events{/privacy}","received_events_url":"https://api.github.com/users/piotr-tobolski/received_events","type":"User","site_admin":false},"body":"Nazwa tej zmiennej jest dziwna i nie wiem dlaczego znajduje się ona w MockData skoro mogłaby znaleźć się w klasie testu","created_at":"2016-04-25T19:00:42Z","updated_at":"2016-04-25T19:00:42Z","html_url":"https://github.com/blstream/StudyBox_iOS/pull/79#discussion_r60968736","pull_request_url":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls/79","_links":{"self":{"href":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls/comments/60968736"},"html":{"href":"https://github.com/blstream/StudyBox_iOS/pull/79#discussion_r60968736"},"pull_request":{"href":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls/79"}}},"pull_request":{"url":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls/79","id":67736928,"html_url":"https://github.com/blstream/StudyBox_iOS/pull/79","diff_url":"https://github.com/blstream/StudyBox_iOS/pull/79.diff","patch_url":"https://github.com/blstream/StudyBox_iOS/pull/79.patch","issue_url":"https://api.github.com/repos/blstream/StudyBox_iOS/issues/79","number":79,"state":"open","locked":false,"title":"Unit Tests for TestLogic","user":{"login":"Ymcyk","id":12700069,"avatar_url":"https://avatars.githubusercontent.com/u/12700069?v=3","gravatar_id":"","url":"https://api.github.com/users/Ymcyk","html_url":"https://github.com/Ymcyk","followers_url":"https://api.github.com/users/Ymcyk/followers","following_url":"https://api.github.com/users/Ymcyk/following{/other_user}","gists_url":"https://api.github.com/users/Ymcyk/gists{/gist_id}","starred_url":"https://api.github.com/users/Ymcyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ymcyk/subscriptions","organizations_url":"https://api.github.com/users/Ymcyk/orgs","repos_url":"https://api.github.com/users/Ymcyk/repos","events_url":"https://api.github.com/users/Ymcyk/events{/privacy}","received_events_url":"https://api.github.com/users/Ymcyk/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-25T15:13:40Z","updated_at":"2016-04-25T19:00:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2dbace39af164c83749aefd05fcd409aa6c2785b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls/79/commits","review_comments_url":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls/79/comments","review_comment_url":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/blstream/StudyBox_iOS/issues/79/comments","statuses_url":"https://api.github.com/repos/blstream/StudyBox_iOS/statuses/1b20f25638ef636aa9ad1aceb7b7d17d5987caae","head":{"label":"blstream:test/TestLogic-unit_tests","ref":"test/TestLogic-unit_tests","sha":"1b20f25638ef636aa9ad1aceb7b7d17d5987caae","user":{"login":"blstream","id":316451,"avatar_url":"https://avatars.githubusercontent.com/u/316451?v=3","gravatar_id":"","url":"https://api.github.com/users/blstream","html_url":"https://github.com/blstream","followers_url":"https://api.github.com/users/blstream/followers","following_url":"https://api.github.com/users/blstream/following{/other_user}","gists_url":"https://api.github.com/users/blstream/gists{/gist_id}","starred_url":"https://api.github.com/users/blstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blstream/subscriptions","organizations_url":"https://api.github.com/users/blstream/orgs","repos_url":"https://api.github.com/users/blstream/repos","events_url":"https://api.github.com/users/blstream/events{/privacy}","received_events_url":"https://api.github.com/users/blstream/received_events","type":"Organization","site_admin":false},"repo":{"id":52280705,"name":"StudyBox_iOS","full_name":"blstream/StudyBox_iOS","owner":{"login":"blstream","id":316451,"avatar_url":"https://avatars.githubusercontent.com/u/316451?v=3","gravatar_id":"","url":"https://api.github.com/users/blstream","html_url":"https://github.com/blstream","followers_url":"https://api.github.com/users/blstream/followers","following_url":"https://api.github.com/users/blstream/following{/other_user}","gists_url":"https://api.github.com/users/blstream/gists{/gist_id}","starred_url":"https://api.github.com/users/blstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blstream/subscriptions","organizations_url":"https://api.github.com/users/blstream/orgs","repos_url":"https://api.github.com/users/blstream/repos","events_url":"https://api.github.com/users/blstream/events{/privacy}","received_events_url":"https://api.github.com/users/blstream/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blstream/StudyBox_iOS","description":"StudyBox for iOS - BLStream Patronage 2016 application","fork":false,"url":"https://api.github.com/repos/blstream/StudyBox_iOS","forks_url":"https://api.github.com/repos/blstream/StudyBox_iOS/forks","keys_url":"https://api.github.com/repos/blstream/StudyBox_iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blstream/StudyBox_iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blstream/StudyBox_iOS/teams","hooks_url":"https://api.github.com/repos/blstream/StudyBox_iOS/hooks","issue_events_url":"https://api.github.com/repos/blstream/StudyBox_iOS/issues/events{/number}","events_url":"https://api.github.com/repos/blstream/StudyBox_iOS/events","assignees_url":"https://api.github.com/repos/blstream/StudyBox_iOS/assignees{/user}","branches_url":"https://api.github.com/repos/blstream/StudyBox_iOS/branches{/branch}","tags_url":"https://api.github.com/repos/blstream/StudyBox_iOS/tags","blobs_url":"https://api.github.com/repos/blstream/StudyBox_iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blstream/StudyBox_iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blstream/StudyBox_iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/blstream/StudyBox_iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blstream/StudyBox_iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/blstream/StudyBox_iOS/languages","stargazers_url":"https://api.github.com/repos/blstream/StudyBox_iOS/stargazers","contributors_url":"https://api.github.com/repos/blstream/StudyBox_iOS/contributors","subscribers_url":"https://api.github.com/repos/blstream/StudyBox_iOS/subscribers","subscription_url":"https://api.github.com/repos/blstream/StudyBox_iOS/subscription","commits_url":"https://api.github.com/repos/blstream/StudyBox_iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/blstream/StudyBox_iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/blstream/StudyBox_iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/blstream/StudyBox_iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/blstream/StudyBox_iOS/contents/{+path}","compare_url":"https://api.github.com/repos/blstream/StudyBox_iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blstream/StudyBox_iOS/merges","archive_url":"https://api.github.com/repos/blstream/StudyBox_iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blstream/StudyBox_iOS/downloads","issues_url":"https://api.github.com/repos/blstream/StudyBox_iOS/issues{/number}","pulls_url":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/blstream/StudyBox_iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/blstream/StudyBox_iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blstream/StudyBox_iOS/labels{/name}","releases_url":"https://api.github.com/repos/blstream/StudyBox_iOS/releases{/id}","deployments_url":"https://api.github.com/repos/blstream/StudyBox_iOS/deployments","created_at":"2016-02-22T14:53:27Z","updated_at":"2016-02-28T20:33:11Z","pushed_at":"2016-04-25T18:42:44Z","git_url":"git://github.com/blstream/StudyBox_iOS.git","ssh_url":"git@github.com:blstream/StudyBox_iOS.git","clone_url":"https://github.com/blstream/StudyBox_iOS.git","svn_url":"https://github.com/blstream/StudyBox_iOS","homepage":null,"size":40384,"stargazers_count":3,"watchers_count":3,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"blstream:master","ref":"master","sha":"2135463a036483bb14f0225fbf9ae7b0315eb9e6","user":{"login":"blstream","id":316451,"avatar_url":"https://avatars.githubusercontent.com/u/316451?v=3","gravatar_id":"","url":"https://api.github.com/users/blstream","html_url":"https://github.com/blstream","followers_url":"https://api.github.com/users/blstream/followers","following_url":"https://api.github.com/users/blstream/following{/other_user}","gists_url":"https://api.github.com/users/blstream/gists{/gist_id}","starred_url":"https://api.github.com/users/blstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blstream/subscriptions","organizations_url":"https://api.github.com/users/blstream/orgs","repos_url":"https://api.github.com/users/blstream/repos","events_url":"https://api.github.com/users/blstream/events{/privacy}","received_events_url":"https://api.github.com/users/blstream/received_events","type":"Organization","site_admin":false},"repo":{"id":52280705,"name":"StudyBox_iOS","full_name":"blstream/StudyBox_iOS","owner":{"login":"blstream","id":316451,"avatar_url":"https://avatars.githubusercontent.com/u/316451?v=3","gravatar_id":"","url":"https://api.github.com/users/blstream","html_url":"https://github.com/blstream","followers_url":"https://api.github.com/users/blstream/followers","following_url":"https://api.github.com/users/blstream/following{/other_user}","gists_url":"https://api.github.com/users/blstream/gists{/gist_id}","starred_url":"https://api.github.com/users/blstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blstream/subscriptions","organizations_url":"https://api.github.com/users/blstream/orgs","repos_url":"https://api.github.com/users/blstream/repos","events_url":"https://api.github.com/users/blstream/events{/privacy}","received_events_url":"https://api.github.com/users/blstream/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blstream/StudyBox_iOS","description":"StudyBox for iOS - BLStream Patronage 2016 application","fork":false,"url":"https://api.github.com/repos/blstream/StudyBox_iOS","forks_url":"https://api.github.com/repos/blstream/StudyBox_iOS/forks","keys_url":"https://api.github.com/repos/blstream/StudyBox_iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blstream/StudyBox_iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blstream/StudyBox_iOS/teams","hooks_url":"https://api.github.com/repos/blstream/StudyBox_iOS/hooks","issue_events_url":"https://api.github.com/repos/blstream/StudyBox_iOS/issues/events{/number}","events_url":"https://api.github.com/repos/blstream/StudyBox_iOS/events","assignees_url":"https://api.github.com/repos/blstream/StudyBox_iOS/assignees{/user}","branches_url":"https://api.github.com/repos/blstream/StudyBox_iOS/branches{/branch}","tags_url":"https://api.github.com/repos/blstream/StudyBox_iOS/tags","blobs_url":"https://api.github.com/repos/blstream/StudyBox_iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blstream/StudyBox_iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blstream/StudyBox_iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/blstream/StudyBox_iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blstream/StudyBox_iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/blstream/StudyBox_iOS/languages","stargazers_url":"https://api.github.com/repos/blstream/StudyBox_iOS/stargazers","contributors_url":"https://api.github.com/repos/blstream/StudyBox_iOS/contributors","subscribers_url":"https://api.github.com/repos/blstream/StudyBox_iOS/subscribers","subscription_url":"https://api.github.com/repos/blstream/StudyBox_iOS/subscription","commits_url":"https://api.github.com/repos/blstream/StudyBox_iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/blstream/StudyBox_iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/blstream/StudyBox_iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/blstream/StudyBox_iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/blstream/StudyBox_iOS/contents/{+path}","compare_url":"https://api.github.com/repos/blstream/StudyBox_iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blstream/StudyBox_iOS/merges","archive_url":"https://api.github.com/repos/blstream/StudyBox_iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blstream/StudyBox_iOS/downloads","issues_url":"https://api.github.com/repos/blstream/StudyBox_iOS/issues{/number}","pulls_url":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/blstream/StudyBox_iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/blstream/StudyBox_iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blstream/StudyBox_iOS/labels{/name}","releases_url":"https://api.github.com/repos/blstream/StudyBox_iOS/releases{/id}","deployments_url":"https://api.github.com/repos/blstream/StudyBox_iOS/deployments","created_at":"2016-02-22T14:53:27Z","updated_at":"2016-02-28T20:33:11Z","pushed_at":"2016-04-25T18:42:44Z","git_url":"git://github.com/blstream/StudyBox_iOS.git","ssh_url":"git@github.com:blstream/StudyBox_iOS.git","clone_url":"https://github.com/blstream/StudyBox_iOS.git","svn_url":"https://github.com/blstream/StudyBox_iOS","homepage":null,"size":40384,"stargazers_count":3,"watchers_count":3,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls/79"},"html":{"href":"https://github.com/blstream/StudyBox_iOS/pull/79"},"issue":{"href":"https://api.github.com/repos/blstream/StudyBox_iOS/issues/79"},"comments":{"href":"https://api.github.com/repos/blstream/StudyBox_iOS/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/blstream/StudyBox_iOS/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/blstream/StudyBox_iOS/statuses/1b20f25638ef636aa9ad1aceb7b7d17d5987caae"}}}}