Commit Graph

24 Commits (master)

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
tyasaka a2744b6c79 Minor tweaks.
Adjusted wording, added test cases.

 Changes to be committed:
	modified:   lib/DDG/Goodie/UltimateAnswer.pm
	modified:   t/UltimateAnswer.t
2016-02-07 23:14:32 +00:00
tyasaka 0b9f89a765 Changing query triggers/handle.
How does this look?

 Changes to be committed:
	modified:   lib/DDG/Goodie/UltimateAnswer.pm
	modified:   t/UltimateAnswer.t
2016-01-28 16:21:22 +00:00
tyasaka ead27a5a41 Some corrections.
Changes to be committed:
	modified:   lib/DDG/Goodie/UltimateAnswer.pm
	modified:   t/UltimateAnswer.t
2016-01-28 15:39:33 +00:00
tyasaka 4c00835e23 Added a template.
A few minor tweaks as well.

 Changes to be committed:
	modified:   lib/DDG/Goodie/UltimateAnswer.pm
	modified:   t/UltimateAnswer.t
2016-01-28 03:45:46 +00:00
tyasaka 8ba0794ac7 Further attempts at improvement.
How does this look? Does this go in the right direction?

 Changes to be committed:
	modified:   lib/DDG/Goodie/UltimateAnswer.pm
	modified:   t/UltimateAnswer.t
2016-01-27 05:15:21 +00:00
tyasaka c5f6e90a03 Just trying to expand the query space a bit. I didn't realize this goodie existed at first because I couldn't get it to trigger.
If you type in 'answer to' in DDG, the second suggestion is currently 'answer to life the universe and everything'.
And if you type this query into Google, it will output 42 as the answer. So I think it makes sense that the query should also trigger this goodie.

 On branch UltimateAnswer
 Changes to be committed:
	modified:   lib/DDG/Goodie/UltimateAnswer.pm
	modified:   t/UltimateAnswer.t
2016-01-26 14:50:34 +00:00
Chris Wilson 2f11d6cc76 Update Binary IA to Uppercase. Fix All Test Cases for Uppercase Changes. 2015-01-09 19:46:54 +11:00
Matt Miller 635c61335d UltimateAnswer: add strcutured answer. 2014-11-15 21:32:59 +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
Jason Feeney c8c3834f0f Merge branch 'master' of https://github.com/duckduckgo/zeroclickinfo-goodies into uafix
Conflicts:
	lib/DDG/Goodie/UltimateAnswer.pm
2014-09-15 20:50:52 -04:00
Jason Feeney a1a61f1409 Ultimate Answer - Fixed primary query 2014-09-15 18:05:11 -04:00
Matt Miller b7517fd6d9 UltimateAnswer: move from inline css 2014-09-10 17:28:30 -04:00
exoWM 2454317609 Fix tests 2014-09-02 22:17:51 +00:00
exoWM 88194ec282 Fix mistakes 2014-09-02 21:33:54 +00:00
exoWM 6c9097dd61 Merge branch 'master' of github.com:exowm/zeroclickinfo-goodies
Conflicts:
	lib/DDG/Goodie/UltimateAnswer.pm
	t/UltimateAnswer.t
2014-09-02 21:30:35 +00:00
exoWM ad644ffb8e Ultimate Answer Formatting 2014-09-02 21:25:38 +00:00
Jason d7f48f7099 Fix tests 2014-08-22 13:26:51 -04:00
Jason 74c093b7f1 Adding CSS 2014-08-22 13:08:58 -04:00
Jason 9969b0b881 Updated CSS 2014-08-22 12:42:29 -04:00
exoWM d96dc2cb85 Answering the ultimate question to life the universe and everything. 2014-08-21 21:11:55 +00:00