Skip to content

Commit

Permalink
Drop redlock v1
Browse files Browse the repository at this point in the history
Since #57 the lock
manager is expecting `redis-client` instance instead of `redis`.
`redis-client` is supported since redlock 2.0.0

References:
- https://github.com/leandromoreira/redlock-rb/blob/main/CHANGELOG.md#200---2023-02-09
- leandromoreira/redlock-rb#127
  • Loading branch information
sharshenov committed Oct 20, 2023
1 parent aeb9a17 commit a643305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activejob-uniqueness.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = '>= 2.5'

spec.add_dependency 'activejob', '>= 4.2', '< 7.2'
spec.add_dependency 'redlock', '>= 1.2', '< 3'
spec.add_dependency 'redlock', '>= 2.0', '< 3'

spec.add_development_dependency 'appraisal', '~> 2.3.0'
spec.add_development_dependency 'bundler', '>= 2.0'
Expand Down

0 comments on commit a643305

Please sign in to comment.