{"action":"created","comment":{"url":"https://api.github.com/repos/andela-emabishi/string-class/pulls/comments/69553566","id":69553566,"diff_hunk":"@@ -0,0 +1,60 @@\n+String.prototype.hasVowels = function() {\n+  var vowels = new RegExp('[aeiou]', 'i');\n+  return vowels.test(this) ? true : false;\n+};\n+\n+String.prototype.toUpper = function () {\n+  var newString = '';\n+  var upper = new RegExp('[a-z]');\n+  for (var x = 0; x < this.length; x++) {\n+    upper.test(this[x]) ?\n+    newString += String.fromCharCode((this.charCodeAt(x)) - 32) :\n+    newString += this[x];\n+  }\n+  return newString;\n+};\n+\n+String.prototype.toLower = function () {\n+  var newString = '';\n+  var upper = new RegExp('[A-Z]');\n+  for (var x = 0; x < this.length; x++) {\n+    upper.test(this[x]) ?\n+    newString += String.fromCharCode((this.charCodeAt(x)) + 32) :\n+    newString += this[x];\n+  }\n+  return newString;\n+};\n+\n+String.prototype.ucFirst = function () {\n+  return [this.charAt(0).toUpper(), this.slice(1)].join('');\n+};\n+\n+String.prototype.isQuestion = function () {\n+  var quest = new RegExp(/\\?$/);\n+  return quest.test(this) ? true : false;","path":"src/string-class.js","position":34,"original_position":34,"commit_id":"1dcc24e70ec12035c86e35cde6ef39fefc427e91","original_commit_id":"1dcc24e70ec12035c86e35cde6ef39fefc427e91","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Unnecessary use of boolean literals in conditional expression          no-unneeded-ternary","created_at":"2016-07-05T12:26:55Z","updated_at":"2016-07-05T12:26:55Z","html_url":"https://github.com/andela-emabishi/string-class/pull/1#discussion_r69553566","pull_request_url":"https://api.github.com/repos/andela-emabishi/string-class/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/andela-emabishi/string-class/pulls/comments/69553566"},"html":{"href":"https://github.com/andela-emabishi/string-class/pull/1#discussion_r69553566"},"pull_request":{"href":"https://api.github.com/repos/andela-emabishi/string-class/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/andela-emabishi/string-class/pulls/1","id":76244118,"html_url":"https://github.com/andela-emabishi/string-class/pull/1","diff_url":"https://github.com/andela-emabishi/string-class/pull/1.diff","patch_url":"https://github.com/andela-emabishi/string-class/pull/1.patch","issue_url":"https://api.github.com/repos/andela-emabishi/string-class/issues/1","number":1,"state":"open","locked":false,"title":"Develop","user":{"login":"andela-emabishi","id":19430113,"avatar_url":"https://avatars.githubusercontent.com/u/19430113?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-emabishi","html_url":"https://github.com/andela-emabishi","followers_url":"https://api.github.com/users/andela-emabishi/followers","following_url":"https://api.github.com/users/andela-emabishi/following{/other_user}","gists_url":"https://api.github.com/users/andela-emabishi/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-emabishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-emabishi/subscriptions","organizations_url":"https://api.github.com/users/andela-emabishi/orgs","repos_url":"https://api.github.com/users/andela-emabishi/repos","events_url":"https://api.github.com/users/andela-emabishi/events{/privacy}","received_events_url":"https://api.github.com/users/andela-emabishi/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-05T09:37:42Z","updated_at":"2016-07-05T12:26:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d98fe437f33842716db84ea5224076b477bbbb7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela-emabishi/string-class/pulls/1/commits","review_comments_url":"https://api.github.com/repos/andela-emabishi/string-class/pulls/1/comments","review_comment_url":"https://api.github.com/repos/andela-emabishi/string-class/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-emabishi/string-class/issues/1/comments","statuses_url":"https://api.github.com/repos/andela-emabishi/string-class/statuses/1dcc24e70ec12035c86e35cde6ef39fefc427e91","head":{"label":"andela-emabishi:develop","ref":"develop","sha":"1dcc24e70ec12035c86e35cde6ef39fefc427e91","user":{"login":"andela-emabishi","id":19430113,"avatar_url":"https://avatars.githubusercontent.com/u/19430113?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-emabishi","html_url":"https://github.com/andela-emabishi","followers_url":"https://api.github.com/users/andela-emabishi/followers","following_url":"https://api.github.com/users/andela-emabishi/following{/other_user}","gists_url":"https://api.github.com/users/andela-emabishi/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-emabishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-emabishi/subscriptions","organizations_url":"https://api.github.com/users/andela-emabishi/orgs","repos_url":"https://api.github.com/users/andela-emabishi/repos","events_url":"https://api.github.com/users/andela-emabishi/events{/privacy}","received_events_url":"https://api.github.com/users/andela-emabishi/received_events","type":"User","site_admin":false},"repo":{"id":62537565,"name":"string-class","full_name":"andela-emabishi/string-class","owner":{"login":"andela-emabishi","id":19430113,"avatar_url":"https://avatars.githubusercontent.com/u/19430113?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-emabishi","html_url":"https://github.com/andela-emabishi","followers_url":"https://api.github.com/users/andela-emabishi/followers","following_url":"https://api.github.com/users/andela-emabishi/following{/other_user}","gists_url":"https://api.github.com/users/andela-emabishi/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-emabishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-emabishi/subscriptions","organizations_url":"https://api.github.com/users/andela-emabishi/orgs","repos_url":"https://api.github.com/users/andela-emabishi/repos","events_url":"https://api.github.com/users/andela-emabishi/events{/privacy}","received_events_url":"https://api.github.com/users/andela-emabishi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-emabishi/string-class","description":"Extend the string class to extend string manipulation features.","fork":false,"url":"https://api.github.com/repos/andela-emabishi/string-class","forks_url":"https://api.github.com/repos/andela-emabishi/string-class/forks","keys_url":"https://api.github.com/repos/andela-emabishi/string-class/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-emabishi/string-class/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-emabishi/string-class/teams","hooks_url":"https://api.github.com/repos/andela-emabishi/string-class/hooks","issue_events_url":"https://api.github.com/repos/andela-emabishi/string-class/issues/events{/number}","events_url":"https://api.github.com/repos/andela-emabishi/string-class/events","assignees_url":"https://api.github.com/repos/andela-emabishi/string-class/assignees{/user}","branches_url":"https://api.github.com/repos/andela-emabishi/string-class/branches{/branch}","tags_url":"https://api.github.com/repos/andela-emabishi/string-class/tags","blobs_url":"https://api.github.com/repos/andela-emabishi/string-class/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-emabishi/string-class/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-emabishi/string-class/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-emabishi/string-class/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-emabishi/string-class/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-emabishi/string-class/languages","stargazers_url":"https://api.github.com/repos/andela-emabishi/string-class/stargazers","contributors_url":"https://api.github.com/repos/andela-emabishi/string-class/contributors","subscribers_url":"https://api.github.com/repos/andela-emabishi/string-class/subscribers","subscription_url":"https://api.github.com/repos/andela-emabishi/string-class/subscription","commits_url":"https://api.github.com/repos/andela-emabishi/string-class/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-emabishi/string-class/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-emabishi/string-class/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-emabishi/string-class/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-emabishi/string-class/contents/{+path}","compare_url":"https://api.github.com/repos/andela-emabishi/string-class/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-emabishi/string-class/merges","archive_url":"https://api.github.com/repos/andela-emabishi/string-class/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-emabishi/string-class/downloads","issues_url":"https://api.github.com/repos/andela-emabishi/string-class/issues{/number}","pulls_url":"https://api.github.com/repos/andela-emabishi/string-class/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-emabishi/string-class/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-emabishi/string-class/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-emabishi/string-class/labels{/name}","releases_url":"https://api.github.com/repos/andela-emabishi/string-class/releases{/id}","deployments_url":"https://api.github.com/repos/andela-emabishi/string-class/deployments","created_at":"2016-07-04T06:37:52Z","updated_at":"2016-07-04T06:37:52Z","pushed_at":"2016-07-05T12:26:39Z","git_url":"git://github.com/andela-emabishi/string-class.git","ssh_url":"git@github.com:andela-emabishi/string-class.git","clone_url":"https://github.com/andela-emabishi/string-class.git","svn_url":"https://github.com/andela-emabishi/string-class","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":null,"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":"master"}},"base":{"label":"andela-emabishi:master","ref":"master","sha":"eea4e7687842d99334232f997f33d43b7bec767d","user":{"login":"andela-emabishi","id":19430113,"avatar_url":"https://avatars.githubusercontent.com/u/19430113?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-emabishi","html_url":"https://github.com/andela-emabishi","followers_url":"https://api.github.com/users/andela-emabishi/followers","following_url":"https://api.github.com/users/andela-emabishi/following{/other_user}","gists_url":"https://api.github.com/users/andela-emabishi/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-emabishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-emabishi/subscriptions","organizations_url":"https://api.github.com/users/andela-emabishi/orgs","repos_url":"https://api.github.com/users/andela-emabishi/repos","events_url":"https://api.github.com/users/andela-emabishi/events{/privacy}","received_events_url":"https://api.github.com/users/andela-emabishi/received_events","type":"User","site_admin":false},"repo":{"id":62537565,"name":"string-class","full_name":"andela-emabishi/string-class","owner":{"login":"andela-emabishi","id":19430113,"avatar_url":"https://avatars.githubusercontent.com/u/19430113?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-emabishi","html_url":"https://github.com/andela-emabishi","followers_url":"https://api.github.com/users/andela-emabishi/followers","following_url":"https://api.github.com/users/andela-emabishi/following{/other_user}","gists_url":"https://api.github.com/users/andela-emabishi/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-emabishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-emabishi/subscriptions","organizations_url":"https://api.github.com/users/andela-emabishi/orgs","repos_url":"https://api.github.com/users/andela-emabishi/repos","events_url":"https://api.github.com/users/andela-emabishi/events{/privacy}","received_events_url":"https://api.github.com/users/andela-emabishi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-emabishi/string-class","description":"Extend the string class to extend string manipulation features.","fork":false,"url":"https://api.github.com/repos/andela-emabishi/string-class","forks_url":"https://api.github.com/repos/andela-emabishi/string-class/forks","keys_url":"https://api.github.com/repos/andela-emabishi/string-class/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-emabishi/string-class/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-emabishi/string-class/teams","hooks_url":"https://api.github.com/repos/andela-emabishi/string-class/hooks","issue_events_url":"https://api.github.com/repos/andela-emabishi/string-class/issues/events{/number}","events_url":"https://api.github.com/repos/andela-emabishi/string-class/events","assignees_url":"https://api.github.com/repos/andela-emabishi/string-class/assignees{/user}","branches_url":"https://api.github.com/repos/andela-emabishi/string-class/branches{/branch}","tags_url":"https://api.github.com/repos/andela-emabishi/string-class/tags","blobs_url":"https://api.github.com/repos/andela-emabishi/string-class/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-emabishi/string-class/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-emabishi/string-class/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-emabishi/string-class/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-emabishi/string-class/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-emabishi/string-class/languages","stargazers_url":"https://api.github.com/repos/andela-emabishi/string-class/stargazers","contributors_url":"https://api.github.com/repos/andela-emabishi/string-class/contributors","subscribers_url":"https://api.github.com/repos/andela-emabishi/string-class/subscribers","subscription_url":"https://api.github.com/repos/andela-emabishi/string-class/subscription","commits_url":"https://api.github.com/repos/andela-emabishi/string-class/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-emabishi/string-class/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-emabishi/string-class/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-emabishi/string-class/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-emabishi/string-class/contents/{+path}","compare_url":"https://api.github.com/repos/andela-emabishi/string-class/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-emabishi/string-class/merges","archive_url":"https://api.github.com/repos/andela-emabishi/string-class/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-emabishi/string-class/downloads","issues_url":"https://api.github.com/repos/andela-emabishi/string-class/issues{/number}","pulls_url":"https://api.github.com/repos/andela-emabishi/string-class/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-emabishi/string-class/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-emabishi/string-class/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-emabishi/string-class/labels{/name}","releases_url":"https://api.github.com/repos/andela-emabishi/string-class/releases{/id}","deployments_url":"https://api.github.com/repos/andela-emabishi/string-class/deployments","created_at":"2016-07-04T06:37:52Z","updated_at":"2016-07-04T06:37:52Z","pushed_at":"2016-07-05T12:26:39Z","git_url":"git://github.com/andela-emabishi/string-class.git","ssh_url":"git@github.com:andela-emabishi/string-class.git","clone_url":"https://github.com/andela-emabishi/string-class.git","svn_url":"https://github.com/andela-emabishi/string-class","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":null,"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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela-emabishi/string-class/pulls/1"},"html":{"href":"https://github.com/andela-emabishi/string-class/pull/1"},"issue":{"href":"https://api.github.com/repos/andela-emabishi/string-class/issues/1"},"comments":{"href":"https://api.github.com/repos/andela-emabishi/string-class/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-emabishi/string-class/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-emabishi/string-class/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-emabishi/string-class/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/andela-emabishi/string-class/statuses/1dcc24e70ec12035c86e35cde6ef39fefc427e91"}}}}
{"actor":{"display_login":"houndci-bot"}}