{"action":"closed","number":5845,"pull_request":{"url":"https://api.github.com/repos/spree/spree/pulls/5845","id":26748702,"html_url":"https://github.com/spree/spree/pull/5845","diff_url":"https://github.com/spree/spree/pull/5845.diff","patch_url":"https://github.com/spree/spree/pull/5845.patch","issue_url":"https://api.github.com/repos/spree/spree/issues/5845","number":5845,"state":"closed","locked":false,"title":"Fix payment sample card for 2015","user":{"login":"jhawthorn","id":131752,"avatar_url":"https://avatars.githubusercontent.com/u/131752?v=3","gravatar_id":"","url":"https://api.github.com/users/jhawthorn","html_url":"https://github.com/jhawthorn","followers_url":"https://api.github.com/users/jhawthorn/followers","following_url":"https://api.github.com/users/jhawthorn/following{/other_user}","gists_url":"https://api.github.com/users/jhawthorn/gists{/gist_id}","starred_url":"https://api.github.com/users/jhawthorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhawthorn/subscriptions","organizations_url":"https://api.github.com/users/jhawthorn/orgs","repos_url":"https://api.github.com/users/jhawthorn/repos","events_url":"https://api.github.com/users/jhawthorn/events{/privacy}","received_events_url":"https://api.github.com/users/jhawthorn/received_events","type":"User","site_admin":false},"body":"Fixes loading the samples\r\n\r\n```\r\n  1) Load samples doesn't raise any error\r\n     Failure/Error: expect {\r\n       expected no Exception, got #<ActiveRecord::RecordInvalid: Validation failed: Credit card  Card has expired> with backtrace:\r\n         # ./db/samples/payments.rb:20:in `block in <top (required)>'\r\n         # ./db/samples/payments.rb:18:in `<top (required)>'\r\n         # ./lib/spree/sample.rb:13:in `load_sample'\r\n         # ./lib/spree_sample.rb:28:in `load_samples'\r\n         # ./spec/lib/load_sample_spec.rb:15:in `block (3 levels) in <top (required)>'\r\n         # ./spec/lib/load_sample_spec.rb:14:in `block (2 levels) in <top (required)>'\r\n     # ./spec/lib/load_sample_spec.rb:14:in `block (2 levels) in <top (required)>'\r\n```","created_at":"2015-01-02T02:10:39Z","updated_at":"2015-01-02T14:32:12Z","closed_at":"2015-01-02T14:32:12Z","merged_at":null,"merge_commit_sha":"b75219fa298dbad72ab8f2fa73f756396554c7f8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spree/spree/pulls/5845/commits","review_comments_url":"https://api.github.com/repos/spree/spree/pulls/5845/comments","review_comment_url":"https://api.github.com/repos/spree/spree/pulls/comments/{number}","comments_url":"https://api.github.com/repos/spree/spree/issues/5845/comments","statuses_url":"https://api.github.com/repos/spree/spree/statuses/b9cbcd12cc94b139cf65787918debd0c77ec984a","head":{"label":"jhawthorn:happy_2015","ref":"happy_2015","sha":"b9cbcd12cc94b139cf65787918debd0c77ec984a","user":{"login":"jhawthorn","id":131752,"avatar_url":"https://avatars.githubusercontent.com/u/131752?v=3","gravatar_id":"","url":"https://api.github.com/users/jhawthorn","html_url":"https://github.com/jhawthorn","followers_url":"https://api.github.com/users/jhawthorn/followers","following_url":"https://api.github.com/users/jhawthorn/following{/other_user}","gists_url":"https://api.github.com/users/jhawthorn/gists{/gist_id}","starred_url":"https://api.github.com/users/jhawthorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhawthorn/subscriptions","organizations_url":"https://api.github.com/users/jhawthorn/orgs","repos_url":"https://api.github.com/users/jhawthorn/repos","events_url":"https://api.github.com/users/jhawthorn/events{/privacy}","received_events_url":"https://api.github.com/users/jhawthorn/received_events","type":"User","site_admin":false},"repo":{"id":13372383,"name":"spree","full_name":"jhawthorn/spree","owner":{"login":"jhawthorn","id":131752,"avatar_url":"https://avatars.githubusercontent.com/u/131752?v=3","gravatar_id":"","url":"https://api.github.com/users/jhawthorn","html_url":"https://github.com/jhawthorn","followers_url":"https://api.github.com/users/jhawthorn/followers","following_url":"https://api.github.com/users/jhawthorn/following{/other_user}","gists_url":"https://api.github.com/users/jhawthorn/gists{/gist_id}","starred_url":"https://api.github.com/users/jhawthorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhawthorn/subscriptions","organizations_url":"https://api.github.com/users/jhawthorn/orgs","repos_url":"https://api.github.com/users/jhawthorn/repos","events_url":"https://api.github.com/users/jhawthorn/events{/privacy}","received_events_url":"https://api.github.com/users/jhawthorn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhawthorn/spree","description":"Spree is a complete open source e-commerce solution for Ruby on Rails.","fork":true,"url":"https://api.github.com/repos/jhawthorn/spree","forks_url":"https://api.github.com/repos/jhawthorn/spree/forks","keys_url":"https://api.github.com/repos/jhawthorn/spree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhawthorn/spree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhawthorn/spree/teams","hooks_url":"https://api.github.com/repos/jhawthorn/spree/hooks","issue_events_url":"https://api.github.com/repos/jhawthorn/spree/issues/events{/number}","events_url":"https://api.github.com/repos/jhawthorn/spree/events","assignees_url":"https://api.github.com/repos/jhawthorn/spree/assignees{/user}","branches_url":"https://api.github.com/repos/jhawthorn/spree/branches{/branch}","tags_url":"https://api.github.com/repos/jhawthorn/spree/tags","blobs_url":"https://api.github.com/repos/jhawthorn/spree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhawthorn/spree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhawthorn/spree/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhawthorn/spree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhawthorn/spree/statuses/{sha}","languages_url":"https://api.github.com/repos/jhawthorn/spree/languages","stargazers_url":"https://api.github.com/repos/jhawthorn/spree/stargazers","contributors_url":"https://api.github.com/repos/jhawthorn/spree/contributors","subscribers_url":"https://api.github.com/repos/jhawthorn/spree/subscribers","subscription_url":"https://api.github.com/repos/jhawthorn/spree/subscription","commits_url":"https://api.github.com/repos/jhawthorn/spree/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhawthorn/spree/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhawthorn/spree/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhawthorn/spree/issues/comments/{number}","contents_url":"https://api.github.com/repos/jhawthorn/spree/contents/{+path}","compare_url":"https://api.github.com/repos/jhawthorn/spree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhawthorn/spree/merges","archive_url":"https://api.github.com/repos/jhawthorn/spree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhawthorn/spree/downloads","issues_url":"https://api.github.com/repos/jhawthorn/spree/issues{/number}","pulls_url":"https://api.github.com/repos/jhawthorn/spree/pulls{/number}","milestones_url":"https://api.github.com/repos/jhawthorn/spree/milestones{/number}","notifications_url":"https://api.github.com/repos/jhawthorn/spree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhawthorn/spree/labels{/name}","releases_url":"https://api.github.com/repos/jhawthorn/spree/releases{/id}","created_at":"2013-10-07T00:51:16Z","updated_at":"2014-06-23T05:26:30Z","pushed_at":"2015-01-02T02:09:54Z","git_url":"git://github.com/jhawthorn/spree.git","ssh_url":"git@github.com:jhawthorn/spree.git","clone_url":"https://github.com/jhawthorn/spree.git","svn_url":"https://github.com/jhawthorn/spree","homepage":"http://spreecommerce.com","size":68412,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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":"spree:master","ref":"master","sha":"4b2c0564f9b46398b91dd76db55a9d3fbea4f697","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}","created_at":"2008-03-10T14:45:35Z","updated_at":"2015-01-02T14:32:07Z","pushed_at":"2015-01-02T14:32:07Z","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":124479,"stargazers_count":5810,"watchers_count":5810,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2704,"mirror_url":null,"open_issues_count":132,"forks":2704,"open_issues":132,"watchers":5810,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spree/spree/pulls/5845"},"html":{"href":"https://github.com/spree/spree/pull/5845"},"issue":{"href":"https://api.github.com/repos/spree/spree/issues/5845"},"comments":{"href":"https://api.github.com/repos/spree/spree/issues/5845/comments"},"review_comments":{"href":"https://api.github.com/repos/spree/spree/pulls/5845/comments"},"review_comment":{"href":"https://api.github.com/repos/spree/spree/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/spree/spree/pulls/5845/commits"},"statuses":{"href":"https://api.github.com/repos/spree/spree/statuses/b9cbcd12cc94b139cf65787918debd0c77ec984a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":2,"review_comments":1,"commits":1,"additions":1,"deletions":1,"changed_files":1}}