Skip to content

Add compatibility with actionpack-page_caching v1.1.0 #9

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

Merged
merged 1 commit into from
Jan 18, 2018

Conversation

cgunther
Copy link
Contributor

actionpack-page_caching v1.1.0 rewrote the internals of performing the page caching to happen inside a different class (rails/actionpack-page_caching@43dd478), so this updates our fake-caching to reflect the changes.

Should maintain compatibility with actionpack-page_caching <= 1.1.0. I tested locally with Rails 3.2 (page caching built in) and with newer rails with actionpack-page_caching 1.0.2 and 1.1.0 (before and after the problematic change).

Requires ruby 2.0 due to the use of Module#prepend to add our stubs.

actionpack-page_caching v1.1.0 rewrote the internals of performing the page caching to happen inside a different class, so this updates our pseudo-caching to relfect the changes.

Should maintain compatibility with actionpack-page_caching <= 1.1.0.

Requires ruby 2.0 due to the use of Module#prepend to add our stubs.
@avit avit merged commit d2ef752 into avit:master Jan 18, 2018
@avit
Copy link
Owner

avit commented Jan 18, 2018

Looks great, thanks for this!

I'll push a new release with this soon.

@cgunther
Copy link
Contributor Author

Thanks for the quick merge!

@cgunther cgunther deleted the ap-page_caching-v1.1 branch January 18, 2018 21:34
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