Skip to content

Commit e64b2a2

Browse files
Remove the version check - .multi is compatible as far back as ruby 2.4 - but versions prior to 2.5 will use an implementation that will fail the rspecs
1 parent ff458c2 commit e64b2a2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# v2.4.2
2+
* Update to `set` to use .multi correctly - the yield block now takes a parameter and calls that with the commands to execute which will then correctly be called in a multi block to redis
3+
14
# v2.2.0
25

36
* Alias `#get`, `#set`, and `#remove` to `#read`, `#write`, and `#delete`, so that `RedisCacheStore` and `OptionalRedisCacheStore` can be used anywhere that expects a `#read`, `#write`, `#delete` API e.g. `faraday-http-cache`.

cache_store_redis.gemspec

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ Gem::Specification.new do |spec|
1313
spec.homepage = 'https://github.com/sage/cache_store'
1414
spec.license = 'MIT'
1515

16-
spec.required_ruby_version = '>= 3.0'
17-
1816
spec.files = Dir.glob("{bin,lib}/**/**/**")
1917
spec.bindir = 'exe'
2018
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }

0 commit comments

Comments
 (0)