Amit Snyderman
e07c942290
Fix docblock
2013-09-17 14:24:28 -04:00
Amit Snyderman
046ad2b968
Docs
2013-09-16 20:50:47 -04:00
Amit Snyderman
d6e1b45053
Add copyright/license header
2013-09-16 20:17:39 -04:00
Amit Snyderman
37e60df12c
Revert timezone edit
2013-09-16 20:14:44 -04:00
Amit Snyderman
ae138efb47
Fix broken build
2013-09-06 13:34:01 -04:00
Amit Snyderman
a83ecd70aa
Set logger for cache if not explicitly set
2013-09-06 11:50:04 -04:00
Amit Snyderman
1937752519
Use class name as cache key
2013-09-06 09:16:40 -04:00
Amit Snyderman
8894d68482
Use existing temp directory for test
2013-09-06 09:16:15 -04:00
Amit Snyderman
689be14d0f
Invalid documentation
2013-09-06 09:06:26 -04:00
Amit Snyderman
724cd60cac
Restore logging for cache operations
...
`AbstractCache` exposes the ability to set a logger. Default behavior
automatically passes the logger reference down to the cache, unless a
specific cache instance was provided.
2013-09-05 19:22:13 -04:00
Amit Snyderman
94cd72bfd4
Restore original eval vs. require class loading
...
Pushing the responsibility of class loading onto the `Mustache_Cache`
implementation and changing the semantics of get/put to load/cache.
2013-09-05 18:56:43 -04:00
Amit Snyderman
71eaed2778
Cleanup cache initialization from options
2013-09-05 18:16:00 -04:00
Amit Snyderman
3e876fd984
Fix build - explicit config key check
2013-09-05 17:30:28 -04:00
Amit Snyderman
60338e4956
Extract cache interface
...
Refactoring to allow for alternative cache implementations. Includes
implementations for the default noop (i.e. un-cached) behavior and a
filesystem-based cache whose configuration is consistent with the
existing Mustache_Engine constructor.
Includes updated and new tests.
2013-09-05 17:07:38 -04:00
Amit Snyderman
6634f44ca6
Explicitly set timezone to UTC for tests
2013-09-05 14:23:23 -04:00