rack-redic 0.0.9 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89dbdee0222ddd8f07c8649924aca577ac8a42b1
4
- data.tar.gz: df6c71a5eadc62632208e36295d44031fc05b32b
3
+ metadata.gz: 43484c06c532c0e7c89c6f54a707b8ad8e00ee27
4
+ data.tar.gz: 7cba588e68fb54635a9e87533922aec5545ae1b0
5
5
  SHA512:
6
- metadata.gz: f676a33174d537d2b3b95385b4dc3cdc45a3f77c7906b0126163c6ee017e26364207037bbae4b4747953541c601a07315a3d83403dc2921c32ab843707ca5a14
7
- data.tar.gz: 0fd50ee339a37fd7425ec16e4d653c9880ba71512d4f3158e50d61543349e50d3ce31d8152c87385fffae6da167a021549ae16e9f1301a42a35f986eb5414a7f
6
+ metadata.gz: 927b0fe62ecd72c3730dd4d68f05aacdec5dd80435b33368c4933bb283eee2e3f41dcdb1b13309120935f3632873b22fad48b2c17c4062046cf942917785d8d1
7
+ data.tar.gz: 5a076b28ae7ce33cc0b9b1bef0982a456b379c5cd70eb75e6ee4296fdaa5b15e26a63480a65516cc0eb472161b92a2058a773c0aafd3f32b7e9c5f241835c5cc
data/README.md CHANGED
@@ -1,17 +1,10 @@
1
1
  # Rack::Redic
2
2
 
3
- Rack::Session::Redic provides simple cookie based session management.
4
- Session data is stored in Redis via the Redic gem. The corresponding
5
- session key is maintained in the cookie.
6
-
7
- You may optionally supply the class/module you would like to use when
8
- marshalling objects in and out of Redis. All that is required is that
9
- this class respond to the `load` and `dump` methods, returning the
10
- session hash and a string respectively.
11
-
12
- Addtionally, you may pass in the URL for your Redis server. The default
13
- URL is fetched from the ENV as 'REDIS_URL' in keeping with Heroku and
14
- others' practices.
3
+ Rack::Session::Redic provides simple cookie based session management. Session data is stored in Redis via the [Redic](https://github.com/amakawa/redic) gem. The corresponding session key is maintained in the cookie.
4
+
5
+ You may optionally supply the class/module you would like to use when marshalling objects in and out of Redis. All that is required is that this class respond to the `load` and `dump` methods, returning the session hash and a string respectively.
6
+
7
+ Addtionally, you may pass in the URL for your Redis server. The default URL is fetched from the ENV as 'REDIS_URL' in keeping with Heroku and others' practices.
15
8
 
16
9
  Any other options will get passed to Rack::Session::Abstract::Persisted.
17
10
 
@@ -1,6 +1,7 @@
1
1
  # encoding: UTF-8
2
2
  # frozen_string_literal: true
3
3
  require 'rack/session/abstract/id'
4
+ require 'redic'
4
5
  require 'zlib'
5
6
 
6
7
  module Rack
data/rack-redic.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'rack-redic'
5
- spec.version = '0.0.9'
5
+ spec.version = '0.1.0'
6
6
  spec.authors = ['Evan Lecklider']
7
7
  spec.email = ['evan@lecklider.com']
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-redic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Lecklider