rails-rack-session 0.0.2 → 0.0.3
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 +4 -4
- data/README.md +4 -0
- data/lib/rails-rack-session/rails.rb +1 -0
- data/lib/rails-rack-session/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b8dba0ca4bbef8c88cde9f383d173ab20cd7c0a
|
4
|
+
data.tar.gz: ae81ec8b063a805a54860e6af0c419eb6468604d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d941e5af43d561556c8926c5b401c7690a6b11662da496b9ca241fd40d5fec2331cc0e060e73be329d4aba0cdcc82ee3193099269125037e7da486832bc04315
|
7
|
+
data.tar.gz: 2414e15e81713e8104481199630a9d38af72c3477b5b23b27f5871f78d7fdc801ca388c0df9ceb017363b9243a74ecd3604a1651a9c642a079d47ca628bffed3
|
data/README.md
CHANGED
@@ -50,6 +50,10 @@ The `:store` key corresponds to the name of a `Rack::Session` class, e.g. `Cooki
|
|
50
50
|
the `:secret` key is inferred from your app's `secret_key_base`, usually set in
|
51
51
|
`config/secrets.yml`.
|
52
52
|
|
53
|
+
An optional `:coder` key can be given. By default, this is the
|
54
|
+
Rack::Session::Cookie::Base64::JSON coder that serializes session data as JSON.
|
55
|
+
This is more secure than Rack::Session's default marshalled hash.
|
56
|
+
|
53
57
|
Use the same keys used to configure Rack::Session. For cookie store, see
|
54
58
|
http://www.rubydoc.info/gems/rack/Rack/Session/Cookie
|
55
59
|
|