Merge pull request #794 from jee1mr/master

Submitting my first Goodie
master
Zaahir Moolla 2014-12-01 17:14:47 -05:00
commit a0e6278966
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,30 @@
package DDG::Goodie::IsAwesome::jee1mr;
#ABSTRACT: jee1mr's first Goodie
use DDG::Goodie;
zci answer_type => "is_awesome_jee1mr";
zci is_cached => 1;
name "IsAwesome jee1mr";
description "My first Goodie, it let's the world know that jee1mr is awesome";
primary_example_queries "duckduckhack jee1mr";
category "special";
topics "special_interest", "geek";
code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/IsAwesome/jee1mr.pm";
attribution github => ["https://github.com/jee1mr", "jee1mr"],
web => ['http://jeevanmr.com', 'Jeevan M R'],
twitter => "jee1mr";
triggers start => "duckduckhack jee1mr";
handle remainder => sub {
return if $_;
return "jee1mr is awesome and has successfully completed the DuckDuckHack Goodie tutorial!";
};
1;

19
t/IsAwesome/jee1mr.t Normal file
View File

@ -0,0 +1,19 @@
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use DDG::Test::Goodie;
zci answer_type => "is_awesome_jee1mr";
zci is_cached => 1;
ddg_goodie_test(
[qw(
DDG::Goodie::IsAwesome::jee1mr
)],
'duckduckhack jee1mr' => test_zci('jee1mr is awesome and has successfully completed the DuckDuckHack Goodie tutorial!'),
'duckduckhack jee1mr is awesome' => undef,
);
done_testing;