3 spec = Gem::Specification.new do |s|
5 #### Basic information.
10 A modular ruby IRC bot.
12 s.description = <<-EOF
13 A modular ruby IRC bot specifically designed for ease of extension via plugins.
16 s.requirements << 'Ruby, version 1.8.0 (or newer)'
18 #### Which files are to be included in this gem? Everything! (Except .svn directories.)
20 s.files = Dir.glob("**/*").delete_if { |item| item.include?(".svn") }
22 #### C code extensions.
24 # s.require_path = '.' # is this correct?
25 # s.extensions << "extconf.rb"
27 #### Load-time details: library and application (you will need one or both).
28 s.autorequire = 'rbot/ircbot'
30 s.rdoc_options = ['--include', 'lib', '--exclude',
31 '(post-config.rb|rbotconfig.rb)'
32 '--title', 'rbot API Documentation', '--main', 'lib/rbot/ircbot.rb',
35 #### Author and project details.
37 s.author = 'Tom Gilbert'
38 s.email = 'tom@linuxbrit.co.uk'
39 s.homepage = 'http://linuxbrit.co.uk/rbot/'
40 s.rubyforge_project = 'rbot'