{"action":"closed","number":160,"pull_request":{"url":"https://api.github.com/repos/ndlib/sipity/pulls/160","id":29924051,"html_url":"https://github.com/ndlib/sipity/pull/160","diff_url":"https://github.com/ndlib/sipity/pull/160.diff","patch_url":"https://github.com/ndlib/sipity/pull/160.patch","issue_url":"https://api.github.com/repos/ndlib/sipity/issues/160","number":160,"state":"closed","locked":false,"title":"Updating processing query","user":{"login":"jeremyf","id":2130,"avatar_url":"https://avatars.githubusercontent.com/u/2130?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyf","html_url":"https://github.com/jeremyf","followers_url":"https://api.github.com/users/jeremyf/followers","following_url":"https://api.github.com/users/jeremyf/following{/other_user}","gists_url":"https://api.github.com/users/jeremyf/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyf/subscriptions","organizations_url":"https://api.github.com/users/jeremyf/orgs","repos_url":"https://api.github.com/users/jeremyf/repos","events_url":"https://api.github.com/users/jeremyf/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyf/received_events","type":"User","site_admin":false},"body":"## Adding spec for optional items visibility\r\n\r\n@c5988b1238ee139954d35271339ac5ec5bc59fcf\r\n\r\nAddresses a bug found on the punch list:\r\n\r\n> Optional todo items are still available for completion while a work\r\n> is under advisor review.\r\n\r\n## Adding a query test to verify expected behavior\r\n\r\n@7b6358093c870c35a6a91ce5a88d480f375b9d03\r\n\r\nAddresses the following:\r\n\r\n> Optional todo items are still available for completion while a work\r\n> is under advisor review.\r\n\r\nThis was occuring because in the originating state, the optional\r\nactions were visible to the creating user. Once the state advanced,\r\nthe available action query was not accounting for the state of the\r\nentity.\r\n","created_at":"2015-02-24T18:45:25Z","updated_at":"2015-02-24T18:52:01Z","closed_at":"2015-02-24T18:52:00Z","merged_at":"2015-02-24T18:52:00Z","merge_commit_sha":"1194e2e9f1b4a3765b9f2ddb0b81bcdbd04d2026","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ndlib/sipity/pulls/160/commits","review_comments_url":"https://api.github.com/repos/ndlib/sipity/pulls/160/comments","review_comment_url":"https://api.github.com/repos/ndlib/sipity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ndlib/sipity/issues/160/comments","statuses_url":"https://api.github.com/repos/ndlib/sipity/statuses/7b6358093c870c35a6a91ce5a88d480f375b9d03","head":{"label":"ndlib:updating-processing-query","ref":"updating-processing-query","sha":"7b6358093c870c35a6a91ce5a88d480f375b9d03","user":{"login":"ndlib","id":160943,"avatar_url":"https://avatars.githubusercontent.com/u/160943?v=3","gravatar_id":"","url":"https://api.github.com/users/ndlib","html_url":"https://github.com/ndlib","followers_url":"https://api.github.com/users/ndlib/followers","following_url":"https://api.github.com/users/ndlib/following{/other_user}","gists_url":"https://api.github.com/users/ndlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ndlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndlib/subscriptions","organizations_url":"https://api.github.com/users/ndlib/orgs","repos_url":"https://api.github.com/users/ndlib/repos","events_url":"https://api.github.com/users/ndlib/events{/privacy}","received_events_url":"https://api.github.com/users/ndlib/received_events","type":"Organization","site_admin":false},"repo":{"id":26916085,"name":"sipity","full_name":"ndlib/sipity","owner":{"login":"ndlib","id":160943,"avatar_url":"https://avatars.githubusercontent.com/u/160943?v=3","gravatar_id":"","url":"https://api.github.com/users/ndlib","html_url":"https://github.com/ndlib","followers_url":"https://api.github.com/users/ndlib/followers","following_url":"https://api.github.com/users/ndlib/following{/other_user}","gists_url":"https://api.github.com/users/ndlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ndlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndlib/subscriptions","organizations_url":"https://api.github.com/users/ndlib/orgs","repos_url":"https://api.github.com/users/ndlib/repos","events_url":"https://api.github.com/users/ndlib/events{/privacy}","received_events_url":"https://api.github.com/users/ndlib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ndlib/sipity","description":"Sipity is a patron-oriented deposit interface into CurateND.","fork":false,"url":"https://api.github.com/repos/ndlib/sipity","forks_url":"https://api.github.com/repos/ndlib/sipity/forks","keys_url":"https://api.github.com/repos/ndlib/sipity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ndlib/sipity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ndlib/sipity/teams","hooks_url":"https://api.github.com/repos/ndlib/sipity/hooks","issue_events_url":"https://api.github.com/repos/ndlib/sipity/issues/events{/number}","events_url":"https://api.github.com/repos/ndlib/sipity/events","assignees_url":"https://api.github.com/repos/ndlib/sipity/assignees{/user}","branches_url":"https://api.github.com/repos/ndlib/sipity/branches{/branch}","tags_url":"https://api.github.com/repos/ndlib/sipity/tags","blobs_url":"https://api.github.com/repos/ndlib/sipity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ndlib/sipity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ndlib/sipity/git/refs{/sha}","trees_url":"https://api.github.com/repos/ndlib/sipity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ndlib/sipity/statuses/{sha}","languages_url":"https://api.github.com/repos/ndlib/sipity/languages","stargazers_url":"https://api.github.com/repos/ndlib/sipity/stargazers","contributors_url":"https://api.github.com/repos/ndlib/sipity/contributors","subscribers_url":"https://api.github.com/repos/ndlib/sipity/subscribers","subscription_url":"https://api.github.com/repos/ndlib/sipity/subscription","commits_url":"https://api.github.com/repos/ndlib/sipity/commits{/sha}","git_commits_url":"https://api.github.com/repos/ndlib/sipity/git/commits{/sha}","comments_url":"https://api.github.com/repos/ndlib/sipity/comments{/number}","issue_comment_url":"https://api.github.com/repos/ndlib/sipity/issues/comments{/number}","contents_url":"https://api.github.com/repos/ndlib/sipity/contents/{+path}","compare_url":"https://api.github.com/repos/ndlib/sipity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ndlib/sipity/merges","archive_url":"https://api.github.com/repos/ndlib/sipity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ndlib/sipity/downloads","issues_url":"https://api.github.com/repos/ndlib/sipity/issues{/number}","pulls_url":"https://api.github.com/repos/ndlib/sipity/pulls{/number}","milestones_url":"https://api.github.com/repos/ndlib/sipity/milestones{/number}","notifications_url":"https://api.github.com/repos/ndlib/sipity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ndlib/sipity/labels{/name}","releases_url":"https://api.github.com/repos/ndlib/sipity/releases{/id}","created_at":"2014-11-20T14:31:53Z","updated_at":"2015-02-24T16:19:42Z","pushed_at":"2015-02-24T18:52:01Z","git_url":"git://github.com/ndlib/sipity.git","ssh_url":"git@github.com:ndlib/sipity.git","clone_url":"https://github.com/ndlib/sipity.git","svn_url":"https://github.com/ndlib/sipity","homepage":"https://github.com/ndlib/sipity","size":8469,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"ndlib:master","ref":"master","sha":"6c78ea0def312d5b25ad3aaed873ee9d13d27cd8","user":{"login":"ndlib","id":160943,"avatar_url":"https://avatars.githubusercontent.com/u/160943?v=3","gravatar_id":"","url":"https://api.github.com/users/ndlib","html_url":"https://github.com/ndlib","followers_url":"https://api.github.com/users/ndlib/followers","following_url":"https://api.github.com/users/ndlib/following{/other_user}","gists_url":"https://api.github.com/users/ndlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ndlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndlib/subscriptions","organizations_url":"https://api.github.com/users/ndlib/orgs","repos_url":"https://api.github.com/users/ndlib/repos","events_url":"https://api.github.com/users/ndlib/events{/privacy}","received_events_url":"https://api.github.com/users/ndlib/received_events","type":"Organization","site_admin":false},"repo":{"id":26916085,"name":"sipity","full_name":"ndlib/sipity","owner":{"login":"ndlib","id":160943,"avatar_url":"https://avatars.githubusercontent.com/u/160943?v=3","gravatar_id":"","url":"https://api.github.com/users/ndlib","html_url":"https://github.com/ndlib","followers_url":"https://api.github.com/users/ndlib/followers","following_url":"https://api.github.com/users/ndlib/following{/other_user}","gists_url":"https://api.github.com/users/ndlib/gists{/gist_id}","starred_url":"https://api.github.com/users/ndlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndlib/subscriptions","organizations_url":"https://api.github.com/users/ndlib/orgs","repos_url":"https://api.github.com/users/ndlib/repos","events_url":"https://api.github.com/users/ndlib/events{/privacy}","received_events_url":"https://api.github.com/users/ndlib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ndlib/sipity","description":"Sipity is a patron-oriented deposit interface into CurateND.","fork":false,"url":"https://api.github.com/repos/ndlib/sipity","forks_url":"https://api.github.com/repos/ndlib/sipity/forks","keys_url":"https://api.github.com/repos/ndlib/sipity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ndlib/sipity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ndlib/sipity/teams","hooks_url":"https://api.github.com/repos/ndlib/sipity/hooks","issue_events_url":"https://api.github.com/repos/ndlib/sipity/issues/events{/number}","events_url":"https://api.github.com/repos/ndlib/sipity/events","assignees_url":"https://api.github.com/repos/ndlib/sipity/assignees{/user}","branches_url":"https://api.github.com/repos/ndlib/sipity/branches{/branch}","tags_url":"https://api.github.com/repos/ndlib/sipity/tags","blobs_url":"https://api.github.com/repos/ndlib/sipity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ndlib/sipity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ndlib/sipity/git/refs{/sha}","trees_url":"https://api.github.com/repos/ndlib/sipity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ndlib/sipity/statuses/{sha}","languages_url":"https://api.github.com/repos/ndlib/sipity/languages","stargazers_url":"https://api.github.com/repos/ndlib/sipity/stargazers","contributors_url":"https://api.github.com/repos/ndlib/sipity/contributors","subscribers_url":"https://api.github.com/repos/ndlib/sipity/subscribers","subscription_url":"https://api.github.com/repos/ndlib/sipity/subscription","commits_url":"https://api.github.com/repos/ndlib/sipity/commits{/sha}","git_commits_url":"https://api.github.com/repos/ndlib/sipity/git/commits{/sha}","comments_url":"https://api.github.com/repos/ndlib/sipity/comments{/number}","issue_comment_url":"https://api.github.com/repos/ndlib/sipity/issues/comments{/number}","contents_url":"https://api.github.com/repos/ndlib/sipity/contents/{+path}","compare_url":"https://api.github.com/repos/ndlib/sipity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ndlib/sipity/merges","archive_url":"https://api.github.com/repos/ndlib/sipity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ndlib/sipity/downloads","issues_url":"https://api.github.com/repos/ndlib/sipity/issues{/number}","pulls_url":"https://api.github.com/repos/ndlib/sipity/pulls{/number}","milestones_url":"https://api.github.com/repos/ndlib/sipity/milestones{/number}","notifications_url":"https://api.github.com/repos/ndlib/sipity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ndlib/sipity/labels{/name}","releases_url":"https://api.github.com/repos/ndlib/sipity/releases{/id}","created_at":"2014-11-20T14:31:53Z","updated_at":"2015-02-24T16:19:42Z","pushed_at":"2015-02-24T18:52:01Z","git_url":"git://github.com/ndlib/sipity.git","ssh_url":"git@github.com:ndlib/sipity.git","clone_url":"https://github.com/ndlib/sipity.git","svn_url":"https://github.com/ndlib/sipity","homepage":"https://github.com/ndlib/sipity","size":8469,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ndlib/sipity/pulls/160"},"html":{"href":"https://github.com/ndlib/sipity/pull/160"},"issue":{"href":"https://api.github.com/repos/ndlib/sipity/issues/160"},"comments":{"href":"https://api.github.com/repos/ndlib/sipity/issues/160/comments"},"review_comments":{"href":"https://api.github.com/repos/ndlib/sipity/pulls/160/comments"},"review_comment":{"href":"https://api.github.com/repos/ndlib/sipity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ndlib/sipity/pulls/160/commits"},"statuses":{"href":"https://api.github.com/repos/ndlib/sipity/statuses/7b6358093c870c35a6a91ce5a88d480f375b9d03"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"danhorst","id":2133,"avatar_url":"https://avatars.githubusercontent.com/u/2133?v=3","gravatar_id":"","url":"https://api.github.com/users/danhorst","html_url":"https://github.com/danhorst","followers_url":"https://api.github.com/users/danhorst/followers","following_url":"https://api.github.com/users/danhorst/following{/other_user}","gists_url":"https://api.github.com/users/danhorst/gists{/gist_id}","starred_url":"https://api.github.com/users/danhorst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danhorst/subscriptions","organizations_url":"https://api.github.com/users/danhorst/orgs","repos_url":"https://api.github.com/users/danhorst/repos","events_url":"https://api.github.com/users/danhorst/events{/privacy}","received_events_url":"https://api.github.com/users/danhorst/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":125,"deletions":12,"changed_files":5}}