{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/pulls/4","id":72997894,"html_url":"https://github.com/Alexander-Andrade/RubyTutor/pull/4","diff_url":"https://github.com/Alexander-Andrade/RubyTutor/pull/4.diff","patch_url":"https://github.com/Alexander-Andrade/RubyTutor/pull/4.patch","issue_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/issues/4","number":4,"state":"closed","locked":false,"title":"add find next perfect square solution","user":{"login":"Alexander-Andrade","id":10990337,"avatar_url":"https://avatars.githubusercontent.com/u/10990337?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexander-Andrade","html_url":"https://github.com/Alexander-Andrade","followers_url":"https://api.github.com/users/Alexander-Andrade/followers","following_url":"https://api.github.com/users/Alexander-Andrade/following{/other_user}","gists_url":"https://api.github.com/users/Alexander-Andrade/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexander-Andrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexander-Andrade/subscriptions","organizations_url":"https://api.github.com/users/Alexander-Andrade/orgs","repos_url":"https://api.github.com/users/Alexander-Andrade/repos","events_url":"https://api.github.com/users/Alexander-Andrade/events{/privacy}","received_events_url":"https://api.github.com/users/Alexander-Andrade/received_events","type":"User","site_admin":false},"body":"You might know some pretty large perfect squares. But what about the NEXT one?\r\n\r\nComplete the findNextSquare method that finds the next integral perfect square after the one passed as a parameter. Recall that an integral perfect square is an integer n such that sqrt(n) is also an integer.\r\n\r\nIf the parameter is itself not a perfect square, than -1 should be returned. You may assume the parameter is positive.\r\n\r\nExamples:\r\n\r\nfindNextSquare(121) --> returns 144\r\nfindNextSquare(625) --> returns 676\r\nfindNextSquare(114) --> returns -1 since 114 is not","created_at":"2016-06-08T07:24:26Z","updated_at":"2016-06-08T08:10:56Z","closed_at":"2016-06-08T08:10:56Z","merged_at":"2016-06-08T08:10:56Z","merge_commit_sha":"ea0730e3e5cae27fdf3fae3deff18b53b4c82944","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/issues/4/comments","statuses_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/statuses/48fd458e3eb56bb0145a87f1e1c84e50521e419f","head":{"label":"Alexander-Andrade:find_next_perfect_square","ref":"find_next_perfect_square","sha":"48fd458e3eb56bb0145a87f1e1c84e50521e419f","user":{"login":"Alexander-Andrade","id":10990337,"avatar_url":"https://avatars.githubusercontent.com/u/10990337?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexander-Andrade","html_url":"https://github.com/Alexander-Andrade","followers_url":"https://api.github.com/users/Alexander-Andrade/followers","following_url":"https://api.github.com/users/Alexander-Andrade/following{/other_user}","gists_url":"https://api.github.com/users/Alexander-Andrade/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexander-Andrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexander-Andrade/subscriptions","organizations_url":"https://api.github.com/users/Alexander-Andrade/orgs","repos_url":"https://api.github.com/users/Alexander-Andrade/repos","events_url":"https://api.github.com/users/Alexander-Andrade/events{/privacy}","received_events_url":"https://api.github.com/users/Alexander-Andrade/received_events","type":"User","site_admin":false},"repo":{"id":60343524,"name":"RubyTutor","full_name":"Alexander-Andrade/RubyTutor","owner":{"login":"Alexander-Andrade","id":10990337,"avatar_url":"https://avatars.githubusercontent.com/u/10990337?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexander-Andrade","html_url":"https://github.com/Alexander-Andrade","followers_url":"https://api.github.com/users/Alexander-Andrade/followers","following_url":"https://api.github.com/users/Alexander-Andrade/following{/other_user}","gists_url":"https://api.github.com/users/Alexander-Andrade/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexander-Andrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexander-Andrade/subscriptions","organizations_url":"https://api.github.com/users/Alexander-Andrade/orgs","repos_url":"https://api.github.com/users/Alexander-Andrade/repos","events_url":"https://api.github.com/users/Alexander-Andrade/events{/privacy}","received_events_url":"https://api.github.com/users/Alexander-Andrade/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Alexander-Andrade/RubyTutor","description":"","fork":false,"url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor","forks_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/forks","keys_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/teams","hooks_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/hooks","issue_events_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/issues/events{/number}","events_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/events","assignees_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/assignees{/user}","branches_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/branches{/branch}","tags_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/tags","blobs_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/statuses/{sha}","languages_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/languages","stargazers_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/stargazers","contributors_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/contributors","subscribers_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/subscribers","subscription_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/subscription","commits_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/contents/{+path}","compare_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/merges","archive_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/downloads","issues_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/issues{/number}","pulls_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/pulls{/number}","milestones_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/milestones{/number}","notifications_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/labels{/name}","releases_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/releases{/id}","deployments_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/deployments","created_at":"2016-06-03T11:41:22Z","updated_at":"2016-06-06T08:25:44Z","pushed_at":"2016-06-08T08:10:56Z","git_url":"git://github.com/Alexander-Andrade/RubyTutor.git","ssh_url":"git@github.com:Alexander-Andrade/RubyTutor.git","clone_url":"https://github.com/Alexander-Andrade/RubyTutor.git","svn_url":"https://github.com/Alexander-Andrade/RubyTutor","homepage":null,"size":9,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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":"Alexander-Andrade:master","ref":"master","sha":"579680f32ed451b14b2c8d15f7aaca4e71239326","user":{"login":"Alexander-Andrade","id":10990337,"avatar_url":"https://avatars.githubusercontent.com/u/10990337?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexander-Andrade","html_url":"https://github.com/Alexander-Andrade","followers_url":"https://api.github.com/users/Alexander-Andrade/followers","following_url":"https://api.github.com/users/Alexander-Andrade/following{/other_user}","gists_url":"https://api.github.com/users/Alexander-Andrade/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexander-Andrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexander-Andrade/subscriptions","organizations_url":"https://api.github.com/users/Alexander-Andrade/orgs","repos_url":"https://api.github.com/users/Alexander-Andrade/repos","events_url":"https://api.github.com/users/Alexander-Andrade/events{/privacy}","received_events_url":"https://api.github.com/users/Alexander-Andrade/received_events","type":"User","site_admin":false},"repo":{"id":60343524,"name":"RubyTutor","full_name":"Alexander-Andrade/RubyTutor","owner":{"login":"Alexander-Andrade","id":10990337,"avatar_url":"https://avatars.githubusercontent.com/u/10990337?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexander-Andrade","html_url":"https://github.com/Alexander-Andrade","followers_url":"https://api.github.com/users/Alexander-Andrade/followers","following_url":"https://api.github.com/users/Alexander-Andrade/following{/other_user}","gists_url":"https://api.github.com/users/Alexander-Andrade/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexander-Andrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexander-Andrade/subscriptions","organizations_url":"https://api.github.com/users/Alexander-Andrade/orgs","repos_url":"https://api.github.com/users/Alexander-Andrade/repos","events_url":"https://api.github.com/users/Alexander-Andrade/events{/privacy}","received_events_url":"https://api.github.com/users/Alexander-Andrade/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Alexander-Andrade/RubyTutor","description":"","fork":false,"url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor","forks_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/forks","keys_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/teams","hooks_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/hooks","issue_events_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/issues/events{/number}","events_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/events","assignees_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/assignees{/user}","branches_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/branches{/branch}","tags_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/tags","blobs_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/statuses/{sha}","languages_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/languages","stargazers_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/stargazers","contributors_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/contributors","subscribers_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/subscribers","subscription_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/subscription","commits_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/contents/{+path}","compare_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/merges","archive_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/downloads","issues_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/issues{/number}","pulls_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/pulls{/number}","milestones_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/milestones{/number}","notifications_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/labels{/name}","releases_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/releases{/id}","deployments_url":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/deployments","created_at":"2016-06-03T11:41:22Z","updated_at":"2016-06-06T08:25:44Z","pushed_at":"2016-06-08T08:10:56Z","git_url":"git://github.com/Alexander-Andrade/RubyTutor.git","ssh_url":"git@github.com:Alexander-Andrade/RubyTutor.git","clone_url":"https://github.com/Alexander-Andrade/RubyTutor.git","svn_url":"https://github.com/Alexander-Andrade/RubyTutor","homepage":null,"size":9,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/pulls/4"},"html":{"href":"https://github.com/Alexander-Andrade/RubyTutor/pull/4"},"issue":{"href":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/issues/4"},"comments":{"href":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Alexander-Andrade/RubyTutor/statuses/48fd458e3eb56bb0145a87f1e1c84e50521e419f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Alexander-Andrade","id":10990337,"avatar_url":"https://avatars.githubusercontent.com/u/10990337?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexander-Andrade","html_url":"https://github.com/Alexander-Andrade","followers_url":"https://api.github.com/users/Alexander-Andrade/followers","following_url":"https://api.github.com/users/Alexander-Andrade/following{/other_user}","gists_url":"https://api.github.com/users/Alexander-Andrade/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexander-Andrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexander-Andrade/subscriptions","organizations_url":"https://api.github.com/users/Alexander-Andrade/orgs","repos_url":"https://api.github.com/users/Alexander-Andrade/repos","events_url":"https://api.github.com/users/Alexander-Andrade/events{/privacy}","received_events_url":"https://api.github.com/users/Alexander-Andrade/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":20,"deletions":23,"changed_files":2}}
{"actor":{"display_login":"Alexander-Andrade"}}