{"action":"created","comment":{"url":"https://api.github.com/repos/zilverline/sequent/pulls/comments/34918823","id":34918823,"diff_hunk":"@@ -47,5 +47,8 @@ def initialize(record_session = Sequent::Core::RecordSessions::ActiveRecordSessi\n                      :find_records, :last_record\n \n     end\n+\n+    # Alias the above class\n+    Projector = BaseEventHandler","path":"lib/sequent/core/base_event_handler.rb","position":6,"original_position":6,"commit_id":"28ce977df95cec9f19d06498d407429ba679c810","original_commit_id":"28ce977df95cec9f19d06498d407429ba679c810","user":{"login":"bjpbakker","id":605641,"avatar_url":"https://avatars.githubusercontent.com/u/605641?v=3","gravatar_id":"","url":"https://api.github.com/users/bjpbakker","html_url":"https://github.com/bjpbakker","followers_url":"https://api.github.com/users/bjpbakker/followers","following_url":"https://api.github.com/users/bjpbakker/following{/other_user}","gists_url":"https://api.github.com/users/bjpbakker/gists{/gist_id}","starred_url":"https://api.github.com/users/bjpbakker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjpbakker/subscriptions","organizations_url":"https://api.github.com/users/bjpbakker/orgs","repos_url":"https://api.github.com/users/bjpbakker/repos","events_url":"https://api.github.com/users/bjpbakker/events{/privacy}","received_events_url":"https://api.github.com/users/bjpbakker/received_events","type":"User","site_admin":false},"body":"Since `BaseEventHandler` now only serves projections and no longer workflows, maybe make `Projector` the main class and have a deprecated alias for `Projector` for backwards compatibility?","created_at":"2015-07-17T18:40:39Z","updated_at":"2015-07-17T18:40:39Z","html_url":"https://github.com/zilverline/sequent/pull/20#discussion_r34918823","pull_request_url":"https://api.github.com/repos/zilverline/sequent/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/zilverline/sequent/pulls/comments/34918823"},"html":{"href":"https://github.com/zilverline/sequent/pull/20#discussion_r34918823"},"pull_request":{"href":"https://api.github.com/repos/zilverline/sequent/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/zilverline/sequent/pulls/20","id":40234626,"html_url":"https://github.com/zilverline/sequent/pull/20","diff_url":"https://github.com/zilverline/sequent/pull/20.diff","patch_url":"https://github.com/zilverline/sequent/pull/20.patch","issue_url":"https://api.github.com/repos/zilverline/sequent/issues/20","number":20,"state":"open","locked":false,"title":"Add workflows and projectors","user":{"login":"s0meone","id":82148,"avatar_url":"https://avatars.githubusercontent.com/u/82148?v=3","gravatar_id":"","url":"https://api.github.com/users/s0meone","html_url":"https://github.com/s0meone","followers_url":"https://api.github.com/users/s0meone/followers","following_url":"https://api.github.com/users/s0meone/following{/other_user}","gists_url":"https://api.github.com/users/s0meone/gists{/gist_id}","starred_url":"https://api.github.com/users/s0meone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s0meone/subscriptions","organizations_url":"https://api.github.com/users/s0meone/orgs","repos_url":"https://api.github.com/users/s0meone/repos","events_url":"https://api.github.com/users/s0meone/events{/privacy}","received_events_url":"https://api.github.com/users/s0meone/received_events","type":"User","site_admin":false},"body":"Add specific event handlers for projections and workflows. A workflow allows to execute new commands and a projector alters the projections.","created_at":"2015-07-17T14:10:29Z","updated_at":"2015-07-17T18:40:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82bab0edbb5832b2542fe5aea6c5d7aa7dee8ac8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zilverline/sequent/pulls/20/commits","review_comments_url":"https://api.github.com/repos/zilverline/sequent/pulls/20/comments","review_comment_url":"https://api.github.com/repos/zilverline/sequent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zilverline/sequent/issues/20/comments","statuses_url":"https://api.github.com/repos/zilverline/sequent/statuses/28ce977df95cec9f19d06498d407429ba679c810","head":{"label":"zilverline:workflows-projector","ref":"workflows-projector","sha":"28ce977df95cec9f19d06498d407429ba679c810","user":{"login":"zilverline","id":159022,"avatar_url":"https://avatars.githubusercontent.com/u/159022?v=3","gravatar_id":"","url":"https://api.github.com/users/zilverline","html_url":"https://github.com/zilverline","followers_url":"https://api.github.com/users/zilverline/followers","following_url":"https://api.github.com/users/zilverline/following{/other_user}","gists_url":"https://api.github.com/users/zilverline/gists{/gist_id}","starred_url":"https://api.github.com/users/zilverline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zilverline/subscriptions","organizations_url":"https://api.github.com/users/zilverline/orgs","repos_url":"https://api.github.com/users/zilverline/repos","events_url":"https://api.github.com/users/zilverline/events{/privacy}","received_events_url":"https://api.github.com/users/zilverline/received_events","type":"Organization","site_admin":false},"repo":{"id":32690099,"name":"sequent","full_name":"zilverline/sequent","owner":{"login":"zilverline","id":159022,"avatar_url":"https://avatars.githubusercontent.com/u/159022?v=3","gravatar_id":"","url":"https://api.github.com/users/zilverline","html_url":"https://github.com/zilverline","followers_url":"https://api.github.com/users/zilverline/followers","following_url":"https://api.github.com/users/zilverline/following{/other_user}","gists_url":"https://api.github.com/users/zilverline/gists{/gist_id}","starred_url":"https://api.github.com/users/zilverline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zilverline/subscriptions","organizations_url":"https://api.github.com/users/zilverline/orgs","repos_url":"https://api.github.com/users/zilverline/repos","events_url":"https://api.github.com/users/zilverline/events{/privacy}","received_events_url":"https://api.github.com/users/zilverline/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zilverline/sequent","description":"CQRS & event sourcing framework for Ruby","fork":false,"url":"https://api.github.com/repos/zilverline/sequent","forks_url":"https://api.github.com/repos/zilverline/sequent/forks","keys_url":"https://api.github.com/repos/zilverline/sequent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zilverline/sequent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zilverline/sequent/teams","hooks_url":"https://api.github.com/repos/zilverline/sequent/hooks","issue_events_url":"https://api.github.com/repos/zilverline/sequent/issues/events{/number}","events_url":"https://api.github.com/repos/zilverline/sequent/events","assignees_url":"https://api.github.com/repos/zilverline/sequent/assignees{/user}","branches_url":"https://api.github.com/repos/zilverline/sequent/branches{/branch}","tags_url":"https://api.github.com/repos/zilverline/sequent/tags","blobs_url":"https://api.github.com/repos/zilverline/sequent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zilverline/sequent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zilverline/sequent/git/refs{/sha}","trees_url":"https://api.github.com/repos/zilverline/sequent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zilverline/sequent/statuses/{sha}","languages_url":"https://api.github.com/repos/zilverline/sequent/languages","stargazers_url":"https://api.github.com/repos/zilverline/sequent/stargazers","contributors_url":"https://api.github.com/repos/zilverline/sequent/contributors","subscribers_url":"https://api.github.com/repos/zilverline/sequent/subscribers","subscription_url":"https://api.github.com/repos/zilverline/sequent/subscription","commits_url":"https://api.github.com/repos/zilverline/sequent/commits{/sha}","git_commits_url":"https://api.github.com/repos/zilverline/sequent/git/commits{/sha}","comments_url":"https://api.github.com/repos/zilverline/sequent/comments{/number}","issue_comment_url":"https://api.github.com/repos/zilverline/sequent/issues/comments{/number}","contents_url":"https://api.github.com/repos/zilverline/sequent/contents/{+path}","compare_url":"https://api.github.com/repos/zilverline/sequent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zilverline/sequent/merges","archive_url":"https://api.github.com/repos/zilverline/sequent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zilverline/sequent/downloads","issues_url":"https://api.github.com/repos/zilverline/sequent/issues{/number}","pulls_url":"https://api.github.com/repos/zilverline/sequent/pulls{/number}","milestones_url":"https://api.github.com/repos/zilverline/sequent/milestones{/number}","notifications_url":"https://api.github.com/repos/zilverline/sequent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zilverline/sequent/labels{/name}","releases_url":"https://api.github.com/repos/zilverline/sequent/releases{/id}","created_at":"2015-03-22T18:56:51Z","updated_at":"2015-06-12T08:17:03Z","pushed_at":"2015-07-17T14:13:01Z","git_url":"git://github.com/zilverline/sequent.git","ssh_url":"git@github.com:zilverline/sequent.git","clone_url":"https://github.com/zilverline/sequent.git","svn_url":"https://github.com/zilverline/sequent","homepage":"","size":726,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":9,"default_branch":"master"}},"base":{"label":"zilverline:master","ref":"master","sha":"76f05990e7ab13ab0f7aedee5f9aeb471ceba509","user":{"login":"zilverline","id":159022,"avatar_url":"https://avatars.githubusercontent.com/u/159022?v=3","gravatar_id":"","url":"https://api.github.com/users/zilverline","html_url":"https://github.com/zilverline","followers_url":"https://api.github.com/users/zilverline/followers","following_url":"https://api.github.com/users/zilverline/following{/other_user}","gists_url":"https://api.github.com/users/zilverline/gists{/gist_id}","starred_url":"https://api.github.com/users/zilverline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zilverline/subscriptions","organizations_url":"https://api.github.com/users/zilverline/orgs","repos_url":"https://api.github.com/users/zilverline/repos","events_url":"https://api.github.com/users/zilverline/events{/privacy}","received_events_url":"https://api.github.com/users/zilverline/received_events","type":"Organization","site_admin":false},"repo":{"id":32690099,"name":"sequent","full_name":"zilverline/sequent","owner":{"login":"zilverline","id":159022,"avatar_url":"https://avatars.githubusercontent.com/u/159022?v=3","gravatar_id":"","url":"https://api.github.com/users/zilverline","html_url":"https://github.com/zilverline","followers_url":"https://api.github.com/users/zilverline/followers","following_url":"https://api.github.com/users/zilverline/following{/other_user}","gists_url":"https://api.github.com/users/zilverline/gists{/gist_id}","starred_url":"https://api.github.com/users/zilverline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zilverline/subscriptions","organizations_url":"https://api.github.com/users/zilverline/orgs","repos_url":"https://api.github.com/users/zilverline/repos","events_url":"https://api.github.com/users/zilverline/events{/privacy}","received_events_url":"https://api.github.com/users/zilverline/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zilverline/sequent","description":"CQRS & event sourcing framework for Ruby","fork":false,"url":"https://api.github.com/repos/zilverline/sequent","forks_url":"https://api.github.com/repos/zilverline/sequent/forks","keys_url":"https://api.github.com/repos/zilverline/sequent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zilverline/sequent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zilverline/sequent/teams","hooks_url":"https://api.github.com/repos/zilverline/sequent/hooks","issue_events_url":"https://api.github.com/repos/zilverline/sequent/issues/events{/number}","events_url":"https://api.github.com/repos/zilverline/sequent/events","assignees_url":"https://api.github.com/repos/zilverline/sequent/assignees{/user}","branches_url":"https://api.github.com/repos/zilverline/sequent/branches{/branch}","tags_url":"https://api.github.com/repos/zilverline/sequent/tags","blobs_url":"https://api.github.com/repos/zilverline/sequent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zilverline/sequent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zilverline/sequent/git/refs{/sha}","trees_url":"https://api.github.com/repos/zilverline/sequent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zilverline/sequent/statuses/{sha}","languages_url":"https://api.github.com/repos/zilverline/sequent/languages","stargazers_url":"https://api.github.com/repos/zilverline/sequent/stargazers","contributors_url":"https://api.github.com/repos/zilverline/sequent/contributors","subscribers_url":"https://api.github.com/repos/zilverline/sequent/subscribers","subscription_url":"https://api.github.com/repos/zilverline/sequent/subscription","commits_url":"https://api.github.com/repos/zilverline/sequent/commits{/sha}","git_commits_url":"https://api.github.com/repos/zilverline/sequent/git/commits{/sha}","comments_url":"https://api.github.com/repos/zilverline/sequent/comments{/number}","issue_comment_url":"https://api.github.com/repos/zilverline/sequent/issues/comments{/number}","contents_url":"https://api.github.com/repos/zilverline/sequent/contents/{+path}","compare_url":"https://api.github.com/repos/zilverline/sequent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zilverline/sequent/merges","archive_url":"https://api.github.com/repos/zilverline/sequent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zilverline/sequent/downloads","issues_url":"https://api.github.com/repos/zilverline/sequent/issues{/number}","pulls_url":"https://api.github.com/repos/zilverline/sequent/pulls{/number}","milestones_url":"https://api.github.com/repos/zilverline/sequent/milestones{/number}","notifications_url":"https://api.github.com/repos/zilverline/sequent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zilverline/sequent/labels{/name}","releases_url":"https://api.github.com/repos/zilverline/sequent/releases{/id}","created_at":"2015-03-22T18:56:51Z","updated_at":"2015-06-12T08:17:03Z","pushed_at":"2015-07-17T14:13:01Z","git_url":"git://github.com/zilverline/sequent.git","ssh_url":"git@github.com:zilverline/sequent.git","clone_url":"https://github.com/zilverline/sequent.git","svn_url":"https://github.com/zilverline/sequent","homepage":"","size":726,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zilverline/sequent/pulls/20"},"html":{"href":"https://github.com/zilverline/sequent/pull/20"},"issue":{"href":"https://api.github.com/repos/zilverline/sequent/issues/20"},"comments":{"href":"https://api.github.com/repos/zilverline/sequent/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/zilverline/sequent/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/zilverline/sequent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zilverline/sequent/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/zilverline/sequent/statuses/28ce977df95cec9f19d06498d407429ba679c810"}}}}