{"action":"closed","number":82,"pull_request":{"url":"https://api.github.com/repos/CruGlobal/fe/pulls/82","id":58505853,"html_url":"https://github.com/CruGlobal/fe/pull/82","diff_url":"https://github.com/CruGlobal/fe/pull/82.diff","patch_url":"https://github.com/CruGlobal/fe/pull/82.patch","issue_url":"https://api.github.com/repos/CruGlobal/fe/issues/82","number":82,"state":"closed","locked":false,"title":"Cache ref visibility","user":{"login":"andrewroth","id":13490,"avatar_url":"https://avatars.githubusercontent.com/u/13490?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewroth","html_url":"https://github.com/andrewroth","followers_url":"https://api.github.com/users/andrewroth/followers","following_url":"https://api.github.com/users/andrewroth/following{/other_user}","gists_url":"https://api.github.com/users/andrewroth/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewroth/subscriptions","organizations_url":"https://api.github.com/users/andrewroth/orgs","repos_url":"https://api.github.com/users/andrewroth/repos","events_url":"https://api.github.com/users/andrewroth/events{/privacy}","received_events_url":"https://api.github.com/users/andrewroth/received_events","type":"User","site_admin":false},"body":"@twinge @jbirdjavi this PR caches the visibility of a reference sheet in a column; apps can use that to implement conditional references (ex. one-app/cap requires less references for currently-employed applicants); it stores a cache key also, and uses that cache key to avoid recomputing the visibility more than is required\r\n\r\nI added some logic to get all elements that might affect the visibility of another element for this, I think that might come in useful later on","created_at":"2016-02-06T01:12:10Z","updated_at":"2016-02-17T15:34:57Z","closed_at":"2016-02-17T15:34:57Z","merged_at":"2016-02-17T15:34:57Z","merge_commit_sha":"8eee61457765147841a7cbd0b444f5534bf255d3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CruGlobal/fe/pulls/82/commits","review_comments_url":"https://api.github.com/repos/CruGlobal/fe/pulls/82/comments","review_comment_url":"https://api.github.com/repos/CruGlobal/fe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CruGlobal/fe/issues/82/comments","statuses_url":"https://api.github.com/repos/CruGlobal/fe/statuses/5b532bfd2c135af3e4672ac57808bc09f096bde1","head":{"label":"CruGlobal:cache-ref-visibility","ref":"cache-ref-visibility","sha":"5b532bfd2c135af3e4672ac57808bc09f096bde1","user":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=3","gravatar_id":"","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"repo":{"id":13159372,"name":"fe","full_name":"CruGlobal/fe","owner":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=3","gravatar_id":"","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CruGlobal/fe","description":"Form Engine","fork":false,"url":"https://api.github.com/repos/CruGlobal/fe","forks_url":"https://api.github.com/repos/CruGlobal/fe/forks","keys_url":"https://api.github.com/repos/CruGlobal/fe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CruGlobal/fe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CruGlobal/fe/teams","hooks_url":"https://api.github.com/repos/CruGlobal/fe/hooks","issue_events_url":"https://api.github.com/repos/CruGlobal/fe/issues/events{/number}","events_url":"https://api.github.com/repos/CruGlobal/fe/events","assignees_url":"https://api.github.com/repos/CruGlobal/fe/assignees{/user}","branches_url":"https://api.github.com/repos/CruGlobal/fe/branches{/branch}","tags_url":"https://api.github.com/repos/CruGlobal/fe/tags","blobs_url":"https://api.github.com/repos/CruGlobal/fe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CruGlobal/fe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CruGlobal/fe/git/refs{/sha}","trees_url":"https://api.github.com/repos/CruGlobal/fe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CruGlobal/fe/statuses/{sha}","languages_url":"https://api.github.com/repos/CruGlobal/fe/languages","stargazers_url":"https://api.github.com/repos/CruGlobal/fe/stargazers","contributors_url":"https://api.github.com/repos/CruGlobal/fe/contributors","subscribers_url":"https://api.github.com/repos/CruGlobal/fe/subscribers","subscription_url":"https://api.github.com/repos/CruGlobal/fe/subscription","commits_url":"https://api.github.com/repos/CruGlobal/fe/commits{/sha}","git_commits_url":"https://api.github.com/repos/CruGlobal/fe/git/commits{/sha}","comments_url":"https://api.github.com/repos/CruGlobal/fe/comments{/number}","issue_comment_url":"https://api.github.com/repos/CruGlobal/fe/issues/comments{/number}","contents_url":"https://api.github.com/repos/CruGlobal/fe/contents/{+path}","compare_url":"https://api.github.com/repos/CruGlobal/fe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CruGlobal/fe/merges","archive_url":"https://api.github.com/repos/CruGlobal/fe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CruGlobal/fe/downloads","issues_url":"https://api.github.com/repos/CruGlobal/fe/issues{/number}","pulls_url":"https://api.github.com/repos/CruGlobal/fe/pulls{/number}","milestones_url":"https://api.github.com/repos/CruGlobal/fe/milestones{/number}","notifications_url":"https://api.github.com/repos/CruGlobal/fe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CruGlobal/fe/labels{/name}","releases_url":"https://api.github.com/repos/CruGlobal/fe/releases{/id}","deployments_url":"https://api.github.com/repos/CruGlobal/fe/deployments","created_at":"2013-09-27T19:32:02Z","updated_at":"2016-01-18T21:20:37Z","pushed_at":"2016-02-17T15:34:57Z","git_url":"git://github.com/CruGlobal/fe.git","ssh_url":"git@github.com:CruGlobal/fe.git","clone_url":"https://github.com/CruGlobal/fe.git","svn_url":"https://github.com/CruGlobal/fe","homepage":"","size":3179,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"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":2,"default_branch":"master"}},"base":{"label":"CruGlobal:master","ref":"master","sha":"4de97d423deac07095947e759f5469a2a0b47a49","user":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=3","gravatar_id":"","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"repo":{"id":13159372,"name":"fe","full_name":"CruGlobal/fe","owner":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=3","gravatar_id":"","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CruGlobal/fe","description":"Form Engine","fork":false,"url":"https://api.github.com/repos/CruGlobal/fe","forks_url":"https://api.github.com/repos/CruGlobal/fe/forks","keys_url":"https://api.github.com/repos/CruGlobal/fe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CruGlobal/fe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CruGlobal/fe/teams","hooks_url":"https://api.github.com/repos/CruGlobal/fe/hooks","issue_events_url":"https://api.github.com/repos/CruGlobal/fe/issues/events{/number}","events_url":"https://api.github.com/repos/CruGlobal/fe/events","assignees_url":"https://api.github.com/repos/CruGlobal/fe/assignees{/user}","branches_url":"https://api.github.com/repos/CruGlobal/fe/branches{/branch}","tags_url":"https://api.github.com/repos/CruGlobal/fe/tags","blobs_url":"https://api.github.com/repos/CruGlobal/fe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CruGlobal/fe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CruGlobal/fe/git/refs{/sha}","trees_url":"https://api.github.com/repos/CruGlobal/fe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CruGlobal/fe/statuses/{sha}","languages_url":"https://api.github.com/repos/CruGlobal/fe/languages","stargazers_url":"https://api.github.com/repos/CruGlobal/fe/stargazers","contributors_url":"https://api.github.com/repos/CruGlobal/fe/contributors","subscribers_url":"https://api.github.com/repos/CruGlobal/fe/subscribers","subscription_url":"https://api.github.com/repos/CruGlobal/fe/subscription","commits_url":"https://api.github.com/repos/CruGlobal/fe/commits{/sha}","git_commits_url":"https://api.github.com/repos/CruGlobal/fe/git/commits{/sha}","comments_url":"https://api.github.com/repos/CruGlobal/fe/comments{/number}","issue_comment_url":"https://api.github.com/repos/CruGlobal/fe/issues/comments{/number}","contents_url":"https://api.github.com/repos/CruGlobal/fe/contents/{+path}","compare_url":"https://api.github.com/repos/CruGlobal/fe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CruGlobal/fe/merges","archive_url":"https://api.github.com/repos/CruGlobal/fe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CruGlobal/fe/downloads","issues_url":"https://api.github.com/repos/CruGlobal/fe/issues{/number}","pulls_url":"https://api.github.com/repos/CruGlobal/fe/pulls{/number}","milestones_url":"https://api.github.com/repos/CruGlobal/fe/milestones{/number}","notifications_url":"https://api.github.com/repos/CruGlobal/fe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CruGlobal/fe/labels{/name}","releases_url":"https://api.github.com/repos/CruGlobal/fe/releases{/id}","deployments_url":"https://api.github.com/repos/CruGlobal/fe/deployments","created_at":"2013-09-27T19:32:02Z","updated_at":"2016-01-18T21:20:37Z","pushed_at":"2016-02-17T15:34:57Z","git_url":"git://github.com/CruGlobal/fe.git","ssh_url":"git@github.com:CruGlobal/fe.git","clone_url":"https://github.com/CruGlobal/fe.git","svn_url":"https://github.com/CruGlobal/fe","homepage":"","size":3179,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"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":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CruGlobal/fe/pulls/82"},"html":{"href":"https://github.com/CruGlobal/fe/pull/82"},"issue":{"href":"https://api.github.com/repos/CruGlobal/fe/issues/82"},"comments":{"href":"https://api.github.com/repos/CruGlobal/fe/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/CruGlobal/fe/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/CruGlobal/fe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CruGlobal/fe/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/CruGlobal/fe/statuses/5b532bfd2c135af3e4672ac57808bc09f096bde1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"andrewroth","id":13490,"avatar_url":"https://avatars.githubusercontent.com/u/13490?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewroth","html_url":"https://github.com/andrewroth","followers_url":"https://api.github.com/users/andrewroth/followers","following_url":"https://api.github.com/users/andrewroth/following{/other_user}","gists_url":"https://api.github.com/users/andrewroth/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewroth/subscriptions","organizations_url":"https://api.github.com/users/andrewroth/orgs","repos_url":"https://api.github.com/users/andrewroth/repos","events_url":"https://api.github.com/users/andrewroth/events{/privacy}","received_events_url":"https://api.github.com/users/andrewroth/received_events","type":"User","site_admin":false},"comments":8,"review_comments":4,"commits":10,"additions":417,"deletions":141,"changed_files":19}}