{"id":15527243,"url":"https://github.com/redis-store/redis-actionpack","last_synced_at":"2025-05-15T02:06:31.555Z","repository":{"id":847095,"uuid":"2346931","full_name":"redis-store/redis-actionpack","owner":"redis-store","description":"Redis stores for ActionPack","archived":false,"fork":false,"pushed_at":"2024-11-10T23:14:17.000Z","size":134,"stargazers_count":76,"open_issues_count":3,"forks_count":45,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-22T00:28:34.699Z","etag":null,"topics":["rails","redis","redis-store","ruby"],"latest_commit_sha":null,"homepage":"http://redis-store.org/redis-actionpack","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:15:25.000Z","updated_at":"2025-04-15T18:52:44.000Z","dependencies_parsed_at":"2022-07-29T01:18:10.061Z","dependency_job_id":"ef6aafbf-2808-4a9d-b39c-3207e2097fd1","html_url":"https://github.com/redis-store/redis-actionpack","commit_stats":{"total_commits":111,"total_committers":20,"mean_commits":5.55,"dds":0.7477477477477478,"last_synced_commit":"9d9dc2b2fbd0fe8b0b136d3651991399c5e3a4c6"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-store%2Fredis-actionpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-store%2Fredis-actionpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-store%2Fredis-actionpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-store%2Fredis-actionpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redis-store","download_url":"https://codeload.github.com/redis-store/redis-actionpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250163602,"owners_count":21385268,"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":["rails","redis","redis-store","ruby"],"created_at":"2024-10-02T11:05:10.386Z","updated_at":"2025-05-15T02:06:31.539Z","avatar_url":"https://github.com/redis-store.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redis stores for ActionPack\n\n[![Gem Version](https://badge.fury.io/rb/redis-actionpack.svg)](http://badge.fury.io/rb/redis-actionpack)\n[![Build Status](https://github.com/redis-store/redis-actionpack/workflows/CI/badge.svg)](https://github.com/redis-store/redis-actionpack/actions)\n[![Code Climate](https://codeclimate.com/github/redis-store/redis-actionpack.svg)](https://codeclimate.com/github/redis-store/redis-actionpack)\n\n__`redis-actionpack`__ provides a session store for __ActionPack__, specifically for __ActionDispatch__. See the main [redis-store readme](https://github.com/redis-store/redis-store) for general guidelines.\n\nFor guidelines on using our underlying cache store, see the main [redis-store readme](https://github.com/redis-store/redis-store).\n\nFor information on how to use this library in a Rails app, see the [documentation for redis-rails](https://github.com/redis-store/redis-rails).\n\nIf, for some reason, you're using `ActionDispatch` and not in a Rails app, read on to learn how to install/use this gem by itself!\n\n## Installation\n\n```ruby\n# Gemfile\ngem 'redis-actionpack'\n```\n\n## Usage\n\nIf you are using redis-store with Rails, head on over to the\n[redis-rails README](https://github.com/redis-store/redis-rails#session-storage) to\nlearn how to integrate this gem into your Rails application.\n\nFor standalone usage:\n\n```ruby\nActionController::Base.session_store = :redis_store,\n  servers: %w(redis://localhost:6379/0/session),\n  expire_after: 90.minutes,\n  key: '_my_application_session',\n  threadsafe: false,\n  secure: true\n```\n\nA brief run-down of these options...\n\n- **servers** is an Array of Redis server URLs that we will attempt to find\n  data from.\n- **expire_after** is the default TTL of session keys. This is also set\n  as the expiry time of any cookies generated by the session store.\n- **key** is the name of the cookie on the client side\n- **threadsafe** is for applications that run on multiple instances. Set\n  this to `false` if you want to disable the global mutex lock on\n  session data. It's `true` by default, meaning the mutex will be\n  enabled.\n- **secure** ensures HTTP cookies are transferred from server to client\n  on a secure (HTTPS) connection\n\n## Running tests\n\n```shell\ngem install bundler\ngit clone git://github.com/redis-store/redis-actionpack.git\ncd redis-actionpack\nbundle install\nbundle exec rake\n```\n\nIf you are on **Snow Leopard** you have to run `env ARCHFLAGS=\"-arch x86_64\" bundle exec rake`\n\n## Copyright\n\n2009 - 2013 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-store%2Fredis-actionpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredis-store%2Fredis-actionpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-store%2Fredis-actionpack/lists"}