{"action":"created","comment":{"url":"https://api.github.com/repos/andela/casablanca-cfh/pulls/comments/180532813","pull_request_review_id":110968717,"id":180532813,"diff_hunk":"@@ -1,209 +1,217 @@\n angular.module('mean.system')\n-  .factory('game', ['socket', '$timeout', function (socket, $timeout) {\n-\n-  var game = {\n-    id: null, // This player's socket ID, so we know who this player is\n-    gameID: null,\n-    players: [],\n-    playerIndex: 0,\n-    winningCard: -1,\n-    winningCardPlayer: -1,\n-    gameWinner: -1,\n-    table: [],\n-    czar: null,\n-    playerMinLimit: 3,\n-    playerMaxLimit: 6,\n-    pointLimit: null,\n-    state: null,\n-    round: 0,\n-    time: 0,\n-    curQuestion: null,\n-    notification: null,\n-    timeLimits: {},\n-    joinOverride: false\n-  };\n-\n-  var notificationQueue = [];\n-  var timeout = false;\n-  var self = this;\n-  var joinOverrideTimeout = 0;\n-\n-  var addToNotificationQueue = function(msg) {\n-    notificationQueue.push(msg);\n-    if (!timeout) { // Start a cycle if there isn't one\n-      setNotification();\n-    }\n-  };\n-  var setNotification = function() {\n-    if (notificationQueue.length === 0) { // If notificationQueue is empty, stop\n-      clearInterval(timeout);\n-      timeout = false;\n-      game.notification = '';\n-    } else {\n-      game.notification = notificationQueue.shift(); // Show a notification and check again in a bit\n-      timeout = $timeout(setNotification, 1300);\n-    }\n-  };\n-\n-  var timeSetViaUpdate = false;\n-  var decrementTime = function() {\n-    if (game.time > 0 && !timeSetViaUpdate) {\n-      game.time--;\n-    } else {\n-      timeSetViaUpdate = false;\n-    }\n-    $timeout(decrementTime, 950);\n-  };\n+  .factory('game', ['socket', '$timeout', (socket, $timeout) => {\n+    const game = {\n+      id: null, // This player's socket ID, so we know who this player is\n+      gameID: null,\n+      players: [],\n+      playerIndex: 0,\n+      winningCard: -1,\n+      winningCardPlayer: -1,\n+      gameWinner: -1,\n+      table: [],\n+      czar: null,\n+      playerMinLimit: 3,\n+      playerMaxLimit: 6,\n+      pointLimit: null,\n+      state: null,\n+      round: 0,\n+      time: 0,\n+      curQuestion: null,\n+      notification: null,\n+      timeLimits: {},\n+      joinOverride: false\n+    };\n+\n+    const notificationQueue = [];\n+    let timeout = false;\n+    const self = this;\n+    let joinOverrideTimeout = 0;\n+\n+    const setNotification = () => {\n+      if (notificationQueue.length === 0) { // If notificationQueue is empty, stop\n+        clearInterval(timeout);\n+        timeout = false;\n+        game.notification = '';\n+      } else {\n+        // Show a notification and check again in a bit\n+        game.notification = notificationQueue.shift();\n+        timeout = $timeout(setNotification, 1300);\n+      }\n+    };\n \n-  socket.on('id', function(data) {\n-    game.id = data.id;\n-  });\n+    const addToNotificationQueue = (msg) => {\n+      notificationQueue.push(msg);\n+      if (!timeout) { // Start a cycle if there isn't one\n+        setNotification();\n+      }\n+    };\n+\n+\n+    let timeSetViaUpdate = false;\n+    const decrementTime = () => {\n+      if (game.time > 0 && !timeSetViaUpdate) {\n+        game.time -= 1;\n+      } else {\n+        timeSetViaUpdate = false;\n+      }\n+      $timeout(decrementTime, 950);\n+    };\n \n-  socket.on('prepareGame', function(data) {\n-    game.playerMinLimit = data.playerMinLimit;\n-    game.playerMaxLimit = data.playerMaxLimit;\n-    game.pointLimit = data.pointLimit;\n-    game.timeLimits = data.timeLimits;\n-  });\n+    socket.on('id', (data) => {\n+      game.id = data.id;\n+    });\n \n-  socket.on('gameUpdate', function(data) {\n+    socket.on('prepareGame', (data) => {\n+      game.playerMinLimit = data.playerMinLimit;\n+      game.playerMaxLimit = data.playerMaxLimit;\n+      game.pointLimit = data.pointLimit;\n+      game.timeLimits = data.timeLimits;\n+    });\n \n+    socket.on('gameUpdate', (data) => {\n     // Update gameID field only if it changed.\n     // That way, we don't trigger the $scope.$watch too often\n-    if (game.gameID !== data.gameID) {\n-      game.gameID = data.gameID;\n-    }\n+      if (game.gameID !== data.gameID) {\n+        game.gameID = data.gameID;\n+      }\n \n-    game.joinOverride = false;\n-    clearTimeout(game.joinOverrideTimeout);\n+      game.joinOverride = false;\n+      clearTimeout(game.joinOverrideTimeout);\n \n-    var i;\n-    // Cache the index of the player in the players array\n-    for (i = 0; i < data.players.length; i++) {\n-      if (game.id === data.players[i].socketID) {\n-        game.playerIndex = i;\n+      let i;\n+      // Cache the index of the player in the players array\n+      for (i = 0; i < data.players.length; i += 1) {\n+        if (game.id === data.players[i].socketID) {\n+          game.playerIndex = i;\n+        }\n       }\n-    }\n \n-    var newState = (data.state !== game.state);\n-\n-    //Handle updating game.time\n-    if (data.round !== game.round && data.state !== 'awaiting players' &&\n-      data.state !=='game ended' && data.state !== 'game dissolved') {\n-      game.time = game.timeLimits.stateChoosing - 1;\n-      timeSetViaUpdate = true;\n-    } else if (newState && data.state === 'waiting for czar to decide') {\n-      game.time = game.timeLimits.stateJudging - 1;\n-      timeSetViaUpdate = true;\n-    } else if (newState && data.state === 'winner has been chosen') {\n-      game.time = game.timeLimits.stateResults - 1;\n-      timeSetViaUpdate = true;\n-    }\n+      const newState = (data.state !== game.state);\n+\n+      // Handle updating game.time\n+      if (data.round !== game.round && data.state !== 'awaiting players' &&\n+        data.state !== 'game ended' && data.state !== 'game dissolved') {\n+        game.time = game.timeLimits.stateChoosing - 1;\n+        timeSetViaUpdate = true;\n+      } else if (newState && data.state === 'waiting for czar to decide') {\n+        game.time = game.timeLimits.stateJudging - 1;\n+        timeSetViaUpdate = true;\n+      } else if (newState && data.state === 'winner has been chosen') {\n+        game.time = game.timeLimits.stateResults - 1;\n+        timeSetViaUpdate = true;\n+      }\n \n-    // Set these properties on each update\n-    game.round = data.round;\n-    game.winningCard = data.winningCard;\n-    game.winningCardPlayer = data.winningCardPlayer;\n-    game.winnerAutopicked = data.winnerAutopicked;\n-    game.gameWinner = data.gameWinner;\n-    game.pointLimit = data.pointLimit;\n-\n-    // Handle updating game.table\n-    if (data.table.length === 0) {\n-      game.table = [];\n-    } else {\n-      var added = _.difference(_.pluck(data.table,'player'), _.pluck(game.table,'player'));\n-      var removed = _.difference(_.pluck(game.table,'player'), _.pluck(data.table,'player'));\n-      for (i = 0; i < added.length; i++) {\n-        for (var j = 0; j < data.table.length; j++) {\n-          if (added[i] === data.table[j].player) {\n-            game.table.push(data.table[j],1);\n+      // Set these properties on each update\n+      game.round = data.round;\n+      game.winningCard = data.winningCard;\n+      game.winningCardPlayer = data.winningCardPlayer;\n+      game.winnerAutopicked = data.winnerAutopicked;\n+      game.gameWinner = data.gameWinner;\n+      game.pointLimit = data.pointLimit;\n+\n+      // Handle updating game.table\n+      if (data.table.length === 0) {\n+        game.table = [];\n+      } else {\n+        const added = _.difference(_.pluck(data.table, 'player'), _.pluck(game.table, 'player'));\n+        const removed = _.difference(_.pluck(game.table, 'player'), _.pluck(data.table, 'player'));\n+        for (i = 0; i < added.length; i += 1) {\n+          for (let j = 0; j < data.table.length; j += 1) {\n+            if (added[i] === data.table[j].player) {\n+              game.table.push(data.table[j], 1);\n+            }\n           }\n         }\n-      }\n-      for (i = 0; i < removed.length; i++) {\n-        for (var k = 0; k < game.table.length; k++) {\n-          if (removed[i] === game.table[k].player) {\n-            game.table.splice(k,1);\n+        for (i = 0; i < removed.length; i += 1) {\n+          for (let k = 0; k < game.table.length; k += 1) {\n+            if (removed[i] === game.table[k].player) {\n+              game.table.splice(k, 1);\n+            }\n           }\n         }\n       }\n-    }\n \n-    if (game.state !== 'waiting for players to pick' || game.players.length !== data.players.length) {\n-      game.players = data.players;\n-    }\n-\n-    if (newState || game.curQuestion !== data.curQuestion) {\n-      game.state = data.state;\n-    }\n+      if (game.state !== 'waiting for players to pick' || game.players.length !== data.players.length) {\n+        game.players = data.players;\n+      }\n \n-    if (data.state === 'waiting for players to pick') {\n-      game.czar = data.czar;\n-      game.curQuestion = data.curQuestion;\n-      // Extending the underscore within the question\n-      game.curQuestion.text = data.curQuestion.text.replace(/_/g,'<u></u>');\n+      if (newState || game.curQuestion !== data.curQuestion) {\n+        game.state = data.state;\n+      }\n \n-      // Set notifications only when entering state\n-      if (newState) {\n+      if (data.state === 'waiting for players to pick') {\n+        game.czar = data.czar;\n+        game.curQuestion = data.curQuestion;\n+        // Extending the underscore within the question\n+        game.curQuestion.text = data.curQuestion.text.replace(/_/g, '<u></u>');\n+\n+        // Set notifications only when entering state\n+        if (newState) {\n+          if (game.czar === game.playerIndex) {\n+            addToNotificationQueue('You\\'re the Card Czar! Please wait!');\n+          } else if (game.curQuestion.numAnswers === 1) {\n+            addToNotificationQueue('Select an answer!');\n+          } else {\n+            addToNotificationQueue('Select TWO answers!');\n+          }\n+        }\n+      } else if (data.state === 'waiting for czar to decide') {\n         if (game.czar === game.playerIndex) {\n-          addToNotificationQueue('You\\'re the Card Czar! Please wait!');\n-        } else if (game.curQuestion.numAnswers === 1) {\n-          addToNotificationQueue('Select an answer!');\n+          addToNotificationQueue(\"Everyone's done. Choose the winner!\");\n         } else {\n-          addToNotificationQueue('Select TWO answers!');\n+          addToNotificationQueue('The czar is contemplating...');\n         }\n-      }\n-    } else if (data.state === 'waiting for czar to decide') {\n-      if (game.czar === game.playerIndex) {\n-        addToNotificationQueue(\"Everyone's done. Choose the winner!\");\n-      } else {\n-        addToNotificationQueue(\"The czar is contemplating...\");\n-      }\n-    } else if (data.state === 'winner has been chosen' &&\n+      } else if (data.state === 'winner has been chosen' &&\n               game.curQuestion.text.indexOf('<u></u>') > -1) {\n-      game.curQuestion = data.curQuestion;\n-    } else if (data.state === 'awaiting players') {\n-      joinOverrideTimeout = $timeout(function() {\n-        game.joinOverride = true;\n-      }, 15000);\n-    } else if (data.state === 'game dissolved' || data.state === 'game ended') {\n-      game.players[game.playerIndex].hand = [];\n-      game.time = 0;\n+        game.curQuestion = data.curQuestion;\n+      } else if (data.state === 'awaiting players') {\n+        joinOverrideTimeout = $timeout(() => {\n+          game.joinOverride = true;\n+        }, 15000);\n+      } else if (data.state === 'game dissolved' || data.state === 'game ended') {\n+        game.players[game.playerIndex].hand = [];\n+        game.time = 0;\n+      }\n+    // shcke insert\n+    });\n+\n+    socket.on('notification', (data) => {\n+      addToNotificationQueue(data.notification);\n+    });\n+\n+    game.joinGame = (mode, room, createPrivate) => {\n+      mode = mode || 'joinGame';\n+      room = room || '';\n+      createPrivate = createPrivate || false;\n+      const userID = window.user ? user._id : 'unauthenticated';","path":"public/js/services/game.js","position":334,"original_position":334,"commit_id":"a01e54ae3ca16f1c5d4b4b73e5e21b5736f0e1fb","original_commit_id":"a01e54ae3ca16f1c5d4b4b73e5e21b5736f0e1fb","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","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":"Unexpected dangling '_' in '_id'                          no-underscore-dangle<br>'user' is not defined                                     no-undef","created_at":"2018-04-10T18:56:44Z","updated_at":"2018-04-10T18:56:46Z","html_url":"https://github.com/andela/casablanca-cfh/pull/24#discussion_r180532813","pull_request_url":"https://api.github.com/repos/andela/casablanca-cfh/pulls/24","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/casablanca-cfh/pulls/comments/180532813"},"html":{"href":"https://github.com/andela/casablanca-cfh/pull/24#discussion_r180532813"},"pull_request":{"href":"https://api.github.com/repos/andela/casablanca-cfh/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/andela/casablanca-cfh/pulls/24","id":180681925,"html_url":"https://github.com/andela/casablanca-cfh/pull/24","diff_url":"https://github.com/andela/casablanca-cfh/pull/24.diff","patch_url":"https://github.com/andela/casablanca-cfh/pull/24.patch","issue_url":"https://api.github.com/repos/andela/casablanca-cfh/issues/24","number":24,"state":"open","locked":false,"title":"#156096163 Ft gaming screen ui 156096163","user":{"login":"Abudu-Samuel","id":32877552,"avatar_url":"https://avatars1.githubusercontent.com/u/32877552?v=4","gravatar_id":"","url":"https://api.github.com/users/Abudu-Samuel","html_url":"https://github.com/Abudu-Samuel","followers_url":"https://api.github.com/users/Abudu-Samuel/followers","following_url":"https://api.github.com/users/Abudu-Samuel/following{/other_user}","gists_url":"https://api.github.com/users/Abudu-Samuel/gists{/gist_id}","starred_url":"https://api.github.com/users/Abudu-Samuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abudu-Samuel/subscriptions","organizations_url":"https://api.github.com/users/Abudu-Samuel/orgs","repos_url":"https://api.github.com/users/Abudu-Samuel/repos","events_url":"https://api.github.com/users/Abudu-Samuel/events{/privacy}","received_events_url":"https://api.github.com/users/Abudu-Samuel/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n It redesigns the game screen page\r\n\r\n#### Description of Task to be completed?\r\nRe-Design UI for game screen\r\n\r\n#### How should this be manually tested?\r\n- clone the repo and change into the project directory\r\n- run `npm install` to install required packages\r\n- create a `.env` file and add all the required environment variables as specified in `.env.example`\r\n- use `npm run start:dev` to start up the server\r\n- visit `http://localhost:3000/#!/app` to see and test the game page\r\n\r\n#### Any background context you want to provide?\r\nN/A\r\n\r\n### Screenshots\r\n<img width=\"1280\" alt=\"screen shot 2018-04-10 at 6 46 24 pm\" src=\"https://user-images.githubusercontent.com/32877552/38574059-c0c73090-3cef-11e8-8039-739e561af748.png\">\r\n<img width=\"1280\" alt=\"screen shot 2018-04-10 at 6 46 46 pm\" src=\"https://user-images.githubusercontent.com/32877552/38574061-c176da2c-3cef-11e8-87bb-efb6068c7a8f.png\">\r\n<img width=\"1280\" alt=\"screen shot 2018-04-10 at 6 47 07 pm\" src=\"https://user-images.githubusercontent.com/32877552/38574065-c21f3172-3cef-11e8-8927-5a85e884c6db.png\">\r\n<img width=\"1280\" alt=\"screen shot 2018-04-10 at 6 47 14 pm\" src=\"https://user-images.githubusercontent.com/32877552/38574066-c248a868-3cef-11e8-9f98-d869b0996d20.png\">\r\n\r\n#### What are the relevant pivotal tracker stories?(if applicable)\r\n#156096163","created_at":"2018-04-10T17:57:44Z","updated_at":"2018-04-10T18:56:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c795d01da0ea4ea28bc9098a007bf98428f0b7df","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/casablanca-cfh/pulls/24/commits","review_comments_url":"https://api.github.com/repos/andela/casablanca-cfh/pulls/24/comments","review_comment_url":"https://api.github.com/repos/andela/casablanca-cfh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/casablanca-cfh/issues/24/comments","statuses_url":"https://api.github.com/repos/andela/casablanca-cfh/statuses/a01e54ae3ca16f1c5d4b4b73e5e21b5736f0e1fb","head":{"label":"andela:ft-gaming-screen-ui-156096163","ref":"ft-gaming-screen-ui-156096163","sha":"a01e54ae3ca16f1c5d4b4b73e5e21b5736f0e1fb","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":125843476,"name":"casablanca-cfh","full_name":"andela/casablanca-cfh","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/casablanca-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/casablanca-cfh","forks_url":"https://api.github.com/repos/andela/casablanca-cfh/forks","keys_url":"https://api.github.com/repos/andela/casablanca-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/casablanca-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/casablanca-cfh/teams","hooks_url":"https://api.github.com/repos/andela/casablanca-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/casablanca-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/casablanca-cfh/events","assignees_url":"https://api.github.com/repos/andela/casablanca-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/casablanca-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/casablanca-cfh/tags","blobs_url":"https://api.github.com/repos/andela/casablanca-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/casablanca-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/casablanca-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/casablanca-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/casablanca-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/casablanca-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/casablanca-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/casablanca-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/casablanca-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/casablanca-cfh/subscription","commits_url":"https://api.github.com/repos/andela/casablanca-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/casablanca-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/casablanca-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/casablanca-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/casablanca-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/casablanca-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/casablanca-cfh/merges","archive_url":"https://api.github.com/repos/andela/casablanca-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/casablanca-cfh/downloads","issues_url":"https://api.github.com/repos/andela/casablanca-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/casablanca-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/casablanca-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/casablanca-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/casablanca-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/casablanca-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/casablanca-cfh/deployments","created_at":"2018-03-19T10:52:34Z","updated_at":"2018-04-09T00:02:02Z","pushed_at":"2018-04-10T18:56:26Z","git_url":"git://github.com/andela/casablanca-cfh.git","ssh_url":"git@github.com:andela/casablanca-cfh.git","clone_url":"https://github.com/andela/casablanca-cfh.git","svn_url":"https://github.com/andela/casablanca-cfh","homepage":null,"size":22466,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"4806a9da594ee3d078c3b3d86369e76db59715b0","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":125843476,"name":"casablanca-cfh","full_name":"andela/casablanca-cfh","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/casablanca-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/casablanca-cfh","forks_url":"https://api.github.com/repos/andela/casablanca-cfh/forks","keys_url":"https://api.github.com/repos/andela/casablanca-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/casablanca-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/casablanca-cfh/teams","hooks_url":"https://api.github.com/repos/andela/casablanca-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/casablanca-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/casablanca-cfh/events","assignees_url":"https://api.github.com/repos/andela/casablanca-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/casablanca-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/casablanca-cfh/tags","blobs_url":"https://api.github.com/repos/andela/casablanca-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/casablanca-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/casablanca-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/casablanca-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/casablanca-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/casablanca-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/casablanca-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/casablanca-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/casablanca-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/casablanca-cfh/subscription","commits_url":"https://api.github.com/repos/andela/casablanca-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/casablanca-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/casablanca-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/casablanca-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/casablanca-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/casablanca-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/casablanca-cfh/merges","archive_url":"https://api.github.com/repos/andela/casablanca-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/casablanca-cfh/downloads","issues_url":"https://api.github.com/repos/andela/casablanca-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/casablanca-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/casablanca-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/casablanca-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/casablanca-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/casablanca-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/casablanca-cfh/deployments","created_at":"2018-03-19T10:52:34Z","updated_at":"2018-04-09T00:02:02Z","pushed_at":"2018-04-10T18:56:26Z","git_url":"git://github.com/andela/casablanca-cfh.git","ssh_url":"git@github.com:andela/casablanca-cfh.git","clone_url":"https://github.com/andela/casablanca-cfh.git","svn_url":"https://github.com/andela/casablanca-cfh","homepage":null,"size":22466,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/casablanca-cfh/pulls/24"},"html":{"href":"https://github.com/andela/casablanca-cfh/pull/24"},"issue":{"href":"https://api.github.com/repos/andela/casablanca-cfh/issues/24"},"comments":{"href":"https://api.github.com/repos/andela/casablanca-cfh/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/casablanca-cfh/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/casablanca-cfh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/casablanca-cfh/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/andela/casablanca-cfh/statuses/a01e54ae3ca16f1c5d4b4b73e5e21b5736f0e1fb"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}