{"action":"created","comment":{"url":"https://api.github.com/repos/spree/spree/pulls/comments/81324828","pull_request_review_id":2312761,"id":81324828,"diff_hunk":"@@ -438,13 +560,18 @@\n     if (!/^\\d+$/.test(year)) {\n       return false;\n     }\n-    if (!(parseInt(month, 10) <= 12)) {\n+    if (!((1 <= month && month <= 12))) {\n       return false;\n     }\n     if (year.length === 2) {\n-      prefix = (new Date).getFullYear();\n-      prefix = prefix.toString().slice(0, 2);\n-      year = prefix + year;\n+      if (year < 70) {\n+        year = \"20\" + year;","path":"core/vendor/assets/javascripts/jquery.payment.js","position":461,"original_position":461,"commit_id":"74710462e549cf7f521a8743d92b18dfe4fa3f10","original_commit_id":"74710462e549cf7f521a8743d92b18dfe4fa3f10","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Mixed double and single quotes.","created_at":"2016-09-30T11:54:18Z","updated_at":"2016-09-30T11:54:18Z","html_url":"https://github.com/spree/spree/pull/7605#discussion_r81324828","pull_request_url":"https://api.github.com/repos/spree/spree/pulls/7605","_links":{"self":{"href":"https://api.github.com/repos/spree/spree/pulls/comments/81324828"},"html":{"href":"https://github.com/spree/spree/pull/7605#discussion_r81324828"},"pull_request":{"href":"https://api.github.com/repos/spree/spree/pulls/7605"}}},"pull_request":{"url":"https://api.github.com/repos/spree/spree/pulls/7605","id":87480439,"html_url":"https://github.com/spree/spree/pull/7605","diff_url":"https://github.com/spree/spree/pull/7605.diff","patch_url":"https://github.com/spree/spree/pull/7605.patch","issue_url":"https://api.github.com/repos/spree/spree/issues/7605","number":7605,"state":"open","locked":false,"title":"Update jquery-payment to v3.0.0 (2-2-stable)","user":{"login":"Mafi88","id":643748,"avatar_url":"https://avatars.githubusercontent.com/u/643748?v=3","gravatar_id":"","url":"https://api.github.com/users/Mafi88","html_url":"https://github.com/Mafi88","followers_url":"https://api.github.com/users/Mafi88/followers","following_url":"https://api.github.com/users/Mafi88/following{/other_user}","gists_url":"https://api.github.com/users/Mafi88/gists{/gist_id}","starred_url":"https://api.github.com/users/Mafi88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mafi88/subscriptions","organizations_url":"https://api.github.com/users/Mafi88/orgs","repos_url":"https://api.github.com/users/Mafi88/repos","events_url":"https://api.github.com/users/Mafi88/events{/privacy}","received_events_url":"https://api.github.com/users/Mafi88/received_events","type":"User","site_admin":false},"body":"Update old version (from 3 Sep 2013) to the latest release https://github.com/stripe/jquery.payment#mobile-recommendations.\r\n\r\nFixes #7596.","created_at":"2016-09-30T11:54:11Z","updated_at":"2016-09-30T11:54:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86b67595effbba91adc2eb550d4a08a0af596ff6","assignee":{"login":"damianlegawiec","id":55154,"avatar_url":"https://avatars.githubusercontent.com/u/55154?v=3","gravatar_id":"","url":"https://api.github.com/users/damianlegawiec","html_url":"https://github.com/damianlegawiec","followers_url":"https://api.github.com/users/damianlegawiec/followers","following_url":"https://api.github.com/users/damianlegawiec/following{/other_user}","gists_url":"https://api.github.com/users/damianlegawiec/gists{/gist_id}","starred_url":"https://api.github.com/users/damianlegawiec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianlegawiec/subscriptions","organizations_url":"https://api.github.com/users/damianlegawiec/orgs","repos_url":"https://api.github.com/users/damianlegawiec/repos","events_url":"https://api.github.com/users/damianlegawiec/events{/privacy}","received_events_url":"https://api.github.com/users/damianlegawiec/received_events","type":"User","site_admin":false},"assignees":[{"login":"damianlegawiec","id":55154,"avatar_url":"https://avatars.githubusercontent.com/u/55154?v=3","gravatar_id":"","url":"https://api.github.com/users/damianlegawiec","html_url":"https://github.com/damianlegawiec","followers_url":"https://api.github.com/users/damianlegawiec/followers","following_url":"https://api.github.com/users/damianlegawiec/following{/other_user}","gists_url":"https://api.github.com/users/damianlegawiec/gists{/gist_id}","starred_url":"https://api.github.com/users/damianlegawiec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianlegawiec/subscriptions","organizations_url":"https://api.github.com/users/damianlegawiec/orgs","repos_url":"https://api.github.com/users/damianlegawiec/repos","events_url":"https://api.github.com/users/damianlegawiec/events{/privacy}","received_events_url":"https://api.github.com/users/damianlegawiec/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/spree/spree/pulls/7605/commits","review_comments_url":"https://api.github.com/repos/spree/spree/pulls/7605/comments","review_comment_url":"https://api.github.com/repos/spree/spree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spree/spree/issues/7605/comments","statuses_url":"https://api.github.com/repos/spree/spree/statuses/74710462e549cf7f521a8743d92b18dfe4fa3f10","head":{"label":"spark-solutions:update-jquery-payment-2-2","ref":"update-jquery-payment-2-2","sha":"74710462e549cf7f521a8743d92b18dfe4fa3f10","user":{"login":"spark-solutions","id":10135622,"avatar_url":"https://avatars.githubusercontent.com/u/10135622?v=3","gravatar_id":"","url":"https://api.github.com/users/spark-solutions","html_url":"https://github.com/spark-solutions","followers_url":"https://api.github.com/users/spark-solutions/followers","following_url":"https://api.github.com/users/spark-solutions/following{/other_user}","gists_url":"https://api.github.com/users/spark-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/spark-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark-solutions/subscriptions","organizations_url":"https://api.github.com/users/spark-solutions/orgs","repos_url":"https://api.github.com/users/spark-solutions/repos","events_url":"https://api.github.com/users/spark-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/spark-solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":49967412,"name":"spree","full_name":"spark-solutions/spree","owner":{"login":"spark-solutions","id":10135622,"avatar_url":"https://avatars.githubusercontent.com/u/10135622?v=3","gravatar_id":"","url":"https://api.github.com/users/spark-solutions","html_url":"https://github.com/spark-solutions","followers_url":"https://api.github.com/users/spark-solutions/followers","following_url":"https://api.github.com/users/spark-solutions/following{/other_user}","gists_url":"https://api.github.com/users/spark-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/spark-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark-solutions/subscriptions","organizations_url":"https://api.github.com/users/spark-solutions/orgs","repos_url":"https://api.github.com/users/spark-solutions/repos","events_url":"https://api.github.com/users/spark-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/spark-solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spark-solutions/spree","description":"Spree is a complete open source e-commerce solution for Ruby on Rails.","fork":true,"url":"https://api.github.com/repos/spark-solutions/spree","forks_url":"https://api.github.com/repos/spark-solutions/spree/forks","keys_url":"https://api.github.com/repos/spark-solutions/spree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spark-solutions/spree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spark-solutions/spree/teams","hooks_url":"https://api.github.com/repos/spark-solutions/spree/hooks","issue_events_url":"https://api.github.com/repos/spark-solutions/spree/issues/events{/number}","events_url":"https://api.github.com/repos/spark-solutions/spree/events","assignees_url":"https://api.github.com/repos/spark-solutions/spree/assignees{/user}","branches_url":"https://api.github.com/repos/spark-solutions/spree/branches{/branch}","tags_url":"https://api.github.com/repos/spark-solutions/spree/tags","blobs_url":"https://api.github.com/repos/spark-solutions/spree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spark-solutions/spree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spark-solutions/spree/git/refs{/sha}","trees_url":"https://api.github.com/repos/spark-solutions/spree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spark-solutions/spree/statuses/{sha}","languages_url":"https://api.github.com/repos/spark-solutions/spree/languages","stargazers_url":"https://api.github.com/repos/spark-solutions/spree/stargazers","contributors_url":"https://api.github.com/repos/spark-solutions/spree/contributors","subscribers_url":"https://api.github.com/repos/spark-solutions/spree/subscribers","subscription_url":"https://api.github.com/repos/spark-solutions/spree/subscription","commits_url":"https://api.github.com/repos/spark-solutions/spree/commits{/sha}","git_commits_url":"https://api.github.com/repos/spark-solutions/spree/git/commits{/sha}","comments_url":"https://api.github.com/repos/spark-solutions/spree/comments{/number}","issue_comment_url":"https://api.github.com/repos/spark-solutions/spree/issues/comments{/number}","contents_url":"https://api.github.com/repos/spark-solutions/spree/contents/{+path}","compare_url":"https://api.github.com/repos/spark-solutions/spree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spark-solutions/spree/merges","archive_url":"https://api.github.com/repos/spark-solutions/spree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spark-solutions/spree/downloads","issues_url":"https://api.github.com/repos/spark-solutions/spree/issues{/number}","pulls_url":"https://api.github.com/repos/spark-solutions/spree/pulls{/number}","milestones_url":"https://api.github.com/repos/spark-solutions/spree/milestones{/number}","notifications_url":"https://api.github.com/repos/spark-solutions/spree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spark-solutions/spree/labels{/name}","releases_url":"https://api.github.com/repos/spark-solutions/spree/releases{/id}","deployments_url":"https://api.github.com/repos/spark-solutions/spree/deployments","created_at":"2016-01-19T16:47:28Z","updated_at":"2016-09-29T10:10:37Z","pushed_at":"2016-09-30T11:52:57Z","git_url":"git://github.com/spark-solutions/spree.git","ssh_url":"git@github.com:spark-solutions/spree.git","clone_url":"https://github.com/spark-solutions/spree.git","svn_url":"https://github.com/spark-solutions/spree","homepage":"http://spreecommerce.com","size":75068,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"spree:2-2-stable","ref":"2-2-stable","sha":"be7728ce4c94acae5df46156fe8e8a1bfc2672a8","user":{"login":"spree","id":56702,"avatar_url":"https://avatars.githubusercontent.com/u/56702?v=3","gravatar_id":"","url":"https://api.github.com/users/spree","html_url":"https://github.com/spree","followers_url":"https://api.github.com/users/spree/followers","following_url":"https://api.github.com/users/spree/following{/other_user}","gists_url":"https://api.github.com/users/spree/gists{/gist_id}","starred_url":"https://api.github.com/users/spree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spree/subscriptions","organizations_url":"https://api.github.com/users/spree/orgs","repos_url":"https://api.github.com/users/spree/repos","events_url":"https://api.github.com/users/spree/events{/privacy}","received_events_url":"https://api.github.com/users/spree/received_events","type":"Organization","site_admin":false},"repo":{"id":3314,"name":"spree","full_name":"spree/spree","owner":{"login":"spree","id":56702,"avatar_url":"https://avatars.githubusercontent.com/u/56702?v=3","gravatar_id":"","url":"https://api.github.com/users/spree","html_url":"https://github.com/spree","followers_url":"https://api.github.com/users/spree/followers","following_url":"https://api.github.com/users/spree/following{/other_user}","gists_url":"https://api.github.com/users/spree/gists{/gist_id}","starred_url":"https://api.github.com/users/spree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spree/subscriptions","organizations_url":"https://api.github.com/users/spree/orgs","repos_url":"https://api.github.com/users/spree/repos","events_url":"https://api.github.com/users/spree/events{/privacy}","received_events_url":"https://api.github.com/users/spree/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spree/spree","description":"Spree is a complete open source e-commerce solution for Ruby on Rails.","fork":false,"url":"https://api.github.com/repos/spree/spree","forks_url":"https://api.github.com/repos/spree/spree/forks","keys_url":"https://api.github.com/repos/spree/spree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spree/spree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spree/spree/teams","hooks_url":"https://api.github.com/repos/spree/spree/hooks","issue_events_url":"https://api.github.com/repos/spree/spree/issues/events{/number}","events_url":"https://api.github.com/repos/spree/spree/events","assignees_url":"https://api.github.com/repos/spree/spree/assignees{/user}","branches_url":"https://api.github.com/repos/spree/spree/branches{/branch}","tags_url":"https://api.github.com/repos/spree/spree/tags","blobs_url":"https://api.github.com/repos/spree/spree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spree/spree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spree/spree/git/refs{/sha}","trees_url":"https://api.github.com/repos/spree/spree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spree/spree/statuses/{sha}","languages_url":"https://api.github.com/repos/spree/spree/languages","stargazers_url":"https://api.github.com/repos/spree/spree/stargazers","contributors_url":"https://api.github.com/repos/spree/spree/contributors","subscribers_url":"https://api.github.com/repos/spree/spree/subscribers","subscription_url":"https://api.github.com/repos/spree/spree/subscription","commits_url":"https://api.github.com/repos/spree/spree/commits{/sha}","git_commits_url":"https://api.github.com/repos/spree/spree/git/commits{/sha}","comments_url":"https://api.github.com/repos/spree/spree/comments{/number}","issue_comment_url":"https://api.github.com/repos/spree/spree/issues/comments{/number}","contents_url":"https://api.github.com/repos/spree/spree/contents/{+path}","compare_url":"https://api.github.com/repos/spree/spree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spree/spree/merges","archive_url":"https://api.github.com/repos/spree/spree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spree/spree/downloads","issues_url":"https://api.github.com/repos/spree/spree/issues{/number}","pulls_url":"https://api.github.com/repos/spree/spree/pulls{/number}","milestones_url":"https://api.github.com/repos/spree/spree/milestones{/number}","notifications_url":"https://api.github.com/repos/spree/spree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spree/spree/labels{/name}","releases_url":"https://api.github.com/repos/spree/spree/releases{/id}","deployments_url":"https://api.github.com/repos/spree/spree/deployments","created_at":"2008-03-10T14:45:35Z","updated_at":"2016-09-30T07:57:16Z","pushed_at":"2016-09-30T11:54:12Z","git_url":"git://github.com/spree/spree.git","ssh_url":"git@github.com:spree/spree.git","clone_url":"https://github.com/spree/spree.git","svn_url":"https://github.com/spree/spree","homepage":"http://spreecommerce.com","size":102933,"stargazers_count":7840,"watchers_count":7840,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3648,"mirror_url":null,"open_issues_count":200,"forks":3648,"open_issues":200,"watchers":7840,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spree/spree/pulls/7605"},"html":{"href":"https://github.com/spree/spree/pull/7605"},"issue":{"href":"https://api.github.com/repos/spree/spree/issues/7605"},"comments":{"href":"https://api.github.com/repos/spree/spree/issues/7605/comments"},"review_comments":{"href":"https://api.github.com/repos/spree/spree/pulls/7605/comments"},"review_comment":{"href":"https://api.github.com/repos/spree/spree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spree/spree/pulls/7605/commits"},"statuses":{"href":"https://api.github.com/repos/spree/spree/statuses/74710462e549cf7f521a8743d92b18dfe4fa3f10"}}}}
{"actor":{"display_login":"houndci-bot"}}