Skip to content

Commit

Permalink
Setup spec env.
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Dec 3, 2010
1 parent 628e14e commit 5df5aaf
Show file tree
Hide file tree
Showing 4 changed files with 7,530 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/macruby_bugmash_bot.rb
@@ -1,2 +1,15 @@
$:.unshift File.expand_path("../../vendor/cinch/lib", __FILE__)
require "cinch"

bot = Cinch::Bot.new do
configure do |c|
c.server = "irc.freenode.org"
c.channels = ["#cinch-bots"]
end

on :channel, "hello" do |m|
m.reply "Hello, #{m.user.nick}"
end
end

bot.start
6 changes: 6 additions & 0 deletions lib/macruby_bugmash_bot/trac.rb
@@ -0,0 +1,6 @@
# RSS: http://www.macruby.org/trac/query?status=new&status=reopened&format=rss&col=id&col=summary&col=status&col=time&order=priority&max=1000

module Trac
def self.active_tickets
end
end

0 comments on commit 5df5aaf

Please sign in to comment.