{"action":"closed","number":23,"pull_request":{"url":"https://api.github.com/repos/nature/bandiera-client-ruby/pulls/23","id":45416171,"html_url":"https://github.com/nature/bandiera-client-ruby/pull/23","diff_url":"https://github.com/nature/bandiera-client-ruby/pull/23.diff","patch_url":"https://github.com/nature/bandiera-client-ruby/pull/23.patch","issue_url":"https://api.github.com/repos/nature/bandiera-client-ruby/issues/23","number":23,"state":"closed","locked":false,"title":"3.0.0 - Removed client-level caching, and added middleware class","user":{"login":"dazoakley","id":49645,"avatar_url":"https://avatars.githubusercontent.com/u/49645?v=3","gravatar_id":"","url":"https://api.github.com/users/dazoakley","html_url":"https://github.com/dazoakley","followers_url":"https://api.github.com/users/dazoakley/followers","following_url":"https://api.github.com/users/dazoakley/following{/other_user}","gists_url":"https://api.github.com/users/dazoakley/gists{/gist_id}","starred_url":"https://api.github.com/users/dazoakley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dazoakley/subscriptions","organizations_url":"https://api.github.com/users/dazoakley/orgs","repos_url":"https://api.github.com/users/dazoakley/repos","events_url":"https://api.github.com/users/dazoakley/events{/privacy}","received_events_url":"https://api.github.com/users/dazoakley/received_events","type":"User","site_admin":false},"body":"The client level caching code should never have happened really - it complicated the codebase and wasn't the way we were using it at Nature...\r\n\r\nIn this PR i've ported our Bandiera middleware code into the client gem so other people can use it in the same way (if they choose to).","created_at":"2015-09-18T15:01:06Z","updated_at":"2015-09-22T08:32:02Z","closed_at":"2015-09-22T08:32:02Z","merged_at":"2015-09-22T08:32:02Z","merge_commit_sha":"b59f76de6339416220ae4a4ce9a1f2693dccb155","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nature/bandiera-client-ruby/pulls/23/commits","review_comments_url":"https://api.github.com/repos/nature/bandiera-client-ruby/pulls/23/comments","review_comment_url":"https://api.github.com/repos/nature/bandiera-client-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nature/bandiera-client-ruby/issues/23/comments","statuses_url":"https://api.github.com/repos/nature/bandiera-client-ruby/statuses/0b0940968d9337425cd2bcee4dc25ad1860e1ae4","head":{"label":"nature:middleware","ref":"middleware","sha":"0b0940968d9337425cd2bcee4dc25ad1860e1ae4","user":{"login":"nature","id":439212,"avatar_url":"https://avatars.githubusercontent.com/u/439212?v=3","gravatar_id":"","url":"https://api.github.com/users/nature","html_url":"https://github.com/nature","followers_url":"https://api.github.com/users/nature/followers","following_url":"https://api.github.com/users/nature/following{/other_user}","gists_url":"https://api.github.com/users/nature/gists{/gist_id}","starred_url":"https://api.github.com/users/nature/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nature/subscriptions","organizations_url":"https://api.github.com/users/nature/orgs","repos_url":"https://api.github.com/users/nature/repos","events_url":"https://api.github.com/users/nature/events{/privacy}","received_events_url":"https://api.github.com/users/nature/received_events","type":"Organization","site_admin":false},"repo":{"id":16200084,"name":"bandiera-client-ruby","full_name":"nature/bandiera-client-ruby","owner":{"login":"nature","id":439212,"avatar_url":"https://avatars.githubusercontent.com/u/439212?v=3","gravatar_id":"","url":"https://api.github.com/users/nature","html_url":"https://github.com/nature","followers_url":"https://api.github.com/users/nature/followers","following_url":"https://api.github.com/users/nature/following{/other_user}","gists_url":"https://api.github.com/users/nature/gists{/gist_id}","starred_url":"https://api.github.com/users/nature/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nature/subscriptions","organizations_url":"https://api.github.com/users/nature/orgs","repos_url":"https://api.github.com/users/nature/repos","events_url":"https://api.github.com/users/nature/events{/privacy}","received_events_url":"https://api.github.com/users/nature/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nature/bandiera-client-ruby","description":"A Ruby client for the Bandiera feature flagging service","fork":false,"url":"https://api.github.com/repos/nature/bandiera-client-ruby","forks_url":"https://api.github.com/repos/nature/bandiera-client-ruby/forks","keys_url":"https://api.github.com/repos/nature/bandiera-client-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nature/bandiera-client-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nature/bandiera-client-ruby/teams","hooks_url":"https://api.github.com/repos/nature/bandiera-client-ruby/hooks","issue_events_url":"https://api.github.com/repos/nature/bandiera-client-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/nature/bandiera-client-ruby/events","assignees_url":"https://api.github.com/repos/nature/bandiera-client-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/nature/bandiera-client-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/nature/bandiera-client-ruby/tags","blobs_url":"https://api.github.com/repos/nature/bandiera-client-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nature/bandiera-client-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nature/bandiera-client-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/nature/bandiera-client-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nature/bandiera-client-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/nature/bandiera-client-ruby/languages","stargazers_url":"https://api.github.com/repos/nature/bandiera-client-ruby/stargazers","contributors_url":"https://api.github.com/repos/nature/bandiera-client-ruby/contributors","subscribers_url":"https://api.github.com/repos/nature/bandiera-client-ruby/subscribers","subscription_url":"https://api.github.com/repos/nature/bandiera-client-ruby/subscription","commits_url":"https://api.github.com/repos/nature/bandiera-client-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/nature/bandiera-client-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/nature/bandiera-client-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/nature/bandiera-client-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/nature/bandiera-client-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/nature/bandiera-client-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nature/bandiera-client-ruby/merges","archive_url":"https://api.github.com/repos/nature/bandiera-client-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nature/bandiera-client-ruby/downloads","issues_url":"https://api.github.com/repos/nature/bandiera-client-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/nature/bandiera-client-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/nature/bandiera-client-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/nature/bandiera-client-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nature/bandiera-client-ruby/labels{/name}","releases_url":"https://api.github.com/repos/nature/bandiera-client-ruby/releases{/id}","created_at":"2014-01-24T09:21:41Z","updated_at":"2015-07-09T16:01:54Z","pushed_at":"2015-09-22T08:32:02Z","git_url":"git://github.com/nature/bandiera-client-ruby.git","ssh_url":"git@github.com:nature/bandiera-client-ruby.git","clone_url":"https://github.com/nature/bandiera-client-ruby.git","svn_url":"https://github.com/nature/bandiera-client-ruby","homepage":"","size":431,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"nature:master","ref":"master","sha":"f944cf513dda786e3f5508916e752c8d27e8bf18","user":{"login":"nature","id":439212,"avatar_url":"https://avatars.githubusercontent.com/u/439212?v=3","gravatar_id":"","url":"https://api.github.com/users/nature","html_url":"https://github.com/nature","followers_url":"https://api.github.com/users/nature/followers","following_url":"https://api.github.com/users/nature/following{/other_user}","gists_url":"https://api.github.com/users/nature/gists{/gist_id}","starred_url":"https://api.github.com/users/nature/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nature/subscriptions","organizations_url":"https://api.github.com/users/nature/orgs","repos_url":"https://api.github.com/users/nature/repos","events_url":"https://api.github.com/users/nature/events{/privacy}","received_events_url":"https://api.github.com/users/nature/received_events","type":"Organization","site_admin":false},"repo":{"id":16200084,"name":"bandiera-client-ruby","full_name":"nature/bandiera-client-ruby","owner":{"login":"nature","id":439212,"avatar_url":"https://avatars.githubusercontent.com/u/439212?v=3","gravatar_id":"","url":"https://api.github.com/users/nature","html_url":"https://github.com/nature","followers_url":"https://api.github.com/users/nature/followers","following_url":"https://api.github.com/users/nature/following{/other_user}","gists_url":"https://api.github.com/users/nature/gists{/gist_id}","starred_url":"https://api.github.com/users/nature/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nature/subscriptions","organizations_url":"https://api.github.com/users/nature/orgs","repos_url":"https://api.github.com/users/nature/repos","events_url":"https://api.github.com/users/nature/events{/privacy}","received_events_url":"https://api.github.com/users/nature/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nature/bandiera-client-ruby","description":"A Ruby client for the Bandiera feature flagging service","fork":false,"url":"https://api.github.com/repos/nature/bandiera-client-ruby","forks_url":"https://api.github.com/repos/nature/bandiera-client-ruby/forks","keys_url":"https://api.github.com/repos/nature/bandiera-client-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nature/bandiera-client-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nature/bandiera-client-ruby/teams","hooks_url":"https://api.github.com/repos/nature/bandiera-client-ruby/hooks","issue_events_url":"https://api.github.com/repos/nature/bandiera-client-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/nature/bandiera-client-ruby/events","assignees_url":"https://api.github.com/repos/nature/bandiera-client-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/nature/bandiera-client-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/nature/bandiera-client-ruby/tags","blobs_url":"https://api.github.com/repos/nature/bandiera-client-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nature/bandiera-client-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nature/bandiera-client-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/nature/bandiera-client-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nature/bandiera-client-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/nature/bandiera-client-ruby/languages","stargazers_url":"https://api.github.com/repos/nature/bandiera-client-ruby/stargazers","contributors_url":"https://api.github.com/repos/nature/bandiera-client-ruby/contributors","subscribers_url":"https://api.github.com/repos/nature/bandiera-client-ruby/subscribers","subscription_url":"https://api.github.com/repos/nature/bandiera-client-ruby/subscription","commits_url":"https://api.github.com/repos/nature/bandiera-client-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/nature/bandiera-client-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/nature/bandiera-client-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/nature/bandiera-client-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/nature/bandiera-client-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/nature/bandiera-client-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nature/bandiera-client-ruby/merges","archive_url":"https://api.github.com/repos/nature/bandiera-client-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nature/bandiera-client-ruby/downloads","issues_url":"https://api.github.com/repos/nature/bandiera-client-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/nature/bandiera-client-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/nature/bandiera-client-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/nature/bandiera-client-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nature/bandiera-client-ruby/labels{/name}","releases_url":"https://api.github.com/repos/nature/bandiera-client-ruby/releases{/id}","created_at":"2014-01-24T09:21:41Z","updated_at":"2015-07-09T16:01:54Z","pushed_at":"2015-09-22T08:32:02Z","git_url":"git://github.com/nature/bandiera-client-ruby.git","ssh_url":"git@github.com:nature/bandiera-client-ruby.git","clone_url":"https://github.com/nature/bandiera-client-ruby.git","svn_url":"https://github.com/nature/bandiera-client-ruby","homepage":"","size":431,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nature/bandiera-client-ruby/pulls/23"},"html":{"href":"https://github.com/nature/bandiera-client-ruby/pull/23"},"issue":{"href":"https://api.github.com/repos/nature/bandiera-client-ruby/issues/23"},"comments":{"href":"https://api.github.com/repos/nature/bandiera-client-ruby/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/nature/bandiera-client-ruby/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/nature/bandiera-client-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nature/bandiera-client-ruby/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/nature/bandiera-client-ruby/statuses/0b0940968d9337425cd2bcee4dc25ad1860e1ae4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dazoakley","id":49645,"avatar_url":"https://avatars.githubusercontent.com/u/49645?v=3","gravatar_id":"","url":"https://api.github.com/users/dazoakley","html_url":"https://github.com/dazoakley","followers_url":"https://api.github.com/users/dazoakley/followers","following_url":"https://api.github.com/users/dazoakley/following{/other_user}","gists_url":"https://api.github.com/users/dazoakley/gists{/gist_id}","starred_url":"https://api.github.com/users/dazoakley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dazoakley/subscriptions","organizations_url":"https://api.github.com/users/dazoakley/orgs","repos_url":"https://api.github.com/users/dazoakley/repos","events_url":"https://api.github.com/users/dazoakley/events{/privacy}","received_events_url":"https://api.github.com/users/dazoakley/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":3,"additions":336,"deletions":297,"changed_files":8}}