GitHub PullRequestEvent at 2014-08-21 23:06:36
Repository: ember-fsm
Actor: heycarsten
Payload: {"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/heycarsten/ember-fsm/pulls/6","id":17291060,"html_url":"https://github.com/heycarsten/ember-fsm/pull/6","diff_url":"https://github.com/heycarsten/ember-fsm/pull/6.diff","patch_url":"https://github.com/heycarsten/ember-fsm/pull/6.patch","issue_url":"https://api.github.com/repos/heycarsten/ember-fsm/issues/6","number":6,"state":"closed","locked":false,"title":"Added extra initialState property for reviving persisted FSM","user":{"login":"ssured","id":2558804,"avatar_url":"https://avatars.githubusercontent.com/u/2558804?v=2","gravatar_id":"916ac024b58562adb6786a787626e11d","url":"https://api.github.com/users/ssured","html_url":"https://github.com/ssured","followers_url":"https://api.github.com/users/ssured/followers","following_url":"https://api.github.com/users/ssured/following{/other_user}","gists_url":"https://api.github.com/users/ssured/gists{/gist_id}","starred_url":"https://api.github.com/users/ssured/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssured/subscriptions","organizations_url":"https://api.github.com/users/ssured/orgs","repos_url":"https://api.github.com/users/ssured/repos","events_url":"https://api.github.com/users/ssured/events{/privacy}","received_events_url":"https://api.github.com/users/ssured/received_events","type":"User","site_admin":false},"body":"This code allows to overwrite `initialState` with another state. When an FSM is restored after storing to a DB, this way it can continue from where it was persisted.\r\n\r\nAnother approach would be to move `state.initialState` property out of the definition and into the machine, but that would break compatibilty.","created_at":"2014-06-18T12:48:52Z","updated_at":"2014-08-21T23:06:36Z","closed_at":"2014-08-21T23:06:36Z","merged_at":"2014-08-21T23:06:36Z","merge_commit_sha":"bcedd3c38a88729afdea6af7bae4c59eda232dab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/heycarsten/ember-fsm/pulls/6/commits","review_comments_url":"https://api.github.com/repos/heycarsten/ember-fsm/pulls/6/comments","review_comment_url":"https://api.github.com/repos/heycarsten/ember-fsm/pulls/comments/{number}","comments_url":"https://api.github.com/repos/heycarsten/ember-fsm/issues/6/comments","statuses_url":"https://api.github.com/repos/heycarsten/ember-fsm/statuses/d7df6a78186e22201857d6634abd61874d434789","head":{"label":"racido:bootstate","ref":"bootstate","sha":"d7df6a78186e22201857d6634abd61874d434789","user":{"login":"racido","id":7509690,"avatar_url":"https://avatars.githubusercontent.com/u/7509690?v=2","gravatar_id":"498b5b577d1f06114449ecbc804a97d2","url":"https://api.github.com/users/racido","html_url":"https://github.com/racido","followers_url":"https://api.github.com/users/racido/followers","following_url":"https://api.github.com/users/racido/following{/other_user}","gists_url":"https://api.github.com/users/racido/gists{/gist_id}","starred_url":"https://api.github.com/users/racido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/racido/subscriptions","organizations_url":"https://api.github.com/users/racido/orgs","repos_url":"https://api.github.com/users/racido/repos","events_url":"https://api.github.com/users/racido/events{/privacy}","received_events_url":"https://api.github.com/users/racido/received_events","type":"Organization","site_admin":false},"repo":{"id":20961034,"name":"ember-fsm","full_name":"racido/ember-fsm","owner":{"login":"racido","id":7509690,"avatar_url":"https://avatars.githubusercontent.com/u/7509690?v=2","gravatar_id":"498b5b577d1f06114449ecbc804a97d2","url":"https://api.github.com/users/racido","html_url":"https://github.com/racido","followers_url":"https://api.github.com/users/racido/followers","following_url":"https://api.github.com/users/racido/following{/other_user}","gists_url":"https://api.github.com/users/racido/gists{/gist_id}","starred_url":"https://api.github.com/users/racido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/racido/subscriptions","organizations_url":"https://api.github.com/users/racido/orgs","repos_url":"https://api.github.com/users/racido/repos","events_url":"https://api.github.com/users/racido/events{/privacy}","received_events_url":"https://api.github.com/users/racido/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/racido/ember-fsm","description":"A promise-aware finite state machine implementation for Ember objects","fork":true,"url":"https://api.github.com/repos/racido/ember-fsm","forks_url":"https://api.github.com/repos/racido/ember-fsm/forks","keys_url":"https://api.github.com/repos/racido/ember-fsm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/racido/ember-fsm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/racido/ember-fsm/teams","hooks_url":"https://api.github.com/repos/racido/ember-fsm/hooks","issue_events_url":"https://api.github.com/repos/racido/ember-fsm/issues/events{/number}","events_url":"https://api.github.com/repos/racido/ember-fsm/events","assignees_url":"https://api.github.com/repos/racido/ember-fsm/assignees{/user}","branches_url":"https://api.github.com/repos/racido/ember-fsm/branches{/branch}","tags_url":"https://api.github.com/repos/racido/ember-fsm/tags","blobs_url":"https://api.github.com/repos/racido/ember-fsm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/racido/ember-fsm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/racido/ember-fsm/git/refs{/sha}","trees_url":"https://api.github.com/repos/racido/ember-fsm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/racido/ember-fsm/statuses/{sha}","languages_url":"https://api.github.com/repos/racido/ember-fsm/languages","stargazers_url":"https://api.github.com/repos/racido/ember-fsm/stargazers","contributors_url":"https://api.github.com/repos/racido/ember-fsm/contributors","subscribers_url":"https://api.github.com/repos/racido/ember-fsm/subscribers","subscription_url":"https://api.github.com/repos/racido/ember-fsm/subscription","commits_url":"https://api.github.com/repos/racido/ember-fsm/commits{/sha}","git_commits_url":"https://api.github.com/repos/racido/ember-fsm/git/commits{/sha}","comments_url":"https://api.github.com/repos/racido/ember-fsm/comments{/number}","issue_comment_url":"https://api.github.com/repos/racido/ember-fsm/issues/comments/{number}","contents_url":"https://api.github.com/repos/racido/ember-fsm/contents/{+path}","compare_url":"https://api.github.com/repos/racido/ember-fsm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/racido/ember-fsm/merges","archive_url":"https://api.github.com/repos/racido/ember-fsm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/racido/ember-fsm/downloads","issues_url":"https://api.github.com/repos/racido/ember-fsm/issues{/number}","pulls_url":"https://api.github.com/repos/racido/ember-fsm/pulls{/number}","milestones_url":"https://api.github.com/repos/racido/ember-fsm/milestones{/number}","notifications_url":"https://api.github.com/repos/racido/ember-fsm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/racido/ember-fsm/labels{/name}","releases_url":"https://api.github.com/repos/racido/ember-fsm/releases{/id}","created_at":"2014-06-18T12:21:14Z","updated_at":"2014-06-18T12:52:02Z","pushed_at":"2014-06-18T12:52:06Z","git_url":"git://github.com/racido/ember-fsm.git","ssh_url":"git@github.com:racido/ember-fsm.git","clone_url":"https://github.com/racido/ember-fsm.git","svn_url":"https://github.com/racido/ember-fsm","homepage":"","size":292,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"heycarsten:master","ref":"master","sha":"f86ea38cda85f024b46de896f36557c9e354993c","user":{"login":"heycarsten","id":700,"avatar_url":"https://avatars.githubusercontent.com/u/700?v=2","gravatar_id":"777b569e52d0c3510308e314b220fd8e","url":"https://api.github.com/users/heycarsten","html_url":"https://github.com/heycarsten","followers_url":"https://api.github.com/users/heycarsten/followers","following_url":"https://api.github.com/users/heycarsten/following{/other_user}","gists_url":"https://api.github.com/users/heycarsten/gists{/gist_id}","starred_url":"https://api.github.com/users/heycarsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heycarsten/subscriptions","organizations_url":"https://api.github.com/users/heycarsten/orgs","repos_url":"https://api.github.com/users/heycarsten/repos","events_url":"https://api.github.com/users/heycarsten/events{/privacy}","received_events_url":"https://api.github.com/users/heycarsten/received_events","type":"User","site_admin":false},"repo":{"id":17669487,"name":"ember-fsm","full_name":"heycarsten/ember-fsm","owner":{"login":"heycarsten","id":700,"avatar_url":"https://avatars.githubusercontent.com/u/700?v=2","gravatar_id":"777b569e52d0c3510308e314b220fd8e","url":"https://api.github.com/users/heycarsten","html_url":"https://github.com/heycarsten","followers_url":"https://api.github.com/users/heycarsten/followers","following_url":"https://api.github.com/users/heycarsten/following{/other_user}","gists_url":"https://api.github.com/users/heycarsten/gists{/gist_id}","starred_url":"https://api.github.com/users/heycarsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heycarsten/subscriptions","organizations_url":"https://api.github.com/users/heycarsten/orgs","repos_url":"https://api.github.com/users/heycarsten/repos","events_url":"https://api.github.com/users/heycarsten/events{/privacy}","received_events_url":"https://api.github.com/users/heycarsten/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/heycarsten/ember-fsm","description":"A promise-aware finite state machine implementation for Ember objects","fork":false,"url":"https://api.github.com/repos/heycarsten/ember-fsm","forks_url":"https://api.github.com/repos/heycarsten/ember-fsm/forks","keys_url":"https://api.github.com/repos/heycarsten/ember-fsm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heycarsten/ember-fsm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heycarsten/ember-fsm/teams","hooks_url":"https://api.github.com/repos/heycarsten/ember-fsm/hooks","issue_events_url":"https://api.github.com/repos/heycarsten/ember-fsm/issues/events{/number}","events_url":"https://api.github.com/repos/heycarsten/ember-fsm/events","assignees_url":"https://api.github.com/repos/heycarsten/ember-fsm/assignees{/user}","branches_url":"https://api.github.com/repos/heycarsten/ember-fsm/branches{/branch}","tags_url":"https://api.github.com/repos/heycarsten/ember-fsm/tags","blobs_url":"https://api.github.com/repos/heycarsten/ember-fsm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heycarsten/ember-fsm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heycarsten/ember-fsm/git/refs{/sha}","trees_url":"https://api.github.com/repos/heycarsten/ember-fsm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heycarsten/ember-fsm/statuses/{sha}","languages_url":"https://api.github.com/repos/heycarsten/ember-fsm/languages","stargazers_url":"https://api.github.com/repos/heycarsten/ember-fsm/stargazers","contributors_url":"https://api.github.com/repos/heycarsten/ember-fsm/contributors","subscribers_url":"https://api.github.com/repos/heycarsten/ember-fsm/subscribers","subscription_url":"https://api.github.com/repos/heycarsten/ember-fsm/subscription","commits_url":"https://api.github.com/repos/heycarsten/ember-fsm/commits{/sha}","git_commits_url":"https://api.github.com/repos/heycarsten/ember-fsm/git/commits{/sha}","comments_url":"https://api.github.com/repos/heycarsten/ember-fsm/comments{/number}","issue_comment_url":"https://api.github.com/repos/heycarsten/ember-fsm/issues/comments/{number}","contents_url":"https://api.github.com/repos/heycarsten/ember-fsm/contents/{+path}","compare_url":"https://api.github.com/repos/heycarsten/ember-fsm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heycarsten/ember-fsm/merges","archive_url":"https://api.github.com/repos/heycarsten/ember-fsm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heycarsten/ember-fsm/downloads","issues_url":"https://api.github.com/repos/heycarsten/ember-fsm/issues{/number}","pulls_url":"https://api.github.com/repos/heycarsten/ember-fsm/pulls{/number}","milestones_url":"https://api.github.com/repos/heycarsten/ember-fsm/milestones{/number}","notifications_url":"https://api.github.com/repos/heycarsten/ember-fsm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heycarsten/ember-fsm/labels{/name}","releases_url":"https://api.github.com/repos/heycarsten/ember-fsm/releases{/id}","created_at":"2014-03-12T14:20:23Z","updated_at":"2014-08-11T11:48:43Z","pushed_at":"2014-08-21T23:06:36Z","git_url":"git://github.com/heycarsten/ember-fsm.git","ssh_url":"git@github.com:heycarsten/ember-fsm.git","clone_url":"https://github.com/heycarsten/ember-fsm.git","svn_url":"https://github.com/heycarsten/ember-fsm","homepage":"","size":559,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/heycarsten/ember-fsm/pulls/6"},"html":{"href":"https://github.com/heycarsten/ember-fsm/pull/6"},"issue":{"href":"https://api.github.com/repos/heycarsten/ember-fsm/issues/6"},"comments":{"href":"https://api.github.com/repos/heycarsten/ember-fsm/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/heycarsten/ember-fsm/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/heycarsten/ember-fsm/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/heycarsten/ember-fsm/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/heycarsten/ember-fsm/statuses/d7df6a78186e22201857d6634abd61874d434789"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"heycarsten","id":700,"avatar_url":"https://avatars.githubusercontent.com/u/700?v=2","gravatar_id":"777b569e52d0c3510308e314b220fd8e","url":"https://api.github.com/users/heycarsten","html_url":"https://github.com/heycarsten","followers_url":"https://api.github.com/users/heycarsten/followers","following_url":"https://api.github.com/users/heycarsten/following{/other_user}","gists_url":"https://api.github.com/users/heycarsten/gists{/gist_id}","starred_url":"https://api.github.com/users/heycarsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heycarsten/subscriptions","organizations_url":"https://api.github.com/users/heycarsten/orgs","repos_url":"https://api.github.com/users/heycarsten/repos","events_url":"https://api.github.com/users/heycarsten/events{/privacy}","received_events_url":"https://api.github.com/users/heycarsten/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":42,"deletions":6,"changed_files":10}}