Skip to content

Commit

Permalink
Switch to redis-rb@5
Browse files Browse the repository at this point in the history
`redis.evalsha` just returns the script result now, not the SHA. So we
instead check the SHA from the `redis.load` command.

Note this no longer supports redis-rb@4
  • Loading branch information
adam-h committed Oct 13, 2023
1 parent 65835a6 commit 6cc9c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis_scripts.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
gem.files = `git ls-files`.split("\n")
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")

gem.add_runtime_dependency 'redis', '~> 4.0'
gem.add_runtime_dependency 'redis', '~> 5.0'
gem.add_development_dependency 'temporaries', '~> 0.3.0'
gem.add_development_dependency 'ritual', '~> 0.4.1'
end

0 comments on commit 6cc9c9d

Please sign in to comment.