{"id":18675656,"url":"https://github.com/redis-store/redis-rack","last_synced_at":"2025-04-05T14:04:20.167Z","repository":{"id":66770221,"uuid":"2346966","full_name":"redis-store/redis-rack","owner":"redis-store","description":"Redis session store for Rack","archived":false,"fork":false,"pushed_at":"2024-11-26T04:07:38.000Z","size":137,"stargazers_count":66,"open_issues_count":6,"forks_count":47,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-29T13:05:25.166Z","etag":null,"topics":["rack","redis","redis-store","ruby"],"latest_commit_sha":null,"homepage":"http://redis-store.org/redis-rack","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/redis-store.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-09-08T07:25:40.000Z","updated_at":"2025-03-01T11:55:10.000Z","dependencies_parsed_at":"2023-12-02T10:22:07.313Z","dependency_job_id":"1cdf3800-0868-44ad-a4b5-8f70f3afb5fb","html_url":"https://github.com/redis-store/redis-rack","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-store%2Fredis-rack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-store%2Fredis-rack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-store%2Fredis-rack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-store%2Fredis-rack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redis-store","download_url":"https://codeload.github.com/redis-store/redis-rack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345850,"owners_count":20924102,"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":["rack","redis","redis-store","ruby"],"created_at":"2024-11-07T09:25:49.008Z","updated_at":"2025-04-05T14:04:20.148Z","avatar_url":"https://github.com/redis-store.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redis session store for Rack\n\n[![Gem Version](https://badge.fury.io/rb/redis-rack.png)](http://badge.fury.io/rb/redis-rack)\n[![Build Status](https://github.com/redis-store/redis-rack/workflows/CI/badge.svg)](https://github.com/redis-store/redis-rack/actions)\n[![Code Climate](https://codeclimate.com/github/redis-store/redis-store.png)](https://codeclimate.com/github/redis-store/redis-rack)\n\n__`redis-rack`__ provides a Redis-backed session store for __Rack__.\n\nSee the main [redis-store readme] for general guidelines.\n\n**NOTE:** This is not [redis-rack-cache][], the library for using Redis\nas a backend store for the `Rack::Cache` HTTP cache. All this gem does\nis store the Rack session within Redis.\n\n## Installation\n\nInstall with Bundler by adding the following to Gemfile:\n\n```ruby\ngem 'redis-rack'\n```\n\nThen, run:\n\n```shell\n$ bundle install\n```\n\nOr, you can install it manually using RubyGems:\n\n```shell\n$ gem install redis-rack\n```\n\n## Usage\n\nIf you are using redis-store with Rails, consider using the [redis-rails gem](https://github.com/redis-store/redis-rails) instead. For standalone usage:\n\n```ruby\n# config.ru\nrequire 'rack'\nrequire 'rack/session/redis'\n\nuse Rack::Session::Redis\n\n# Alternatively you can specify options to use:\nuse Rack::Session::Redis,\n  :redis_server =\u003e \"redis://redis:6379/0\",\n  :expires_in =\u003e 3600 # Seconds. If you are using ActiveSupport you can use 1.hour\n```\n\n## Development\n\nTo install this gem for development purposes:\n\n```shell\n$ gem install bundler # note: you don't need to do this if you already have it installed\n$ git clone git://github.com/redis-store/redis-rack.git\n$ cd redis-rack\n$ bundle install\n```\n\n## Running tests\n\nTo run tests:\n\n```shell\n$ bundle exec rake\n```\n\nIf you are on **Snow Leopard** you have to run the following command to\nbuild this software:\n\n```shell\n$ env ARCHFLAGS=\"-arch x86_64\" bundle exec rake\n```\n\n## Copyright\n\n2009 - 2013 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license\n\n[redis-rack-cache]: https://github.com/redis-store/redis-rack-cache\n[redis-store readme]: https://github.com/redis-store/redis-store\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-store%2Fredis-rack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredis-store%2Fredis-rack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-store%2Fredis-rack/lists"}