Commit Graph

211 Commits (883e16d6e4aecedc44cebd3e8e39d1e46d03289a)

Author SHA1 Message Date
Matt Miller dc15d8cb83 SunInfo: add new Instant Answer for sunrise/sunset. 2014-10-29 12:48:33 +02:00
Matt Miller da0a188af2 dist.ini: remove [Repository] plugin from list.
This conflict with the GitHubMeta plugin (which I unilaterally
decided was somehow "better" for this repository)
2014-10-29 12:18:26 +02:00
Matt Miller 0f0385770b dist.ini: EOLTests to Test::EOL 2014-10-28 20:53:14 +02:00
Matt Miller 56bda83001 dist.ini: add Test::EOL.
I am not sure why the release tests started running, but presuming we
care, we should have this module for them.
2014-10-28 19:02:08 +02:00
David Wilkins c32f316bb5 Merge remote-tracking branch 'upstream/master' into frequency_spectrum_plot 2014-10-25 16:41:01 +08:00
Rob Emery 6c254d6957 Conversions: Upgrading to 0.24 to support areas and volumes; adding tests to prove new units 2014-10-17 22:21:16 +01:00
Tommy Leung da1322ace8 Rewrote CUSIP goodie to take advantage of Business::CUSIP 2014-10-03 11:06:59 -04:00
Jag Talon 485a8810b6 Merge pull request #652 from duckduckgo/mwm/jalali
CalendarConversions: now with the Jalali calendar
2014-10-02 13:42:49 -04:00
Jag Talon e9eef2e046 Merge pull request #641 from mwmiller/vimparse
VimCheatSheet Updates,
2014-10-02 11:33:31 -04:00
Jag Talon f7dac3e20f Merge pull request #651 from duckduckgo/zaahir/unify-URIEscape
Unify use of URI::Escape (opt for XS everywhere)
2014-09-25 17:18:48 -04:00
Zaahir Moolla 680450f7b7 remove URI::Escape from dist, keeping URI::Escape::XS 2014-09-25 15:41:53 -04:00
Zaahir Moolla 57fdf3bf01 Replace ReleaseOnlyWithLatest with PromptIfStale 2014-09-25 18:48:54 +00:00
Ehsan Akhgari 6f1b8179ae Add support for conversion to/from the Jalali calendar 2014-09-20 17:17:17 -04:00
Matt Miller 5453b72ba6 Vim Cheat Sheet: update fetch and parse.
- Fetch from the live HTML site (http://vim.rtorr.com/)
- Combine fetch and parse, since the fetched files do not persist in the
  repository.
- Drop final table from live HTML as it points to translations.
- Do not append CSS to HTML, as it will now be included automatically.
- Add LWP::Simple dependency for fetch.
- Add List::MoreUtils dependency cause it's awesome.
2014-09-16 20:00:37 -04:00
NOMADY 57ec1fd4de Created a New Goodie Zodiac to calculate Star Sign 2014-09-12 07:56:53 -04:00
David Wilkins d6dbcdf103 Merge branch 'master' into frequency_spectrum_plot
Conflicts:
	lib/DDG/Goodie/FrequencySpectrum.pm
2014-09-06 12:36:59 +08:00
Rob Emery 44518a7823 BinaryLogic: Original version by @bpaschen 2014-08-30 21:50:28 +01:00
Zaahir Moolla dcc40ca09b Merge pull request #576 from duckduckgo/mintsoft/date_role
Unified Date Handling role
2014-08-28 17:15:38 -04:00
Matt Miller d5b222daf0 dist.ini: bump Math::Prime::Util version
The change to `divisors` in #599 is not present in older versions of
MPU. Previous installaions might not be upgraded if this is not bumped.

`0.43` is known working.
2014-08-21 08:06:09 -04:00
Rob Emery 73b808d063 Merge branch 'master' into mintsoft/date_role 2014-08-20 20:44:20 +01:00
Matt Miller 7f14010a46 Merge pull request #574 from duckduckgo/zaahir/fliptext-utf8
simplify FlipText Goodie using Text::UpsideDown
2014-08-20 12:25:22 -04:00
Rob Emery 1a0a66bb82 Merge branch 'master' into mintsoft/date_role 2014-08-15 20:50:14 +01:00
Matt Miller 9b45531bfb 00-roles.t: use MockTime for relative time testing.
In order to maintain clean code for actual use, we're not doing time
injection here.
2014-08-15 08:37:05 -04:00
jagtalon 75e00ed0c8 TravisCI: duckpan DDG fails with old version of autodie.
utf8::all bails out when autodie is < 2.11. Adding cpanm autodie will pull in the latest version and duckpan DDG should work for Perls 5.1 and 5.16 then.
2014-08-14 19:54:13 +00:00
Matt Miller 691f19aef9 dist.ini: use proper comment style.
Oops!
2014-08-14 10:11:39 -04:00
Matt Miller 280a5c404d DatesRole: be more resilient in the face of adversity.
- Settle on `undef` as a signal for failure.
- Maintain regex in a `state` variable.
- Return undef if it doesn't match our regex.
- Don't die if its still unparseable.

Also, add Test::Most and Try::Tiny to `dist.ini` just to give
@jagtalon something to do this week. :D
2014-08-10 14:52:59 -04:00
Matt Miller 7fdb44dd5e dist.ini: version syntax fix. 2014-08-10 10:43:18 -04:00
Rob Emery 53a58afec6 DatesRole: Adding DateTime::Format::HTTP to dist.ini 2014-08-09 22:16:46 +01:00
moollaza 874be8d5d6 Add Text::UpsideDown to dist.ini 2014-08-08 15:45:10 +00:00
Jag Talon 984b7524ee Merge pull request #565 from mwmiller/fat_binary
Binary: expand to converting 64-bit decimal integers.
2014-08-01 13:31:16 -04:00
Matt Miller 24b149e97f Binary: expand to converting 64-bit decimal integers.
This uses Bit::Vector rather than presuming anything about the perl
support for 64-bit ints. This seems safer, even if it's a smidge slower.

This fixes issue #564 with test demonstrating such.
2014-07-29 09:02:30 +08:00
Rob Emery 4d01dfcb53 Conversions: Fixing issue #552 2014-07-25 22:02:31 +01:00
David Wilkins 99bd0c59fc Merge branch 'master' into frequency_spectrum_plot
Conflicts:
	dist.ini
2014-07-13 15:05:56 +08:00
Jag Talon bf5922bd1c Merge pull request #524 from wilkox/convert_latlon
Add latitude/longitude conversion Goodie
2014-07-10 13:34:26 -04:00
David Wilkins 9002611a8e Add visual to FrequencySpectrum Goodie 2014-07-06 16:35:59 +08:00
Jag Talon 85dca5499d Merge pull request #487 from nishanths/master
add HTML Entity Code answer module and test file
2014-07-02 15:20:12 -04:00
Jag Talon a95aa3d76e Merge pull request #519 from mwmiller/colorcodes
ColorCodes: eliminate NBS_ISCC sub dictionaries from lookups.
2014-07-01 08:41:00 -04:00
Jag Talon 320a607b6e Merge pull request #501 from gdrooid/md5
Added MD5 IA and it's tests.
2014-07-01 06:34:54 -04:00
David Wilkins ad93b9ad90 Add latitude/longitude conversion Goodie 2014-07-01 17:20:38 +08:00
nishanths 4ce982f8ed resolve merge conflicts
in dist.ini
2014-06-30 21:54:19 -07:00
Jag Talon 82ec048d78 Merge pull request #480 from wilkox/chinese_zodiac
Add Chinese Zodiac goodie
2014-06-30 16:35:16 -04:00
Matt Miller 015107ec37 ColorCodes: eliminate NBS_ISCC sub dictionaries from lookups.
By their own documentation, the NBS submodules contain idiosyncratic
color names which are not well-suited to a general purpose color code
search.

In particular, NBS_ISCC::M contains a color called 'email' which caused
a confusing result for 'HTML email'.

The main NBS colors are included because they seem reasonable enough as
color names.

This fixes #490 and possibly partially addresses #454 and #442, I guess.

Also includes some testing ideas from @mintsoft.
2014-06-28 19:10:37 +08:00
nishanths ff2b66274f add URI::Escape::XS dist.ini 2014-06-24 20:40:13 -07:00
gdrooid 6667cb44f8 MD5: Updated dependencies. 2014-06-25 01:10:58 +02:00
gdrooid f42a522d2c MD5: Added depencencies to dist.ini 2014-06-23 23:53:59 +02:00
Jag Talon 5f44c574b4 Merge pull request #359 from larseng/master
Adding FIGlet support.
2014-06-19 16:03:57 -04:00
David Wilkins 9139b9d215 Merge remote-tracking branch 'upstream/master' into chinese_zodiac 2014-06-19 11:36:22 +08:00
jagtalon 5cb0f137de TravisCI: Add libmpfr-dev to the dependencies. 2014-06-12 23:12:34 +00:00
David Wilkins 15d416052a Add Chinese Zodiac goodie 2014-06-08 14:11:33 +08:00
Rob Emery eae18c6d83 Conversions: Upgrading Convert::Pluggable to 0.021 and adding regression tests 2014-05-25 18:00:12 +01:00
Matt Miller ded674b938 dist.ini: Add YAML to Prereqs.
Even though it is implicitly required (at present) for duckpan, being
explicit makes it clear that we are actually using it in local code.
Still, we'd rather not make it depend on a particular version, so as
not to conflict (or bloat.)  YAML is pretty stable, so this should
be fine.

Also remove a no-longer-required `use YAML` from the ZappBrannigan
Goodie.
2014-05-10 12:07:40 +08:00
Rob Emery 13cd9c9e14 Conversions: Adding Convert-Pluggable to 0.020 and adding test using ms 2014-05-07 22:54:16 +01:00
Jag Talon dc20aca06f Updated Convert::Pluggable. 2014-04-17 10:37:58 -04:00
Rob Emery c846a5348d Merge branch 'master' of git://github.com/elohmrow/zeroclickinfo-goodies into mintsoft/conversions
Conflicts:
	lib/DDG/Goodie/Conversions.pm
	t/Conversions.t
2014-04-16 22:40:26 +01:00
elohmrow de406a0edb Merge branch 'master' of https://github.com/duckduckgo/zeroclickinfo-goodies 2014-03-31 16:29:14 +00:00
elohmrow df6d3911dd re-factored Conversions goodie to use Convert::Pluggable 2014-03-25 00:45:29 +00:00
Michael Smith 8123cf4718 not apache 2_0_2_0.
good job, me.
2014-03-24 13:07:54 -06:00
Michael Smith 4a62f62639 Update license -> Apache2 2014-03-24 12:48:23 -06:00
Michael Smith a8693c0e59 Update license 2014-03-24 12:10:54 -06:00
elohmrow 11a8def379 . 2014-03-23 14:13:44 +00:00
elohmrow 79c2e611e5 fixing ParseCron merge conflict 2014-03-23 13:33:08 +00:00
Lars Jansøn Engvik 6b80f162ca Adding Text::FIGlet to dist.ini. Also sets output width, fixes a leading whitespace bug and fixes a bug in the fonts-grep. 2014-03-10 20:25:32 +00:00
Rob Emery ea842653ba Conversions: Readding Date::Leapyear = 1.72 2014-03-06 22:09:43 +00:00
Rob Emery 70e1995089 Merge branch 'master' into mintsoft/conversions 2014-03-05 23:02:50 +00:00
Jag Talon dafa99a881 Merge pull request #354 from kablamo/locale-codes
Upgraded to Locale::Codes v3.30
2014-03-05 10:48:06 -05:00
Eric Johnson 96ee8d29c5 Upgraded to Locale::Codes v3.30
Made corresponding changes to CallingCodes.pm.
2014-03-03 20:10:09 -05:00
Jag Talon 7b2d55e4ad dist.ini: remove semicolon at the end of the version number.
We get a warning about the semicolon when running `dzil build`. It's not supposed to be there.
2014-03-01 18:39:26 -05:00
Rob Emery 6b1cdb984c Merge branch 'conversions' of git://github.com/elohmrow/zeroclickinfo-goodies into mintsoft/conversions
Conflicts:
	lib/DDG/Goodie/Conversions.pm
2014-03-01 19:09:15 +00:00
Jag Talon 3aa15ac96d Merge pull request #284 from kablamo/calling_codes
Convert between international calling codes and countries and vice versa
2014-02-26 15:53:07 -05:00
elohmrow d414782aa7 more tests - check for not matching Inf, NaN, etc. 2014-02-25 14:00:18 +00:00
Rob Emery 78e2c6a4ef Merge branch 'conversions' of git://github.com/elohmrow/zeroclickinfo-goodies into mintsoft/conversions
Conflicts:
	lib/DDG/Goodie/Conversions.pm
	t/Conversions.t
2014-02-25 13:40:07 +00:00
elohmrow 09fccabcf8 some general fixes per @jagtalon 2014-02-24 2014-02-24 21:18:40 +00:00
Rob Emery 32a06ae4d8 Merge branch 'conversions' of git://github.com/elohmrow/zeroclickinfo-goodies into mintsoft/conversions 2014-02-23 21:15:38 +00:00
Jag Talon 0bd29e9b77 TravisCI: Add additional commands 2014-02-17 15:04:18 -05:00
Jag Talon 18a38b6de8 TravisCI: Specify the Perl versions that we want. 2014-02-17 14:52:53 -05:00
elohmrow d6c09726a4 add framework for N unit types 2014-02-15 17:36:30 +00:00
elohmrow 10f23a3013 add framework for N unit types 2014-02-15 17:23:38 +00:00
Michael Smith bb12adeb1e Merge pull request #303 from elohmrow/conversions
Adding conversions Goodie
2014-02-08 08:46:30 -07:00
Eric Johnson d9875e81bf rm Locale::Country. Update Locale::Codes version number 2014-02-08 10:54:26 +00:00
Eric Johnson 50ce562650 Use the latest version of Locale::Country; 2014-02-08 10:53:15 +00:00
Eric Johnson 645084135a Removed Number::Phone from dist.ini because I didn't end up using it. 2014-02-08 10:53:14 +00:00
Eric Johnson 50afa8a042 Convert between international calling codes and countries and vice versa 2014-02-08 10:53:14 +00:00
elohmrow a4ad0b8f76 dist.ini and removed old (no longer accurate) info tag 2014-01-30 04:23:18 +00:00
Rob Emery 298149e72f Merge pull request #236 from TopHattedCoder/leap_year
New leap year instant-answer
2014-01-29 11:28:48 -08:00
Torsten Raudssus f761f38838 Added ReleaseOnlyWithLatest 2013-12-10 02:37:12 +01:00
Jag Talon f1b6c2be58 Merge pull request #212 from mmattozzi/master
Mortgage/Loan calculator goodie
2013-12-06 10:27:16 -08:00
Jag Talon 14fca3ada6 Factors: Old Math::Prime::Util:all_factors not giving all factors.
Math::Prime::Util:all_factors version 0.26 (which we have in the dist.ini) had a different behavior from 0.34. So the tests failed. This should fix it.
2013-12-05 18:54:59 -05:00
Mike Mattozzi f078c4a08f Merging upstream changes 2013-11-19 20:28:34 -05:00
Tom Bebbington c8d7b78561 Included Date::Leapyear in dist.ini 2013-11-16 16:32:11 +00:00
Jag Talon 8a3ce6f0f6 Merge pull request #239 from duckduckgo/jag/improvement/tld-update
Update Email::Valid and Net::Domain::TLD in dist.ini
2013-11-08 05:37:34 -08:00
Jag Talon e0960a9895 Update Email::Valid and Net::Domain::TLD in dist.ini 2013-11-08 08:21:15 -05:00
Jag Talon 1762b6e034 Merge pull request #226 from seanheaton/master
A Goodie to extract IPv4 information encoded in Teredo tunnel IPv6 address
2013-11-06 18:05:22 -08:00
seanheaton ae20b5abfa A Goodie to extract IPv4 information encoded in Teredo tunnel IPv6 addresses 2013-10-14 12:03:14 -04:00
Mike Mattozzi 2935964d64 Adding international currency support 2013-09-28 17:17:13 -04:00
SteLim 13b9433826 added email validator 2013-09-13 23:00:00 +02:00
Dylan Lloyd 2d7bcfbc4b added module for comprehensive natural language support 2013-07-24 15:05:53 -04: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
Dylan Lloyd 9fbce25408 removed travis metainfo from dist.ini 2013-06-05 14:20:13 -04:00
SteLim 90ff6b5d11 added used module to dist.ini *grrr* 2013-05-25 03:23:38 +02:00
Michael Smith 942ef39742 Clean up bugs Perl 5.18 pointed out 2013-05-21 10:20:54 -06:00