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

Allow Moneta::Expires as cache object to allow for non-native expiring caches #39

Merged
merged 3 commits into from
Aug 13, 2017

Conversation

GrahamW
Copy link
Contributor

@GrahamW GrahamW commented Aug 9, 2017

Small change to allow use of Moneta::Expires proxy when not using an adaptor with native expiry.

Could have changed the check for Moneta::Transformer to also check for Moneta::Expires too, but now checking for the methods used being present. Think this is OK?

@apersaud
Copy link
Member

Thanks. I'll review.

@apersaud
Copy link
Member

@GrahamW, is there a way you can write a test for this? (under the tests folder). Thanks

@GrahamW
Copy link
Contributor Author

GrahamW commented Aug 11, 2017

Yeah - I'll have a think about the best way to do that.

@apersaud apersaud self-assigned this Aug 12, 2017
@apersaud apersaud merged commit 88ec298 into modernistik:master Aug 13, 2017
@apersaud apersaud self-requested a review August 13, 2017 16:09
apersaud added a commit that referenced this pull request Aug 13, 2017
Allow Moneta::Expires as cache object to allow for non-native expiring caches
apersaud added a commit that referenced this pull request Aug 13, 2017
Allow Moneta::Expires as cache object to allow for non-native expiring caches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants