{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/reddavis/K-Means/pulls/6","id":73979945,"html_url":"https://github.com/reddavis/K-Means/pull/6","diff_url":"https://github.com/reddavis/K-Means/pull/6.diff","patch_url":"https://github.com/reddavis/K-Means/pull/6.patch","issue_url":"https://api.github.com/repos/reddavis/K-Means/issues/6","number":6,"state":"closed","locked":false,"title":"Changes","user":{"login":"jorgesmu","id":3950512,"avatar_url":"https://avatars.githubusercontent.com/u/3950512?v=3","gravatar_id":"","url":"https://api.github.com/users/jorgesmu","html_url":"https://github.com/jorgesmu","followers_url":"https://api.github.com/users/jorgesmu/followers","following_url":"https://api.github.com/users/jorgesmu/following{/other_user}","gists_url":"https://api.github.com/users/jorgesmu/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgesmu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgesmu/subscriptions","organizations_url":"https://api.github.com/users/jorgesmu/orgs","repos_url":"https://api.github.com/users/jorgesmu/repos","events_url":"https://api.github.com/users/jorgesmu/events{/privacy}","received_events_url":"https://api.github.com/users/jorgesmu/received_events","type":"User","site_admin":false},"body":"I made two changes: \r\n\r\n- There was a problem with types in centroid.rb, the method 'nan?' was called on an integer (sometimes) but it's a float method so now it's always transform into float before calling it.\r\n\r\n- The maximum number of iterations is configurable by options (100 is still the default)","created_at":"2016-06-15T20:38:51Z","updated_at":"2016-06-16T09:48:21Z","closed_at":"2016-06-16T09:48:20Z","merged_at":"2016-06-16T09:48:20Z","merge_commit_sha":"ad3fd79014ad967418601fd208729a4027a91a6c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/reddavis/K-Means/pulls/6/commits","review_comments_url":"https://api.github.com/repos/reddavis/K-Means/pulls/6/comments","review_comment_url":"https://api.github.com/repos/reddavis/K-Means/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reddavis/K-Means/issues/6/comments","statuses_url":"https://api.github.com/repos/reddavis/K-Means/statuses/49aa6bacf5aa98b1a959796facad8ae8cf7ea45a","head":{"label":"jorgesmu:master","ref":"master","sha":"49aa6bacf5aa98b1a959796facad8ae8cf7ea45a","user":{"login":"jorgesmu","id":3950512,"avatar_url":"https://avatars.githubusercontent.com/u/3950512?v=3","gravatar_id":"","url":"https://api.github.com/users/jorgesmu","html_url":"https://github.com/jorgesmu","followers_url":"https://api.github.com/users/jorgesmu/followers","following_url":"https://api.github.com/users/jorgesmu/following{/other_user}","gists_url":"https://api.github.com/users/jorgesmu/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgesmu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgesmu/subscriptions","organizations_url":"https://api.github.com/users/jorgesmu/orgs","repos_url":"https://api.github.com/users/jorgesmu/repos","events_url":"https://api.github.com/users/jorgesmu/events{/privacy}","received_events_url":"https://api.github.com/users/jorgesmu/received_events","type":"User","site_admin":false},"repo":{"id":61236908,"name":"K-Means","full_name":"jorgesmu/K-Means","owner":{"login":"jorgesmu","id":3950512,"avatar_url":"https://avatars.githubusercontent.com/u/3950512?v=3","gravatar_id":"","url":"https://api.github.com/users/jorgesmu","html_url":"https://github.com/jorgesmu","followers_url":"https://api.github.com/users/jorgesmu/followers","following_url":"https://api.github.com/users/jorgesmu/following{/other_user}","gists_url":"https://api.github.com/users/jorgesmu/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgesmu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgesmu/subscriptions","organizations_url":"https://api.github.com/users/jorgesmu/orgs","repos_url":"https://api.github.com/users/jorgesmu/repos","events_url":"https://api.github.com/users/jorgesmu/events{/privacy}","received_events_url":"https://api.github.com/users/jorgesmu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jorgesmu/K-Means","description":"K Means","fork":true,"url":"https://api.github.com/repos/jorgesmu/K-Means","forks_url":"https://api.github.com/repos/jorgesmu/K-Means/forks","keys_url":"https://api.github.com/repos/jorgesmu/K-Means/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jorgesmu/K-Means/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jorgesmu/K-Means/teams","hooks_url":"https://api.github.com/repos/jorgesmu/K-Means/hooks","issue_events_url":"https://api.github.com/repos/jorgesmu/K-Means/issues/events{/number}","events_url":"https://api.github.com/repos/jorgesmu/K-Means/events","assignees_url":"https://api.github.com/repos/jorgesmu/K-Means/assignees{/user}","branches_url":"https://api.github.com/repos/jorgesmu/K-Means/branches{/branch}","tags_url":"https://api.github.com/repos/jorgesmu/K-Means/tags","blobs_url":"https://api.github.com/repos/jorgesmu/K-Means/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jorgesmu/K-Means/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jorgesmu/K-Means/git/refs{/sha}","trees_url":"https://api.github.com/repos/jorgesmu/K-Means/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jorgesmu/K-Means/statuses/{sha}","languages_url":"https://api.github.com/repos/jorgesmu/K-Means/languages","stargazers_url":"https://api.github.com/repos/jorgesmu/K-Means/stargazers","contributors_url":"https://api.github.com/repos/jorgesmu/K-Means/contributors","subscribers_url":"https://api.github.com/repos/jorgesmu/K-Means/subscribers","subscription_url":"https://api.github.com/repos/jorgesmu/K-Means/subscription","commits_url":"https://api.github.com/repos/jorgesmu/K-Means/commits{/sha}","git_commits_url":"https://api.github.com/repos/jorgesmu/K-Means/git/commits{/sha}","comments_url":"https://api.github.com/repos/jorgesmu/K-Means/comments{/number}","issue_comment_url":"https://api.github.com/repos/jorgesmu/K-Means/issues/comments{/number}","contents_url":"https://api.github.com/repos/jorgesmu/K-Means/contents/{+path}","compare_url":"https://api.github.com/repos/jorgesmu/K-Means/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jorgesmu/K-Means/merges","archive_url":"https://api.github.com/repos/jorgesmu/K-Means/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jorgesmu/K-Means/downloads","issues_url":"https://api.github.com/repos/jorgesmu/K-Means/issues{/number}","pulls_url":"https://api.github.com/repos/jorgesmu/K-Means/pulls{/number}","milestones_url":"https://api.github.com/repos/jorgesmu/K-Means/milestones{/number}","notifications_url":"https://api.github.com/repos/jorgesmu/K-Means/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jorgesmu/K-Means/labels{/name}","releases_url":"https://api.github.com/repos/jorgesmu/K-Means/releases{/id}","deployments_url":"https://api.github.com/repos/jorgesmu/K-Means/deployments","created_at":"2016-06-15T19:58:11Z","updated_at":"2016-06-15T20:21:20Z","pushed_at":"2016-06-15T20:31:11Z","git_url":"git://github.com/jorgesmu/K-Means.git","ssh_url":"git@github.com:jorgesmu/K-Means.git","clone_url":"https://github.com/jorgesmu/K-Means.git","svn_url":"https://github.com/jorgesmu/K-Means","homepage":"http://red.to","size":38,"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":"reddavis:master","ref":"master","sha":"481e707ffb4f5ec7c5fa8c7908f2114acb32b79c","user":{"login":"reddavis","id":3002,"avatar_url":"https://avatars.githubusercontent.com/u/3002?v=3","gravatar_id":"","url":"https://api.github.com/users/reddavis","html_url":"https://github.com/reddavis","followers_url":"https://api.github.com/users/reddavis/followers","following_url":"https://api.github.com/users/reddavis/following{/other_user}","gists_url":"https://api.github.com/users/reddavis/gists{/gist_id}","starred_url":"https://api.github.com/users/reddavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddavis/subscriptions","organizations_url":"https://api.github.com/users/reddavis/orgs","repos_url":"https://api.github.com/users/reddavis/repos","events_url":"https://api.github.com/users/reddavis/events{/privacy}","received_events_url":"https://api.github.com/users/reddavis/received_events","type":"User","site_admin":false},"repo":{"id":278624,"name":"K-Means","full_name":"reddavis/K-Means","owner":{"login":"reddavis","id":3002,"avatar_url":"https://avatars.githubusercontent.com/u/3002?v=3","gravatar_id":"","url":"https://api.github.com/users/reddavis","html_url":"https://github.com/reddavis","followers_url":"https://api.github.com/users/reddavis/followers","following_url":"https://api.github.com/users/reddavis/following{/other_user}","gists_url":"https://api.github.com/users/reddavis/gists{/gist_id}","starred_url":"https://api.github.com/users/reddavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddavis/subscriptions","organizations_url":"https://api.github.com/users/reddavis/orgs","repos_url":"https://api.github.com/users/reddavis/repos","events_url":"https://api.github.com/users/reddavis/events{/privacy}","received_events_url":"https://api.github.com/users/reddavis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/reddavis/K-Means","description":"K Means","fork":false,"url":"https://api.github.com/repos/reddavis/K-Means","forks_url":"https://api.github.com/repos/reddavis/K-Means/forks","keys_url":"https://api.github.com/repos/reddavis/K-Means/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reddavis/K-Means/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reddavis/K-Means/teams","hooks_url":"https://api.github.com/repos/reddavis/K-Means/hooks","issue_events_url":"https://api.github.com/repos/reddavis/K-Means/issues/events{/number}","events_url":"https://api.github.com/repos/reddavis/K-Means/events","assignees_url":"https://api.github.com/repos/reddavis/K-Means/assignees{/user}","branches_url":"https://api.github.com/repos/reddavis/K-Means/branches{/branch}","tags_url":"https://api.github.com/repos/reddavis/K-Means/tags","blobs_url":"https://api.github.com/repos/reddavis/K-Means/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reddavis/K-Means/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reddavis/K-Means/git/refs{/sha}","trees_url":"https://api.github.com/repos/reddavis/K-Means/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reddavis/K-Means/statuses/{sha}","languages_url":"https://api.github.com/repos/reddavis/K-Means/languages","stargazers_url":"https://api.github.com/repos/reddavis/K-Means/stargazers","contributors_url":"https://api.github.com/repos/reddavis/K-Means/contributors","subscribers_url":"https://api.github.com/repos/reddavis/K-Means/subscribers","subscription_url":"https://api.github.com/repos/reddavis/K-Means/subscription","commits_url":"https://api.github.com/repos/reddavis/K-Means/commits{/sha}","git_commits_url":"https://api.github.com/repos/reddavis/K-Means/git/commits{/sha}","comments_url":"https://api.github.com/repos/reddavis/K-Means/comments{/number}","issue_comment_url":"https://api.github.com/repos/reddavis/K-Means/issues/comments{/number}","contents_url":"https://api.github.com/repos/reddavis/K-Means/contents/{+path}","compare_url":"https://api.github.com/repos/reddavis/K-Means/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reddavis/K-Means/merges","archive_url":"https://api.github.com/repos/reddavis/K-Means/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reddavis/K-Means/downloads","issues_url":"https://api.github.com/repos/reddavis/K-Means/issues{/number}","pulls_url":"https://api.github.com/repos/reddavis/K-Means/pulls{/number}","milestones_url":"https://api.github.com/repos/reddavis/K-Means/milestones{/number}","notifications_url":"https://api.github.com/repos/reddavis/K-Means/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reddavis/K-Means/labels{/name}","releases_url":"https://api.github.com/repos/reddavis/K-Means/releases{/id}","deployments_url":"https://api.github.com/repos/reddavis/K-Means/deployments","created_at":"2009-08-15T12:13:29Z","updated_at":"2016-05-06T00:19:03Z","pushed_at":"2016-06-16T09:48:20Z","git_url":"git://github.com/reddavis/K-Means.git","ssh_url":"git@github.com:reddavis/K-Means.git","clone_url":"https://github.com/reddavis/K-Means.git","svn_url":"https://github.com/reddavis/K-Means","homepage":"http://red.to","size":36,"stargazers_count":94,"watchers_count":94,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":2,"forks":23,"open_issues":2,"watchers":94,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reddavis/K-Means/pulls/6"},"html":{"href":"https://github.com/reddavis/K-Means/pull/6"},"issue":{"href":"https://api.github.com/repos/reddavis/K-Means/issues/6"},"comments":{"href":"https://api.github.com/repos/reddavis/K-Means/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/reddavis/K-Means/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/reddavis/K-Means/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reddavis/K-Means/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/reddavis/K-Means/statuses/49aa6bacf5aa98b1a959796facad8ae8cf7ea45a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"reddavis","id":3002,"avatar_url":"https://avatars.githubusercontent.com/u/3002?v=3","gravatar_id":"","url":"https://api.github.com/users/reddavis","html_url":"https://github.com/reddavis","followers_url":"https://api.github.com/users/reddavis/followers","following_url":"https://api.github.com/users/reddavis/following{/other_user}","gists_url":"https://api.github.com/users/reddavis/gists{/gist_id}","starred_url":"https://api.github.com/users/reddavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddavis/subscriptions","organizations_url":"https://api.github.com/users/reddavis/orgs","repos_url":"https://api.github.com/users/reddavis/repos","events_url":"https://api.github.com/users/reddavis/events{/privacy}","received_events_url":"https://api.github.com/users/reddavis/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":8,"deletions":6,"changed_files":4}}
{"actor":{"display_login":"reddavis"}}