{"action":"opened","number":1126,"pull_request":{"url":"https://api.github.com/repos/solidusio/solidus/pulls/1126","id":69511336,"html_url":"https://github.com/solidusio/solidus/pull/1126","diff_url":"https://github.com/solidusio/solidus/pull/1126.diff","patch_url":"https://github.com/solidusio/solidus/pull/1126.patch","issue_url":"https://api.github.com/repos/solidusio/solidus/issues/1126","number":1126,"state":"open","locked":false,"title":"Introduce Spree::Promotion.scheduled_after scope","user":{"login":"stewart","id":489142,"avatar_url":"https://avatars.githubusercontent.com/u/489142?v=3","gravatar_id":"","url":"https://api.github.com/users/stewart","html_url":"https://github.com/stewart","followers_url":"https://api.github.com/users/stewart/followers","following_url":"https://api.github.com/users/stewart/following{/other_user}","gists_url":"https://api.github.com/users/stewart/gists{/gist_id}","starred_url":"https://api.github.com/users/stewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewart/subscriptions","organizations_url":"https://api.github.com/users/stewart/orgs","repos_url":"https://api.github.com/users/stewart/repos","events_url":"https://api.github.com/users/stewart/events{/privacy}","received_events_url":"https://api.github.com/users/stewart/received_events","type":"User","site_admin":false},"body":"This commit introduces a new scope for the Spree::Promotion model,\r\n`scheduled_after(time)`. This scope is useful for finding all promotions\r\nscheduled to start after the provided time.","created_at":"2016-05-10T14:01:33Z","updated_at":"2016-05-10T14:01:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/solidusio/solidus/pulls/1126/commits","review_comments_url":"https://api.github.com/repos/solidusio/solidus/pulls/1126/comments","review_comment_url":"https://api.github.com/repos/solidusio/solidus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/solidusio/solidus/issues/1126/comments","statuses_url":"https://api.github.com/repos/solidusio/solidus/statuses/c2312160ec5e7c4d6955eaf5e90d09149a558ae7","head":{"label":"stewart:add/promotion-scheduled-at","ref":"add/promotion-scheduled-at","sha":"c2312160ec5e7c4d6955eaf5e90d09149a558ae7","user":{"login":"stewart","id":489142,"avatar_url":"https://avatars.githubusercontent.com/u/489142?v=3","gravatar_id":"","url":"https://api.github.com/users/stewart","html_url":"https://github.com/stewart","followers_url":"https://api.github.com/users/stewart/followers","following_url":"https://api.github.com/users/stewart/following{/other_user}","gists_url":"https://api.github.com/users/stewart/gists{/gist_id}","starred_url":"https://api.github.com/users/stewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewart/subscriptions","organizations_url":"https://api.github.com/users/stewart/orgs","repos_url":"https://api.github.com/users/stewart/repos","events_url":"https://api.github.com/users/stewart/events{/privacy}","received_events_url":"https://api.github.com/users/stewart/received_events","type":"User","site_admin":false},"repo":{"id":45264960,"name":"solidus","full_name":"stewart/solidus","owner":{"login":"stewart","id":489142,"avatar_url":"https://avatars.githubusercontent.com/u/489142?v=3","gravatar_id":"","url":"https://api.github.com/users/stewart","html_url":"https://github.com/stewart","followers_url":"https://api.github.com/users/stewart/followers","following_url":"https://api.github.com/users/stewart/following{/other_user}","gists_url":"https://api.github.com/users/stewart/gists{/gist_id}","starred_url":"https://api.github.com/users/stewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewart/subscriptions","organizations_url":"https://api.github.com/users/stewart/orgs","repos_url":"https://api.github.com/users/stewart/repos","events_url":"https://api.github.com/users/stewart/events{/privacy}","received_events_url":"https://api.github.com/users/stewart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stewart/solidus","description":"Solidus, Rails eCommerce System","fork":true,"url":"https://api.github.com/repos/stewart/solidus","forks_url":"https://api.github.com/repos/stewart/solidus/forks","keys_url":"https://api.github.com/repos/stewart/solidus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stewart/solidus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stewart/solidus/teams","hooks_url":"https://api.github.com/repos/stewart/solidus/hooks","issue_events_url":"https://api.github.com/repos/stewart/solidus/issues/events{/number}","events_url":"https://api.github.com/repos/stewart/solidus/events","assignees_url":"https://api.github.com/repos/stewart/solidus/assignees{/user}","branches_url":"https://api.github.com/repos/stewart/solidus/branches{/branch}","tags_url":"https://api.github.com/repos/stewart/solidus/tags","blobs_url":"https://api.github.com/repos/stewart/solidus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stewart/solidus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stewart/solidus/git/refs{/sha}","trees_url":"https://api.github.com/repos/stewart/solidus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stewart/solidus/statuses/{sha}","languages_url":"https://api.github.com/repos/stewart/solidus/languages","stargazers_url":"https://api.github.com/repos/stewart/solidus/stargazers","contributors_url":"https://api.github.com/repos/stewart/solidus/contributors","subscribers_url":"https://api.github.com/repos/stewart/solidus/subscribers","subscription_url":"https://api.github.com/repos/stewart/solidus/subscription","commits_url":"https://api.github.com/repos/stewart/solidus/commits{/sha}","git_commits_url":"https://api.github.com/repos/stewart/solidus/git/commits{/sha}","comments_url":"https://api.github.com/repos/stewart/solidus/comments{/number}","issue_comment_url":"https://api.github.com/repos/stewart/solidus/issues/comments{/number}","contents_url":"https://api.github.com/repos/stewart/solidus/contents/{+path}","compare_url":"https://api.github.com/repos/stewart/solidus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stewart/solidus/merges","archive_url":"https://api.github.com/repos/stewart/solidus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stewart/solidus/downloads","issues_url":"https://api.github.com/repos/stewart/solidus/issues{/number}","pulls_url":"https://api.github.com/repos/stewart/solidus/pulls{/number}","milestones_url":"https://api.github.com/repos/stewart/solidus/milestones{/number}","notifications_url":"https://api.github.com/repos/stewart/solidus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stewart/solidus/labels{/name}","releases_url":"https://api.github.com/repos/stewart/solidus/releases{/id}","deployments_url":"https://api.github.com/repos/stewart/solidus/deployments","created_at":"2015-10-30T17:05:39Z","updated_at":"2015-10-30T17:05:46Z","pushed_at":"2016-05-10T14:01:10Z","git_url":"git://github.com/stewart/solidus.git","ssh_url":"git@github.com:stewart/solidus.git","clone_url":"https://github.com/stewart/solidus.git","svn_url":"https://github.com/stewart/solidus","homepage":"http://solidus.io/","size":63158,"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":"solidusio:master","ref":"master","sha":"17a66f62b8d54203a0f1520fa15f8d63ba5aaa28","user":{"login":"solidusio","id":11045486,"avatar_url":"https://avatars.githubusercontent.com/u/11045486?v=3","gravatar_id":"","url":"https://api.github.com/users/solidusio","html_url":"https://github.com/solidusio","followers_url":"https://api.github.com/users/solidusio/followers","following_url":"https://api.github.com/users/solidusio/following{/other_user}","gists_url":"https://api.github.com/users/solidusio/gists{/gist_id}","starred_url":"https://api.github.com/users/solidusio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solidusio/subscriptions","organizations_url":"https://api.github.com/users/solidusio/orgs","repos_url":"https://api.github.com/users/solidusio/repos","events_url":"https://api.github.com/users/solidusio/events{/privacy}","received_events_url":"https://api.github.com/users/solidusio/received_events","type":"Organization","site_admin":false},"repo":{"id":30985840,"name":"solidus","full_name":"solidusio/solidus","owner":{"login":"solidusio","id":11045486,"avatar_url":"https://avatars.githubusercontent.com/u/11045486?v=3","gravatar_id":"","url":"https://api.github.com/users/solidusio","html_url":"https://github.com/solidusio","followers_url":"https://api.github.com/users/solidusio/followers","following_url":"https://api.github.com/users/solidusio/following{/other_user}","gists_url":"https://api.github.com/users/solidusio/gists{/gist_id}","starred_url":"https://api.github.com/users/solidusio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solidusio/subscriptions","organizations_url":"https://api.github.com/users/solidusio/orgs","repos_url":"https://api.github.com/users/solidusio/repos","events_url":"https://api.github.com/users/solidusio/events{/privacy}","received_events_url":"https://api.github.com/users/solidusio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solidusio/solidus","description":"Solidus, Rails eCommerce System","fork":false,"url":"https://api.github.com/repos/solidusio/solidus","forks_url":"https://api.github.com/repos/solidusio/solidus/forks","keys_url":"https://api.github.com/repos/solidusio/solidus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solidusio/solidus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solidusio/solidus/teams","hooks_url":"https://api.github.com/repos/solidusio/solidus/hooks","issue_events_url":"https://api.github.com/repos/solidusio/solidus/issues/events{/number}","events_url":"https://api.github.com/repos/solidusio/solidus/events","assignees_url":"https://api.github.com/repos/solidusio/solidus/assignees{/user}","branches_url":"https://api.github.com/repos/solidusio/solidus/branches{/branch}","tags_url":"https://api.github.com/repos/solidusio/solidus/tags","blobs_url":"https://api.github.com/repos/solidusio/solidus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solidusio/solidus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solidusio/solidus/git/refs{/sha}","trees_url":"https://api.github.com/repos/solidusio/solidus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solidusio/solidus/statuses/{sha}","languages_url":"https://api.github.com/repos/solidusio/solidus/languages","stargazers_url":"https://api.github.com/repos/solidusio/solidus/stargazers","contributors_url":"https://api.github.com/repos/solidusio/solidus/contributors","subscribers_url":"https://api.github.com/repos/solidusio/solidus/subscribers","subscription_url":"https://api.github.com/repos/solidusio/solidus/subscription","commits_url":"https://api.github.com/repos/solidusio/solidus/commits{/sha}","git_commits_url":"https://api.github.com/repos/solidusio/solidus/git/commits{/sha}","comments_url":"https://api.github.com/repos/solidusio/solidus/comments{/number}","issue_comment_url":"https://api.github.com/repos/solidusio/solidus/issues/comments{/number}","contents_url":"https://api.github.com/repos/solidusio/solidus/contents/{+path}","compare_url":"https://api.github.com/repos/solidusio/solidus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solidusio/solidus/merges","archive_url":"https://api.github.com/repos/solidusio/solidus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solidusio/solidus/downloads","issues_url":"https://api.github.com/repos/solidusio/solidus/issues{/number}","pulls_url":"https://api.github.com/repos/solidusio/solidus/pulls{/number}","milestones_url":"https://api.github.com/repos/solidusio/solidus/milestones{/number}","notifications_url":"https://api.github.com/repos/solidusio/solidus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solidusio/solidus/labels{/name}","releases_url":"https://api.github.com/repos/solidusio/solidus/releases{/id}","deployments_url":"https://api.github.com/repos/solidusio/solidus/deployments","created_at":"2015-02-18T20:41:58Z","updated_at":"2016-05-08T03:58:59Z","pushed_at":"2016-05-10T14:01:35Z","git_url":"git://github.com/solidusio/solidus.git","ssh_url":"git@github.com:solidusio/solidus.git","clone_url":"https://github.com/solidusio/solidus.git","svn_url":"https://github.com/solidusio/solidus","homepage":"http://solidus.io/","size":68910,"stargazers_count":912,"watchers_count":912,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":251,"mirror_url":null,"open_issues_count":106,"forks":251,"open_issues":106,"watchers":912,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/solidusio/solidus/pulls/1126"},"html":{"href":"https://github.com/solidusio/solidus/pull/1126"},"issue":{"href":"https://api.github.com/repos/solidusio/solidus/issues/1126"},"comments":{"href":"https://api.github.com/repos/solidusio/solidus/issues/1126/comments"},"review_comments":{"href":"https://api.github.com/repos/solidusio/solidus/pulls/1126/comments"},"review_comment":{"href":"https://api.github.com/repos/solidusio/solidus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/solidusio/solidus/pulls/1126/commits"},"statuses":{"href":"https://api.github.com/repos/solidusio/solidus/statuses/c2312160ec5e7c4d6955eaf5e90d09149a558ae7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":0,"changed_files":2}}