{"action":"closed","number":58,"pull_request":{"url":"https://api.github.com/repos/yuki24/did_you_mean/pulls/58","id":53481397,"html_url":"https://github.com/yuki24/did_you_mean/pull/58","diff_url":"https://github.com/yuki24/did_you_mean/pull/58.diff","patch_url":"https://github.com/yuki24/did_you_mean/pull/58.patch","issue_url":"https://api.github.com/repos/yuki24/did_you_mean/issues/58","number":58,"state":"closed","locked":false,"title":"add test case","user":{"login":"tonytonyjan","id":809410,"avatar_url":"https://avatars.githubusercontent.com/u/809410?v=3","gravatar_id":"","url":"https://api.github.com/users/tonytonyjan","html_url":"https://github.com/tonytonyjan","followers_url":"https://api.github.com/users/tonytonyjan/followers","following_url":"https://api.github.com/users/tonytonyjan/following{/other_user}","gists_url":"https://api.github.com/users/tonytonyjan/gists{/gist_id}","starred_url":"https://api.github.com/users/tonytonyjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonytonyjan/subscriptions","organizations_url":"https://api.github.com/users/tonytonyjan/orgs","repos_url":"https://api.github.com/users/tonytonyjan/repos","events_url":"https://api.github.com/users/tonytonyjan/events{/privacy}","received_events_url":"https://api.github.com/users/tonytonyjan/received_events","type":"User","site_admin":false},"body":"FYI\r\n\r\n```\r\ndid_you_mean $ env TEST=test/edit_distance/jaro_winkler_test.rb rake test\r\n/Users/tonytonyjan/.rbenv/versions/2.2.3/bin/ruby -w -I\"lib:test\"  \"/Users/tonytonyjan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/rake/rake_test_loader.rb\" \"test/edit_distance/jaro_winkler_test.rb\"\r\nRun options: --seed 58520\r\n\r\n# Running:\r\n\r\n.F\r\n\r\nFinished in 0.001189s, 1681.4240 runs/s, 12610.6797 assertions/s.\r\n\r\n  1) Failure:\r\nJaroWinklerTest#test_jaro_winkler_distance [/Users/tonytonyjan/Dropbox/codes/gems/did_you_mean/test/edit_distance/jaro_winkler_test.rb:16]:\r\nExpected: 1.0\r\n  Actual: 0.0\r\n\r\n2 runs, 15 assertions, 1 failures, 0 errors, 0 skips\r\nrake aborted!\r\nCommand failed with status (1): [ruby -w -I\"lib:test\"  \"/Users/tonytonyjan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/rake/rake_test_loader.rb\" \"test/edit_distance/jaro_winkler_test.rb\" ]\r\n\r\nTasks: TOP => test\r\n(See full trace by running task with --trace)\r\n```","created_at":"2015-12-12T17:50:21Z","updated_at":"2015-12-14T10:13:38Z","closed_at":"2015-12-14T10:13:38Z","merged_at":"2015-12-14T10:13:38Z","merge_commit_sha":"4fd7828071fd75efefef27723dfb9bec95345e89","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yuki24/did_you_mean/pulls/58/commits","review_comments_url":"https://api.github.com/repos/yuki24/did_you_mean/pulls/58/comments","review_comment_url":"https://api.github.com/repos/yuki24/did_you_mean/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yuki24/did_you_mean/issues/58/comments","statuses_url":"https://api.github.com/repos/yuki24/did_you_mean/statuses/4b75a4a03c25e89ce73a29be391460b0b0367d5a","head":{"label":"tonytonyjan:patch-1","ref":"patch-1","sha":"4b75a4a03c25e89ce73a29be391460b0b0367d5a","user":{"login":"tonytonyjan","id":809410,"avatar_url":"https://avatars.githubusercontent.com/u/809410?v=3","gravatar_id":"","url":"https://api.github.com/users/tonytonyjan","html_url":"https://github.com/tonytonyjan","followers_url":"https://api.github.com/users/tonytonyjan/followers","following_url":"https://api.github.com/users/tonytonyjan/following{/other_user}","gists_url":"https://api.github.com/users/tonytonyjan/gists{/gist_id}","starred_url":"https://api.github.com/users/tonytonyjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonytonyjan/subscriptions","organizations_url":"https://api.github.com/users/tonytonyjan/orgs","repos_url":"https://api.github.com/users/tonytonyjan/repos","events_url":"https://api.github.com/users/tonytonyjan/events{/privacy}","received_events_url":"https://api.github.com/users/tonytonyjan/received_events","type":"User","site_admin":false},"repo":{"id":47888168,"name":"did_you_mean","full_name":"tonytonyjan/did_you_mean","owner":{"login":"tonytonyjan","id":809410,"avatar_url":"https://avatars.githubusercontent.com/u/809410?v=3","gravatar_id":"","url":"https://api.github.com/users/tonytonyjan","html_url":"https://github.com/tonytonyjan","followers_url":"https://api.github.com/users/tonytonyjan/followers","following_url":"https://api.github.com/users/tonytonyjan/following{/other_user}","gists_url":"https://api.github.com/users/tonytonyjan/gists{/gist_id}","starred_url":"https://api.github.com/users/tonytonyjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonytonyjan/subscriptions","organizations_url":"https://api.github.com/users/tonytonyjan/orgs","repos_url":"https://api.github.com/users/tonytonyjan/repos","events_url":"https://api.github.com/users/tonytonyjan/events{/privacy}","received_events_url":"https://api.github.com/users/tonytonyjan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tonytonyjan/did_you_mean","description":"\"Did you mean?\" experience in Ruby","fork":true,"url":"https://api.github.com/repos/tonytonyjan/did_you_mean","forks_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/forks","keys_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/teams","hooks_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/hooks","issue_events_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/issues/events{/number}","events_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/events","assignees_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/assignees{/user}","branches_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/branches{/branch}","tags_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/tags","blobs_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/git/refs{/sha}","trees_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/statuses/{sha}","languages_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/languages","stargazers_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/stargazers","contributors_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/contributors","subscribers_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/subscribers","subscription_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/subscription","commits_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/commits{/sha}","git_commits_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/git/commits{/sha}","comments_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/comments{/number}","issue_comment_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/issues/comments{/number}","contents_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/contents/{+path}","compare_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/merges","archive_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/downloads","issues_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/issues{/number}","pulls_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/pulls{/number}","milestones_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/milestones{/number}","notifications_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/labels{/name}","releases_url":"https://api.github.com/repos/tonytonyjan/did_you_mean/releases{/id}","created_at":"2015-12-12T17:48:24Z","updated_at":"2015-12-12T17:48:25Z","pushed_at":"2015-12-12T18:38:21Z","git_url":"git://github.com/tonytonyjan/did_you_mean.git","ssh_url":"git@github.com:tonytonyjan/did_you_mean.git","clone_url":"https://github.com/tonytonyjan/did_you_mean.git","svn_url":"https://github.com/tonytonyjan/did_you_mean","homepage":null,"size":1678,"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":"yuki24:master","ref":"master","sha":"5ef0c2753f6cf460188d90740df4a58de666550e","user":{"login":"yuki24","id":386234,"avatar_url":"https://avatars.githubusercontent.com/u/386234?v=3","gravatar_id":"","url":"https://api.github.com/users/yuki24","html_url":"https://github.com/yuki24","followers_url":"https://api.github.com/users/yuki24/followers","following_url":"https://api.github.com/users/yuki24/following{/other_user}","gists_url":"https://api.github.com/users/yuki24/gists{/gist_id}","starred_url":"https://api.github.com/users/yuki24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuki24/subscriptions","organizations_url":"https://api.github.com/users/yuki24/orgs","repos_url":"https://api.github.com/users/yuki24/repos","events_url":"https://api.github.com/users/yuki24/events{/privacy}","received_events_url":"https://api.github.com/users/yuki24/received_events","type":"User","site_admin":false},"repo":{"id":16449263,"name":"did_you_mean","full_name":"yuki24/did_you_mean","owner":{"login":"yuki24","id":386234,"avatar_url":"https://avatars.githubusercontent.com/u/386234?v=3","gravatar_id":"","url":"https://api.github.com/users/yuki24","html_url":"https://github.com/yuki24","followers_url":"https://api.github.com/users/yuki24/followers","following_url":"https://api.github.com/users/yuki24/following{/other_user}","gists_url":"https://api.github.com/users/yuki24/gists{/gist_id}","starred_url":"https://api.github.com/users/yuki24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuki24/subscriptions","organizations_url":"https://api.github.com/users/yuki24/orgs","repos_url":"https://api.github.com/users/yuki24/repos","events_url":"https://api.github.com/users/yuki24/events{/privacy}","received_events_url":"https://api.github.com/users/yuki24/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuki24/did_you_mean","description":"\"Did you mean?\" experience in Ruby","fork":false,"url":"https://api.github.com/repos/yuki24/did_you_mean","forks_url":"https://api.github.com/repos/yuki24/did_you_mean/forks","keys_url":"https://api.github.com/repos/yuki24/did_you_mean/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuki24/did_you_mean/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuki24/did_you_mean/teams","hooks_url":"https://api.github.com/repos/yuki24/did_you_mean/hooks","issue_events_url":"https://api.github.com/repos/yuki24/did_you_mean/issues/events{/number}","events_url":"https://api.github.com/repos/yuki24/did_you_mean/events","assignees_url":"https://api.github.com/repos/yuki24/did_you_mean/assignees{/user}","branches_url":"https://api.github.com/repos/yuki24/did_you_mean/branches{/branch}","tags_url":"https://api.github.com/repos/yuki24/did_you_mean/tags","blobs_url":"https://api.github.com/repos/yuki24/did_you_mean/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuki24/did_you_mean/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuki24/did_you_mean/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuki24/did_you_mean/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuki24/did_you_mean/statuses/{sha}","languages_url":"https://api.github.com/repos/yuki24/did_you_mean/languages","stargazers_url":"https://api.github.com/repos/yuki24/did_you_mean/stargazers","contributors_url":"https://api.github.com/repos/yuki24/did_you_mean/contributors","subscribers_url":"https://api.github.com/repos/yuki24/did_you_mean/subscribers","subscription_url":"https://api.github.com/repos/yuki24/did_you_mean/subscription","commits_url":"https://api.github.com/repos/yuki24/did_you_mean/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuki24/did_you_mean/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuki24/did_you_mean/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuki24/did_you_mean/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuki24/did_you_mean/contents/{+path}","compare_url":"https://api.github.com/repos/yuki24/did_you_mean/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuki24/did_you_mean/merges","archive_url":"https://api.github.com/repos/yuki24/did_you_mean/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuki24/did_you_mean/downloads","issues_url":"https://api.github.com/repos/yuki24/did_you_mean/issues{/number}","pulls_url":"https://api.github.com/repos/yuki24/did_you_mean/pulls{/number}","milestones_url":"https://api.github.com/repos/yuki24/did_you_mean/milestones{/number}","notifications_url":"https://api.github.com/repos/yuki24/did_you_mean/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuki24/did_you_mean/labels{/name}","releases_url":"https://api.github.com/repos/yuki24/did_you_mean/releases{/id}","created_at":"2014-02-02T05:09:58Z","updated_at":"2015-12-14T00:24:53Z","pushed_at":"2015-12-14T10:13:38Z","git_url":"git://github.com/yuki24/did_you_mean.git","ssh_url":"git@github.com:yuki24/did_you_mean.git","clone_url":"https://github.com/yuki24/did_you_mean.git","svn_url":"https://github.com/yuki24/did_you_mean","homepage":null,"size":1702,"stargazers_count":1383,"watchers_count":1383,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":4,"forks":33,"open_issues":4,"watchers":1383,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yuki24/did_you_mean/pulls/58"},"html":{"href":"https://github.com/yuki24/did_you_mean/pull/58"},"issue":{"href":"https://api.github.com/repos/yuki24/did_you_mean/issues/58"},"comments":{"href":"https://api.github.com/repos/yuki24/did_you_mean/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/yuki24/did_you_mean/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/yuki24/did_you_mean/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yuki24/did_you_mean/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/yuki24/did_you_mean/statuses/4b75a4a03c25e89ce73a29be391460b0b0367d5a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"yuki24","id":386234,"avatar_url":"https://avatars.githubusercontent.com/u/386234?v=3","gravatar_id":"","url":"https://api.github.com/users/yuki24","html_url":"https://github.com/yuki24","followers_url":"https://api.github.com/users/yuki24/followers","following_url":"https://api.github.com/users/yuki24/following{/other_user}","gists_url":"https://api.github.com/users/yuki24/gists{/gist_id}","starred_url":"https://api.github.com/users/yuki24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuki24/subscriptions","organizations_url":"https://api.github.com/users/yuki24/orgs","repos_url":"https://api.github.com/users/yuki24/repos","events_url":"https://api.github.com/users/yuki24/events{/privacy}","received_events_url":"https://api.github.com/users/yuki24/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":2}}