{"action":"created","comment":{"url":"https://api.github.com/repos/andela-opikuda/Invertedindex/pulls/comments/106223027","pull_request_review_id":27135123,"id":106223027,"diff_hunk":"@@ -69,217 +140,189 @@ const invertedIndex = new InvertedIndex();\n // });\n describe('INVERTED INDEX CLASS TESTS', () => {\n \n-  describe('Transform To Singles Function', () => {\n-    // const token = invertedIndex.tokenize(textObjWordArrayOne);\n-    console.log(textObjWordArrayOne);\n-    console.log(JSON.stringify(textObjWordArrayOne));\n-    this.index = {};\n-    // console.log(obj);\n-    // console.log(JSON.stringify(obj));\n-    // console.log(Object.keys(obj))\n-    // console.log(obj)\n-    // console.log(JSON.stringify(obj));\n-    Object.keys(textObjWordArrayOne).forEach((key) => {\n-      this.textArray.forEach((word) => {\n-        if (textObjWordArrayOne[key].includes(word)) {\n-          if (this.index[word] === undefined) {\n-            this.index[word] = [];\n-            this.index[word].push(parseInt(key));\n-          } else if (this.index[word].includes(parseInt(key))) {\n-            return;\n-          } else {\n-            this.index[word].push(parseInt(key));\n-          };\n-        } else {\n-          return;\n-        }\n-      });\n+  describe('Inverted Index classes', () => {\n+    it('should check that it the class has a createIndex method', () => {\n+      expect(typeof InvertedIndex.prototype.createIndex).toBe('function');\n     });\n-    console.log(JSON.stringify(this.index))\n-    // it(`should return an object with all words as keys and indexes of the \n-    // books they are contained in when given a valid book as input`, () => {\n-    //   expect()\n-    //    .toEqual(\n-    //      {\n-    //        \"a\":[1,3],\"rabbit\":[1],\"hole\":[1],\"man\":[2],\n-    //        \"elf\":[2],\"dwarf\":[2],\"wizard\":[2],\"and\":[2,3],\n-    //        \"hobbit\":[2],\"alice\":[3],\"falls\":[3],\"enters\":[3],\n-    //        \"world\":[3],\"imagination\":[4],\"of\":[4],\"an\":[4],\n-    //        \"usual\":[4],\"spoon\":[4]\n-    //       }\n-    //    );\n-    // });\n-    // it(`should return an object with all words as keys and indexes of the \n-    // books they are contained in when given a valid book as input`, () => {\n-    //   expect(invertedIndex.tokenize(textObjWordArrayTwo))\n-    //    .toEqual(\n-    //     {\n-    //       \"full\":[1],\"of\":[1],\"imagination\":[1],\"a\":[2,3],\n-    //       \"powerful\":[2],\"ring\":[2],\"rabbit\":[3],\"with\":[3],\n-    //       \"an\":[3],\"usual\":[3],\"spoon\":[3]\n-    //     }\n-    //    );\n-    // });\n-  });\n-  \n-  // describe('Transform To Singles Function', () => {\n-  //   it(`should return an object with all words as keys and indexes of the \n-  //   books they are contained in when given a valid book as input`, () => {\n-  //     expect(invertedIndex.transformToArray(textArrayOne))\n-  //      .toEqual(\n-  //        [ \"a\", \"rabbit\", \"with\", \"an\", \"usual\", \"spoon\", \"full\", \"of\", \"imagination\",\"an\", \"unusual\", \"alliance\", \"of\", \"man\"]\n-  //      );\n-  //   });\n-  //   it(`should return an object with all words as keys and indexes of the \n-  //   books they are contained in when given a valid book as input`, () => {\n-  //     expect(invertedIndex.transformToArray(textArrayTwo))\n-  //      .toEqual(\n-  //        [ \"man\", \"elf\", \"dwarf\", \"wizard\", \"and\", \"hobbit\",\"full\", \"of\", \"imagination\",\"imagination\", \"of\", \"an\", \"usual\", \"spoon\" ] \n-  //      );\n-  //   });\n-  // });\n \n-// describe('INVERTED INDEX CLASS TESTS', () => {\n-\n-//   describe('Transform To Singles Function', () => {\n-//     it(`should return an object with all words as keys and indexes of the \n-//     books they are contained in when given a valid book as input`, () => {\n-//       expect(invertedIndex.transformToSingles(textObjOne))\n-//        .toEqual(\n-//          { \n-//            \"1\": [ \"a\", \"rabbit\", \"with\", \"an\", \"usual\", \"spoon\" ], \n-//            \"2\": [ \"full\", \"of\", \"imagination\" ], \n-//            \"3\": [ \"an\", \"unusual\", \"alliance\", \"of\", \"man\" ] \n-//           }\n-//        );\n-//     });\n-//     it(`should return an object with all words as keys and indexes of the \n-//     books they are contained in when given a valid book as input`, () => {\n-//       expect(invertedIndex.transformToSingles(textObjTwo))\n-//        .toEqual(\n-//          { \n-//            \"1\": [ \"man\", \"elf\", \"dwarf\", \"wizard\", \"and\", \"hobbit\" ], \n-//            \"2\": [ \"full\", \"of\", \"imagination\" ], \n-//            \"3\": [ \"imagination\", \"of\", \"an\", \"usual\", \"spoon\" ]\n-//          }\n-//        );\n-//     });\n-//   });\n+    it('should check that class has a getIndex method', () => {\n+      expect(typeof InvertedIndex.validateContent).toBe('function');\n+    });\n \n-  // describe('Create Function', () => {\n-  //   it(`should return an object with all words as keys and indexes of the \n-  //   books they are contained in when given a valid book as input`, () => {\n-  //     expect(invertedIndex.createIndex(goodOne))\n-  //      .toEqual(\n-  //        { \n-  //          alice: [ 1 ], falls: [ 1 ], and: [ 1 ],\n-  //          enters: [ 1 ], a: [ 1, 3 ], world: [ 1 ],\n-  //          an: [ 2 ], unusual: [ 2 ], alliance: [ 2 ],\n-  //          of: [ 2 ], man: [ 2 ], rabbit: [ 3 ],\n-  //          with: [ 3 ], wizarding: [ 3 ], powers: [ 3 ] \n-  //         }\n-  //      );\n-  //   });\n-  //   it(`should return an object with all words as keys and indexes of the \n-  //   books they are contained in when given a valid book as input`, () => {\n-  //     expect(invertedIndex.createIndex(goodTwo))\n-  //      .toEqual(\n-  //        { \n-  //          a: [ 1, 3 ], rabbit: [ 1 ], hole: [ 1 ],\n-  //          and: [ 2, 3 ], man: [ 2 ], elf: [ 2 ], \n-  //          dwarf: [ 2 ], wizard: [ 2 ], hobbit: [ 2 ], \n-  //          alice: [ 3 ], falls: [ 3 ], enters: [ 3 ], \n-  //          world: [ 3 ], an: [ 4 ], of: [ 4 ], \n-  //          imagination: [ 4 ], usual: [ 4 ], spoon: [ 4 ]\n-  //        }\n-  //      );\n-  //   });\n-  // });\n-  \n-  // describe('Validate Content Function', () => {\n-  //   it(`should return true when given a\n-  //   valid book as input`, () => {\n-  //     expect(invertedIndex.validateContent(goodOne))\n-  //      .toBe(true);\n-  //   });\n-  //   it(`should return true when given a\n-  //   valid book as input`, () => {\n-  //     expect(invertedIndex.validateContent(goodTwo))\n-  //      .toBe(true);\n-  //   });\n-  //   it(`should return true when given a\n-  //   valid book as input`, () => {\n-  //     expect(invertedIndex.validateContent(goodThree))\n-  //      .toBe(true);\n-  //   });\n-  //   it(`should return false when given an\n-  //  invalid book as input`, () => {\n-  //     expect(invertedIndex.validateContent(badOne))\n-  //      .toBe(false);\n-  //   });\n-  //   it(`should return false when given an\n-  //  invalid book as input`, () => {\n-  //     expect(invertedIndex.validateContent(badTwo))\n-  //      .toBe(false);\n-  //   });\n-  //   it(`should return false when given an\n-  //  invalid book as input`, () => {\n-  //     expect(invertedIndex.validateContent(noArray))\n-  //      .toBe(false);\n-  //   });\n-  //   it(`should return false when given an\n-  //  invalid book as input`, () => {\n-  //     expect(invertedIndex.validateContent(noArrayTwo))\n-  //      .toBe(false);\n-  //   });\n-  // });\n+    it('should check that it has a searchIndex method', () => {\n+      expect(typeof InvertedIndex.prototype.transformToArray).toBe('function');\n+    });\n \n+    it('should check that it has a searchIndex method', () => {\n+      expect(typeof InvertedIndex.transformToSingles).toBe('function');\n+    });\n \n+    it('should check that it has a searchIndex method', () => {\n+      expect(typeof InvertedIndex.prototype.tokenize).toBe('function');\n+    });\n \n+    it('should check that it has a searchIndex method', () => {\n+      expect(typeof InvertedIndex.prototype.searchIndex).toBe('function');\n+    });\n+  });\n \n+  describe('Searh Index Function', () => {\n+    it(`should return an object with undefined for words not in book as value`, () => {\n+      expect(invertedIndex.searchIndex('enters,alliance, truck', 'goodOne.json', allText ))\n+       .toEqual(\n+        {\n+          'enters': [1],\n+          'alliance': [2],\n+          'truck': undefined\n+        }\n+       );\n+    });\n+    it(`should return an object with name of books and undefined for words not in book as value`, () => {\n+      expect(invertedIndex.searchIndex('alice,full,power,powerfull, magnificent','All',allText))\n+       .toEqual(\n+        {\n+          'goodOne.json': [\n+            { 'alice': [1], 'full': undefined, 'power': undefined, 'powerfull': undefined, 'magnificent': undefined }\n+          ],\n+          'goodThree.json': [\n+            { 'alice': undefined, 'full': [1], 'power': undefined, 'powerfull': undefined, 'magnificent': undefined }\n+          ],\n+          'goodTwo.json': [\n+            { 'alice': [3], 'full': undefined, 'power': undefined, 'powerfull': undefined, 'magnificent': undefined }\n+          ]\n+        }\n+       );\n+    });\n+  });\n+  \n+  describe('Tokenize Function', () => {\n+    it(`should return an object with all words as keys and an array with the indexes\n+    of the books they are contained in when given a valid book as input`, () => {\n+      expect(invertedIndex.tokenize(textObjWordArrayOne))\n+       .toEqual(\n+         {\n+           'a':[1,3],'rabbit':[1],'hole':[1],'man':[2],\n+           'elf':[2],'dwarf':[2],'wizard':[2],'and':[2,3],\n+           'hobbit':[2],'alice':[3],'falls':[3],'enters':[3],\n+           'world':[3],'imagination':[4],'of':[4],'an':[4],\n+           'usual':[4],'spoon':[4]\n+          }\n+       );\n+    });\n+    it(`should return an object with all words as keys and an array with the indexes\n+    of the books they are contained in when given a valid book as input`, () => {\n+      expect(invertedIndex.tokenize(textObjWordArrayTwo))\n+       .toEqual(\n+        {\n+          'full':[1],'of':[1],'imagination':[1],'a':[2,3],\n+          'powerful':[2],'ring':[2],'rabbit':[3],'with':[3],\n+          'an':[3],'usual':[3],'spoon':[3]\n+        }\n+       );\n+    });\n+  });\n+  \n+  describe('Transform To Array Function', () => {\n+    it(`should return an object with all words as keys and indexes of the \n+    books they are contained in when given a valid book as input`, () => {\n+      expect(invertedIndex.transformToArray(textArrayOne))\n+       .toEqual(\n+         [ 'a', 'rabbit', 'with', 'an', 'usual', 'spoon', 'full', 'of', 'imagination','an', 'unusual', 'alliance', 'of', 'man']\n+       );\n+    });\n+    it(`should return an object with all words as keys and indexes of the \n+    books they are contained in when given a valid book as input`, () => {\n+      expect(invertedIndex.transformToArray(textArrayTwo))\n+       .toEqual(\n+         [ 'man', 'elf', 'dwarf', 'wizard', 'and', 'hobbit','full', 'of', 'imagination','imagination', 'of', 'an', 'usual', 'spoon' ] \n+       );\n+    });\n+  });\n \n+  describe('Transform To Singles Function', () => {\n+    it(`should return an object with all words as keys and indexes of the \n+    books they are contained in when given a valid book as input`, () => {\n+      expect(InvertedIndex.transformToSingles(textObjOne))\n+       .toEqual(\n+         { \n+           '1': [ 'a', 'rabbit', 'with', 'an', 'usual', 'spoon' ], \n+           '2': [ 'full', 'of', 'imagination' ], \n+           '3': [ 'an', 'unusual', 'alliance', 'of', 'man' ] \n+          }\n+       );\n+    });\n+    it(`should return an object with all words as keys and indexes of the \n+    books they are contained in when given a valid book as input`, () => {\n+      expect(InvertedIndex.transformToSingles(textObjTwo))\n+       .toEqual(\n+         { \n+           '1': [ 'man', 'elf', 'dwarf', 'wizard', 'and', 'hobbit' ], \n+           '2': [ 'full', 'of', 'imagination' ], \n+           '3': [ 'imagination', 'of', 'an', 'usual', 'spoon' ]\n+         }\n+       );\n+    });\n+  });\n \n-  // describe('BUILD-INDEX FUNCTION', () => {\n-  //   it('should return true when building index for  valid data', () => {\n-  //     expect(invertedIndex.buildIndex(validBooks, 'validBooks')).toBe(true);\n-  //   });\n-  //   it('should return false when building index for invalid data', () => {\n-  //     expect(invertedIndex.buildIndex(badData, badData)).toBe(false);\n-  //   });\n-  //   it('should return false when building index for an invalid type', () => {\n-  //     expect(invertedIndex.buildIndex(badArray, 'badArray')).toBe(false);\n-  //   });\n-  //   it(`should return correct index when\n-  //    building index for a valid file`, () => {\n-  //     expect(mockIndex.mainIndex).toEqual(builtIndex);\n-  //   });\n-  // });\n-  // describe('SEARCH-ALL FUNCTION', () => {\n-  //   it(`should take in a word and return all\n-  //   books the words can be found in`, () => {\n-  //     expect(invertedIndex.searchAll('to'))\n-  //     .toEqual(['The Lord of the Rings: The Fellowship of the Ring.']);\n-  //   });\n-  //   it(`should take in a word that is not indexed \n-  //   and return an empty array indicating not found`, () => {\n-  //     expect(invertedIndex.searchAll('get'))\n-  //     .toEqual([]);\n-  //   });\n-  // });\n-  // describe('SEARCH-BY-FILE FUNCTION', () => {\n-  //   it(`should take in a word and a file name and\n-  //    return search results for that file`, () => {\n-  //     expect(mockIndex.searchByFile('abeg', 'newData.json'))\n-  //     .toEqual(['Alice in wonderland']);\n-  //   });\n-  //   it(`should take in words not available in a file\n-  //    and a file name and return search results for`, () => {\n-  //     expect(mockIndex.searchByFile('our', 'newData.json'))\n-  //     .toEqual([]);\n-  //   });\n-  // });\n+  describe('Create Function', () => {\n+    it(`should return an object with all words as keys and indexes of the \n+    books they are contained in when given a valid book as input`, () => {\n+      expect(invertedIndex.createIndex(goodOne, goodOne.json))\n+       .toEqual(\n+         { \n+           alice: [ 1 ], falls: [ 1 ], and: [ 1 ],\n+           enters: [ 1 ], a: [ 1, 3 ], world: [ 1 ],\n+           an: [ 2 ], unusual: [ 2 ], alliance: [ 2 ],\n+           of: [ 2 ], man: [ 2 ], rabbit: [ 3 ],\n+           with: [ 3 ], wizarding: [ 3 ], powers: [ 3 ] \n+          }\n+       );\n+    });\n+    it(`should return an object with all words as keys and indexes of the \n+    books they are contained in when given a valid book as input`, () => {\n+      expect(invertedIndex.createIndex(goodTwo))\n+       .toEqual(\n+         { \n+           a: [ 1, 3 ], rabbit: [ 1 ], hole: [ 1 ],","path":"jasmine/bundles/bundles.js","position":466,"original_position":466,"commit_id":"73fb6e2701fe2a6977cff6f859dfc3d802ce2f5e","original_commit_id":"73fb6e2701fe2a6977cff6f859dfc3d802ce2f5e","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars3.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":"Expected indentation of 10 spaces but found 11                               indent<br>There should be no space after '['                                           array-bracket-spacing<br>There should be no space before ']'                                          array-bracket-spacing<br>Object properties must go on a new line if they aren't all on the same line  object-property-newline","created_at":"2017-03-15T16:59:34Z","updated_at":"2017-03-15T16:59:35Z","html_url":"https://github.com/andela-opikuda/Invertedindex/pull/10#discussion_r106223027","pull_request_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/andela-opikuda/Invertedindex/pulls/comments/106223027"},"html":{"href":"https://github.com/andela-opikuda/Invertedindex/pull/10#discussion_r106223027"},"pull_request":{"href":"https://api.github.com/repos/andela-opikuda/Invertedindex/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/andela-opikuda/Invertedindex/pulls/10","id":110893198,"html_url":"https://github.com/andela-opikuda/Invertedindex/pull/10","diff_url":"https://github.com/andela-opikuda/Invertedindex/pull/10.diff","patch_url":"https://github.com/andela-opikuda/Invertedindex/pull/10.patch","issue_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/issues/10","number":10,"state":"open","locked":false,"title":"Switch4","user":{"login":"andela-opikuda","id":25608675,"avatar_url":"https://avatars2.githubusercontent.com/u/25608675?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-opikuda","html_url":"https://github.com/andela-opikuda","followers_url":"https://api.github.com/users/andela-opikuda/followers","following_url":"https://api.github.com/users/andela-opikuda/following{/other_user}","gists_url":"https://api.github.com/users/andela-opikuda/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-opikuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-opikuda/subscriptions","organizations_url":"https://api.github.com/users/andela-opikuda/orgs","repos_url":"https://api.github.com/users/andela-opikuda/repos","events_url":"https://api.github.com/users/andela-opikuda/events{/privacy}","received_events_url":"https://api.github.com/users/andela-opikuda/received_events","type":"User","site_admin":false},"body":"LAST PR","created_at":"2017-03-15T16:59:23Z","updated_at":"2017-03-15T16:59:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/pulls/10/commits","review_comments_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/pulls/10/comments","review_comment_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/issues/10/comments","statuses_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/statuses/73fb6e2701fe2a6977cff6f859dfc3d802ce2f5e","head":{"label":"andela-opikuda:switch4","ref":"switch4","sha":"73fb6e2701fe2a6977cff6f859dfc3d802ce2f5e","user":{"login":"andela-opikuda","id":25608675,"avatar_url":"https://avatars2.githubusercontent.com/u/25608675?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-opikuda","html_url":"https://github.com/andela-opikuda","followers_url":"https://api.github.com/users/andela-opikuda/followers","following_url":"https://api.github.com/users/andela-opikuda/following{/other_user}","gists_url":"https://api.github.com/users/andela-opikuda/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-opikuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-opikuda/subscriptions","organizations_url":"https://api.github.com/users/andela-opikuda/orgs","repos_url":"https://api.github.com/users/andela-opikuda/repos","events_url":"https://api.github.com/users/andela-opikuda/events{/privacy}","received_events_url":"https://api.github.com/users/andela-opikuda/received_events","type":"User","site_admin":false},"repo":{"id":81461097,"name":"Invertedindex","full_name":"andela-opikuda/Invertedindex","owner":{"login":"andela-opikuda","id":25608675,"avatar_url":"https://avatars2.githubusercontent.com/u/25608675?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-opikuda","html_url":"https://github.com/andela-opikuda","followers_url":"https://api.github.com/users/andela-opikuda/followers","following_url":"https://api.github.com/users/andela-opikuda/following{/other_user}","gists_url":"https://api.github.com/users/andela-opikuda/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-opikuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-opikuda/subscriptions","organizations_url":"https://api.github.com/users/andela-opikuda/orgs","repos_url":"https://api.github.com/users/andela-opikuda/repos","events_url":"https://api.github.com/users/andela-opikuda/events{/privacy}","received_events_url":"https://api.github.com/users/andela-opikuda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-opikuda/Invertedindex","description":"my work repo for checkpoint 1","fork":false,"url":"https://api.github.com/repos/andela-opikuda/Invertedindex","forks_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/forks","keys_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/teams","hooks_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/hooks","issue_events_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/issues/events{/number}","events_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/events","assignees_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/assignees{/user}","branches_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/branches{/branch}","tags_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/tags","blobs_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/languages","stargazers_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/stargazers","contributors_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/contributors","subscribers_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/subscribers","subscription_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/subscription","commits_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/contents/{+path}","compare_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/merges","archive_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/downloads","issues_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/issues{/number}","pulls_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/labels{/name}","releases_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/releases{/id}","deployments_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/deployments","created_at":"2017-02-09T14:55:25Z","updated_at":"2017-03-15T11:58:59Z","pushed_at":"2017-03-15T16:59:24Z","git_url":"git://github.com/andela-opikuda/Invertedindex.git","ssh_url":"git@github.com:andela-opikuda/Invertedindex.git","clone_url":"https://github.com/andela-opikuda/Invertedindex.git","svn_url":"https://github.com/andela-opikuda/Invertedindex","homepage":null,"size":119,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"switch"}},"base":{"label":"andela-opikuda:switch","ref":"switch","sha":"5e5514e7c6719f8999a370cc8f177b179e1553b0","user":{"login":"andela-opikuda","id":25608675,"avatar_url":"https://avatars2.githubusercontent.com/u/25608675?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-opikuda","html_url":"https://github.com/andela-opikuda","followers_url":"https://api.github.com/users/andela-opikuda/followers","following_url":"https://api.github.com/users/andela-opikuda/following{/other_user}","gists_url":"https://api.github.com/users/andela-opikuda/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-opikuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-opikuda/subscriptions","organizations_url":"https://api.github.com/users/andela-opikuda/orgs","repos_url":"https://api.github.com/users/andela-opikuda/repos","events_url":"https://api.github.com/users/andela-opikuda/events{/privacy}","received_events_url":"https://api.github.com/users/andela-opikuda/received_events","type":"User","site_admin":false},"repo":{"id":81461097,"name":"Invertedindex","full_name":"andela-opikuda/Invertedindex","owner":{"login":"andela-opikuda","id":25608675,"avatar_url":"https://avatars2.githubusercontent.com/u/25608675?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-opikuda","html_url":"https://github.com/andela-opikuda","followers_url":"https://api.github.com/users/andela-opikuda/followers","following_url":"https://api.github.com/users/andela-opikuda/following{/other_user}","gists_url":"https://api.github.com/users/andela-opikuda/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-opikuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-opikuda/subscriptions","organizations_url":"https://api.github.com/users/andela-opikuda/orgs","repos_url":"https://api.github.com/users/andela-opikuda/repos","events_url":"https://api.github.com/users/andela-opikuda/events{/privacy}","received_events_url":"https://api.github.com/users/andela-opikuda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-opikuda/Invertedindex","description":"my work repo for checkpoint 1","fork":false,"url":"https://api.github.com/repos/andela-opikuda/Invertedindex","forks_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/forks","keys_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/teams","hooks_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/hooks","issue_events_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/issues/events{/number}","events_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/events","assignees_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/assignees{/user}","branches_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/branches{/branch}","tags_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/tags","blobs_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/languages","stargazers_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/stargazers","contributors_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/contributors","subscribers_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/subscribers","subscription_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/subscription","commits_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/contents/{+path}","compare_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/merges","archive_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/downloads","issues_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/issues{/number}","pulls_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/labels{/name}","releases_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/releases{/id}","deployments_url":"https://api.github.com/repos/andela-opikuda/Invertedindex/deployments","created_at":"2017-02-09T14:55:25Z","updated_at":"2017-03-15T11:58:59Z","pushed_at":"2017-03-15T16:59:24Z","git_url":"git://github.com/andela-opikuda/Invertedindex.git","ssh_url":"git@github.com:andela-opikuda/Invertedindex.git","clone_url":"https://github.com/andela-opikuda/Invertedindex.git","svn_url":"https://github.com/andela-opikuda/Invertedindex","homepage":null,"size":119,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"switch"}},"_links":{"self":{"href":"https://api.github.com/repos/andela-opikuda/Invertedindex/pulls/10"},"html":{"href":"https://github.com/andela-opikuda/Invertedindex/pull/10"},"issue":{"href":"https://api.github.com/repos/andela-opikuda/Invertedindex/issues/10"},"comments":{"href":"https://api.github.com/repos/andela-opikuda/Invertedindex/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-opikuda/Invertedindex/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-opikuda/Invertedindex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-opikuda/Invertedindex/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/andela-opikuda/Invertedindex/statuses/73fb6e2701fe2a6977cff6f859dfc3d802ce2f5e"}}}}
{"actor":{"display_login":"houndci-bot"}}