public
Description: An extensible bot for the Campfire web-based chat system #crc
Homepage:
Clone URL: git://github.com/timriley/campfire-bot.git
some more ideas and fixes listed.
timriley (author)
Mon Nov 24 03:52:53 -0800 2008
commit  b16767b67bd2804ef6c83f171d3495dec68d353d
tree    fdce923edc88288db9b8da7fc0f415c3f51a70b4
parent  03bee4daba0ecdaafc9f8d327d65a4b1476de5a7
0
...
 
 
 
 
1
2
3
...
23
24
25
 
 
 
 
 
26
27
28
29
30
 
31
32
33
...
1
2
3
4
5
6
7
...
27
28
29
30
31
32
33
34
35
36
37
38
 
39
40
41
42
0
@@ -1,3 +1,7 @@
0
+- add chronic integration for interval-based events: at_time("every day at 9am", :method_name)
0
+
0
+- per-plugin config files (inside a config-specific dir) - best not to pollute a single YAML file.
0
+
0
 - get it to work with the newest version of mechanize.
0
 
0
 /opt/local/lib/ruby/gems/1.8/gems/timriley-tinder-1.1.9/lib/tinder/mechanize_ext.rb:6: undefined method `set_headers' for class `WWW::Mechanize' (NameError)
0
@@ -23,11 +27,16 @@
0
 
0
 - need to catch timeout errors and do something sensible, like wait and retry the connection
0
 
0
+  http://www.google.com/search?q=ruby%20rescue%20Timeout::Error
0
+  http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/136555
0
+  http://jerith.livejournal.com/40063.html
0
+  http://rails.lighthouseapp.com/projects/8994/tickets/6-patch-activeresource-connection-should-rescue-from-timeout-error
0
+
0
 - need to catch no-network errors and return a sensible error message:
0
 
0
 /opt/local/lib/ruby/1.8/net/http.rb:560:in `initialize': Network is unreachable - connect(2) (Errno::ENETUNREACH)
0
 
0
-- plugins need callbacks, like on_join, bot_loaded, etc.
0
+- plugins need callbacks, like on_join, bot_loaded, etc. Especially one that is run whenever control+c is caught (for plugins to clean up)
0
 
0
 - multi-room support
0
 

Comments