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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f2ec8fd6b79b193d9477a2a3e505c2e8b1a9d508
4
- data.tar.gz: 1fb65c75df68f18697e0112ea8a33ada78c7cdf1
3
+ metadata.gz: 76e0b638b6e1d8ee2a3ec1f5868560dc7f73666c
4
+ data.tar.gz: 312019d4cbccb178cf6dc8b27728f0f05634c4c9
5
5
  SHA512:
6
- metadata.gz: 6145a1638dd901fe0f9583a1a97625e40d3cf7a527dc160af396e4a594c1902c0946c1d7ffd6d8df224c0a5132971c117ee8299b316ac694636f5f6e1a41a3ef
7
- data.tar.gz: 62c3e516605e0b582f8e959e865685958f4439feaa157a2cf879605e8581ccf23e1c6cef6345b0cab54f5f4b0dd4c8602f5a3a9907dd178b4764c707cc15908d
6
+ metadata.gz: 9bcca09f99836cef68669ced5e42bcc91900c5826206b45bf93d7a13e7e1aa60a541a46d1441f1c27b569568d609c84acf04ef671cbad243a61ce8a23ca02c5e
7
+ data.tar.gz: 1b91a951d737f4e2c9399bb6a3370c2af4f052abce6dee80809b603a04dc52630aa7bcba0391a77bd4781dcc2223dac6ee186d11cd779a1b205eeda6d956d342
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in rack-redic.gemspec
3
+ # Load gem dependencies.
4
4
  gemspec
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
@@ -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.2.0'
5
+ spec.version = '0.2.1'
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.2.0
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
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'bundler/setup'
3
- require 'rack/session/redic'
4
- require 'irb'
5
-
6
- IRB.start
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here