{"id":19939165,"url":"https://github.com/zapnap/redis_store_jr","last_synced_at":"2025-05-03T14:32:40.636Z","repository":{"id":1003553,"uuid":"818158","full_name":"zapnap/redis_store_jr","owner":"zapnap","description":"Simple Redis Cache Store for Rails","archived":false,"fork":false,"pushed_at":"2010-08-05T22:31:38.000Z","size":103,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-27T00:46:41.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zapnap.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-08-04T23:45:11.000Z","updated_at":"2017-06-05T19:53:44.000Z","dependencies_parsed_at":"2022-08-06T10:01:21.169Z","dependency_job_id":null,"html_url":"https://github.com/zapnap/redis_store_jr","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fredis_store_jr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fredis_store_jr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fredis_store_jr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fredis_store_jr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zapnap","download_url":"https://codeload.github.com/zapnap/redis_store_jr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252203418,"owners_count":21710960,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T23:45:10.776Z","updated_at":"2025-05-03T14:32:40.058Z","avatar_url":"https://github.com/zapnap.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Redis Store Jr.\n\nThis is a vastly simplified version of RedisStore.\n\nMuch of this code was shamelessly lifted from an earlier version of Luca\nGuidi's redis-store gem. It does *not* support Sinatra, Merb, distributed\nstorage, or many of the other options that his Gem does. So if you're \nlookig for that stuff, you probably want to take a look at the original \nproject:\n\nhttp://github.com/jodosha/redis-store\n\nOn the other hand, if you're looking for a super-simple Redis store interface\nthat works reliably with Rails and Redis 1.2, without the complicated\n(and often unnecessary) dependencies, look no further.\n\nNote that this gem is specifically designed to work with Redis 1.2 and v1.0.7\nof the Redis gem.\n\n== Installation\n\nWe assume you already have Redis (http://code.google.com/p/redis/) set up and\nrunning. If not, you know what to do.\n\nIn your environment.rb:\n\n  config.gem 'redis_store_jr', :lib =\u003e 'redis_store'\n\nOr your Gemfile:\n\n  gem 'redis_store_jr', :require =\u003e 'redis_store' \n\nTo use the Rails.cache store, add the following to an initializer or your\nenvironment-specific config:\n\n  require 'redis_store'\n  config.cache_store = :redis_store, 'localhost:6379/10'\n\nWant to store user session data in Redis too? Of course you do.\n\n  ActionController::Base.session = {\n    :host =\u003e 'dbhost'\n    :port =\u003e 6379,\n    :db   =\u003e 2,\n    :expire_after =\u003e 24.hours,\n    :key_prefix   =\u003e \"myapp:session:\"\n  }\n  ActionController::Base.session_store = :redis_session_store\n\nThis has only been tested on Rails 2.3.x. No guarantees about Rails 3.\n\n== Note on Patches/Pull Requests\n \n* Fork the project.\n* Make your feature addition or bug fix.\n* Add tests for it. This is important so I don't break it in a\n  future version unintentionally.\n* Commit, do not mess with rakefile, version, or history.\n  (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)\n* Send me a pull request. Bonus points for topic branches.\n\n== Copyright\n\nCopyright (c) 2010 Nick Plante. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapnap%2Fredis_store_jr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzapnap%2Fredis_store_jr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapnap%2Fredis_store_jr/lists"}