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

dump/restore #175

Closed
jdelStrother opened this issue Nov 19, 2019 · 2 comments
Closed

dump/restore #175

jdelStrother opened this issue Nov 19, 2019 · 2 comments

Comments

@jdelStrother
Copy link
Contributor

Hi there - would you be interested in a pull request that used Marshal.dump to implement redis.dump & redis.restore ? It would mean the resulting value from MockRedis#dump wouldn't be compatible with a real Redis#dump, but it would allow you to call dump/restore to transport data between two MockRedis instances.

@sds
Copy link
Owner

sds commented Nov 23, 2019

Thanks for the suggestion. Happy to accept a pull request with tests!

@sds
Copy link
Owner

sds commented Nov 25, 2019

Implemented in #176. Thanks!

@sds sds closed this as completed Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants