public
Fork of halorgium/mephisto
Description: A refactored Mephisto that has multiple spam detection engines.
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/francois/mephisto.git
Added a couple of specifications for the Akismet engine, and how it 
interacts with the Akismet library.
francois (author)
Fri Feb 29 20:58:50 -0800 2008
commit  ccf92e6b7cf9bceb64ceff44cbf4e77820722127
tree    fa34d5a6f9f5145ad42a87bdf69e4b43f18691f3
parent  940af6ed7efa0cb5f1100dd5ba34e1a1b77fca24
...
24
25
26
27
 
28
29
30
...
44
45
46
47
 
48
49
50
...
24
25
26
 
27
28
29
30
...
44
45
46
 
47
48
49
50
0
@@ -24,7 +24,7 @@ module Mephisto
0
 
0
       protected
0
       def akismet
0
- @akismet ||= Akismet.new(options[:akismet_key], options[:akismet_url])
0
+ @akismet ||= ::Akismet.new(options[:akismet_key], options[:akismet_url])
0
       end
0
 
0
       def mark_comment(comment_type, site, request)
0
@@ -44,7 +44,7 @@ module Mephisto
0
       end
0
 
0
       def check_valid!
0
- raise Mephisto::SpamDetectionEngine::EngineNotConfigured unless self.valid?
0
+ raise Mephisto::SpamDetectionEngine::NotConfigured unless self.valid?
0
       end
0
     end
0
   end

Comments

    No one has commented yet.