Zaahir Moolla
2588cc64ce
Merge pull request #2855 from marianosimone/Sloff/ChineseZodiac_Icons
...
Add Chinese zodiac icons (cont)
2016-06-22 10:55:20 -04:00
Mariano Simone
b2d4251ab6
Cleanup Chinese Zodiac IA
...
- Remove meta-data from code
- Simplify attribute passing
- Use interpolation instead of concatenation
2016-05-26 06:08:45 +00: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
ettienne
4b1084913f
Colors changed
2016-04-09 20:59:47 +00:00
ettienne
c614056215
Black to Slate
2016-04-09 20:59:47 +00:00
ettienne
abef6ef321
Background color changed
2016-04-09 20:59:47 +00:00
ettienne
adf5de1e05
Images added to Chinese zodiac
2016-04-09 20:59:47 +00:00
Zach Thompson
73d8f72fc0
Remove id/name from Perl modules and tests
2016-03-18 11:49:33 -06:00
ettienne
f2ca72235b
Name changed
2015-07-24 07:12:36 +00:00
ettienne
7c879e90e0
Icons removed
2015-07-24 07:09:46 +00:00
ettienne
721f836ea3
Date format changed
2015-07-23 09:33:02 +00:00
ettienne
93491ed506
Output and tests altered
2015-07-22 10:41:53 +00:00
ettienne
ed516071ec
Templates used and icons added
2015-07-21 14:10:52 +00:00
Rob Emery
fcb90eee02
Chinese Zodiac: Adding support for plural vague terms
2014-10-10 19:58:08 +01:00
Matt Miller
1df8a6c5bc
Merge branch 'master' into mwm/explicit_caching
...
Conflicts:
lib/DDG/Goodie/Hijri.pm
t/Hijri.t
2014-10-03 15:56:01 +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
Matt Miller
22108e0161
ChineseZodiac: improve test readability a bit.
...
- Switch out \x{2013} for literal en-dash, since the file is UTF8
- Switch out \s for literal space for easier reading.
2014-09-14 14:46:07 -04:00
Matt Miller
518189eaa4
ChineseZodiac: expand trigger space with DatesRole.
...
This allows for entering specific dates which will be parsed into
DateTime objects for use in the calculation.
Also, switch to the DDH-standard format for the output date strings.
2014-09-14 14:17:18 -04:00
David Wilkins
769f3cab88
Add additional triggers (variations on shēngxiào)
2014-06-23 18:46:03 +08:00
David Wilkins
f73dd0721e
Stricter filtering of date queries
2014-06-21 11:15:25 +08:00
David Wilkins
6244a1ada7
Add stricter filters on year
2014-06-21 09:57:48 +08:00
David Wilkins
c2dacdb4ab
Restrict supported year range
2014-06-13 11:32:24 +08:00
David Wilkins
ba75a487b0
Don't trigger when user is looking for general information
2014-06-08 17:25:59 +08:00
David Wilkins
11a80af77a
Handle last/this/next year
2014-06-08 17:05:42 +08:00
David Wilkins
15d416052a
Add Chinese Zodiac goodie
2014-06-08 14:11:33 +08:00