{"action":"closed","number":60,"pull_request":{"url":"https://api.github.com/repos/hasgeek/coaster/pulls/60","id":51002726,"html_url":"https://github.com/hasgeek/coaster/pull/60","diff_url":"https://github.com/hasgeek/coaster/pull/60.diff","patch_url":"https://github.com/hasgeek/coaster/pull/60.patch","issue_url":"https://api.github.com/repos/hasgeek/coaster/issues/60","number":60,"state":"closed","locked":false,"title":"Provide an add_and_commit method in the session","user":{"login":"jace","id":26695,"avatar_url":"https://avatars.githubusercontent.com/u/26695?v=3","gravatar_id":"","url":"https://api.github.com/users/jace","html_url":"https://github.com/jace","followers_url":"https://api.github.com/users/jace/followers","following_url":"https://api.github.com/users/jace/following{/other_user}","gists_url":"https://api.github.com/users/jace/gists{/gist_id}","starred_url":"https://api.github.com/users/jace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jace/subscriptions","organizations_url":"https://api.github.com/users/jace/orgs","repos_url":"https://api.github.com/users/jace/repos","events_url":"https://api.github.com/users/jace/events{/privacy}","received_events_url":"https://api.github.com/users/jace/received_events","type":"User","site_admin":false},"body":"Add and commit automatically rolls back if the commit failed, returning the instance present in the database instead.","created_at":"2015-11-17T20:52:08Z","updated_at":"2015-11-19T06:18:58Z","closed_at":"2015-11-19T06:18:58Z","merged_at":"2015-11-19T06:18:58Z","merge_commit_sha":"108f8abfad258e29467e60df958f7562d2a902cb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hasgeek/coaster/pulls/60/commits","review_comments_url":"https://api.github.com/repos/hasgeek/coaster/pulls/60/comments","review_comment_url":"https://api.github.com/repos/hasgeek/coaster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hasgeek/coaster/issues/60/comments","statuses_url":"https://api.github.com/repos/hasgeek/coaster/statuses/a4843e756dd18c60eecafc6d470d96b033defffd","head":{"label":"hasgeek:add_and_commit","ref":"add_and_commit","sha":"a4843e756dd18c60eecafc6d470d96b033defffd","user":{"login":"hasgeek","id":443850,"avatar_url":"https://avatars.githubusercontent.com/u/443850?v=3","gravatar_id":"","url":"https://api.github.com/users/hasgeek","html_url":"https://github.com/hasgeek","followers_url":"https://api.github.com/users/hasgeek/followers","following_url":"https://api.github.com/users/hasgeek/following{/other_user}","gists_url":"https://api.github.com/users/hasgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/hasgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasgeek/subscriptions","organizations_url":"https://api.github.com/users/hasgeek/orgs","repos_url":"https://api.github.com/users/hasgeek/repos","events_url":"https://api.github.com/users/hasgeek/events{/privacy}","received_events_url":"https://api.github.com/users/hasgeek/received_events","type":"Organization","site_admin":false},"repo":{"id":2884392,"name":"coaster","full_name":"hasgeek/coaster","owner":{"login":"hasgeek","id":443850,"avatar_url":"https://avatars.githubusercontent.com/u/443850?v=3","gravatar_id":"","url":"https://api.github.com/users/hasgeek","html_url":"https://github.com/hasgeek","followers_url":"https://api.github.com/users/hasgeek/followers","following_url":"https://api.github.com/users/hasgeek/following{/other_user}","gists_url":"https://api.github.com/users/hasgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/hasgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasgeek/subscriptions","organizations_url":"https://api.github.com/users/hasgeek/orgs","repos_url":"https://api.github.com/users/hasgeek/repos","events_url":"https://api.github.com/users/hasgeek/events{/privacy}","received_events_url":"https://api.github.com/users/hasgeek/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hasgeek/coaster","description":"Common patterns for Flask apps","fork":false,"url":"https://api.github.com/repos/hasgeek/coaster","forks_url":"https://api.github.com/repos/hasgeek/coaster/forks","keys_url":"https://api.github.com/repos/hasgeek/coaster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hasgeek/coaster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hasgeek/coaster/teams","hooks_url":"https://api.github.com/repos/hasgeek/coaster/hooks","issue_events_url":"https://api.github.com/repos/hasgeek/coaster/issues/events{/number}","events_url":"https://api.github.com/repos/hasgeek/coaster/events","assignees_url":"https://api.github.com/repos/hasgeek/coaster/assignees{/user}","branches_url":"https://api.github.com/repos/hasgeek/coaster/branches{/branch}","tags_url":"https://api.github.com/repos/hasgeek/coaster/tags","blobs_url":"https://api.github.com/repos/hasgeek/coaster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hasgeek/coaster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hasgeek/coaster/git/refs{/sha}","trees_url":"https://api.github.com/repos/hasgeek/coaster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hasgeek/coaster/statuses/{sha}","languages_url":"https://api.github.com/repos/hasgeek/coaster/languages","stargazers_url":"https://api.github.com/repos/hasgeek/coaster/stargazers","contributors_url":"https://api.github.com/repos/hasgeek/coaster/contributors","subscribers_url":"https://api.github.com/repos/hasgeek/coaster/subscribers","subscription_url":"https://api.github.com/repos/hasgeek/coaster/subscription","commits_url":"https://api.github.com/repos/hasgeek/coaster/commits{/sha}","git_commits_url":"https://api.github.com/repos/hasgeek/coaster/git/commits{/sha}","comments_url":"https://api.github.com/repos/hasgeek/coaster/comments{/number}","issue_comment_url":"https://api.github.com/repos/hasgeek/coaster/issues/comments{/number}","contents_url":"https://api.github.com/repos/hasgeek/coaster/contents/{+path}","compare_url":"https://api.github.com/repos/hasgeek/coaster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hasgeek/coaster/merges","archive_url":"https://api.github.com/repos/hasgeek/coaster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hasgeek/coaster/downloads","issues_url":"https://api.github.com/repos/hasgeek/coaster/issues{/number}","pulls_url":"https://api.github.com/repos/hasgeek/coaster/pulls{/number}","milestones_url":"https://api.github.com/repos/hasgeek/coaster/milestones{/number}","notifications_url":"https://api.github.com/repos/hasgeek/coaster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hasgeek/coaster/labels{/name}","releases_url":"https://api.github.com/repos/hasgeek/coaster/releases{/id}","created_at":"2011-11-30T16:10:41Z","updated_at":"2015-09-30T12:35:12Z","pushed_at":"2015-11-19T06:18:58Z","git_url":"git://github.com/hasgeek/coaster.git","ssh_url":"git@github.com:hasgeek/coaster.git","clone_url":"https://github.com/hasgeek/coaster.git","svn_url":"https://github.com/hasgeek/coaster","homepage":"http://coaster.readthedocs.org/","size":421,"stargazers_count":40,"watchers_count":40,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":21,"forks":8,"open_issues":21,"watchers":40,"default_branch":"master"}},"base":{"label":"hasgeek:master","ref":"master","sha":"d8e67cea6e55d561a064d46926966fc80490f66e","user":{"login":"hasgeek","id":443850,"avatar_url":"https://avatars.githubusercontent.com/u/443850?v=3","gravatar_id":"","url":"https://api.github.com/users/hasgeek","html_url":"https://github.com/hasgeek","followers_url":"https://api.github.com/users/hasgeek/followers","following_url":"https://api.github.com/users/hasgeek/following{/other_user}","gists_url":"https://api.github.com/users/hasgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/hasgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasgeek/subscriptions","organizations_url":"https://api.github.com/users/hasgeek/orgs","repos_url":"https://api.github.com/users/hasgeek/repos","events_url":"https://api.github.com/users/hasgeek/events{/privacy}","received_events_url":"https://api.github.com/users/hasgeek/received_events","type":"Organization","site_admin":false},"repo":{"id":2884392,"name":"coaster","full_name":"hasgeek/coaster","owner":{"login":"hasgeek","id":443850,"avatar_url":"https://avatars.githubusercontent.com/u/443850?v=3","gravatar_id":"","url":"https://api.github.com/users/hasgeek","html_url":"https://github.com/hasgeek","followers_url":"https://api.github.com/users/hasgeek/followers","following_url":"https://api.github.com/users/hasgeek/following{/other_user}","gists_url":"https://api.github.com/users/hasgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/hasgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasgeek/subscriptions","organizations_url":"https://api.github.com/users/hasgeek/orgs","repos_url":"https://api.github.com/users/hasgeek/repos","events_url":"https://api.github.com/users/hasgeek/events{/privacy}","received_events_url":"https://api.github.com/users/hasgeek/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hasgeek/coaster","description":"Common patterns for Flask apps","fork":false,"url":"https://api.github.com/repos/hasgeek/coaster","forks_url":"https://api.github.com/repos/hasgeek/coaster/forks","keys_url":"https://api.github.com/repos/hasgeek/coaster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hasgeek/coaster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hasgeek/coaster/teams","hooks_url":"https://api.github.com/repos/hasgeek/coaster/hooks","issue_events_url":"https://api.github.com/repos/hasgeek/coaster/issues/events{/number}","events_url":"https://api.github.com/repos/hasgeek/coaster/events","assignees_url":"https://api.github.com/repos/hasgeek/coaster/assignees{/user}","branches_url":"https://api.github.com/repos/hasgeek/coaster/branches{/branch}","tags_url":"https://api.github.com/repos/hasgeek/coaster/tags","blobs_url":"https://api.github.com/repos/hasgeek/coaster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hasgeek/coaster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hasgeek/coaster/git/refs{/sha}","trees_url":"https://api.github.com/repos/hasgeek/coaster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hasgeek/coaster/statuses/{sha}","languages_url":"https://api.github.com/repos/hasgeek/coaster/languages","stargazers_url":"https://api.github.com/repos/hasgeek/coaster/stargazers","contributors_url":"https://api.github.com/repos/hasgeek/coaster/contributors","subscribers_url":"https://api.github.com/repos/hasgeek/coaster/subscribers","subscription_url":"https://api.github.com/repos/hasgeek/coaster/subscription","commits_url":"https://api.github.com/repos/hasgeek/coaster/commits{/sha}","git_commits_url":"https://api.github.com/repos/hasgeek/coaster/git/commits{/sha}","comments_url":"https://api.github.com/repos/hasgeek/coaster/comments{/number}","issue_comment_url":"https://api.github.com/repos/hasgeek/coaster/issues/comments{/number}","contents_url":"https://api.github.com/repos/hasgeek/coaster/contents/{+path}","compare_url":"https://api.github.com/repos/hasgeek/coaster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hasgeek/coaster/merges","archive_url":"https://api.github.com/repos/hasgeek/coaster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hasgeek/coaster/downloads","issues_url":"https://api.github.com/repos/hasgeek/coaster/issues{/number}","pulls_url":"https://api.github.com/repos/hasgeek/coaster/pulls{/number}","milestones_url":"https://api.github.com/repos/hasgeek/coaster/milestones{/number}","notifications_url":"https://api.github.com/repos/hasgeek/coaster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hasgeek/coaster/labels{/name}","releases_url":"https://api.github.com/repos/hasgeek/coaster/releases{/id}","created_at":"2011-11-30T16:10:41Z","updated_at":"2015-09-30T12:35:12Z","pushed_at":"2015-11-19T06:18:58Z","git_url":"git://github.com/hasgeek/coaster.git","ssh_url":"git@github.com:hasgeek/coaster.git","clone_url":"https://github.com/hasgeek/coaster.git","svn_url":"https://github.com/hasgeek/coaster","homepage":"http://coaster.readthedocs.org/","size":421,"stargazers_count":40,"watchers_count":40,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":21,"forks":8,"open_issues":21,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hasgeek/coaster/pulls/60"},"html":{"href":"https://github.com/hasgeek/coaster/pull/60"},"issue":{"href":"https://api.github.com/repos/hasgeek/coaster/issues/60"},"comments":{"href":"https://api.github.com/repos/hasgeek/coaster/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/hasgeek/coaster/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/hasgeek/coaster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hasgeek/coaster/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/hasgeek/coaster/statuses/a4843e756dd18c60eecafc6d470d96b033defffd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jace","id":26695,"avatar_url":"https://avatars.githubusercontent.com/u/26695?v=3","gravatar_id":"","url":"https://api.github.com/users/jace","html_url":"https://github.com/jace","followers_url":"https://api.github.com/users/jace/followers","following_url":"https://api.github.com/users/jace/following{/other_user}","gists_url":"https://api.github.com/users/jace/gists{/gist_id}","starred_url":"https://api.github.com/users/jace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jace/subscriptions","organizations_url":"https://api.github.com/users/jace/orgs","repos_url":"https://api.github.com/users/jace/repos","events_url":"https://api.github.com/users/jace/events{/privacy}","received_events_url":"https://api.github.com/users/jace/received_events","type":"User","site_admin":false},"comments":2,"review_comments":14,"commits":6,"additions":92,"deletions":6,"changed_files":5}}