{"action":"opened","number":3518,"pull_request":{"url":"https://api.github.com/repos/crystal-lang/crystal/pulls/3518","id":92667300,"html_url":"https://github.com/crystal-lang/crystal/pull/3518","diff_url":"https://github.com/crystal-lang/crystal/pull/3518.diff","patch_url":"https://github.com/crystal-lang/crystal/pull/3518.patch","issue_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3518","number":3518,"state":"open","locked":false,"title":"Enum from_value when Flags","user":{"login":"bmulvihill","id":3128920,"avatar_url":"https://avatars.githubusercontent.com/u/3128920?v=3","gravatar_id":"","url":"https://api.github.com/users/bmulvihill","html_url":"https://github.com/bmulvihill","followers_url":"https://api.github.com/users/bmulvihill/followers","following_url":"https://api.github.com/users/bmulvihill/following{/other_user}","gists_url":"https://api.github.com/users/bmulvihill/gists{/gist_id}","starred_url":"https://api.github.com/users/bmulvihill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmulvihill/subscriptions","organizations_url":"https://api.github.com/users/bmulvihill/orgs","repos_url":"https://api.github.com/users/bmulvihill/repos","events_url":"https://api.github.com/users/bmulvihill/events{/privacy}","received_events_url":"https://api.github.com/users/bmulvihill/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/crystal-lang/crystal/issues/3448\r\n\r\nfrom_value will return the same as new for Enum with Flags","created_at":"2016-11-07T21:25:41Z","updated_at":"2016-11-07T21:25:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/crystal-lang/crystal/pulls/3518/commits","review_comments_url":"https://api.github.com/repos/crystal-lang/crystal/pulls/3518/comments","review_comment_url":"https://api.github.com/repos/crystal-lang/crystal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3518/comments","statuses_url":"https://api.github.com/repos/crystal-lang/crystal/statuses/178768dcddb51013495b71e255a137c1d047d3d3","head":{"label":"bmulvihill:enum-from-value","ref":"enum-from-value","sha":"178768dcddb51013495b71e255a137c1d047d3d3","user":{"login":"bmulvihill","id":3128920,"avatar_url":"https://avatars.githubusercontent.com/u/3128920?v=3","gravatar_id":"","url":"https://api.github.com/users/bmulvihill","html_url":"https://github.com/bmulvihill","followers_url":"https://api.github.com/users/bmulvihill/followers","following_url":"https://api.github.com/users/bmulvihill/following{/other_user}","gists_url":"https://api.github.com/users/bmulvihill/gists{/gist_id}","starred_url":"https://api.github.com/users/bmulvihill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmulvihill/subscriptions","organizations_url":"https://api.github.com/users/bmulvihill/orgs","repos_url":"https://api.github.com/users/bmulvihill/repos","events_url":"https://api.github.com/users/bmulvihill/events{/privacy}","received_events_url":"https://api.github.com/users/bmulvihill/received_events","type":"User","site_admin":false},"repo":{"id":61575193,"name":"crystal","full_name":"bmulvihill/crystal","owner":{"login":"bmulvihill","id":3128920,"avatar_url":"https://avatars.githubusercontent.com/u/3128920?v=3","gravatar_id":"","url":"https://api.github.com/users/bmulvihill","html_url":"https://github.com/bmulvihill","followers_url":"https://api.github.com/users/bmulvihill/followers","following_url":"https://api.github.com/users/bmulvihill/following{/other_user}","gists_url":"https://api.github.com/users/bmulvihill/gists{/gist_id}","starred_url":"https://api.github.com/users/bmulvihill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmulvihill/subscriptions","organizations_url":"https://api.github.com/users/bmulvihill/orgs","repos_url":"https://api.github.com/users/bmulvihill/repos","events_url":"https://api.github.com/users/bmulvihill/events{/privacy}","received_events_url":"https://api.github.com/users/bmulvihill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bmulvihill/crystal","description":"The Crystal Programming Language","fork":true,"url":"https://api.github.com/repos/bmulvihill/crystal","forks_url":"https://api.github.com/repos/bmulvihill/crystal/forks","keys_url":"https://api.github.com/repos/bmulvihill/crystal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bmulvihill/crystal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bmulvihill/crystal/teams","hooks_url":"https://api.github.com/repos/bmulvihill/crystal/hooks","issue_events_url":"https://api.github.com/repos/bmulvihill/crystal/issues/events{/number}","events_url":"https://api.github.com/repos/bmulvihill/crystal/events","assignees_url":"https://api.github.com/repos/bmulvihill/crystal/assignees{/user}","branches_url":"https://api.github.com/repos/bmulvihill/crystal/branches{/branch}","tags_url":"https://api.github.com/repos/bmulvihill/crystal/tags","blobs_url":"https://api.github.com/repos/bmulvihill/crystal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bmulvihill/crystal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bmulvihill/crystal/git/refs{/sha}","trees_url":"https://api.github.com/repos/bmulvihill/crystal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bmulvihill/crystal/statuses/{sha}","languages_url":"https://api.github.com/repos/bmulvihill/crystal/languages","stargazers_url":"https://api.github.com/repos/bmulvihill/crystal/stargazers","contributors_url":"https://api.github.com/repos/bmulvihill/crystal/contributors","subscribers_url":"https://api.github.com/repos/bmulvihill/crystal/subscribers","subscription_url":"https://api.github.com/repos/bmulvihill/crystal/subscription","commits_url":"https://api.github.com/repos/bmulvihill/crystal/commits{/sha}","git_commits_url":"https://api.github.com/repos/bmulvihill/crystal/git/commits{/sha}","comments_url":"https://api.github.com/repos/bmulvihill/crystal/comments{/number}","issue_comment_url":"https://api.github.com/repos/bmulvihill/crystal/issues/comments{/number}","contents_url":"https://api.github.com/repos/bmulvihill/crystal/contents/{+path}","compare_url":"https://api.github.com/repos/bmulvihill/crystal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bmulvihill/crystal/merges","archive_url":"https://api.github.com/repos/bmulvihill/crystal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bmulvihill/crystal/downloads","issues_url":"https://api.github.com/repos/bmulvihill/crystal/issues{/number}","pulls_url":"https://api.github.com/repos/bmulvihill/crystal/pulls{/number}","milestones_url":"https://api.github.com/repos/bmulvihill/crystal/milestones{/number}","notifications_url":"https://api.github.com/repos/bmulvihill/crystal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bmulvihill/crystal/labels{/name}","releases_url":"https://api.github.com/repos/bmulvihill/crystal/releases{/id}","deployments_url":"https://api.github.com/repos/bmulvihill/crystal/deployments","created_at":"2016-06-20T19:40:58Z","updated_at":"2016-06-20T19:41:01Z","pushed_at":"2016-11-07T21:24:01Z","git_url":"git://github.com/bmulvihill/crystal.git","ssh_url":"git@github.com:bmulvihill/crystal.git","clone_url":"https://github.com/bmulvihill/crystal.git","svn_url":"https://github.com/bmulvihill/crystal","homepage":"http://crystal-lang.org","size":62316,"stargazers_count":0,"watchers_count":0,"language":"Crystal","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":"crystal-lang:master","ref":"master","sha":"b8a18c1910ced16e0285d21fa41cb0dcb647b12f","user":{"login":"crystal-lang","id":6539796,"avatar_url":"https://avatars.githubusercontent.com/u/6539796?v=3","gravatar_id":"","url":"https://api.github.com/users/crystal-lang","html_url":"https://github.com/crystal-lang","followers_url":"https://api.github.com/users/crystal-lang/followers","following_url":"https://api.github.com/users/crystal-lang/following{/other_user}","gists_url":"https://api.github.com/users/crystal-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/crystal-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crystal-lang/subscriptions","organizations_url":"https://api.github.com/users/crystal-lang/orgs","repos_url":"https://api.github.com/users/crystal-lang/repos","events_url":"https://api.github.com/users/crystal-lang/events{/privacy}","received_events_url":"https://api.github.com/users/crystal-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":6887813,"name":"crystal","full_name":"crystal-lang/crystal","owner":{"login":"crystal-lang","id":6539796,"avatar_url":"https://avatars.githubusercontent.com/u/6539796?v=3","gravatar_id":"","url":"https://api.github.com/users/crystal-lang","html_url":"https://github.com/crystal-lang","followers_url":"https://api.github.com/users/crystal-lang/followers","following_url":"https://api.github.com/users/crystal-lang/following{/other_user}","gists_url":"https://api.github.com/users/crystal-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/crystal-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crystal-lang/subscriptions","organizations_url":"https://api.github.com/users/crystal-lang/orgs","repos_url":"https://api.github.com/users/crystal-lang/repos","events_url":"https://api.github.com/users/crystal-lang/events{/privacy}","received_events_url":"https://api.github.com/users/crystal-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crystal-lang/crystal","description":"The Crystal Programming Language","fork":false,"url":"https://api.github.com/repos/crystal-lang/crystal","forks_url":"https://api.github.com/repos/crystal-lang/crystal/forks","keys_url":"https://api.github.com/repos/crystal-lang/crystal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crystal-lang/crystal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crystal-lang/crystal/teams","hooks_url":"https://api.github.com/repos/crystal-lang/crystal/hooks","issue_events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/events{/number}","events_url":"https://api.github.com/repos/crystal-lang/crystal/events","assignees_url":"https://api.github.com/repos/crystal-lang/crystal/assignees{/user}","branches_url":"https://api.github.com/repos/crystal-lang/crystal/branches{/branch}","tags_url":"https://api.github.com/repos/crystal-lang/crystal/tags","blobs_url":"https://api.github.com/repos/crystal-lang/crystal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crystal-lang/crystal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crystal-lang/crystal/git/refs{/sha}","trees_url":"https://api.github.com/repos/crystal-lang/crystal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crystal-lang/crystal/statuses/{sha}","languages_url":"https://api.github.com/repos/crystal-lang/crystal/languages","stargazers_url":"https://api.github.com/repos/crystal-lang/crystal/stargazers","contributors_url":"https://api.github.com/repos/crystal-lang/crystal/contributors","subscribers_url":"https://api.github.com/repos/crystal-lang/crystal/subscribers","subscription_url":"https://api.github.com/repos/crystal-lang/crystal/subscription","commits_url":"https://api.github.com/repos/crystal-lang/crystal/commits{/sha}","git_commits_url":"https://api.github.com/repos/crystal-lang/crystal/git/commits{/sha}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/comments{/number}","issue_comment_url":"https://api.github.com/repos/crystal-lang/crystal/issues/comments{/number}","contents_url":"https://api.github.com/repos/crystal-lang/crystal/contents/{+path}","compare_url":"https://api.github.com/repos/crystal-lang/crystal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crystal-lang/crystal/merges","archive_url":"https://api.github.com/repos/crystal-lang/crystal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crystal-lang/crystal/downloads","issues_url":"https://api.github.com/repos/crystal-lang/crystal/issues{/number}","pulls_url":"https://api.github.com/repos/crystal-lang/crystal/pulls{/number}","milestones_url":"https://api.github.com/repos/crystal-lang/crystal/milestones{/number}","notifications_url":"https://api.github.com/repos/crystal-lang/crystal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crystal-lang/crystal/labels{/name}","releases_url":"https://api.github.com/repos/crystal-lang/crystal/releases{/id}","deployments_url":"https://api.github.com/repos/crystal-lang/crystal/deployments","created_at":"2012-11-27T17:32:32Z","updated_at":"2016-11-07T16:51:41Z","pushed_at":"2016-11-07T14:45:07Z","git_url":"git://github.com/crystal-lang/crystal.git","ssh_url":"git@github.com:crystal-lang/crystal.git","clone_url":"https://github.com/crystal-lang/crystal.git","svn_url":"https://github.com/crystal-lang/crystal","homepage":"http://crystal-lang.org","size":67493,"stargazers_count":6472,"watchers_count":6472,"language":"Crystal","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":537,"mirror_url":null,"open_issues_count":348,"forks":537,"open_issues":348,"watchers":6472,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crystal-lang/crystal/pulls/3518"},"html":{"href":"https://github.com/crystal-lang/crystal/pull/3518"},"issue":{"href":"https://api.github.com/repos/crystal-lang/crystal/issues/3518"},"comments":{"href":"https://api.github.com/repos/crystal-lang/crystal/issues/3518/comments"},"review_comments":{"href":"https://api.github.com/repos/crystal-lang/crystal/pulls/3518/comments"},"review_comment":{"href":"https://api.github.com/repos/crystal-lang/crystal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crystal-lang/crystal/pulls/3518/commits"},"statuses":{"href":"https://api.github.com/repos/crystal-lang/crystal/statuses/178768dcddb51013495b71e255a137c1d047d3d3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":7,"changed_files":2}}
{"actor":{"display_login":"bmulvihill"}}