https://github.com/redis-store/redis-actionpack
Redis stores for ActionPack
https://github.com/redis-store/redis-actionpack
Keywords
rails redis redis-store ruby
Keywords from Contributors
activerecord activejob mvc rubygems feature-flag gem devise data-validation authorization rspec
Last synced: about 8 hours ago
JSON representation
Repository metadata
Redis stores for ActionPack
- Host: GitHub
- URL: https://github.com/redis-store/redis-actionpack
- Owner: redis-store
- License: mit
- Created: 2011-09-08T07:15:25.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2025-11-24T11:13:08.000Z (16 days ago)
- Last Synced: 2025-11-29T22:10:03.721Z (10 days ago)
- Topics: rails, redis, redis-store, ruby
- Language: Ruby
- Homepage: http://redis-store.org/redis-actionpack
- Size: 136 KB
- Stars: 78
- Watchers: 6
- Forks: 46
- Open Issues: 6
- Releases: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: MIT-LICENSE
- Codeowners: CODEOWNERS
README.md
Redis stores for ActionPack
redis-actionpack provides a session store for ActionPack, specifically for ActionDispatch. See the main redis-store readme for general guidelines.
For guidelines on using our underlying cache store, see the main redis-store readme.
For information on how to use this library in a Rails app, see the documentation for redis-rails.
If, 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!
Installation
# Gemfile
gem 'redis-actionpack'
Usage
If you are using redis-store with Rails, head on over to the
redis-rails README to
learn how to integrate this gem into your Rails application.
For standalone usage:
ActionController::Base.session_store = :redis_store,
servers: %w(redis://localhost:6379/0/session),
expire_after: 90.minutes,
key: '_my_application_session',
threadsafe: false,
secure: true
A brief run-down of these options...
- servers is an Array of Redis server URLs that we will attempt to find
data from. - expire_after is the default TTL of session keys. This is also set
as the expiry time of any cookies generated by the session store. - key is the name of the cookie on the client side
- threadsafe is for applications that run on multiple instances. Set
this tofalseif you want to disable the global mutex lock on
session data. It'strueby default, meaning the mutex will be
enabled. - secure ensures HTTP cookies are transferred from server to client
on a secure (HTTPS) connection
Running tests
gem install bundler
git clone git://github.com/redis-store/redis-actionpack.git
cd redis-actionpack
bundle install
bundle exec rake
If you are on Snow Leopard you have to run env ARCHFLAGS="-arch x86_64" bundle exec rake
Copyright
2009 - 2013 Luca Guidi - http://lucaguidi.com, released under the MIT license
Owner metadata
- Name: redis-store
- Login: redis-store
- Email: support@redis-store.org
- Kind: organization
- Description:
- Website: http://redis-store.org
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/5261509?v=4
- Repositories: 10
- Last ynced at: 2024-03-25T22:13:32.887Z
- Profile URL: https://github.com/redis-store
GitHub Events
Total
- Issues event: 1
- Watch event: 5
- Delete event: 1
- Issue comment event: 17
- Push event: 6
- Pull request review event: 3
- Pull request event: 9
- Fork event: 4
- Create event: 2
Last Year
- Issues event: 1
- Watch event: 5
- Issue comment event: 4
- Push event: 1
- Pull request review event: 1
- Pull request event: 3
- Fork event: 2
- Create event: 1
Committers metadata
Last synced: 4 days ago
Total Commits: 111
Total Committers: 20
Avg Commits per committer: 5.55
Development Distribution Score (DDS): 0.748
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Nicolas Rodriguez | n****o@n****r | 28 |
| Tom Scott | t****t@w****m | 25 |
| Marc Roberts | m****c@n****m | 18 |
| Ryan Bigg | g****t@r****m | 9 |
| Tom Scott | 1****o | 7 |
| Olle Jonsson | o****n@g****m | 4 |
| Luca Guidi | me@l****m | 3 |
| shiro16 | n****4@g****m | 3 |
| Ryo Nakamura | r****a@g****m | 2 |
| Luca Guidi | g****a@g****m | 2 |
| Alexey Vasiliev | l****d | 1 |
| Arjun Radhakrishnan | a****n | 1 |
| Connor Shea | c****a@g****m | 1 |
| Igor Drozdov | i****v@g****m | 1 |
| Miles Matthias | m****s@g****m | 1 |
| Shodai Suzuki | i****o@s****k | 1 |
| dependabot[bot] | 4****] | 1 |
| Michael Reinsch | m****l@m****m | 1 |
| Michael Dawson | m****n@m****m | 1 |
| hogelog | k****o@g****m | 1 |
Committer domains:
- marketplacer.com: 1
- mobalean.com: 1
- soartec-lab.work: 1
- lucaguidi.com: 1
- ryanbigg.com: 1
- neutroncreations.com: 1
- weblinc.com: 1
- nicoladmin.fr: 1
Issue and Pull Request metadata
Last synced: 16 days ago
Total issues: 21
Total pull requests: 48
Average time to close issues: 4 months
Average time to close pull requests: 4 months
Total issue authors: 19
Total pull request authors: 24
Average comments per issue: 2.29
Average comments per pull request: 2.06
Merged pull request: 24
Bot issues: 0
Bot pull requests: 6
Past year issues: 2
Past year pull requests: 5
Past year average time to close issues: N/A
Past year average time to close pull requests: 4 months
Past year issue authors: 2
Past year pull request authors: 3
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.8
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 2
Top Issue Authors
- PikachuEXE (2)
- tubbo (2)
- chumakoff (1)
- connorshea (1)
- ratsbomb (1)
- DavidMealha (1)
- nflorentin (1)
- fdocr (1)
- cguess (1)
- mreinsch (1)
- hasghari (1)
- igorkasyanchuk (1)
- coreyhaines (1)
- tony-pizza (1)
- larryzhao (1)
Top Pull Request Authors
- tubbo (7)
- dependabot[bot] (6)
- olleolleolle (6)
- n-rodriguez (4)
- r7kamura (3)
- unasuke (2)
- mark-young-atg (2)
- connorshea (2)
- milesmatthias (1)
- semoal (1)
- afrojun (1)
- lejpower (1)
- marcogregorius (1)
- royzwambag (1)
- hogelog (1)
Top Issue Labels
- enhancement (1)
Top Pull Request Labels
- dependencies (6)
- github_actions (2)
- enhancement (1)
Package metadata
- Total packages: 2
-
Total downloads:
- rubygems: 236,324,079 total
- Total docker downloads: 869,493,822
- Total dependent packages: 2 (may contain duplicates)
- Total dependent repositories: 5,505 (may contain duplicates)
- Total versions: 50
- Total maintainers: 5
gem.coop: redis-actionpack
Redis session store for ActionPack. Used for storing the Rails session in Redis.
- Homepage: http://redis-store.org/redis-actionpack
- Documentation: http://www.rubydoc.info/gems/redis-actionpack/
- Licenses: MIT
- Latest release: 5.5.0 (published about 1 year ago)
- Last Synced: 2025-12-08T02:02:02.107Z (2 days ago)
- Versions: 25
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 118,166,603 Total
- Docker Downloads: 434,746,911
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.126%
- Downloads: 0.207%
- Docker downloads count: 0.295%
- Maintainers (5)
rubygems.org: redis-actionpack
Redis session store for ActionPack. Used for storing the Rails session in Redis.
- Homepage: http://redis-store.org/redis-actionpack
- Documentation: http://www.rubydoc.info/gems/redis-actionpack/
- Licenses: MIT
- Latest release: 5.5.0 (published about 1 year ago)
- Last Synced: 2025-12-06T23:01:06.531Z (3 days ago)
- Versions: 25
- Dependent Packages: 2
- Dependent Repositories: 5,505
- Downloads: 118,157,476 Total
- Docker Downloads: 434,746,911
-
Rankings:
- Downloads: 0.193%
- Docker downloads count: 0.357%
- Dependent repos count: 0.428%
- Average: 2.772%
- Forks count: 3.977%
- Dependent packages count: 5.237%
- Stargazers count: 6.441%
- Maintainers (5)
Dependencies
- appraisal ~> 2.2
- bundler ~> 2.1
- minitest-rails >= 0
- mocha ~> 0.14.0
- rake >= 12.3.3
- redis-store-testing >= 0
- tzinfo ~> 1.2
- actionpack >= 5, < 8
- redis-rack >= 2.1.0, < 3
- redis-store >= 1.1.0, < 2
Score: 28.250405478774432