aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/digestor_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Move template tests from actionpack to actionviewPiotr Sarnacki2013-06-201-197/+0
|
* Allow numbers in partial name for digestingBryan Ricker2013-05-061-0/+6
| | | | | | | | | | Add failing test for template with number at the end Use \w for RENDER_DEPENDENCY regex Spacing Add CHANGELOG entry
* Revert "Merge pull request #10337 from eimermusic/fix_template_digestor_lookup"Rafael Mendonça França2013-04-251-1/+1
| | | | | | | | This reverts commit b4239622afc4f3f73808fd0c97512f3a534e07dd, reversing changes made to f99ce3c188f5dde57e2ff63e6a22363c62f0a4cd. Reason: This broke the build https://travis-ci.org/rails/rails/jobs/6629894
* AV Digestor correctly passes format to LookupContextMartin Westin2013-04-251-1/+1
| | | | | | | | ActionView::Digestor now passes arguments correctly to LookupContext::find method. This makes cache digests respect the format option correctly. FixtureFinder in tests also changed to reflect this.
* Register trackers on extensions, not handlersDaniel Schierbeck2013-02-201-1/+1
|
* Allow registering custom dependency trackersDaniel Schierbeck2013-02-201-1/+2
|
* view_cache_dependency APIJamis Buck2013-01-081-2/+16
| | | | | | | | | | | | | A declarative API for specifying dependencies that affect template cache digest computation. In your controller, specify any of said dependencies: view_cache_dependency { "phone" if using_phone? } When the block is evaluated, the resulting value is included in the cache digest calculation, allowing you to generate different digests for effectively the same template. (Mostly useful if you're mucking with template load paths.)
* Digestor explicit dependency should not contain trailing whitespaceBrian Alexander2012-12-211-0/+6
| | | | test for rails/rails#8586
* cleanup, remove trailing whitespace within actionpackYves Senn2012-10-271-1/+1
|
* use the tmp filesystem rather than our own thing.Aaron Patterson2012-10-171-5/+9
|
* Allow for deep directory path for view templates.Andy Shipman2012-10-111-0/+6
|
* Use the same logger that ActionView::Base for the DigestorRafael Mendonça França2012-09-051-14/+17
|
* Fix build about TemplateDigestorTest.kennyj2012-08-301-3/+3
|
* `Digestor` can now parse old style hash syntax for `render`Christos Zisopoulos2012-08-301-0/+6
|
* `Digestor` ignores most whitespace when parsing `render` invocationsChristos Zisopoulos2012-08-301-0/+23
|
* Add automatic template digests to all CacheHelper#cache calls (originally ↵David Heinemeier Hansson2012-08-291-0/+128
spiked in the cache_digests plugin) *DHH*