Dylan Lloyd
c3eae2a012
refactor & add test cases
2013-08-16 15:50:15 -04:00
gsquire
91c64d7b3d
removed <<<HEAD code
2013-08-15 13:33:54 -07:00
gsquire
2c5a77348d
added in more natural queries
2013-08-15 13:31:16 -07:00
gsquire
1fa8219892
added in more natural queries
2013-08-15 13:27:02 -07:00
gsquire
b132dc1c2b
Update Week.pm
...
Changed regex to accept 1-4 not just 4 in the last option for the input.
2013-08-10 22:16:17 -07:00
gsquire
4a30847621
Added metadata and better test cases
2013-08-10 17:15:46 -07:00
gsquire
e72db7c2bc
My first plugin called Week.pm
2013-08-10 13:11:30 -07:00
Dylan Lloyd
21f4cbb94b
add then subtract -l/h, and don't sort rolls
...
discussion at (and closes)
https://github.com/duckduckgo/zeroclickinfo-goodies/issues/198
test case added
2013-08-08 15:12:33 -04:00
Hunter Lang
65d0499e25
sharkweek goodie
2013-08-05 18:49:50 -04:00
Dylan Lloyd
038fc15f5c
fix t/GUID.t mixup
2013-07-24 15:06:17 -04:00
Dylan Lloyd
2d7bcfbc4b
added module for comprehensive natural language support
2013-07-24 15:05:53 -04:00
John-Peter Etcheber
a49d65d103
Added support for natural language queries from 1-20.
...
Added 3 new tests to test file.
2013-07-23 20:26:35 -07:00
John-Peter Etcheber
0f93dd8b19
Merge remote-tracking branch 'remotes/origin/pr/206'
...
Updating to optimizations.
2013-07-23 19:14:17 -07:00
John-Peter Etcheber
4272a6f92e
Update POTUS.t
...
Getting update from branch pr/206
2013-07-23 19:04:39 -07:00
John-Peter Etcheber
f529a8b2e9
Update POTUS.pm
...
Getting changes from pr/206.
2013-07-23 19:02:51 -07:00
Dylan Lloyd
44e4c7b157
assorted updates to POTUS
...
moved the array outside of the handler
moved the wikipedia links to `https://`
urlencoded the link hrefs
added the trigger "president of the us"
reformatting for clarity. tests updated to match changes.
2013-07-23 13:35:54 -04:00
John-Peter Etcheber
2d2ad68a96
Update POTUS.t
...
Fixed test to account for linked HTML output.
2013-07-22 23:01:05 -07:00
John-Peter Etcheber
4f5e97ee88
Update POTUS.pm
...
Added link to wikipedia for given answer, included ordinal library, and optimized for maintenance (you just need to add a name to the array)
2013-07-22 22:58:04 -07:00
John-Peter Etcheber
9b6da3cda6
Create POTUS.t
...
Initial test file for goodie.
2013-07-19 19:46:17 -07:00
John-Peter Etcheber
cf868e7dfa
Update POTUS.pm
...
Putting back attribution info
2013-07-19 19:43:14 -07:00
John-Peter Etcheber
db26558852
Update POTUS.pm
...
Added support for "Who is N President of the United States?"
2013-07-19 19:40:24 -07:00
John-Peter Etcheber
7691b6bd81
Create Guid.t
2013-07-18 23:32:07 -07:00
John-Peter Etcheber
b32351285a
Create GUID.t
2013-07-18 23:31:12 -07:00
John-Peter Etcheber
a2505b65f3
Update POTUS.pm
...
Added comment to numeric check.
2013-07-18 23:27:14 -07:00
John-Peter Etcheber
ace05976e6
Update POTUS.pm
...
Added attribution and example queries.
2013-07-18 23:26:25 -07:00
John-Peter Etcheber
c71e62e725
Create POTUS.pm
2013-07-18 23:11:08 -07:00
John-Peter Etcheber
5333bc5071
removed GUID.t
2013-07-13 12:23:42 -07:00
Dylan Lloyd
f006d79ba1
added irc link to DDG, refactored goodie
2013-07-06 18:23:06 -04:00
Koosha Khajeh Moogahi
93b72d829b
RandomName: Add support for generating a random person
2013-07-01 00:50:19 +04:30
Dylan Lloyd
8c2bbdbed6
add solve trigger to calculator
2013-06-28 18:56:27 -04:00
Dylan Lloyd
6c89f5e9f9
fixed erroneous exit on zero value calculations
2013-06-28 17:45:24 -04:00
moollaza
c75b892d74
Calculator.pm, added trigger word. Small fix to Fibonacci attribution
2013-06-28 17:18:51 -04:00
Dylan Lloyd
48297fc42e
added international help lines & updated tests
...
for country in `perl ../zeroclickinfo-spice/lib/DDG/Spice/Zipcode.pm`;
do curl "http://www.befrienders.org/directory?country=$country " 2>/dev/null
| tee tmp
| egrep 'There are <strong>[1-9]\d* helplines' >/dev/null
|| continue;
foo="`
sed -nr 's/.*Helpline 1:<\/strong>\s+([-()0-9 ]+[0-9]).*/\1/p' tmp
| head -n1`";
[[ ! -z "$foo" ]]
&& perl -e "print uc \"$country\", ' => \'', \"$foo',\n\"";
done;
2013-06-26 16:05:18 -04:00
Dylan Lloyd
37443d3040
move replicated README info and point to duckduckgo readme
2013-06-24 19:39:01 -04:00
Dylan Lloyd
95282fdf0d
use Snow.t as Loc.API ex. & updated documentation
2013-06-24 19:25:51 -04:00
Dylan Lloyd
9aeabcf1b4
whoops, removed spice testing line
2013-06-24 18:00:45 -04:00
Dylan Lloyd
b8c08d2c9e
fixed tab/space mix on t/RouterPasswords.t
2013-06-24 17:28:06 -04:00
Dylan Lloyd
ee5ad5e742
update RouterPasswords inline documentation & readme
2013-06-24 16:57:06 -04:00
Dylan Lloyd
a2d2cd6c63
more comprehensive testing for HelpLine
2013-06-24 14:33:56 -04:00
Dylan Lloyd
71e012ce13
added triggers and skip list to HelpLine
2013-06-24 14:33:36 -04:00
Dylan Lloyd
1f1604e634
documented testing with the location API
2013-06-24 13:35:13 -04:00
Dylan Lloyd
662b0d856f
Merge branch 'pr/200'
2013-06-24 13:15:39 -04:00
Zaahir Moolla
a8d6788be9
Merge pull request #201 from koosha--/master
...
Tiny fix
2013-06-22 14:34:45 -07:00
Koosha Khajeh Moogahi
ad065ddb49
Chess960: Fix primary example
2013-06-23 00:21:08 +04:30
Dylan Lloyd
76dfbebe23
quote test locations "just in case"
2013-06-21 17:20:03 -04:00
Dylan Lloyd
09719f5d77
test all query/location permutations and declare expected tests
2013-06-21 17:19:06 -04:00
Dylan Lloyd
ae66d35d8c
abstract helpline tests for geoip location based testing
2013-06-21 17:04:04 -04:00
Dylan Lloyd
8fda7647e3
wrote HelpLine test file
2013-06-21 16:35:10 -04:00
Dylan Lloyd
485787b6fe
refactor HelpLine for easy expansion
2013-06-21 16:34:59 -04:00
Dylan Lloyd
1ee565fd84
rename Helpline HelpLine
2013-06-21 16:34:32 -04:00