{"action":"created","issue":{"url":"https://api.github.com/repos/redis-store/redis-activesupport/issues/35","labels_url":"https://api.github.com/repos/redis-store/redis-activesupport/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/redis-store/redis-activesupport/issues/35/comments","events_url":"https://api.github.com/repos/redis-store/redis-activesupport/issues/35/events","html_url":"https://github.com/redis-store/redis-activesupport/pull/35","id":102335500,"number":35,"title":"Use SCAN for delete_matched if client and server supports it","user":{"login":"toyray","id":6885152,"avatar_url":"https://avatars.githubusercontent.com/u/6885152?v=3","gravatar_id":"","url":"https://api.github.com/users/toyray","html_url":"https://github.com/toyray","followers_url":"https://api.github.com/users/toyray/followers","following_url":"https://api.github.com/users/toyray/following{/other_user}","gists_url":"https://api.github.com/users/toyray/gists{/gist_id}","starred_url":"https://api.github.com/users/toyray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toyray/subscriptions","organizations_url":"https://api.github.com/users/toyray/orgs","repos_url":"https://api.github.com/users/toyray/repos","events_url":"https://api.github.com/users/toyray/events{/privacy}","received_events_url":"https://api.github.com/users/toyray/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-21T09:16:28Z","updated_at":"2015-09-02T00:11:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/redis-store/redis-activesupport/pulls/35","html_url":"https://github.com/redis-store/redis-activesupport/pull/35","diff_url":"https://github.com/redis-store/redis-activesupport/pull/35.diff","patch_url":"https://github.com/redis-store/redis-activesupport/pull/35.patch"},"body":"This is similar to PR #18 , except that it only attempts to use SCAN if the server (any version >= 2.8.0 and not just 2.8.*) and if the client (version > 3.0.6) has support for scan_each.\r\n\r\nNot sure if code to retrieve server version should be here or in redis-store gem instead, I'm open to suggestions on this."},"comment":{"url":"https://api.github.com/repos/redis-store/redis-activesupport/issues/comments/136898031","html_url":"https://github.com/redis-store/redis-activesupport/pull/35#issuecomment-136898031","issue_url":"https://api.github.com/repos/redis-store/redis-activesupport/issues/35","id":136898031,"user":{"login":"radar","id":2687,"avatar_url":"https://avatars.githubusercontent.com/u/2687?v=3","gravatar_id":"","url":"https://api.github.com/users/radar","html_url":"https://github.com/radar","followers_url":"https://api.github.com/users/radar/followers","following_url":"https://api.github.com/users/radar/following{/other_user}","gists_url":"https://api.github.com/users/radar/gists{/gist_id}","starred_url":"https://api.github.com/users/radar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radar/subscriptions","organizations_url":"https://api.github.com/users/radar/orgs","repos_url":"https://api.github.com/users/radar/repos","events_url":"https://api.github.com/users/radar/events{/privacy}","received_events_url":"https://api.github.com/users/radar/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T00:11:07Z","updated_at":"2015-09-02T00:11:07Z","body":"I think the code would be better in the redis-store gem. That way it can be shared across multiple gems. Patch seems good to me besides that,."}}