{"push_id":1058388235,"size":2,"distinct_size":1,"ref":"refs/heads/master","head":"3f23284a2e4b5ffa5a823f399b74ecb29928a3d5","before":"b3845ad852a8c0013d9dacc53752dcfd7e24ac0e","commits":[{"sha":"3b0b0291a207e3d99f9c0e33d6a53dd0e19cc2a8","author":{"email":"1ae6224804504b3fc03ce7710254958474dfd9a9@kellyredding.com","name":"Kelly Redding"},"message":"template source: pass ext as an option to registered engines\n\nThis updates template sources to pass the extension that was used\nto register an engine to the engine as an option. The goal is to\nallow the engine to choose templates that match the extension that\nwas used when configuring the extension. This is also part of\nfixing an issue with the engines not knowing which template file\nto pick because they no longer hard-code an extension that the\ntemplates have to use.\n\nThe template source now always sets an ext option and passes it\nto the engines when they are registered. The ext will always be\nset and can't be different from how the engine is registered. It\nwould be non-sensical to register with one engine ext and pass a\ndifferent engine ext as an option. Deas would either not use\nthe registered engine to render the template or the template\nengine wouldn't find the file. Either case wouldn't produce the\ndesired result.\n\nSpecifically this helps address issues b/c Nm and deas-erubis no\nlonger expect specific file extensions but take optional file\nextensions as arguments when looking up source files.  We want to\nhave the extension used to register the engine available to pass\nin when they look up source files.","distinct":false,"url":"https://api.github.com/repos/redding/deas/commits/3b0b0291a207e3d99f9c0e33d6a53dd0e19cc2a8"},{"sha":"3f23284a2e4b5ffa5a823f399b74ecb29928a3d5","author":{"email":"1ae6224804504b3fc03ce7710254958474dfd9a9@kellyredding.com","name":"Kelly Redding"},"message":"Merge pull request #206 from redding/kr-pass-ext-as-engine-opt\n\ntemplate source: pass ext as an option to registered engines","distinct":true,"url":"https://api.github.com/repos/redding/deas/commits/3f23284a2e4b5ffa5a823f399b74ecb29928a3d5"}]}