{"action":"opened","number":26,"pull_request":{"url":"https://api.github.com/repos/pzol/deterministic/pulls/26","id":40667402,"html_url":"https://github.com/pzol/deterministic/pull/26","diff_url":"https://github.com/pzol/deterministic/pull/26.diff","patch_url":"https://github.com/pzol/deterministic/pull/26.patch","issue_url":"https://api.github.com/repos/pzol/deterministic/issues/26","number":26,"state":"open","locked":false,"title":"Fix any? handling of primitive data types","user":{"login":"Maxim-Filimonov","id":360645,"avatar_url":"https://avatars.githubusercontent.com/u/360645?v=3","gravatar_id":"","url":"https://api.github.com/users/Maxim-Filimonov","html_url":"https://github.com/Maxim-Filimonov","followers_url":"https://api.github.com/users/Maxim-Filimonov/followers","following_url":"https://api.github.com/users/Maxim-Filimonov/following{/other_user}","gists_url":"https://api.github.com/users/Maxim-Filimonov/gists{/gist_id}","starred_url":"https://api.github.com/users/Maxim-Filimonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maxim-Filimonov/subscriptions","organizations_url":"https://api.github.com/users/Maxim-Filimonov/orgs","repos_url":"https://api.github.com/users/Maxim-Filimonov/repos","events_url":"https://api.github.com/users/Maxim-Filimonov/events{/privacy}","received_events_url":"https://api.github.com/users/Maxim-Filimonov/received_events","type":"User","site_admin":false},"body":"As primitive data types such as FixNum does not respond to empty? it returns `None` when it is passed to `any?` \r\nAlso according to documentation the following should work while it doesn't\r\n```\r\nOption.any?(1)                         # => Some(1)\r\n```","created_at":"2015-07-23T12:41:56Z","updated_at":"2015-07-23T12:41:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pzol/deterministic/pulls/26/commits","review_comments_url":"https://api.github.com/repos/pzol/deterministic/pulls/26/comments","review_comment_url":"https://api.github.com/repos/pzol/deterministic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pzol/deterministic/issues/26/comments","statuses_url":"https://api.github.com/repos/pzol/deterministic/statuses/bae2489d77fd12b35ba83bdca0adc8c6788dd67b","head":{"label":"Maxim-Filimonov:fix_any_handling_of_integers","ref":"fix_any_handling_of_integers","sha":"bae2489d77fd12b35ba83bdca0adc8c6788dd67b","user":{"login":"Maxim-Filimonov","id":360645,"avatar_url":"https://avatars.githubusercontent.com/u/360645?v=3","gravatar_id":"","url":"https://api.github.com/users/Maxim-Filimonov","html_url":"https://github.com/Maxim-Filimonov","followers_url":"https://api.github.com/users/Maxim-Filimonov/followers","following_url":"https://api.github.com/users/Maxim-Filimonov/following{/other_user}","gists_url":"https://api.github.com/users/Maxim-Filimonov/gists{/gist_id}","starred_url":"https://api.github.com/users/Maxim-Filimonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maxim-Filimonov/subscriptions","organizations_url":"https://api.github.com/users/Maxim-Filimonov/orgs","repos_url":"https://api.github.com/users/Maxim-Filimonov/repos","events_url":"https://api.github.com/users/Maxim-Filimonov/events{/privacy}","received_events_url":"https://api.github.com/users/Maxim-Filimonov/received_events","type":"User","site_admin":false},"repo":{"id":39566394,"name":"deterministic","full_name":"Maxim-Filimonov/deterministic","owner":{"login":"Maxim-Filimonov","id":360645,"avatar_url":"https://avatars.githubusercontent.com/u/360645?v=3","gravatar_id":"","url":"https://api.github.com/users/Maxim-Filimonov","html_url":"https://github.com/Maxim-Filimonov","followers_url":"https://api.github.com/users/Maxim-Filimonov/followers","following_url":"https://api.github.com/users/Maxim-Filimonov/following{/other_user}","gists_url":"https://api.github.com/users/Maxim-Filimonov/gists{/gist_id}","starred_url":"https://api.github.com/users/Maxim-Filimonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maxim-Filimonov/subscriptions","organizations_url":"https://api.github.com/users/Maxim-Filimonov/orgs","repos_url":"https://api.github.com/users/Maxim-Filimonov/repos","events_url":"https://api.github.com/users/Maxim-Filimonov/events{/privacy}","received_events_url":"https://api.github.com/users/Maxim-Filimonov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Maxim-Filimonov/deterministic","description":"Functional - deterministic - Ruby made fun","fork":true,"url":"https://api.github.com/repos/Maxim-Filimonov/deterministic","forks_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/forks","keys_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/teams","hooks_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/hooks","issue_events_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/issues/events{/number}","events_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/events","assignees_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/assignees{/user}","branches_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/branches{/branch}","tags_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/tags","blobs_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/git/refs{/sha}","trees_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/statuses/{sha}","languages_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/languages","stargazers_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/stargazers","contributors_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/contributors","subscribers_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/subscribers","subscription_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/subscription","commits_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/commits{/sha}","git_commits_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/git/commits{/sha}","comments_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/comments{/number}","issue_comment_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/issues/comments{/number}","contents_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/contents/{+path}","compare_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/merges","archive_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/downloads","issues_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/issues{/number}","pulls_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/pulls{/number}","milestones_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/milestones{/number}","notifications_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/labels{/name}","releases_url":"https://api.github.com/repos/Maxim-Filimonov/deterministic/releases{/id}","created_at":"2015-07-23T12:35:45Z","updated_at":"2015-07-23T12:35:46Z","pushed_at":"2015-07-23T12:38:37Z","git_url":"git://github.com/Maxim-Filimonov/deterministic.git","ssh_url":"git@github.com:Maxim-Filimonov/deterministic.git","clone_url":"https://github.com/Maxim-Filimonov/deterministic.git","svn_url":"https://github.com/Maxim-Filimonov/deterministic","homepage":"","size":759,"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":"pzol:master","ref":"master","sha":"9fdfcf0892d725f63eb01db4bab5a8d4bb1d925a","user":{"login":"pzol","id":145103,"avatar_url":"https://avatars.githubusercontent.com/u/145103?v=3","gravatar_id":"","url":"https://api.github.com/users/pzol","html_url":"https://github.com/pzol","followers_url":"https://api.github.com/users/pzol/followers","following_url":"https://api.github.com/users/pzol/following{/other_user}","gists_url":"https://api.github.com/users/pzol/gists{/gist_id}","starred_url":"https://api.github.com/users/pzol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzol/subscriptions","organizations_url":"https://api.github.com/users/pzol/orgs","repos_url":"https://api.github.com/users/pzol/repos","events_url":"https://api.github.com/users/pzol/events{/privacy}","received_events_url":"https://api.github.com/users/pzol/received_events","type":"User","site_admin":false},"repo":{"id":15455487,"name":"deterministic","full_name":"pzol/deterministic","owner":{"login":"pzol","id":145103,"avatar_url":"https://avatars.githubusercontent.com/u/145103?v=3","gravatar_id":"","url":"https://api.github.com/users/pzol","html_url":"https://github.com/pzol","followers_url":"https://api.github.com/users/pzol/followers","following_url":"https://api.github.com/users/pzol/following{/other_user}","gists_url":"https://api.github.com/users/pzol/gists{/gist_id}","starred_url":"https://api.github.com/users/pzol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzol/subscriptions","organizations_url":"https://api.github.com/users/pzol/orgs","repos_url":"https://api.github.com/users/pzol/repos","events_url":"https://api.github.com/users/pzol/events{/privacy}","received_events_url":"https://api.github.com/users/pzol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pzol/deterministic","description":"Functional - deterministic - Ruby made fun","fork":false,"url":"https://api.github.com/repos/pzol/deterministic","forks_url":"https://api.github.com/repos/pzol/deterministic/forks","keys_url":"https://api.github.com/repos/pzol/deterministic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pzol/deterministic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pzol/deterministic/teams","hooks_url":"https://api.github.com/repos/pzol/deterministic/hooks","issue_events_url":"https://api.github.com/repos/pzol/deterministic/issues/events{/number}","events_url":"https://api.github.com/repos/pzol/deterministic/events","assignees_url":"https://api.github.com/repos/pzol/deterministic/assignees{/user}","branches_url":"https://api.github.com/repos/pzol/deterministic/branches{/branch}","tags_url":"https://api.github.com/repos/pzol/deterministic/tags","blobs_url":"https://api.github.com/repos/pzol/deterministic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pzol/deterministic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pzol/deterministic/git/refs{/sha}","trees_url":"https://api.github.com/repos/pzol/deterministic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pzol/deterministic/statuses/{sha}","languages_url":"https://api.github.com/repos/pzol/deterministic/languages","stargazers_url":"https://api.github.com/repos/pzol/deterministic/stargazers","contributors_url":"https://api.github.com/repos/pzol/deterministic/contributors","subscribers_url":"https://api.github.com/repos/pzol/deterministic/subscribers","subscription_url":"https://api.github.com/repos/pzol/deterministic/subscription","commits_url":"https://api.github.com/repos/pzol/deterministic/commits{/sha}","git_commits_url":"https://api.github.com/repos/pzol/deterministic/git/commits{/sha}","comments_url":"https://api.github.com/repos/pzol/deterministic/comments{/number}","issue_comment_url":"https://api.github.com/repos/pzol/deterministic/issues/comments{/number}","contents_url":"https://api.github.com/repos/pzol/deterministic/contents/{+path}","compare_url":"https://api.github.com/repos/pzol/deterministic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pzol/deterministic/merges","archive_url":"https://api.github.com/repos/pzol/deterministic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pzol/deterministic/downloads","issues_url":"https://api.github.com/repos/pzol/deterministic/issues{/number}","pulls_url":"https://api.github.com/repos/pzol/deterministic/pulls{/number}","milestones_url":"https://api.github.com/repos/pzol/deterministic/milestones{/number}","notifications_url":"https://api.github.com/repos/pzol/deterministic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pzol/deterministic/labels{/name}","releases_url":"https://api.github.com/repos/pzol/deterministic/releases{/id}","created_at":"2013-12-26T15:46:59Z","updated_at":"2015-07-21T16:06:54Z","pushed_at":"2015-07-01T14:17:59Z","git_url":"git://github.com/pzol/deterministic.git","ssh_url":"git@github.com:pzol/deterministic.git","clone_url":"https://github.com/pzol/deterministic.git","svn_url":"https://github.com/pzol/deterministic","homepage":"","size":759,"stargazers_count":93,"watchers_count":93,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":10,"forks":11,"open_issues":10,"watchers":93,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pzol/deterministic/pulls/26"},"html":{"href":"https://github.com/pzol/deterministic/pull/26"},"issue":{"href":"https://api.github.com/repos/pzol/deterministic/issues/26"},"comments":{"href":"https://api.github.com/repos/pzol/deterministic/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/pzol/deterministic/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/pzol/deterministic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pzol/deterministic/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/pzol/deterministic/statuses/bae2489d77fd12b35ba83bdca0adc8c6788dd67b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":1,"changed_files":2}}