{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/ztoolson/depot/pulls/5","id":41976841,"html_url":"https://github.com/ztoolson/depot/pull/5","diff_url":"https://github.com/ztoolson/depot/pull/5.diff","patch_url":"https://github.com/ztoolson/depot/pull/5.patch","issue_url":"https://api.github.com/repos/ztoolson/depot/issues/5","number":5,"state":"closed","locked":false,"title":"zt/dash of ajax","user":{"login":"ztoolson","id":4131873,"avatar_url":"https://avatars.githubusercontent.com/u/4131873?v=3","gravatar_id":"","url":"https://api.github.com/users/ztoolson","html_url":"https://github.com/ztoolson","followers_url":"https://api.github.com/users/ztoolson/followers","following_url":"https://api.github.com/users/ztoolson/following{/other_user}","gists_url":"https://api.github.com/users/ztoolson/gists{/gist_id}","starred_url":"https://api.github.com/users/ztoolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztoolson/subscriptions","organizations_url":"https://api.github.com/users/ztoolson/orgs","repos_url":"https://api.github.com/users/ztoolson/repos","events_url":"https://api.github.com/users/ztoolson/events{/privacy}","received_events_url":"https://api.github.com/users/ztoolson/received_events","type":"User","site_admin":false},"body":"- Moved the shopping cart to the sidebar. The `LineItemsController#create` action redisplays the catalog page\r\n- Use `remote:true` to invoke the `LineItemsController#create` action using ajax\r\n- Use an ERB template to create JavaScript that will execute on the client. This uses jQuery in order to update page with just the cat's HTML\r\n- Use jQuery-UI library to highlight when new items are added to the cart\r\n- Hide the cart when empty by using helper methods. Reveal the cart when an item is added using jQuery\r\n- write coffeescript to add items to the cart by clicking on the image","created_at":"2015-08-09T20:52:25Z","updated_at":"2015-08-09T20:53:05Z","closed_at":"2015-08-09T20:53:05Z","merged_at":"2015-08-09T20:53:05Z","merge_commit_sha":"2e7bd32968054e98105340c312118f772e07b3e9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ztoolson/depot/pulls/5/commits","review_comments_url":"https://api.github.com/repos/ztoolson/depot/pulls/5/comments","review_comment_url":"https://api.github.com/repos/ztoolson/depot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ztoolson/depot/issues/5/comments","statuses_url":"https://api.github.com/repos/ztoolson/depot/statuses/467358dd04924a096bf14ffcfeb765a2ec662d23","head":{"label":"ztoolson:zt/dash-of-ajax","ref":"zt/dash-of-ajax","sha":"467358dd04924a096bf14ffcfeb765a2ec662d23","user":{"login":"ztoolson","id":4131873,"avatar_url":"https://avatars.githubusercontent.com/u/4131873?v=3","gravatar_id":"","url":"https://api.github.com/users/ztoolson","html_url":"https://github.com/ztoolson","followers_url":"https://api.github.com/users/ztoolson/followers","following_url":"https://api.github.com/users/ztoolson/following{/other_user}","gists_url":"https://api.github.com/users/ztoolson/gists{/gist_id}","starred_url":"https://api.github.com/users/ztoolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztoolson/subscriptions","organizations_url":"https://api.github.com/users/ztoolson/orgs","repos_url":"https://api.github.com/users/ztoolson/repos","events_url":"https://api.github.com/users/ztoolson/events{/privacy}","received_events_url":"https://api.github.com/users/ztoolson/received_events","type":"User","site_admin":false},"repo":{"id":40384756,"name":"depot","full_name":"ztoolson/depot","owner":{"login":"ztoolson","id":4131873,"avatar_url":"https://avatars.githubusercontent.com/u/4131873?v=3","gravatar_id":"","url":"https://api.github.com/users/ztoolson","html_url":"https://github.com/ztoolson","followers_url":"https://api.github.com/users/ztoolson/followers","following_url":"https://api.github.com/users/ztoolson/following{/other_user}","gists_url":"https://api.github.com/users/ztoolson/gists{/gist_id}","starred_url":"https://api.github.com/users/ztoolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztoolson/subscriptions","organizations_url":"https://api.github.com/users/ztoolson/orgs","repos_url":"https://api.github.com/users/ztoolson/repos","events_url":"https://api.github.com/users/ztoolson/events{/privacy}","received_events_url":"https://api.github.com/users/ztoolson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ztoolson/depot","description":"","fork":false,"url":"https://api.github.com/repos/ztoolson/depot","forks_url":"https://api.github.com/repos/ztoolson/depot/forks","keys_url":"https://api.github.com/repos/ztoolson/depot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ztoolson/depot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ztoolson/depot/teams","hooks_url":"https://api.github.com/repos/ztoolson/depot/hooks","issue_events_url":"https://api.github.com/repos/ztoolson/depot/issues/events{/number}","events_url":"https://api.github.com/repos/ztoolson/depot/events","assignees_url":"https://api.github.com/repos/ztoolson/depot/assignees{/user}","branches_url":"https://api.github.com/repos/ztoolson/depot/branches{/branch}","tags_url":"https://api.github.com/repos/ztoolson/depot/tags","blobs_url":"https://api.github.com/repos/ztoolson/depot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ztoolson/depot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ztoolson/depot/git/refs{/sha}","trees_url":"https://api.github.com/repos/ztoolson/depot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ztoolson/depot/statuses/{sha}","languages_url":"https://api.github.com/repos/ztoolson/depot/languages","stargazers_url":"https://api.github.com/repos/ztoolson/depot/stargazers","contributors_url":"https://api.github.com/repos/ztoolson/depot/contributors","subscribers_url":"https://api.github.com/repos/ztoolson/depot/subscribers","subscription_url":"https://api.github.com/repos/ztoolson/depot/subscription","commits_url":"https://api.github.com/repos/ztoolson/depot/commits{/sha}","git_commits_url":"https://api.github.com/repos/ztoolson/depot/git/commits{/sha}","comments_url":"https://api.github.com/repos/ztoolson/depot/comments{/number}","issue_comment_url":"https://api.github.com/repos/ztoolson/depot/issues/comments{/number}","contents_url":"https://api.github.com/repos/ztoolson/depot/contents/{+path}","compare_url":"https://api.github.com/repos/ztoolson/depot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ztoolson/depot/merges","archive_url":"https://api.github.com/repos/ztoolson/depot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ztoolson/depot/downloads","issues_url":"https://api.github.com/repos/ztoolson/depot/issues{/number}","pulls_url":"https://api.github.com/repos/ztoolson/depot/pulls{/number}","milestones_url":"https://api.github.com/repos/ztoolson/depot/milestones{/number}","notifications_url":"https://api.github.com/repos/ztoolson/depot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ztoolson/depot/labels{/name}","releases_url":"https://api.github.com/repos/ztoolson/depot/releases{/id}","created_at":"2015-08-07T23:19:33Z","updated_at":"2015-08-07T23:20:01Z","pushed_at":"2015-08-09T20:53:05Z","git_url":"git://github.com/ztoolson/depot.git","ssh_url":"git@github.com:ztoolson/depot.git","clone_url":"https://github.com/ztoolson/depot.git","svn_url":"https://github.com/ztoolson/depot","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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":"ztoolson:master","ref":"master","sha":"9a1fb815d7594ac1fa936f1aaf49fd31dfee4350","user":{"login":"ztoolson","id":4131873,"avatar_url":"https://avatars.githubusercontent.com/u/4131873?v=3","gravatar_id":"","url":"https://api.github.com/users/ztoolson","html_url":"https://github.com/ztoolson","followers_url":"https://api.github.com/users/ztoolson/followers","following_url":"https://api.github.com/users/ztoolson/following{/other_user}","gists_url":"https://api.github.com/users/ztoolson/gists{/gist_id}","starred_url":"https://api.github.com/users/ztoolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztoolson/subscriptions","organizations_url":"https://api.github.com/users/ztoolson/orgs","repos_url":"https://api.github.com/users/ztoolson/repos","events_url":"https://api.github.com/users/ztoolson/events{/privacy}","received_events_url":"https://api.github.com/users/ztoolson/received_events","type":"User","site_admin":false},"repo":{"id":40384756,"name":"depot","full_name":"ztoolson/depot","owner":{"login":"ztoolson","id":4131873,"avatar_url":"https://avatars.githubusercontent.com/u/4131873?v=3","gravatar_id":"","url":"https://api.github.com/users/ztoolson","html_url":"https://github.com/ztoolson","followers_url":"https://api.github.com/users/ztoolson/followers","following_url":"https://api.github.com/users/ztoolson/following{/other_user}","gists_url":"https://api.github.com/users/ztoolson/gists{/gist_id}","starred_url":"https://api.github.com/users/ztoolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztoolson/subscriptions","organizations_url":"https://api.github.com/users/ztoolson/orgs","repos_url":"https://api.github.com/users/ztoolson/repos","events_url":"https://api.github.com/users/ztoolson/events{/privacy}","received_events_url":"https://api.github.com/users/ztoolson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ztoolson/depot","description":"","fork":false,"url":"https://api.github.com/repos/ztoolson/depot","forks_url":"https://api.github.com/repos/ztoolson/depot/forks","keys_url":"https://api.github.com/repos/ztoolson/depot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ztoolson/depot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ztoolson/depot/teams","hooks_url":"https://api.github.com/repos/ztoolson/depot/hooks","issue_events_url":"https://api.github.com/repos/ztoolson/depot/issues/events{/number}","events_url":"https://api.github.com/repos/ztoolson/depot/events","assignees_url":"https://api.github.com/repos/ztoolson/depot/assignees{/user}","branches_url":"https://api.github.com/repos/ztoolson/depot/branches{/branch}","tags_url":"https://api.github.com/repos/ztoolson/depot/tags","blobs_url":"https://api.github.com/repos/ztoolson/depot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ztoolson/depot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ztoolson/depot/git/refs{/sha}","trees_url":"https://api.github.com/repos/ztoolson/depot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ztoolson/depot/statuses/{sha}","languages_url":"https://api.github.com/repos/ztoolson/depot/languages","stargazers_url":"https://api.github.com/repos/ztoolson/depot/stargazers","contributors_url":"https://api.github.com/repos/ztoolson/depot/contributors","subscribers_url":"https://api.github.com/repos/ztoolson/depot/subscribers","subscription_url":"https://api.github.com/repos/ztoolson/depot/subscription","commits_url":"https://api.github.com/repos/ztoolson/depot/commits{/sha}","git_commits_url":"https://api.github.com/repos/ztoolson/depot/git/commits{/sha}","comments_url":"https://api.github.com/repos/ztoolson/depot/comments{/number}","issue_comment_url":"https://api.github.com/repos/ztoolson/depot/issues/comments{/number}","contents_url":"https://api.github.com/repos/ztoolson/depot/contents/{+path}","compare_url":"https://api.github.com/repos/ztoolson/depot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ztoolson/depot/merges","archive_url":"https://api.github.com/repos/ztoolson/depot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ztoolson/depot/downloads","issues_url":"https://api.github.com/repos/ztoolson/depot/issues{/number}","pulls_url":"https://api.github.com/repos/ztoolson/depot/pulls{/number}","milestones_url":"https://api.github.com/repos/ztoolson/depot/milestones{/number}","notifications_url":"https://api.github.com/repos/ztoolson/depot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ztoolson/depot/labels{/name}","releases_url":"https://api.github.com/repos/ztoolson/depot/releases{/id}","created_at":"2015-08-07T23:19:33Z","updated_at":"2015-08-07T23:20:01Z","pushed_at":"2015-08-09T20:53:05Z","git_url":"git://github.com/ztoolson/depot.git","ssh_url":"git@github.com:ztoolson/depot.git","clone_url":"https://github.com/ztoolson/depot.git","svn_url":"https://github.com/ztoolson/depot","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/ztoolson/depot/pulls/5"},"html":{"href":"https://github.com/ztoolson/depot/pull/5"},"issue":{"href":"https://api.github.com/repos/ztoolson/depot/issues/5"},"comments":{"href":"https://api.github.com/repos/ztoolson/depot/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/ztoolson/depot/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/ztoolson/depot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ztoolson/depot/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/ztoolson/depot/statuses/467358dd04924a096bf14ffcfeb765a2ec662d23"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ztoolson","id":4131873,"avatar_url":"https://avatars.githubusercontent.com/u/4131873?v=3","gravatar_id":"","url":"https://api.github.com/users/ztoolson","html_url":"https://github.com/ztoolson","followers_url":"https://api.github.com/users/ztoolson/followers","following_url":"https://api.github.com/users/ztoolson/following{/other_user}","gists_url":"https://api.github.com/users/ztoolson/gists{/gist_id}","starred_url":"https://api.github.com/users/ztoolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztoolson/subscriptions","organizations_url":"https://api.github.com/users/ztoolson/orgs","repos_url":"https://api.github.com/users/ztoolson/repos","events_url":"https://api.github.com/users/ztoolson/events{/privacy}","received_events_url":"https://api.github.com/users/ztoolson/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":9,"additions":86,"deletions":21,"changed_files":18}}