Skip to content

Commit

Permalink
Remove the version check - .multi is compatible as far back as ruby 2…
Browse files Browse the repository at this point in the history
….4 - but versions prior to 2.5 will use an implementation that will fail the rspecs
  • Loading branch information
LauraCollins-Sage committed Oct 17, 2024
1 parent ff458c2 commit e64b2a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# v2.4.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

# v2.2.0

* 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`.
Expand Down
2 changes: 0 additions & 2 deletions cache_store_redis.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ Gem::Specification.new do |spec|
spec.homepage = 'https://github.com/sage/cache_store'
spec.license = 'MIT'

spec.required_ruby_version = '>= 3.0'

spec.files = Dir.glob("{bin,lib}/**/**/**")
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
Expand Down

0 comments on commit e64b2a2

Please sign in to comment.