{"action":"created","comment":{"url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/comments/51895433","id":51895433,"diff_hunk":"@@ -0,0 +1,23 @@\n+$(document).ready(function() {\n+  Stripe.setPublishableKey($('meta[name=\"stripe-key\"]').attr('content'))\n+\n+  $(\"#new_order\").submit(function(event) {\n+    var $form = $(this);\n+    $form.find(\"button\").prop(\"disabled\", true);","path":"app/assets/javascripts/order.js","position":6,"original_position":6,"commit_id":"4b63b1b8611d0da859d0415a7f3ee60d55ebc1f0","original_commit_id":"4b63b1b8611d0da859d0415a7f3ee60d55ebc1f0","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Mixed double and single quotes.","created_at":"2016-02-04T16:16:27Z","updated_at":"2016-02-04T16:16:27Z","html_url":"https://github.com/smashingboxes/ruti-bookstore/pull/16#discussion_r51895433","pull_request_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/comments/51895433"},"html":{"href":"https://github.com/smashingboxes/ruti-bookstore/pull/16#discussion_r51895433"},"pull_request":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/16","id":58204662,"html_url":"https://github.com/smashingboxes/ruti-bookstore/pull/16","diff_url":"https://github.com/smashingboxes/ruti-bookstore/pull/16.diff","patch_url":"https://github.com/smashingboxes/ruti-bookstore/pull/16.patch","issue_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/16","number":16,"state":"open","locked":false,"title":"Stripe appears","user":{"login":"Ru-T","id":12813762,"avatar_url":"https://avatars.githubusercontent.com/u/12813762?v=3","gravatar_id":"","url":"https://api.github.com/users/Ru-T","html_url":"https://github.com/Ru-T","followers_url":"https://api.github.com/users/Ru-T/followers","following_url":"https://api.github.com/users/Ru-T/following{/other_user}","gists_url":"https://api.github.com/users/Ru-T/gists{/gist_id}","starred_url":"https://api.github.com/users/Ru-T/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ru-T/subscriptions","organizations_url":"https://api.github.com/users/Ru-T/orgs","repos_url":"https://api.github.com/users/Ru-T/repos","events_url":"https://api.github.com/users/Ru-T/events{/privacy}","received_events_url":"https://api.github.com/users/Ru-T/received_events","type":"User","site_admin":false},"body":"## What Changed?\r\n* Add stripe gem and configuration\r\n* Add javascript for processing payment form\r\n* Add controller details in create action for payment processing\r\n* Add card_token to orders model\r\n\r\n## Why? \r\n* So folks can PAY!","created_at":"2016-02-03T21:38:36Z","updated_at":"2016-02-04T16:16:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"217809004481c5806f6b3009141ddcbd57226da5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/16/commits","review_comments_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/16/comments","review_comment_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/16/comments","statuses_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/statuses/4b63b1b8611d0da859d0415a7f3ee60d55ebc1f0","head":{"label":"smashingboxes:stripe_appears","ref":"stripe_appears","sha":"4b63b1b8611d0da859d0415a7f3ee60d55ebc1f0","user":{"login":"smashingboxes","id":784473,"avatar_url":"https://avatars.githubusercontent.com/u/784473?v=3","gravatar_id":"","url":"https://api.github.com/users/smashingboxes","html_url":"https://github.com/smashingboxes","followers_url":"https://api.github.com/users/smashingboxes/followers","following_url":"https://api.github.com/users/smashingboxes/following{/other_user}","gists_url":"https://api.github.com/users/smashingboxes/gists{/gist_id}","starred_url":"https://api.github.com/users/smashingboxes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smashingboxes/subscriptions","organizations_url":"https://api.github.com/users/smashingboxes/orgs","repos_url":"https://api.github.com/users/smashingboxes/repos","events_url":"https://api.github.com/users/smashingboxes/events{/privacy}","received_events_url":"https://api.github.com/users/smashingboxes/received_events","type":"Organization","site_admin":false},"repo":{"id":50459758,"name":"ruti-bookstore","full_name":"smashingboxes/ruti-bookstore","owner":{"login":"smashingboxes","id":784473,"avatar_url":"https://avatars.githubusercontent.com/u/784473?v=3","gravatar_id":"","url":"https://api.github.com/users/smashingboxes","html_url":"https://github.com/smashingboxes","followers_url":"https://api.github.com/users/smashingboxes/followers","following_url":"https://api.github.com/users/smashingboxes/following{/other_user}","gists_url":"https://api.github.com/users/smashingboxes/gists{/gist_id}","starred_url":"https://api.github.com/users/smashingboxes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smashingboxes/subscriptions","organizations_url":"https://api.github.com/users/smashingboxes/orgs","repos_url":"https://api.github.com/users/smashingboxes/repos","events_url":"https://api.github.com/users/smashingboxes/events{/privacy}","received_events_url":"https://api.github.com/users/smashingboxes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/smashingboxes/ruti-bookstore","description":"","fork":false,"url":"https://api.github.com/repos/smashingboxes/ruti-bookstore","forks_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/forks","keys_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/teams","hooks_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/hooks","issue_events_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/events{/number}","events_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/events","assignees_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/assignees{/user}","branches_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/branches{/branch}","tags_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/tags","blobs_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/statuses/{sha}","languages_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/languages","stargazers_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/stargazers","contributors_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/contributors","subscribers_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/subscribers","subscription_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/subscription","commits_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/contents/{+path}","compare_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/merges","archive_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/downloads","issues_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues{/number}","pulls_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls{/number}","milestones_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/milestones{/number}","notifications_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/labels{/name}","releases_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/releases{/id}","deployments_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/deployments","created_at":"2016-01-26T21:15:18Z","updated_at":"2016-01-26T21:16:20Z","pushed_at":"2016-02-04T16:15:48Z","git_url":"git://github.com/smashingboxes/ruti-bookstore.git","ssh_url":"git@github.com:smashingboxes/ruti-bookstore.git","clone_url":"https://github.com/smashingboxes/ruti-bookstore.git","svn_url":"https://github.com/smashingboxes/ruti-bookstore","homepage":null,"size":250,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"smashingboxes:master","ref":"master","sha":"f017b2ea3cb2afa9749d5f0f91524e3ac8941992","user":{"login":"smashingboxes","id":784473,"avatar_url":"https://avatars.githubusercontent.com/u/784473?v=3","gravatar_id":"","url":"https://api.github.com/users/smashingboxes","html_url":"https://github.com/smashingboxes","followers_url":"https://api.github.com/users/smashingboxes/followers","following_url":"https://api.github.com/users/smashingboxes/following{/other_user}","gists_url":"https://api.github.com/users/smashingboxes/gists{/gist_id}","starred_url":"https://api.github.com/users/smashingboxes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smashingboxes/subscriptions","organizations_url":"https://api.github.com/users/smashingboxes/orgs","repos_url":"https://api.github.com/users/smashingboxes/repos","events_url":"https://api.github.com/users/smashingboxes/events{/privacy}","received_events_url":"https://api.github.com/users/smashingboxes/received_events","type":"Organization","site_admin":false},"repo":{"id":50459758,"name":"ruti-bookstore","full_name":"smashingboxes/ruti-bookstore","owner":{"login":"smashingboxes","id":784473,"avatar_url":"https://avatars.githubusercontent.com/u/784473?v=3","gravatar_id":"","url":"https://api.github.com/users/smashingboxes","html_url":"https://github.com/smashingboxes","followers_url":"https://api.github.com/users/smashingboxes/followers","following_url":"https://api.github.com/users/smashingboxes/following{/other_user}","gists_url":"https://api.github.com/users/smashingboxes/gists{/gist_id}","starred_url":"https://api.github.com/users/smashingboxes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smashingboxes/subscriptions","organizations_url":"https://api.github.com/users/smashingboxes/orgs","repos_url":"https://api.github.com/users/smashingboxes/repos","events_url":"https://api.github.com/users/smashingboxes/events{/privacy}","received_events_url":"https://api.github.com/users/smashingboxes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/smashingboxes/ruti-bookstore","description":"","fork":false,"url":"https://api.github.com/repos/smashingboxes/ruti-bookstore","forks_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/forks","keys_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/teams","hooks_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/hooks","issue_events_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/events{/number}","events_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/events","assignees_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/assignees{/user}","branches_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/branches{/branch}","tags_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/tags","blobs_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/statuses/{sha}","languages_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/languages","stargazers_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/stargazers","contributors_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/contributors","subscribers_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/subscribers","subscription_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/subscription","commits_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/contents/{+path}","compare_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/merges","archive_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/downloads","issues_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues{/number}","pulls_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls{/number}","milestones_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/milestones{/number}","notifications_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/labels{/name}","releases_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/releases{/id}","deployments_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/deployments","created_at":"2016-01-26T21:15:18Z","updated_at":"2016-01-26T21:16:20Z","pushed_at":"2016-02-04T16:15:48Z","git_url":"git://github.com/smashingboxes/ruti-bookstore.git","ssh_url":"git@github.com:smashingboxes/ruti-bookstore.git","clone_url":"https://github.com/smashingboxes/ruti-bookstore.git","svn_url":"https://github.com/smashingboxes/ruti-bookstore","homepage":null,"size":250,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/16"},"html":{"href":"https://github.com/smashingboxes/ruti-bookstore/pull/16"},"issue":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/16"},"comments":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/statuses/4b63b1b8611d0da859d0415a7f3ee60d55ebc1f0"}}}}