Commit Graph

15 Commits (master)

Author SHA1 Message Date
Rob a3550be4c9 MakeMeASandwich: Each item in the array should be either a string or an object, it can't be an object containing text: string 2016-05-24 20:22:03 +01:00
Rob b8fda89aac MakeMeASandwich: Switching to raw text template! 2016-05-24 17:50:14 +01:00
Rob Emery 18f197d369 MakeMeASandwich: answer is a reserved data key; switching to result 2016-05-17 12:55:44 +01:00
Rob Emery 5272be68eb MakeMeASandwich: Template names are based on the IA id 2016-05-17 12:52:46 +01:00
Rob Emery ddad985859 MakeMeASandwich: Adding template 2016-05-16 21:48:40 +01:00
Rob Emery 2d841d77d4 MakeMeASandwich: Updating to template answer 2016-05-16 21:47:34 +01:00
Ben Moon 83b9bbd6b7 Fix newline at end of file 2016-05-16 14:19:39 +01:00
Ben Moon 5f85cf4121 Update Goodies to use Test::Deep
* Ensure Test::Deep is imported.

* Replace '-ANY-' with ignore()

* Replace regexes with re(...)
2016-05-16 14:07:57 +01:00
Matt Miller 3c22efc2e9 MakeMeASandwich: sudo use structured answer. 2014-11-15 21:33:00 +02:00
Matt Miller da70710f7d EOL: remove trailing whitespace. 2014-10-28 20:36:15 +02:00
Matt Miller 68fc7c8dec Set explicit caching everywhere.
This explicity sets the caching behavior for all goodies. Goodies which
did not have caching behavior set in their package have had it added.
Similarly for the tests.

This resulted in a number of changes for caching behavior, mostly
moving towards more frequent caching.

I identified three cases where goodies should not be cached. They are when
the result depends upon:

- some random element,
- the time of day or year (as with relative dates), or
- the location of the requesting user

In all other cases, I presumed that the goodies were sufficiently
deterministic in their output to warrant caching.
2014-09-27 10:35:17 -04:00
Matthew Ramina 7f4a6fef2a MakeMeASandwich: standardized source link, grammar 2014-02-12 17:36:33 -05:00
Matthew Ramina e9be8668f0 MakeMeASandwich: moved link to second line, lowercased, extraneous is_cached 2014-02-08 18:09:56 -05:00
Matthew Ramina 61c2dfe7b1 MakeMeASandwich: fix case with 0 2014-02-02 11:52:42 -05:00
Matthew Ramina ad1af09aeb Added MakeMeASandwich, an xkcd easter egg 2014-01-31 19:26:50 -05:00