Commit Graph

14 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
rp4 06c32bc1d7 move constants outside handle 2014-12-14 17:08:22 +00:00
rp4 ea591c918f password length cap fix 2014-12-14 16:44:53 +00:00
Usman Raza df01b5fa36 add support for single argument 2014-11-24 17:08:36 +05:00
Matt Miller 84c14f7c20 Password: add structured answer.
Also, a nearly-complete rewrite to make it works as intended, while
still being easy to follow.
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
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 59d38a86fa add password 2014-07-24 16:13:54 -04:00