A summary of data about the Ruby ecosystem.

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

README.md

Redis stores for ActionPack

Gem Version
Build Status
Code Climate

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 to false if you want to disable the global mutex lock on
    session data. It's true by 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


GitHub Events

Total
Last Year

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 Email 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:


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

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/redis-store/redis-actionpack

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

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

Gemfile rubygems
  • appraisal ~> 2.2
  • bundler ~> 2.1
  • minitest-rails >= 0
  • mocha ~> 0.14.0
  • rake >= 12.3.3
  • redis-store-testing >= 0
  • tzinfo ~> 1.2
redis-actionpack.gemspec rubygems
  • actionpack >= 5, < 8
  • redis-rack >= 2.1.0, < 3
  • redis-store >= 1.1.0, < 2

Score: 28.250405478774432