Skip to content

Commit

Permalink
Bump rack dependency to allow 3
Browse files Browse the repository at this point in the history
  • Loading branch information
evanleck committed Sep 25, 2023
1 parent c06a5a9 commit e52aaed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ Or install it yourself as:
gem install rack-redic
```

### Rack 3

With the release of Rack v3.0.0 Rack's `Session` module has been extracted into
its own gem. To use `Rack::Session::Redic` with Rack v3 be sure to add `gem
'rack-session'` to your `Gemfile` as well.

## Usage

Anywhere in your Rack application just add:
Expand Down
3 changes: 2 additions & 1 deletion rack-redic.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ Gem::Specification.new do |spec|
spec.files = Dir['lib/**/*', 'README.md', 'LICENSE.txt']
spec.required_ruby_version = '>= 2.5.0'

spec.add_runtime_dependency 'rack', '~> 2'
spec.add_runtime_dependency 'rack', '>= 2.0.0', '< 4'
spec.add_runtime_dependency 'rack-session'
spec.add_runtime_dependency 'redic', '~> 1'

spec.metadata['bug_tracker_uri'] = "#{ spec.homepage }/issues"
Expand Down

0 comments on commit e52aaed

Please sign in to comment.