{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/henry2992/CodeChallenges/pulls/1","id":70983594,"html_url":"https://github.com/henry2992/CodeChallenges/pull/1","diff_url":"https://github.com/henry2992/CodeChallenges/pull/1.diff","patch_url":"https://github.com/henry2992/CodeChallenges/pull/1.patch","issue_url":"https://api.github.com/repos/henry2992/CodeChallenges/issues/1","number":1,"state":"open","locked":false,"title":"Refactoring","user":{"login":"joelibaceta","id":864790,"avatar_url":"https://avatars.githubusercontent.com/u/864790?v=3","gravatar_id":"","url":"https://api.github.com/users/joelibaceta","html_url":"https://github.com/joelibaceta","followers_url":"https://api.github.com/users/joelibaceta/followers","following_url":"https://api.github.com/users/joelibaceta/following{/other_user}","gists_url":"https://api.github.com/users/joelibaceta/gists{/gist_id}","starred_url":"https://api.github.com/users/joelibaceta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelibaceta/subscriptions","organizations_url":"https://api.github.com/users/joelibaceta/orgs","repos_url":"https://api.github.com/users/joelibaceta/repos","events_url":"https://api.github.com/users/joelibaceta/events{/privacy}","received_events_url":"https://api.github.com/users/joelibaceta/received_events","type":"User","site_admin":false},"body":"# Cambios\r\n\r\n### En findDuplicate(array)\t\t\r\n\t\r\n\t\t# @i = 1 # No necesario\r\n\t  \t\r\n\t  \t#array.each do |x|    \t\r\n\t  \t#\t@hash.has_key?(x) ? (return x) : @hash[x] = @i\r\n\t\t#end\r\n\t\t\r\n\t\t# Representacion en una linea\r\n\t\r\n\r\n\t\t# Oservacion, se esta guardando el 1 innecesariamente\r\n\r\n### En firstNonRepeating(s)\r\n\r\n\t\t# characters = s.split(\"\") No es necesario un String es un arreglo de chars\r\n\t\t# nonrepeat = [] No necesario\r\n\r\n\t\t# characters.each do |c|\r\n\t \t#\tif repetitions.has_key?(c)\r\n\t \t#\t\trepetitions[c] = repetitions[c] + 1\r\n\t \t#\telse\r\n\t \t#\t\trepetitions[c] = 1\r\n\t \t#\tend\r\n\t \t#end\r\n\t \t\r\n\t \t# Cambiado por  Representacion de una linea","created_at":"2016-05-22T17:56:07Z","updated_at":"2016-05-22T17:56:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/henry2992/CodeChallenges/pulls/1/commits","review_comments_url":"https://api.github.com/repos/henry2992/CodeChallenges/pulls/1/comments","review_comment_url":"https://api.github.com/repos/henry2992/CodeChallenges/pulls/comments{/number}","comments_url":"https://api.github.com/repos/henry2992/CodeChallenges/issues/1/comments","statuses_url":"https://api.github.com/repos/henry2992/CodeChallenges/statuses/349188355caa1d5a8038530d4a22c475df99c424","head":{"label":"joelibaceta:patch-2","ref":"patch-2","sha":"349188355caa1d5a8038530d4a22c475df99c424","user":{"login":"joelibaceta","id":864790,"avatar_url":"https://avatars.githubusercontent.com/u/864790?v=3","gravatar_id":"","url":"https://api.github.com/users/joelibaceta","html_url":"https://github.com/joelibaceta","followers_url":"https://api.github.com/users/joelibaceta/followers","following_url":"https://api.github.com/users/joelibaceta/following{/other_user}","gists_url":"https://api.github.com/users/joelibaceta/gists{/gist_id}","starred_url":"https://api.github.com/users/joelibaceta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelibaceta/subscriptions","organizations_url":"https://api.github.com/users/joelibaceta/orgs","repos_url":"https://api.github.com/users/joelibaceta/repos","events_url":"https://api.github.com/users/joelibaceta/events{/privacy}","received_events_url":"https://api.github.com/users/joelibaceta/received_events","type":"User","site_admin":false},"repo":{"id":59422459,"name":"CodeChallenges","full_name":"joelibaceta/CodeChallenges","owner":{"login":"joelibaceta","id":864790,"avatar_url":"https://avatars.githubusercontent.com/u/864790?v=3","gravatar_id":"","url":"https://api.github.com/users/joelibaceta","html_url":"https://github.com/joelibaceta","followers_url":"https://api.github.com/users/joelibaceta/followers","following_url":"https://api.github.com/users/joelibaceta/following{/other_user}","gists_url":"https://api.github.com/users/joelibaceta/gists{/gist_id}","starred_url":"https://api.github.com/users/joelibaceta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelibaceta/subscriptions","organizations_url":"https://api.github.com/users/joelibaceta/orgs","repos_url":"https://api.github.com/users/joelibaceta/repos","events_url":"https://api.github.com/users/joelibaceta/events{/privacy}","received_events_url":"https://api.github.com/users/joelibaceta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joelibaceta/CodeChallenges","description":"Series of Code Challenges to improve in Ruby","fork":true,"url":"https://api.github.com/repos/joelibaceta/CodeChallenges","forks_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/forks","keys_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/teams","hooks_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/hooks","issue_events_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/issues/events{/number}","events_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/events","assignees_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/assignees{/user}","branches_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/branches{/branch}","tags_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/tags","blobs_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/git/refs{/sha}","trees_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/statuses/{sha}","languages_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/languages","stargazers_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/stargazers","contributors_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/contributors","subscribers_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/subscribers","subscription_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/subscription","commits_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/commits{/sha}","git_commits_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/git/commits{/sha}","comments_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/comments{/number}","issue_comment_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/issues/comments{/number}","contents_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/contents/{+path}","compare_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/merges","archive_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/downloads","issues_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/issues{/number}","pulls_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/pulls{/number}","milestones_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/milestones{/number}","notifications_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/labels{/name}","releases_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/releases{/id}","deployments_url":"https://api.github.com/repos/joelibaceta/CodeChallenges/deployments","created_at":"2016-05-22T16:29:16Z","updated_at":"2016-05-22T16:29:18Z","pushed_at":"2016-05-22T17:54:14Z","git_url":"git://github.com/joelibaceta/CodeChallenges.git","ssh_url":"git@github.com:joelibaceta/CodeChallenges.git","clone_url":"https://github.com/joelibaceta/CodeChallenges.git","svn_url":"https://github.com/joelibaceta/CodeChallenges","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"henry2992:master","ref":"master","sha":"295b70e37f9a4ee91519334ab432e547f162cc8d","user":{"login":"henry2992","id":8041386,"avatar_url":"https://avatars.githubusercontent.com/u/8041386?v=3","gravatar_id":"","url":"https://api.github.com/users/henry2992","html_url":"https://github.com/henry2992","followers_url":"https://api.github.com/users/henry2992/followers","following_url":"https://api.github.com/users/henry2992/following{/other_user}","gists_url":"https://api.github.com/users/henry2992/gists{/gist_id}","starred_url":"https://api.github.com/users/henry2992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henry2992/subscriptions","organizations_url":"https://api.github.com/users/henry2992/orgs","repos_url":"https://api.github.com/users/henry2992/repos","events_url":"https://api.github.com/users/henry2992/events{/privacy}","received_events_url":"https://api.github.com/users/henry2992/received_events","type":"User","site_admin":false},"repo":{"id":59417269,"name":"CodeChallenges","full_name":"henry2992/CodeChallenges","owner":{"login":"henry2992","id":8041386,"avatar_url":"https://avatars.githubusercontent.com/u/8041386?v=3","gravatar_id":"","url":"https://api.github.com/users/henry2992","html_url":"https://github.com/henry2992","followers_url":"https://api.github.com/users/henry2992/followers","following_url":"https://api.github.com/users/henry2992/following{/other_user}","gists_url":"https://api.github.com/users/henry2992/gists{/gist_id}","starred_url":"https://api.github.com/users/henry2992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henry2992/subscriptions","organizations_url":"https://api.github.com/users/henry2992/orgs","repos_url":"https://api.github.com/users/henry2992/repos","events_url":"https://api.github.com/users/henry2992/events{/privacy}","received_events_url":"https://api.github.com/users/henry2992/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/henry2992/CodeChallenges","description":"Series of Code Challenges to improve in Ruby","fork":false,"url":"https://api.github.com/repos/henry2992/CodeChallenges","forks_url":"https://api.github.com/repos/henry2992/CodeChallenges/forks","keys_url":"https://api.github.com/repos/henry2992/CodeChallenges/keys{/key_id}","collaborators_url":"https://api.github.com/repos/henry2992/CodeChallenges/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/henry2992/CodeChallenges/teams","hooks_url":"https://api.github.com/repos/henry2992/CodeChallenges/hooks","issue_events_url":"https://api.github.com/repos/henry2992/CodeChallenges/issues/events{/number}","events_url":"https://api.github.com/repos/henry2992/CodeChallenges/events","assignees_url":"https://api.github.com/repos/henry2992/CodeChallenges/assignees{/user}","branches_url":"https://api.github.com/repos/henry2992/CodeChallenges/branches{/branch}","tags_url":"https://api.github.com/repos/henry2992/CodeChallenges/tags","blobs_url":"https://api.github.com/repos/henry2992/CodeChallenges/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/henry2992/CodeChallenges/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/henry2992/CodeChallenges/git/refs{/sha}","trees_url":"https://api.github.com/repos/henry2992/CodeChallenges/git/trees{/sha}","statuses_url":"https://api.github.com/repos/henry2992/CodeChallenges/statuses/{sha}","languages_url":"https://api.github.com/repos/henry2992/CodeChallenges/languages","stargazers_url":"https://api.github.com/repos/henry2992/CodeChallenges/stargazers","contributors_url":"https://api.github.com/repos/henry2992/CodeChallenges/contributors","subscribers_url":"https://api.github.com/repos/henry2992/CodeChallenges/subscribers","subscription_url":"https://api.github.com/repos/henry2992/CodeChallenges/subscription","commits_url":"https://api.github.com/repos/henry2992/CodeChallenges/commits{/sha}","git_commits_url":"https://api.github.com/repos/henry2992/CodeChallenges/git/commits{/sha}","comments_url":"https://api.github.com/repos/henry2992/CodeChallenges/comments{/number}","issue_comment_url":"https://api.github.com/repos/henry2992/CodeChallenges/issues/comments{/number}","contents_url":"https://api.github.com/repos/henry2992/CodeChallenges/contents/{+path}","compare_url":"https://api.github.com/repos/henry2992/CodeChallenges/compare/{base}...{head}","merges_url":"https://api.github.com/repos/henry2992/CodeChallenges/merges","archive_url":"https://api.github.com/repos/henry2992/CodeChallenges/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/henry2992/CodeChallenges/downloads","issues_url":"https://api.github.com/repos/henry2992/CodeChallenges/issues{/number}","pulls_url":"https://api.github.com/repos/henry2992/CodeChallenges/pulls{/number}","milestones_url":"https://api.github.com/repos/henry2992/CodeChallenges/milestones{/number}","notifications_url":"https://api.github.com/repos/henry2992/CodeChallenges/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/henry2992/CodeChallenges/labels{/name}","releases_url":"https://api.github.com/repos/henry2992/CodeChallenges/releases{/id}","deployments_url":"https://api.github.com/repos/henry2992/CodeChallenges/deployments","created_at":"2016-05-22T14:42:53Z","updated_at":"2016-05-22T14:43:49Z","pushed_at":"2016-05-22T17:56:08Z","git_url":"git://github.com/henry2992/CodeChallenges.git","ssh_url":"git@github.com:henry2992/CodeChallenges.git","clone_url":"https://github.com/henry2992/CodeChallenges.git","svn_url":"https://github.com/henry2992/CodeChallenges","homepage":null,"size":2,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/henry2992/CodeChallenges/pulls/1"},"html":{"href":"https://github.com/henry2992/CodeChallenges/pull/1"},"issue":{"href":"https://api.github.com/repos/henry2992/CodeChallenges/issues/1"},"comments":{"href":"https://api.github.com/repos/henry2992/CodeChallenges/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/henry2992/CodeChallenges/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/henry2992/CodeChallenges/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/henry2992/CodeChallenges/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/henry2992/CodeChallenges/statuses/349188355caa1d5a8038530d4a22c475df99c424"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":24,"deletions":40,"changed_files":1}}
{"actor":{"display_login":"joelibaceta"}}