Commit Graph

15 Commits (42d7e2d64909e6632167cc3ec557f3d4174467d7)

Author SHA1 Message Date
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
Zach Thompson 73d8f72fc0 Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
hemanth 0cc9581e41 Support +ve and -ve. 2015-12-07 04:56:48 +00:00
Rob Emery 3123d7856f BloodDonor: Adding Wikipedia source and CSS for the width on 'Only If No Rh(+) Found' 2015-07-11 10:02:59 +01:00
Rob Emery cf91666c52 BloodDonor: Switched to record template 2015-07-08 23:17:35 +01: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
Matt Miller ebd15f598a Move goodies to new styling mechanism.
- Rename 'style.css' to appropriate ID-based name.
- Remove explicit inclusion of CSS, as it will now be auto-included.
- Update tests which explicitly checked for styling.
2014-09-10 17:28:30 -04:00
Rob Emery 92af0024b4 BloodDonor: Updating tests with regex to match new output 2014-06-22 20:24:50 +01:00
Rob Emery 30be0ca3e8 Blood: Ensuring output is consistently upper case 2014-06-02 20:34:52 +01:00
Rob Emery 8ca1ebfd66 Blood: Updating tests with styling 2014-05-08 22:05:09 +01:00
Rob Emery 207aa849c8 BloodDonor: Fixing massive bug with case sensitivity 2014-04-17 20:19:57 +01:00
Rob Emery 08d475d398 BloodDonor: addressing @jagtalon's feedback around the hashes, now case insensitive etc 2014-04-16 23:05:44 +01:00
Çağatay Çallı f7db5a13d8 revised Blood Donor goodie according to feedback 2014-03-15 02:12:20 -04:00
Çağatay Çallı c8f390f780 Blood Donor goodie 2013-11-14 10:00:38 -05:00