This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Infobot.pm.orig 2012-03-18 09:13:26.000000000 -0700 | |
+++ Infobot.pm 2012-03-18 09:29:08.000000000 -0700 | |
@@ -14,6 +14,58 @@ | |
eval { require XML::Feed }; | |
our $HAS_XML_FEED = $@ ? 0 : 1; | |
+our %AUXILLARY_VERBS = ( | |
+ "am" => { tense => 'present' }, | |
+ "are" => { tense => 'present' }, | |
+ "aren't" => { tense => 'present', negative_of => "are" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Bot::BasicBot::Pluggable::Module::Infobot; | |
{ | |
$Bot::BasicBot::Pluggable::Module::Infobot::VERSION = '0.96'; | |
} | |
use strict; | |
use warnings; | |
use base qw(Bot::BasicBot::Pluggable::Module); | |
use Data::Dumper; | |
use LWP::UserAgent (); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extend ThinkingSphinx::ActiveRecord::ClassMethods | |
class << self | |
attr_accessor :sphinx_index_blocks | |
def set_sphinx_primary_key(attribute) | |
@sphinx_primary_key_attribute = attribute | |
end | |
def primary_key_for_sphinx |
NewerOlder