Commit Graph

12 Commits (240961711e98072160e6030607ccb760ab4d4697)

Author SHA1 Message Date
Rob Emery 56c5ea4a5e Goodies: Enabling `use strict` on all goodies 2015-02-22 20:09:29 +00:00
Chris Wilson e8e994a337 Update Case for Passphrase, Password, PigLatin, RandomNumber, Reverse, ReverseComplement 2015-01-09 19:05:46 +11:00
jagtalon 981538c7c1 Attribution updates!
The string in index 1 should be the name of the developer. This allows us to group them together, i.e., we need a way to group the attribution by people.
2015-01-07 18:24:47 +00:00
Matt Miller 200988a929 RandomNumber: add structured answer. 2014-11-15 21:33:00 +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 4dc3c8cb14 RandomNumber: add ABSTRACT. 2014-08-30 14:31:50 -04:00
jagtalon 81c24b7b05 Merge branch 'master' into jag/format
Conflicts:
	lib/DDG/Goodie/Password.pm
	lib/DDG/Goodie/RandomNumber.pm
2014-08-25 20:01:16 +00:00
Matt Miller 5481cf4ebc Fix minor code layout issues.
Reducing scroll spam from dzil by:

- Providing ABSTRACTs for all packages.
- Leaving VERSION vertical space where necessary.

Addresses #600 plus other annoyances in the process.
2014-08-20 14:45:33 -04:00
jagtalon f90bd04fef Format CalcRoots, Password, and RandomNumber.
- Fix mixed line endings.
- Convert tabs to spaces.
2014-08-18 21:53:55 +00:00
jdorweiler 42982b1daf update tests and remove zci type => E 2014-08-12 16:38:50 -04:00
jdorweiler 83b7dfe322 added metadata 2014-07-25 16:46:33 -04:00
jdorweiler 958bac3df6 add RandomNumber 2014-07-24 15:55:49 -04:00