Commit Graph
5 Commits
Author SHA1 Message Date
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