{"action":"created","comment":{"url":"https://api.github.com/repos/rap1ds/ruby-possibly/pulls/comments/38618039","id":38618039,"diff_hunk":"@@ -156,4 +156,12 @@ def test_case_when(case_value, match_value, non_match_value)\n       expect(Some([1, 2, 3]).map { |arr| arr.map { |v| v * v } }.get).to eql([1, 4, 9])\n     end\n   end\n+\n+  describe \"inner\" do\n+    it \"forwards all (also Enumerable) methods\" do\n+      expect(Some([\"first\", \"second\", \"third\"]).inner.first.upcase.or_else { false }).to eql(\"FIRST\")\n+      expect(Some([\"first\", \"second\", \"third\"]).inner.map(&:upcase).or_else { false }).to eql([\"FIRST\", \"SECOND\", \"THIRD\"])\n+      expect(Some([]).inner.first.upcase.or_else { \"NONE\" }).to eql(\"NONE\")","path":"spec/spec.rb","position":9,"original_position":9,"commit_id":"5c0bd2f43299f47e0631fd169ffe4816e150f1d0","original_commit_id":"5c0bd2f43299f47e0631fd169ffe4816e150f1d0","user":{"login":"rap1ds","id":429876,"avatar_url":"https://avatars.githubusercontent.com/u/429876?v=3","gravatar_id":"","url":"https://api.github.com/users/rap1ds","html_url":"https://github.com/rap1ds","followers_url":"https://api.github.com/users/rap1ds/followers","following_url":"https://api.github.com/users/rap1ds/following{/other_user}","gists_url":"https://api.github.com/users/rap1ds/gists{/gist_id}","starred_url":"https://api.github.com/users/rap1ds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rap1ds/subscriptions","organizations_url":"https://api.github.com/users/rap1ds/orgs","repos_url":"https://api.github.com/users/rap1ds/repos","events_url":"https://api.github.com/users/rap1ds/events{/privacy}","received_events_url":"https://api.github.com/users/rap1ds/received_events","type":"User","site_admin":false},"body":"Add test for None (it will probably break)","created_at":"2015-09-03T07:04:58Z","updated_at":"2015-09-03T07:04:58Z","html_url":"https://github.com/rap1ds/ruby-possibly/pull/7#discussion_r38618039","pull_request_url":"https://api.github.com/repos/rap1ds/ruby-possibly/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/rap1ds/ruby-possibly/pulls/comments/38618039"},"html":{"href":"https://github.com/rap1ds/ruby-possibly/pull/7#discussion_r38618039"},"pull_request":{"href":"https://api.github.com/repos/rap1ds/ruby-possibly/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/rap1ds/ruby-possibly/pulls/7","id":19363008,"html_url":"https://github.com/rap1ds/ruby-possibly/pull/7","diff_url":"https://github.com/rap1ds/ruby-possibly/pull/7.diff","patch_url":"https://github.com/rap1ds/ruby-possibly/pull/7.patch","issue_url":"https://api.github.com/repos/rap1ds/ruby-possibly/issues/7","number":7,"state":"open","locked":false,"title":"Pass method call directly to inner value","user":{"login":"rap1ds","id":429876,"avatar_url":"https://avatars.githubusercontent.com/u/429876?v=3","gravatar_id":"","url":"https://api.github.com/users/rap1ds","html_url":"https://github.com/rap1ds","followers_url":"https://api.github.com/users/rap1ds/followers","following_url":"https://api.github.com/users/rap1ds/following{/other_user}","gists_url":"https://api.github.com/users/rap1ds/gists{/gist_id}","starred_url":"https://api.github.com/users/rap1ds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rap1ds/subscriptions","organizations_url":"https://api.github.com/users/rap1ds/orgs","repos_url":"https://api.github.com/users/rap1ds/repos","events_url":"https://api.github.com/users/rap1ds/events{/privacy}","received_events_url":"https://api.github.com/users/rap1ds/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-08-05T19:16:03Z","updated_at":"2015-09-03T07:04:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9bb57a261d1e0ad590b0214eb98ff77fa49bf2af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rap1ds/ruby-possibly/pulls/7/commits","review_comments_url":"https://api.github.com/repos/rap1ds/ruby-possibly/pulls/7/comments","review_comment_url":"https://api.github.com/repos/rap1ds/ruby-possibly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rap1ds/ruby-possibly/issues/7/comments","statuses_url":"https://api.github.com/repos/rap1ds/ruby-possibly/statuses/5c0bd2f43299f47e0631fd169ffe4816e150f1d0","head":{"label":"rap1ds:inner","ref":"inner","sha":"5c0bd2f43299f47e0631fd169ffe4816e150f1d0","user":{"login":"rap1ds","id":429876,"avatar_url":"https://avatars.githubusercontent.com/u/429876?v=3","gravatar_id":"","url":"https://api.github.com/users/rap1ds","html_url":"https://github.com/rap1ds","followers_url":"https://api.github.com/users/rap1ds/followers","following_url":"https://api.github.com/users/rap1ds/following{/other_user}","gists_url":"https://api.github.com/users/rap1ds/gists{/gist_id}","starred_url":"https://api.github.com/users/rap1ds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rap1ds/subscriptions","organizations_url":"https://api.github.com/users/rap1ds/orgs","repos_url":"https://api.github.com/users/rap1ds/repos","events_url":"https://api.github.com/users/rap1ds/events{/privacy}","received_events_url":"https://api.github.com/users/rap1ds/received_events","type":"User","site_admin":false},"repo":{"id":19160552,"name":"ruby-possibly","full_name":"rap1ds/ruby-possibly","owner":{"login":"rap1ds","id":429876,"avatar_url":"https://avatars.githubusercontent.com/u/429876?v=3","gravatar_id":"","url":"https://api.github.com/users/rap1ds","html_url":"https://github.com/rap1ds","followers_url":"https://api.github.com/users/rap1ds/followers","following_url":"https://api.github.com/users/rap1ds/following{/other_user}","gists_url":"https://api.github.com/users/rap1ds/gists{/gist_id}","starred_url":"https://api.github.com/users/rap1ds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rap1ds/subscriptions","organizations_url":"https://api.github.com/users/rap1ds/orgs","repos_url":"https://api.github.com/users/rap1ds/repos","events_url":"https://api.github.com/users/rap1ds/events{/privacy}","received_events_url":"https://api.github.com/users/rap1ds/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rap1ds/ruby-possibly","description":"A maybe monad","fork":false,"url":"https://api.github.com/repos/rap1ds/ruby-possibly","forks_url":"https://api.github.com/repos/rap1ds/ruby-possibly/forks","keys_url":"https://api.github.com/repos/rap1ds/ruby-possibly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rap1ds/ruby-possibly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rap1ds/ruby-possibly/teams","hooks_url":"https://api.github.com/repos/rap1ds/ruby-possibly/hooks","issue_events_url":"https://api.github.com/repos/rap1ds/ruby-possibly/issues/events{/number}","events_url":"https://api.github.com/repos/rap1ds/ruby-possibly/events","assignees_url":"https://api.github.com/repos/rap1ds/ruby-possibly/assignees{/user}","branches_url":"https://api.github.com/repos/rap1ds/ruby-possibly/branches{/branch}","tags_url":"https://api.github.com/repos/rap1ds/ruby-possibly/tags","blobs_url":"https://api.github.com/repos/rap1ds/ruby-possibly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rap1ds/ruby-possibly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rap1ds/ruby-possibly/git/refs{/sha}","trees_url":"https://api.github.com/repos/rap1ds/ruby-possibly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rap1ds/ruby-possibly/statuses/{sha}","languages_url":"https://api.github.com/repos/rap1ds/ruby-possibly/languages","stargazers_url":"https://api.github.com/repos/rap1ds/ruby-possibly/stargazers","contributors_url":"https://api.github.com/repos/rap1ds/ruby-possibly/contributors","subscribers_url":"https://api.github.com/repos/rap1ds/ruby-possibly/subscribers","subscription_url":"https://api.github.com/repos/rap1ds/ruby-possibly/subscription","commits_url":"https://api.github.com/repos/rap1ds/ruby-possibly/commits{/sha}","git_commits_url":"https://api.github.com/repos/rap1ds/ruby-possibly/git/commits{/sha}","comments_url":"https://api.github.com/repos/rap1ds/ruby-possibly/comments{/number}","issue_comment_url":"https://api.github.com/repos/rap1ds/ruby-possibly/issues/comments{/number}","contents_url":"https://api.github.com/repos/rap1ds/ruby-possibly/contents/{+path}","compare_url":"https://api.github.com/repos/rap1ds/ruby-possibly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rap1ds/ruby-possibly/merges","archive_url":"https://api.github.com/repos/rap1ds/ruby-possibly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rap1ds/ruby-possibly/downloads","issues_url":"https://api.github.com/repos/rap1ds/ruby-possibly/issues{/number}","pulls_url":"https://api.github.com/repos/rap1ds/ruby-possibly/pulls{/number}","milestones_url":"https://api.github.com/repos/rap1ds/ruby-possibly/milestones{/number}","notifications_url":"https://api.github.com/repos/rap1ds/ruby-possibly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rap1ds/ruby-possibly/labels{/name}","releases_url":"https://api.github.com/repos/rap1ds/ruby-possibly/releases{/id}","created_at":"2014-04-25T20:57:26Z","updated_at":"2015-09-01T20:19:39Z","pushed_at":"2015-04-19T09:28:24Z","git_url":"git://github.com/rap1ds/ruby-possibly.git","ssh_url":"git@github.com:rap1ds/ruby-possibly.git","clone_url":"https://github.com/rap1ds/ruby-possibly.git","svn_url":"https://github.com/rap1ds/ruby-possibly","homepage":null,"size":429,"stargazers_count":78,"watchers_count":78,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":7,"forks":3,"open_issues":7,"watchers":78,"default_branch":"master"}},"base":{"label":"rap1ds:master","ref":"master","sha":"8df67e42040373ac7051a7c9e573b029d396696a","user":{"login":"rap1ds","id":429876,"avatar_url":"https://avatars.githubusercontent.com/u/429876?v=3","gravatar_id":"","url":"https://api.github.com/users/rap1ds","html_url":"https://github.com/rap1ds","followers_url":"https://api.github.com/users/rap1ds/followers","following_url":"https://api.github.com/users/rap1ds/following{/other_user}","gists_url":"https://api.github.com/users/rap1ds/gists{/gist_id}","starred_url":"https://api.github.com/users/rap1ds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rap1ds/subscriptions","organizations_url":"https://api.github.com/users/rap1ds/orgs","repos_url":"https://api.github.com/users/rap1ds/repos","events_url":"https://api.github.com/users/rap1ds/events{/privacy}","received_events_url":"https://api.github.com/users/rap1ds/received_events","type":"User","site_admin":false},"repo":{"id":19160552,"name":"ruby-possibly","full_name":"rap1ds/ruby-possibly","owner":{"login":"rap1ds","id":429876,"avatar_url":"https://avatars.githubusercontent.com/u/429876?v=3","gravatar_id":"","url":"https://api.github.com/users/rap1ds","html_url":"https://github.com/rap1ds","followers_url":"https://api.github.com/users/rap1ds/followers","following_url":"https://api.github.com/users/rap1ds/following{/other_user}","gists_url":"https://api.github.com/users/rap1ds/gists{/gist_id}","starred_url":"https://api.github.com/users/rap1ds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rap1ds/subscriptions","organizations_url":"https://api.github.com/users/rap1ds/orgs","repos_url":"https://api.github.com/users/rap1ds/repos","events_url":"https://api.github.com/users/rap1ds/events{/privacy}","received_events_url":"https://api.github.com/users/rap1ds/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rap1ds/ruby-possibly","description":"A maybe monad","fork":false,"url":"https://api.github.com/repos/rap1ds/ruby-possibly","forks_url":"https://api.github.com/repos/rap1ds/ruby-possibly/forks","keys_url":"https://api.github.com/repos/rap1ds/ruby-possibly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rap1ds/ruby-possibly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rap1ds/ruby-possibly/teams","hooks_url":"https://api.github.com/repos/rap1ds/ruby-possibly/hooks","issue_events_url":"https://api.github.com/repos/rap1ds/ruby-possibly/issues/events{/number}","events_url":"https://api.github.com/repos/rap1ds/ruby-possibly/events","assignees_url":"https://api.github.com/repos/rap1ds/ruby-possibly/assignees{/user}","branches_url":"https://api.github.com/repos/rap1ds/ruby-possibly/branches{/branch}","tags_url":"https://api.github.com/repos/rap1ds/ruby-possibly/tags","blobs_url":"https://api.github.com/repos/rap1ds/ruby-possibly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rap1ds/ruby-possibly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rap1ds/ruby-possibly/git/refs{/sha}","trees_url":"https://api.github.com/repos/rap1ds/ruby-possibly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rap1ds/ruby-possibly/statuses/{sha}","languages_url":"https://api.github.com/repos/rap1ds/ruby-possibly/languages","stargazers_url":"https://api.github.com/repos/rap1ds/ruby-possibly/stargazers","contributors_url":"https://api.github.com/repos/rap1ds/ruby-possibly/contributors","subscribers_url":"https://api.github.com/repos/rap1ds/ruby-possibly/subscribers","subscription_url":"https://api.github.com/repos/rap1ds/ruby-possibly/subscription","commits_url":"https://api.github.com/repos/rap1ds/ruby-possibly/commits{/sha}","git_commits_url":"https://api.github.com/repos/rap1ds/ruby-possibly/git/commits{/sha}","comments_url":"https://api.github.com/repos/rap1ds/ruby-possibly/comments{/number}","issue_comment_url":"https://api.github.com/repos/rap1ds/ruby-possibly/issues/comments{/number}","contents_url":"https://api.github.com/repos/rap1ds/ruby-possibly/contents/{+path}","compare_url":"https://api.github.com/repos/rap1ds/ruby-possibly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rap1ds/ruby-possibly/merges","archive_url":"https://api.github.com/repos/rap1ds/ruby-possibly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rap1ds/ruby-possibly/downloads","issues_url":"https://api.github.com/repos/rap1ds/ruby-possibly/issues{/number}","pulls_url":"https://api.github.com/repos/rap1ds/ruby-possibly/pulls{/number}","milestones_url":"https://api.github.com/repos/rap1ds/ruby-possibly/milestones{/number}","notifications_url":"https://api.github.com/repos/rap1ds/ruby-possibly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rap1ds/ruby-possibly/labels{/name}","releases_url":"https://api.github.com/repos/rap1ds/ruby-possibly/releases{/id}","created_at":"2014-04-25T20:57:26Z","updated_at":"2015-09-01T20:19:39Z","pushed_at":"2015-04-19T09:28:24Z","git_url":"git://github.com/rap1ds/ruby-possibly.git","ssh_url":"git@github.com:rap1ds/ruby-possibly.git","clone_url":"https://github.com/rap1ds/ruby-possibly.git","svn_url":"https://github.com/rap1ds/ruby-possibly","homepage":null,"size":429,"stargazers_count":78,"watchers_count":78,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":7,"forks":3,"open_issues":7,"watchers":78,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rap1ds/ruby-possibly/pulls/7"},"html":{"href":"https://github.com/rap1ds/ruby-possibly/pull/7"},"issue":{"href":"https://api.github.com/repos/rap1ds/ruby-possibly/issues/7"},"comments":{"href":"https://api.github.com/repos/rap1ds/ruby-possibly/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/rap1ds/ruby-possibly/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/rap1ds/ruby-possibly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rap1ds/ruby-possibly/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/rap1ds/ruby-possibly/statuses/5c0bd2f43299f47e0631fd169ffe4816e150f1d0"}}}}