summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
83fd5d3)
* few more tweaks preparing to release 0.9.9
+Fri Aug 05 23:55:20 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
+
+ * few more tweaks preparing to release 0.9.9
+
Thu Aug 04 23:03:30 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
* Improved ircd recognition of rfc2812.rb
Thu Aug 04 23:03:30 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
* Improved ircd recognition of rfc2812.rb
s.requirements << 'Ruby, version 1.8.0 (or newer)'
# s.files = Dir.glob("**/*").delete_if { |item| item.include?(".svn") }
s.requirements << 'Ruby, version 1.8.0 (or newer)'
# s.files = Dir.glob("**/*").delete_if { |item| item.include?(".svn") }
- s.files = FileList['lib/**/*.rb', 'bin/*', 'data/**/*', 'AUTHORS', 'COPYING', 'README', 'REQUIREMENTS', 'TODO', 'ChangeLog', 'INSTALL', 'Usage_en.txt', 'setup.rb'].to_a
+ s.files = FileList['lib/**/*.rb', 'bin/*', 'data/**/*', 'AUTHORS', 'COPYING', 'README', 'REQUIREMENTS', 'TODO', 'ChangeLog', 'INSTALL', 'Usage_en.txt', 'setup.rb'].to_a.delete_if {|item| item == ".svn"}
s.executables << 'rbot'
s.autorequire = 'rbot/ircbot'
s.executables << 'rbot'
s.autorequire = 'rbot/ircbot'
+++ /dev/null
-require 'webrick'
-
-class HttpPlugin < Plugin
- include WEBrick
-
-
- def initialize
- super
- @http_server = HTTPServer.new(
- :Port => 5555
- )
- @http_server.mount_proc("/") { |req, resp|
- resp['content-type'] = 'text/html'
- resp.body = "<html><head><title>rbot httpd plugin</title></head><body>"
- resp.body += "#{@bot.status} <br />"
- resp.body += "hello from rbot."
- resp.body += "</body>"
- raise HTTPStatus::OK
- }
- Thread.new {
- @http_server.start
- }
- end
- def cleanup
- @http_server.shutdown
- end
- def help(plugin, topic="")
- "no help yet"
- end
- def privmsg(m)
- end
-end
-
-plugin = HttpPlugin.new
-plugin.register("http")
--- /dev/null
+require 'webrick'
+
+class HttpPlugin < Plugin
+ include WEBrick
+
+
+ def initialize
+ super
+ @http_server = HTTPServer.new(
+ :Port => 5555
+ )
+ @http_server.mount_proc("/") { |req, resp|
+ resp['content-type'] = 'text/html'
+ resp.body = "<html><head><title>rbot httpd plugin</title></head><body>"
+ resp.body += "#{@bot.status} <br />"
+ resp.body += "hello from rbot."
+ resp.body += "</body>"
+ raise HTTPStatus::OK
+ }
+ Thread.new {
+ @http_server.start
+ }
+ end
+ def cleanup
+ @http_server.shutdown
+ end
+ def help(plugin, topic="")
+ "no help yet"
+ end
+ def privmsg(m)
+ end
+end
+
+plugin = HttpPlugin.new
+plugin.register("http")
hugs <who>
gives <who> some love
hugs <who>
gives <who> some love
+gives <who> a cookie
+slaps <who> heartily on the back
+tickles <who>
85 config
80 nick
80 nickserv
85 config
80 nick
80 nickserv
+70 action
+40 quiet
+40 talk
50 join
15 delquote
12 msginsult
50 join
15 delquote
12 msginsult
# setup.rb
#
# Copyright (c) 2000-2004 Minero Aoki
# setup.rb
#
# Copyright (c) 2000-2004 Minero Aoki