rack-redic 0.2.0 → 0.2.1
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/Gemfile +1 -1
- data/README.md +0 -11
- data/rack-redic.gemspec +1 -1
- metadata +1 -3
- data/bin/console +0 -6
- data/bin/setup +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76e0b638b6e1d8ee2a3ec1f5868560dc7f73666c
|
4
|
+
data.tar.gz: 312019d4cbccb178cf6dc8b27728f0f05634c4c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bcca09f99836cef68669ced5e42bcc91900c5826206b45bf93d7a13e7e1aa60a541a46d1441f1c27b569568d609c84acf04ef671cbad243a61ce8a23ca02c5e
|
7
|
+
data.tar.gz: 1b91a951d737f4e2c9399bb6a3370c2af4f052abce6dee80809b603a04dc52630aa7bcba0391a77bd4781dcc2223dac6ee186d11cd779a1b205eeda6d956d342
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -8,10 +8,6 @@ Options include:
|
|
8
8
|
- `:url` - 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.
|
9
9
|
- `:expire_after` - Finally, expiration will be passed to the Redis server via the 'EX' option on 'SET'. Expiration should be in seconds, just like Rack's default handling of the `:expire_after` option. This option will refresh the expiration set in Redis with each request.
|
10
10
|
|
11
|
-
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.
|
12
|
-
|
13
|
-
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.
|
14
|
-
|
15
11
|
Any other options will get passed to Rack::Session::Abstract::Persisted.
|
16
12
|
|
17
13
|
|
@@ -51,13 +47,6 @@ use Rack::Session::Redic, marshaller: Oj, url: 'redis://host', expire_after: 1_8
|
|
51
47
|
```
|
52
48
|
|
53
49
|
|
54
|
-
## Development
|
55
|
-
|
56
|
-
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
57
|
-
|
58
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
59
|
-
|
60
|
-
|
61
50
|
## Contributing
|
62
51
|
|
63
52
|
Bug reports and pull requests are welcome on GitHub at https://github.com/evanleck/rack-redic. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
data/rack-redic.gemspec
CHANGED
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.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Lecklider
|
@@ -51,8 +51,6 @@ files:
|
|
51
51
|
- LICENSE.txt
|
52
52
|
- README.md
|
53
53
|
- Rakefile
|
54
|
-
- bin/console
|
55
|
-
- bin/setup
|
56
54
|
- lib/rack/session/redic.rb
|
57
55
|
- rack-redic.gemspec
|
58
56
|
homepage: https://github.com/evanleck/rack-redic
|
data/bin/console
DELETED