rails-rack-session 0.0.1 → 0.0.2
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 +1 -2
- data/lib/rails-rack-session/rails.rb +0 -2
- 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: 01a4451825cb352966c1968a99a8e01f8705f329
|
4
|
+
data.tar.gz: 7f091b1bf8383fc051a94711943b5b869835651a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41867a15599fb9a308ab72b64134577311f8768251e9240c37a05016b71fe784b89ca350a83d65cc75f662a3d9a44ac82d721084bce11c3e284380acbce2bdb9
|
7
|
+
data.tar.gz: dd40d9084d8a481e2d9e6f595f922943064902be526d40f39b30430f39e0d1c746e19df07cac73cfb87eefe631123d5cd16f4e49a30e9b036463ecf71ce4ee73
|
data/README.md
CHANGED
@@ -42,7 +42,6 @@ In config/application.rb:
|
|
42
42
|
config.rack_session = {
|
43
43
|
store: :cookie,
|
44
44
|
key: '_my_app',
|
45
|
-
secret
|
46
45
|
domain: '.example.com'
|
47
46
|
}
|
48
47
|
```
|
@@ -67,5 +66,5 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
67
66
|
|
68
67
|
## Contributing
|
69
68
|
|
70
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
69
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/dkastner/rails-rack-session.
|
71
70
|
|
@@ -26,8 +26,6 @@ Available options: :cookie, :pool, :memcache
|
|
26
26
|
|
27
27
|
cfg[:secret] ||= app.secrets[:secret_key_base]
|
28
28
|
|
29
|
-
puts cfg.inspect
|
30
|
-
|
31
29
|
session_class = Rack::Session.const_get cfg.delete(:store).to_s.camelize
|
32
30
|
|
33
31
|
app.middleware.insert_before ActionDispatch::Cookies, session_class, cfg
|