Commit Graph

143 Commits (66adaeff0ff9bde341a3fc0204fe5a2f503245cb)

Author SHA1 Message Date
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
Jag Talon bf5922bd1c Merge pull request #524 from wilkox/convert_latlon
Add latitude/longitude conversion Goodie
2014-07-10 13:34:26 -04: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