From 52accc5cfbf64d74fc6f9eeb6b0ed5863f4763c5 Mon Sep 17 00:00:00 2001 From: er0k Date: Sat, 11 Jul 2015 17:52:16 +0000 Subject: [PATCH] remove farts --- lib/DDG/Goodie/IsAwesome/er0k.pm | 21 ++++++++------------- t/IsAwesome/er0k.t | 4 ++-- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/lib/DDG/Goodie/IsAwesome/er0k.pm b/lib/DDG/Goodie/IsAwesome/er0k.pm index 9a5a10720..27b36a1c7 100644 --- a/lib/DDG/Goodie/IsAwesome/er0k.pm +++ b/lib/DDG/Goodie/IsAwesome/er0k.pm @@ -1,7 +1,5 @@ package DDG::Goodie::IsAwesome::er0k; -# ABSTRACT: Write an abstract here -# Start at https://duck.co/duckduckhack/goodie_overview if you are new -# to instant answer development +# ABSTRACT: er0k's goodie use DDG::Goodie; use strict; @@ -9,18 +7,15 @@ use strict; zci answer_type => "is_awesome_er0k"; zci is_cached => 1; -# Metadata. See https://duck.co/duckduckhack/metadata for help in filling out this section. +# Metadata name "IsAwesome er0k"; -description "wtf is this?"; -primary_example_queries "first example query", "second example query"; -secondary_example_queries "optional -- demonstrate any additional triggers"; -# Uncomment and complete: https://duck.co/duckduckhack/metadata#category -# category ""; -# Uncomment and complete: https://duck.co/duckduckhack/metadata#topics -# topics ""; +description "doin tutorials yup"; +primary_example_queries "duckduckhack er0k"; +category "special"; +topics "special_interest", "geek"; code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/IsAwesome/er0k.pm"; attribution github => ["https://github.com/er0k", "er0k"], - twitter => "er0k"; + twitter => ""; # Triggers triggers any => "duckduckhack er0k"; @@ -28,7 +23,7 @@ triggers any => "duckduckhack er0k"; # Handle statement handle remainder => sub { return if $_; - return "fart fart fart"; + return ":)"; }; 1; diff --git a/t/IsAwesome/er0k.t b/t/IsAwesome/er0k.t index 970126fc2..034745f7e 100644 --- a/t/IsAwesome/er0k.t +++ b/t/IsAwesome/er0k.t @@ -10,8 +10,8 @@ zci is_cached => 1; ddg_goodie_test( [qw( DDG::Goodie::IsAwesome::er0k )], - 'duckduckhack er0k' => test_zci('fart fart fart'), - 'duckduckhack GitHubUsername is awesome' => undef, + 'duckduckhack er0k' => test_zci(':)'), + 'duckduckhack er0k is awesome' => undef, ); done_testing;