{"action":"closed","number":193,"pull_request":{"url":"https://api.github.com/repos/everypolitician/gender-balance/pulls/193","id":41033614,"html_url":"https://github.com/everypolitician/gender-balance/pull/193","diff_url":"https://github.com/everypolitician/gender-balance/pull/193.diff","patch_url":"https://github.com/everypolitician/gender-balance/pull/193.patch","issue_url":"https://api.github.com/repos/everypolitician/gender-balance/issues/193","number":193,"state":"closed","locked":false,"title":"Don't store cache result in a class instance variable","user":{"login":"chrismytton","id":22996,"avatar_url":"https://avatars.githubusercontent.com/u/22996?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismytton","html_url":"https://github.com/chrismytton","followers_url":"https://api.github.com/users/chrismytton/followers","following_url":"https://api.github.com/users/chrismytton/following{/other_user}","gists_url":"https://api.github.com/users/chrismytton/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismytton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismytton/subscriptions","organizations_url":"https://api.github.com/users/chrismytton/orgs","repos_url":"https://api.github.com/users/chrismytton/repos","events_url":"https://api.github.com/users/chrismytton/events{/privacy}","received_events_url":"https://api.github.com/users/chrismytton/received_events","type":"User","site_admin":false},"body":"This is bad because it means that even when the cache is cleared the\r\nstale cache result is being stored in the instance variable so the new\r\ncache hit won't happen.\r\n\r\nFixes #172 ","created_at":"2015-07-28T16:47:42Z","updated_at":"2015-07-28T16:58:27Z","closed_at":"2015-07-28T16:58:26Z","merged_at":"2015-07-28T16:58:26Z","merge_commit_sha":"3335ddeffb277266ede68d37613ddd29ac1e43ff","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/gender-balance/pulls/193/commits","review_comments_url":"https://api.github.com/repos/everypolitician/gender-balance/pulls/193/comments","review_comment_url":"https://api.github.com/repos/everypolitician/gender-balance/pulls/comments{/number}","comments_url":"https://api.github.com/repos/everypolitician/gender-balance/issues/193/comments","statuses_url":"https://api.github.com/repos/everypolitician/gender-balance/statuses/5d83958ead62fb350277593e13f7d5f4582511ae","head":{"label":"everypolitician:172-dont-store-countries-json-in-instance-var","ref":"172-dont-store-countries-json-in-instance-var","sha":"5d83958ead62fb350277593e13f7d5f4582511ae","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"repo":{"id":38058799,"name":"gender-balance","full_name":"everypolitician/gender-balance","owner":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everypolitician/gender-balance","description":"Crowdsourcing platform for gathering gender information about politicians to improve the data in EveryPolitician","fork":false,"url":"https://api.github.com/repos/everypolitician/gender-balance","forks_url":"https://api.github.com/repos/everypolitician/gender-balance/forks","keys_url":"https://api.github.com/repos/everypolitician/gender-balance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everypolitician/gender-balance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everypolitician/gender-balance/teams","hooks_url":"https://api.github.com/repos/everypolitician/gender-balance/hooks","issue_events_url":"https://api.github.com/repos/everypolitician/gender-balance/issues/events{/number}","events_url":"https://api.github.com/repos/everypolitician/gender-balance/events","assignees_url":"https://api.github.com/repos/everypolitician/gender-balance/assignees{/user}","branches_url":"https://api.github.com/repos/everypolitician/gender-balance/branches{/branch}","tags_url":"https://api.github.com/repos/everypolitician/gender-balance/tags","blobs_url":"https://api.github.com/repos/everypolitician/gender-balance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everypolitician/gender-balance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everypolitician/gender-balance/git/refs{/sha}","trees_url":"https://api.github.com/repos/everypolitician/gender-balance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everypolitician/gender-balance/statuses/{sha}","languages_url":"https://api.github.com/repos/everypolitician/gender-balance/languages","stargazers_url":"https://api.github.com/repos/everypolitician/gender-balance/stargazers","contributors_url":"https://api.github.com/repos/everypolitician/gender-balance/contributors","subscribers_url":"https://api.github.com/repos/everypolitician/gender-balance/subscribers","subscription_url":"https://api.github.com/repos/everypolitician/gender-balance/subscription","commits_url":"https://api.github.com/repos/everypolitician/gender-balance/commits{/sha}","git_commits_url":"https://api.github.com/repos/everypolitician/gender-balance/git/commits{/sha}","comments_url":"https://api.github.com/repos/everypolitician/gender-balance/comments{/number}","issue_comment_url":"https://api.github.com/repos/everypolitician/gender-balance/issues/comments{/number}","contents_url":"https://api.github.com/repos/everypolitician/gender-balance/contents/{+path}","compare_url":"https://api.github.com/repos/everypolitician/gender-balance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everypolitician/gender-balance/merges","archive_url":"https://api.github.com/repos/everypolitician/gender-balance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everypolitician/gender-balance/downloads","issues_url":"https://api.github.com/repos/everypolitician/gender-balance/issues{/number}","pulls_url":"https://api.github.com/repos/everypolitician/gender-balance/pulls{/number}","milestones_url":"https://api.github.com/repos/everypolitician/gender-balance/milestones{/number}","notifications_url":"https://api.github.com/repos/everypolitician/gender-balance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everypolitician/gender-balance/labels{/name}","releases_url":"https://api.github.com/repos/everypolitician/gender-balance/releases{/id}","created_at":"2015-06-25T15:49:57Z","updated_at":"2015-07-17T11:04:50Z","pushed_at":"2015-07-28T16:58:26Z","git_url":"git://github.com/everypolitician/gender-balance.git","ssh_url":"git@github.com:everypolitician/gender-balance.git","clone_url":"https://github.com/everypolitician/gender-balance.git","svn_url":"https://github.com/everypolitician/gender-balance","homepage":"gender-balance.org","size":1568,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":33,"forks":0,"open_issues":33,"watchers":1,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"5bb10e22404d11557931cc204da0e72883830528","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"repo":{"id":38058799,"name":"gender-balance","full_name":"everypolitician/gender-balance","owner":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everypolitician/gender-balance","description":"Crowdsourcing platform for gathering gender information about politicians to improve the data in EveryPolitician","fork":false,"url":"https://api.github.com/repos/everypolitician/gender-balance","forks_url":"https://api.github.com/repos/everypolitician/gender-balance/forks","keys_url":"https://api.github.com/repos/everypolitician/gender-balance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everypolitician/gender-balance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everypolitician/gender-balance/teams","hooks_url":"https://api.github.com/repos/everypolitician/gender-balance/hooks","issue_events_url":"https://api.github.com/repos/everypolitician/gender-balance/issues/events{/number}","events_url":"https://api.github.com/repos/everypolitician/gender-balance/events","assignees_url":"https://api.github.com/repos/everypolitician/gender-balance/assignees{/user}","branches_url":"https://api.github.com/repos/everypolitician/gender-balance/branches{/branch}","tags_url":"https://api.github.com/repos/everypolitician/gender-balance/tags","blobs_url":"https://api.github.com/repos/everypolitician/gender-balance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everypolitician/gender-balance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everypolitician/gender-balance/git/refs{/sha}","trees_url":"https://api.github.com/repos/everypolitician/gender-balance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everypolitician/gender-balance/statuses/{sha}","languages_url":"https://api.github.com/repos/everypolitician/gender-balance/languages","stargazers_url":"https://api.github.com/repos/everypolitician/gender-balance/stargazers","contributors_url":"https://api.github.com/repos/everypolitician/gender-balance/contributors","subscribers_url":"https://api.github.com/repos/everypolitician/gender-balance/subscribers","subscription_url":"https://api.github.com/repos/everypolitician/gender-balance/subscription","commits_url":"https://api.github.com/repos/everypolitician/gender-balance/commits{/sha}","git_commits_url":"https://api.github.com/repos/everypolitician/gender-balance/git/commits{/sha}","comments_url":"https://api.github.com/repos/everypolitician/gender-balance/comments{/number}","issue_comment_url":"https://api.github.com/repos/everypolitician/gender-balance/issues/comments{/number}","contents_url":"https://api.github.com/repos/everypolitician/gender-balance/contents/{+path}","compare_url":"https://api.github.com/repos/everypolitician/gender-balance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everypolitician/gender-balance/merges","archive_url":"https://api.github.com/repos/everypolitician/gender-balance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everypolitician/gender-balance/downloads","issues_url":"https://api.github.com/repos/everypolitician/gender-balance/issues{/number}","pulls_url":"https://api.github.com/repos/everypolitician/gender-balance/pulls{/number}","milestones_url":"https://api.github.com/repos/everypolitician/gender-balance/milestones{/number}","notifications_url":"https://api.github.com/repos/everypolitician/gender-balance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everypolitician/gender-balance/labels{/name}","releases_url":"https://api.github.com/repos/everypolitician/gender-balance/releases{/id}","created_at":"2015-06-25T15:49:57Z","updated_at":"2015-07-17T11:04:50Z","pushed_at":"2015-07-28T16:58:26Z","git_url":"git://github.com/everypolitician/gender-balance.git","ssh_url":"git@github.com:everypolitician/gender-balance.git","clone_url":"https://github.com/everypolitician/gender-balance.git","svn_url":"https://github.com/everypolitician/gender-balance","homepage":"gender-balance.org","size":1568,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":33,"forks":0,"open_issues":33,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/gender-balance/pulls/193"},"html":{"href":"https://github.com/everypolitician/gender-balance/pull/193"},"issue":{"href":"https://api.github.com/repos/everypolitician/gender-balance/issues/193"},"comments":{"href":"https://api.github.com/repos/everypolitician/gender-balance/issues/193/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/gender-balance/pulls/193/comments"},"review_comment":{"href":"https://api.github.com/repos/everypolitician/gender-balance/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/everypolitician/gender-balance/pulls/193/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/gender-balance/statuses/5d83958ead62fb350277593e13f7d5f4582511ae"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chrismytton","id":22996,"avatar_url":"https://avatars.githubusercontent.com/u/22996?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismytton","html_url":"https://github.com/chrismytton","followers_url":"https://api.github.com/users/chrismytton/followers","following_url":"https://api.github.com/users/chrismytton/following{/other_user}","gists_url":"https://api.github.com/users/chrismytton/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismytton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismytton/subscriptions","organizations_url":"https://api.github.com/users/chrismytton/orgs","repos_url":"https://api.github.com/users/chrismytton/repos","events_url":"https://api.github.com/users/chrismytton/events{/privacy}","received_events_url":"https://api.github.com/users/chrismytton/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}