GitHub PullRequestEvent at 2014-06-03 07:51:49
Repository: end_state
Actor: alexpeachey
Payload: {"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/Originate/end_state/pulls/4","id":16636415,"html_url":"https://github.com/Originate/end_state/pull/4","diff_url":"https://github.com/Originate/end_state/pull/4.diff","patch_url":"https://github.com/Originate/end_state/pull/4.patch","issue_url":"https://api.github.com/repos/Originate/end_state/issues/4","number":4,"state":"closed","title":"Fix StateMachine#state_for_event not coercing :state to a symbol.","user":{"login":"brianvh","id":38097,"avatar_url":"https://avatars.githubusercontent.com/u/38097?","gravatar_id":"f2274fdccf53f3cf12904c7667652498","url":"https://api.github.com/users/brianvh","html_url":"https://github.com/brianvh","followers_url":"https://api.github.com/users/brianvh/followers","following_url":"https://api.github.com/users/brianvh/following{/other_user}","gists_url":"https://api.github.com/users/brianvh/gists{/gist_id}","starred_url":"https://api.github.com/users/brianvh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianvh/subscriptions","organizations_url":"https://api.github.com/users/brianvh/orgs","repos_url":"https://api.github.com/users/brianvh/repos","events_url":"https://api.github.com/users/brianvh/events{/privacy}","received_events_url":"https://api.github.com/users/brianvh/received_events","type":"User","site_admin":false},"body":"Without the .to_sym coercion  on :state, all events return as invalid. This commit contains the fix.","created_at":"2014-06-03T06:01:51Z","updated_at":"2014-06-03T07:51:49Z","closed_at":"2014-06-03T07:51:49Z","merged_at":"2014-06-03T07:51:49Z","merge_commit_sha":"bf8aeb261fab7a38e0d50035c48d4c9f0b257b72","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Originate/end_state/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Originate/end_state/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Originate/end_state/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Originate/end_state/issues/4/comments","statuses_url":"https://api.github.com/repos/Originate/end_state/statuses/6deaa5d99045ad9c935da63fc1cb7b06582616ae","head":{"label":"Originate:fix_state_for_event_method","ref":"fix_state_for_event_method","sha":"6deaa5d99045ad9c935da63fc1cb7b06582616ae","user":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?","gravatar_id":"10f497d36bf7c2fbee0a029629773f4c","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"repo":{"id":18854300,"name":"end_state","full_name":"Originate/end_state","owner":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?","gravatar_id":"10f497d36bf7c2fbee0a029629773f4c","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Originate/end_state","description":"A State Machine implementation","fork":false,"url":"https://api.github.com/repos/Originate/end_state","forks_url":"https://api.github.com/repos/Originate/end_state/forks","keys_url":"https://api.github.com/repos/Originate/end_state/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Originate/end_state/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Originate/end_state/teams","hooks_url":"https://api.github.com/repos/Originate/end_state/hooks","issue_events_url":"https://api.github.com/repos/Originate/end_state/issues/events{/number}","events_url":"https://api.github.com/repos/Originate/end_state/events","assignees_url":"https://api.github.com/repos/Originate/end_state/assignees{/user}","branches_url":"https://api.github.com/repos/Originate/end_state/branches{/branch}","tags_url":"https://api.github.com/repos/Originate/end_state/tags","blobs_url":"https://api.github.com/repos/Originate/end_state/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Originate/end_state/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Originate/end_state/git/refs{/sha}","trees_url":"https://api.github.com/repos/Originate/end_state/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Originate/end_state/statuses/{sha}","languages_url":"https://api.github.com/repos/Originate/end_state/languages","stargazers_url":"https://api.github.com/repos/Originate/end_state/stargazers","contributors_url":"https://api.github.com/repos/Originate/end_state/contributors","subscribers_url":"https://api.github.com/repos/Originate/end_state/subscribers","subscription_url":"https://api.github.com/repos/Originate/end_state/subscription","commits_url":"https://api.github.com/repos/Originate/end_state/commits{/sha}","git_commits_url":"https://api.github.com/repos/Originate/end_state/git/commits{/sha}","comments_url":"https://api.github.com/repos/Originate/end_state/comments{/number}","issue_comment_url":"https://api.github.com/repos/Originate/end_state/issues/comments/{number}","contents_url":"https://api.github.com/repos/Originate/end_state/contents/{+path}","compare_url":"https://api.github.com/repos/Originate/end_state/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Originate/end_state/merges","archive_url":"https://api.github.com/repos/Originate/end_state/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Originate/end_state/downloads","issues_url":"https://api.github.com/repos/Originate/end_state/issues{/number}","pulls_url":"https://api.github.com/repos/Originate/end_state/pulls{/number}","milestones_url":"https://api.github.com/repos/Originate/end_state/milestones{/number}","notifications_url":"https://api.github.com/repos/Originate/end_state/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Originate/end_state/labels{/name}","releases_url":"https://api.github.com/repos/Originate/end_state/releases{/id}","created_at":"2014-04-16T20:19:28Z","updated_at":"2014-06-03T07:51:49Z","pushed_at":"2014-06-03T07:51:49Z","git_url":"git://github.com/Originate/end_state.git","ssh_url":"git@github.com:Originate/end_state.git","clone_url":"https://github.com/Originate/end_state.git","svn_url":"https://github.com/Originate/end_state","homepage":null,"size":176,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"Originate:master","ref":"master","sha":"ff98e8807cbeb243229ff23199faeec35ffd17cf","user":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?","gravatar_id":"10f497d36bf7c2fbee0a029629773f4c","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"repo":{"id":18854300,"name":"end_state","full_name":"Originate/end_state","owner":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?","gravatar_id":"10f497d36bf7c2fbee0a029629773f4c","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Originate/end_state","description":"A State Machine implementation","fork":false,"url":"https://api.github.com/repos/Originate/end_state","forks_url":"https://api.github.com/repos/Originate/end_state/forks","keys_url":"https://api.github.com/repos/Originate/end_state/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Originate/end_state/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Originate/end_state/teams","hooks_url":"https://api.github.com/repos/Originate/end_state/hooks","issue_events_url":"https://api.github.com/repos/Originate/end_state/issues/events{/number}","events_url":"https://api.github.com/repos/Originate/end_state/events","assignees_url":"https://api.github.com/repos/Originate/end_state/assignees{/user}","branches_url":"https://api.github.com/repos/Originate/end_state/branches{/branch}","tags_url":"https://api.github.com/repos/Originate/end_state/tags","blobs_url":"https://api.github.com/repos/Originate/end_state/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Originate/end_state/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Originate/end_state/git/refs{/sha}","trees_url":"https://api.github.com/repos/Originate/end_state/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Originate/end_state/statuses/{sha}","languages_url":"https://api.github.com/repos/Originate/end_state/languages","stargazers_url":"https://api.github.com/repos/Originate/end_state/stargazers","contributors_url":"https://api.github.com/repos/Originate/end_state/contributors","subscribers_url":"https://api.github.com/repos/Originate/end_state/subscribers","subscription_url":"https://api.github.com/repos/Originate/end_state/subscription","commits_url":"https://api.github.com/repos/Originate/end_state/commits{/sha}","git_commits_url":"https://api.github.com/repos/Originate/end_state/git/commits{/sha}","comments_url":"https://api.github.com/repos/Originate/end_state/comments{/number}","issue_comment_url":"https://api.github.com/repos/Originate/end_state/issues/comments/{number}","contents_url":"https://api.github.com/repos/Originate/end_state/contents/{+path}","compare_url":"https://api.github.com/repos/Originate/end_state/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Originate/end_state/merges","archive_url":"https://api.github.com/repos/Originate/end_state/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Originate/end_state/downloads","issues_url":"https://api.github.com/repos/Originate/end_state/issues{/number}","pulls_url":"https://api.github.com/repos/Originate/end_state/pulls{/number}","milestones_url":"https://api.github.com/repos/Originate/end_state/milestones{/number}","notifications_url":"https://api.github.com/repos/Originate/end_state/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Originate/end_state/labels{/name}","releases_url":"https://api.github.com/repos/Originate/end_state/releases{/id}","created_at":"2014-04-16T20:19:28Z","updated_at":"2014-06-03T07:51:49Z","pushed_at":"2014-06-03T07:51:49Z","git_url":"git://github.com/Originate/end_state.git","ssh_url":"git@github.com:Originate/end_state.git","clone_url":"https://github.com/Originate/end_state.git","svn_url":"https://github.com/Originate/end_state","homepage":null,"size":176,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Originate/end_state/pulls/4"},"html":{"href":"https://github.com/Originate/end_state/pull/4"},"issue":{"href":"https://api.github.com/repos/Originate/end_state/issues/4"},"comments":{"href":"https://api.github.com/repos/Originate/end_state/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Originate/end_state/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Originate/end_state/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Originate/end_state/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Originate/end_state/statuses/6deaa5d99045ad9c935da63fc1cb7b06582616ae"}},"merged":true,"mergeable":true,"mergeable_state":"clean","merged_by":{"login":"alexpeachey","id":682304,"avatar_url":"https://avatars.githubusercontent.com/u/682304?","gravatar_id":"8d232ef2894f04835248866d00d72b69","url":"https://api.github.com/users/alexpeachey","html_url":"https://github.com/alexpeachey","followers_url":"https://api.github.com/users/alexpeachey/followers","following_url":"https://api.github.com/users/alexpeachey/following{/other_user}","gists_url":"https://api.github.com/users/alexpeachey/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpeachey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpeachey/subscriptions","organizations_url":"https://api.github.com/users/alexpeachey/orgs","repos_url":"https://api.github.com/users/alexpeachey/repos","events_url":"https://api.github.com/users/alexpeachey/events{/privacy}","received_events_url":"https://api.github.com/users/alexpeachey/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}