Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rails.Cache aliases for #get, #set, and #remove #13

Merged
merged 14 commits into from
Nov 24, 2022

Conversation

ianoxley
Copy link
Contributor

Alias #get, #set, and #remove to #read, #write, and #delete respectively.

This means we can then use RedisCacheStore / OptionalRedisCacheStore anywhere that requires a #read, #write, #delete API e.g. faraday-http-cache.

Also updates the Dockerfile and docker-compose.yml, and the setup, test, and cleanup scripts.

@ianoxley ianoxley self-assigned this Nov 24, 2022
jlongridge
jlongridge previously approved these changes Nov 24, 2022
spec/cache_store_redis_spec.rb Outdated Show resolved Hide resolved
georgebancila
georgebancila previously approved these changes Nov 24, 2022
Use `be false|true` instead of `eq(false|true)`.
@ianoxley ianoxley merged commit e43c3c7 into master Nov 24, 2022
@ianoxley ianoxley deleted the rails-cache-alias branch November 24, 2022 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants