{"action":"opened","number":41,"pull_request":{"url":"https://api.github.com/repos/goinvo/ListofDemands/pulls/41","id":188304863,"html_url":"https://github.com/goinvo/ListofDemands/pull/41","diff_url":"https://github.com/goinvo/ListofDemands/pull/41.diff","patch_url":"https://github.com/goinvo/ListofDemands/pull/41.patch","issue_url":"https://api.github.com/repos/goinvo/ListofDemands/issues/41","number":41,"state":"open","locked":false,"title":"Fix demanding state demands","user":{"login":"craigmcginley","id":6530818,"avatar_url":"https://avatars2.githubusercontent.com/u/6530818?v=4","gravatar_id":"","url":"https://api.github.com/users/craigmcginley","html_url":"https://github.com/craigmcginley","followers_url":"https://api.github.com/users/craigmcginley/followers","following_url":"https://api.github.com/users/craigmcginley/following{/other_user}","gists_url":"https://api.github.com/users/craigmcginley/gists{/gist_id}","starred_url":"https://api.github.com/users/craigmcginley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigmcginley/subscriptions","organizations_url":"https://api.github.com/users/craigmcginley/orgs","repos_url":"https://api.github.com/users/craigmcginley/repos","events_url":"https://api.github.com/users/craigmcginley/events{/privacy}","received_events_url":"https://api.github.com/users/craigmcginley/received_events","type":"User","site_admin":false},"body":"*Note*: I had to resolve a merge conflict so the cherry-picked LoD experience commit has a new hash.\r\n\r\nPreviously, demanding a \"state-level\" demand was broken because of the lookup in the SupportedDemandsController. I discussed with Juhan, and (for now, at least) we'll allow any user to demand any demand, regardless of area scope.\r\n\r\nKnowing that, LMK any suggestion on avoiding the DB lookup with find (if that's an issue).","created_at":"2018-05-16T02:41:55Z","updated_at":"2018-05-16T02:41:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/goinvo/ListofDemands/pulls/41/commits","review_comments_url":"https://api.github.com/repos/goinvo/ListofDemands/pulls/41/comments","review_comment_url":"https://api.github.com/repos/goinvo/ListofDemands/pulls/comments{/number}","comments_url":"https://api.github.com/repos/goinvo/ListofDemands/issues/41/comments","statuses_url":"https://api.github.com/repos/goinvo/ListofDemands/statuses/60a6ff2164ab17bee79aea81529aae62a11609e3","head":{"label":"goinvo:fix-demanding-state-demands","ref":"fix-demanding-state-demands","sha":"60a6ff2164ab17bee79aea81529aae62a11609e3","user":{"login":"goinvo","id":2036620,"avatar_url":"https://avatars1.githubusercontent.com/u/2036620?v=4","gravatar_id":"","url":"https://api.github.com/users/goinvo","html_url":"https://github.com/goinvo","followers_url":"https://api.github.com/users/goinvo/followers","following_url":"https://api.github.com/users/goinvo/following{/other_user}","gists_url":"https://api.github.com/users/goinvo/gists{/gist_id}","starred_url":"https://api.github.com/users/goinvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goinvo/subscriptions","organizations_url":"https://api.github.com/users/goinvo/orgs","repos_url":"https://api.github.com/users/goinvo/repos","events_url":"https://api.github.com/users/goinvo/events{/privacy}","received_events_url":"https://api.github.com/users/goinvo/received_events","type":"Organization","site_admin":false},"repo":{"id":100045302,"name":"ListofDemands","full_name":"goinvo/ListofDemands","owner":{"login":"goinvo","id":2036620,"avatar_url":"https://avatars1.githubusercontent.com/u/2036620?v=4","gravatar_id":"","url":"https://api.github.com/users/goinvo","html_url":"https://github.com/goinvo","followers_url":"https://api.github.com/users/goinvo/followers","following_url":"https://api.github.com/users/goinvo/following{/other_user}","gists_url":"https://api.github.com/users/goinvo/gists{/gist_id}","starred_url":"https://api.github.com/users/goinvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goinvo/subscriptions","organizations_url":"https://api.github.com/users/goinvo/orgs","repos_url":"https://api.github.com/users/goinvo/repos","events_url":"https://api.github.com/users/goinvo/events{/privacy}","received_events_url":"https://api.github.com/users/goinvo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/goinvo/ListofDemands","description":null,"fork":false,"url":"https://api.github.com/repos/goinvo/ListofDemands","forks_url":"https://api.github.com/repos/goinvo/ListofDemands/forks","keys_url":"https://api.github.com/repos/goinvo/ListofDemands/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goinvo/ListofDemands/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goinvo/ListofDemands/teams","hooks_url":"https://api.github.com/repos/goinvo/ListofDemands/hooks","issue_events_url":"https://api.github.com/repos/goinvo/ListofDemands/issues/events{/number}","events_url":"https://api.github.com/repos/goinvo/ListofDemands/events","assignees_url":"https://api.github.com/repos/goinvo/ListofDemands/assignees{/user}","branches_url":"https://api.github.com/repos/goinvo/ListofDemands/branches{/branch}","tags_url":"https://api.github.com/repos/goinvo/ListofDemands/tags","blobs_url":"https://api.github.com/repos/goinvo/ListofDemands/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goinvo/ListofDemands/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goinvo/ListofDemands/git/refs{/sha}","trees_url":"https://api.github.com/repos/goinvo/ListofDemands/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goinvo/ListofDemands/statuses/{sha}","languages_url":"https://api.github.com/repos/goinvo/ListofDemands/languages","stargazers_url":"https://api.github.com/repos/goinvo/ListofDemands/stargazers","contributors_url":"https://api.github.com/repos/goinvo/ListofDemands/contributors","subscribers_url":"https://api.github.com/repos/goinvo/ListofDemands/subscribers","subscription_url":"https://api.github.com/repos/goinvo/ListofDemands/subscription","commits_url":"https://api.github.com/repos/goinvo/ListofDemands/commits{/sha}","git_commits_url":"https://api.github.com/repos/goinvo/ListofDemands/git/commits{/sha}","comments_url":"https://api.github.com/repos/goinvo/ListofDemands/comments{/number}","issue_comment_url":"https://api.github.com/repos/goinvo/ListofDemands/issues/comments{/number}","contents_url":"https://api.github.com/repos/goinvo/ListofDemands/contents/{+path}","compare_url":"https://api.github.com/repos/goinvo/ListofDemands/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goinvo/ListofDemands/merges","archive_url":"https://api.github.com/repos/goinvo/ListofDemands/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goinvo/ListofDemands/downloads","issues_url":"https://api.github.com/repos/goinvo/ListofDemands/issues{/number}","pulls_url":"https://api.github.com/repos/goinvo/ListofDemands/pulls{/number}","milestones_url":"https://api.github.com/repos/goinvo/ListofDemands/milestones{/number}","notifications_url":"https://api.github.com/repos/goinvo/ListofDemands/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goinvo/ListofDemands/labels{/name}","releases_url":"https://api.github.com/repos/goinvo/ListofDemands/releases{/id}","deployments_url":"https://api.github.com/repos/goinvo/ListofDemands/deployments","created_at":"2017-08-11T15:23:06Z","updated_at":"2018-05-15T20:01:33Z","pushed_at":"2018-05-16T02:30:30Z","git_url":"git://github.com/goinvo/ListofDemands.git","ssh_url":"git@github.com:goinvo/ListofDemands.git","clone_url":"https://github.com/goinvo/ListofDemands.git","svn_url":"https://github.com/goinvo/ListofDemands","homepage":"http://listofdemands.us","size":5203,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":17,"license":null,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"base":{"label":"goinvo:master","ref":"master","sha":"f7ccd8ffe77b72e7c2c2856f7860de086dd7f8ce","user":{"login":"goinvo","id":2036620,"avatar_url":"https://avatars1.githubusercontent.com/u/2036620?v=4","gravatar_id":"","url":"https://api.github.com/users/goinvo","html_url":"https://github.com/goinvo","followers_url":"https://api.github.com/users/goinvo/followers","following_url":"https://api.github.com/users/goinvo/following{/other_user}","gists_url":"https://api.github.com/users/goinvo/gists{/gist_id}","starred_url":"https://api.github.com/users/goinvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goinvo/subscriptions","organizations_url":"https://api.github.com/users/goinvo/orgs","repos_url":"https://api.github.com/users/goinvo/repos","events_url":"https://api.github.com/users/goinvo/events{/privacy}","received_events_url":"https://api.github.com/users/goinvo/received_events","type":"Organization","site_admin":false},"repo":{"id":100045302,"name":"ListofDemands","full_name":"goinvo/ListofDemands","owner":{"login":"goinvo","id":2036620,"avatar_url":"https://avatars1.githubusercontent.com/u/2036620?v=4","gravatar_id":"","url":"https://api.github.com/users/goinvo","html_url":"https://github.com/goinvo","followers_url":"https://api.github.com/users/goinvo/followers","following_url":"https://api.github.com/users/goinvo/following{/other_user}","gists_url":"https://api.github.com/users/goinvo/gists{/gist_id}","starred_url":"https://api.github.com/users/goinvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goinvo/subscriptions","organizations_url":"https://api.github.com/users/goinvo/orgs","repos_url":"https://api.github.com/users/goinvo/repos","events_url":"https://api.github.com/users/goinvo/events{/privacy}","received_events_url":"https://api.github.com/users/goinvo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/goinvo/ListofDemands","description":null,"fork":false,"url":"https://api.github.com/repos/goinvo/ListofDemands","forks_url":"https://api.github.com/repos/goinvo/ListofDemands/forks","keys_url":"https://api.github.com/repos/goinvo/ListofDemands/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goinvo/ListofDemands/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goinvo/ListofDemands/teams","hooks_url":"https://api.github.com/repos/goinvo/ListofDemands/hooks","issue_events_url":"https://api.github.com/repos/goinvo/ListofDemands/issues/events{/number}","events_url":"https://api.github.com/repos/goinvo/ListofDemands/events","assignees_url":"https://api.github.com/repos/goinvo/ListofDemands/assignees{/user}","branches_url":"https://api.github.com/repos/goinvo/ListofDemands/branches{/branch}","tags_url":"https://api.github.com/repos/goinvo/ListofDemands/tags","blobs_url":"https://api.github.com/repos/goinvo/ListofDemands/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goinvo/ListofDemands/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goinvo/ListofDemands/git/refs{/sha}","trees_url":"https://api.github.com/repos/goinvo/ListofDemands/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goinvo/ListofDemands/statuses/{sha}","languages_url":"https://api.github.com/repos/goinvo/ListofDemands/languages","stargazers_url":"https://api.github.com/repos/goinvo/ListofDemands/stargazers","contributors_url":"https://api.github.com/repos/goinvo/ListofDemands/contributors","subscribers_url":"https://api.github.com/repos/goinvo/ListofDemands/subscribers","subscription_url":"https://api.github.com/repos/goinvo/ListofDemands/subscription","commits_url":"https://api.github.com/repos/goinvo/ListofDemands/commits{/sha}","git_commits_url":"https://api.github.com/repos/goinvo/ListofDemands/git/commits{/sha}","comments_url":"https://api.github.com/repos/goinvo/ListofDemands/comments{/number}","issue_comment_url":"https://api.github.com/repos/goinvo/ListofDemands/issues/comments{/number}","contents_url":"https://api.github.com/repos/goinvo/ListofDemands/contents/{+path}","compare_url":"https://api.github.com/repos/goinvo/ListofDemands/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goinvo/ListofDemands/merges","archive_url":"https://api.github.com/repos/goinvo/ListofDemands/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goinvo/ListofDemands/downloads","issues_url":"https://api.github.com/repos/goinvo/ListofDemands/issues{/number}","pulls_url":"https://api.github.com/repos/goinvo/ListofDemands/pulls{/number}","milestones_url":"https://api.github.com/repos/goinvo/ListofDemands/milestones{/number}","notifications_url":"https://api.github.com/repos/goinvo/ListofDemands/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goinvo/ListofDemands/labels{/name}","releases_url":"https://api.github.com/repos/goinvo/ListofDemands/releases{/id}","deployments_url":"https://api.github.com/repos/goinvo/ListofDemands/deployments","created_at":"2017-08-11T15:23:06Z","updated_at":"2018-05-15T20:01:33Z","pushed_at":"2018-05-16T02:30:30Z","git_url":"git://github.com/goinvo/ListofDemands.git","ssh_url":"git@github.com:goinvo/ListofDemands.git","clone_url":"https://github.com/goinvo/ListofDemands.git","svn_url":"https://github.com/goinvo/ListofDemands","homepage":"http://listofdemands.us","size":5203,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":17,"license":null,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/goinvo/ListofDemands/pulls/41"},"html":{"href":"https://github.com/goinvo/ListofDemands/pull/41"},"issue":{"href":"https://api.github.com/repos/goinvo/ListofDemands/issues/41"},"comments":{"href":"https://api.github.com/repos/goinvo/ListofDemands/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/goinvo/ListofDemands/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/goinvo/ListofDemands/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/goinvo/ListofDemands/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/goinvo/ListofDemands/statuses/60a6ff2164ab17bee79aea81529aae62a11609e3"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":170,"deletions":24,"changed_files":6}}
{"actor":{"display_login":"craigmcginley"}}