dominikh changed the topic of #cinch to: The IRC Framework | http://groups.google.com/group/cinch-ruby/ | Latest version: Cinch 2.0.3 – Change log at http://bit.ly/Oqu9Eu – Migration guide at http://bit.ly/GO4qkW | This channel is being publicly logged at http://irclog.whitequark.org/cinch/
<Dann2> lol
Dann2 has quit [Remote host closed the connection]
Dann1 has joined #cinch
Dann1 has quit [Remote host closed the connection]
Dann1 has joined #cinch
<Dann1> Okay, I have my Bottesque at #botwise for testing and feedback
<Dann1> Also, its only command so far is !network
<Dann1> Because I lack of ideas and ruby is annoying me
<dominikh> Hm, I doubt you'll get many testers from here :) (Especially if there's only one command). This is the channel for the Cinch IRC library, so most folks you'll meet here are either asking or answering questions that are specific to Cinch.
<Dann1> Thanks, I didn't know exactly what the purpose of this channel was for, since I got here from #freenode
<Dann1> Also: now it has !bacon
Dann2 has joined #cinch
Dann1 has quit [Ping timeout: 255 seconds]
<cout> bacon sounds good
<cout> is cinchrb.org down temporarily or for good?
<dominikh> for an extended period
<dominikh> until I whip out more money for RAM :)
<waxjar> you could host on a free heroku tier
<waxjar> or is there too much traffic?
<dominikh> lol, no there isn't, but I definitely won't use heroku ;)
<waxjar> why not?
<dominikh> a) I don't like them b) I don't have full control over them c) last time I used them, it got irrecoverably stuck
<dominikh> d) next time cinchrb.org goes up, it won't be running on Ruby
<waxjar> ah ok.
<waxjar> i find them a… cinch (badum tsshhh) to use :P
<dominikh> heh.
<dominikh> I prefer to host my stuff on my own systems
Dann2 has quit [Quit: Dann2]
<waxjar> i can get that. i wouldn't know how to set it all up properly, tbh. i like the whole git-push-and-you're-done thing :P
<dominikh> hehe
<cout> what is heroku?
<dominikh> cloud hosting
<Cinchy> [URL] Heroku | Cloud Application Platform
<cout> are there any examples of how to unit test plugins?
<dominikh> maybe if you search github hard enough. some people try to do it
<cout> I got one working
<cout> seems like the sort of thing that should be supported out of the box though
<dominikh> patches welcome :)
<dominikh> well, semi welcome. I'm not much into testing, especially if it's as annoying as networked stuff
<cout> I've been digging though cinch source code most of the day
<cout> I'm not sure I see an easy way to dissociate the plugin from the rest of the bot
<dominikh> then you clearly know why testing certain aspects of its features is very annoying
<cout> testing is always hard to add on after the fact
<cout> ideally if the plugins were to be testable as a unit, as much code as possible would have to be moved out of plugin.rb, so the only thing left in there is the public interface
<dominikh> and that's where I think that testable code doesn't necessarily imply nice code :)
<dominikh> where exactly would you put it, when it in fact belongs there
<cout> I don't think it belongs there at all
<dominikh> then where would you put it?
<cout> well that's a complex question
<cout> I'm not prepared to answer in specifics, since I've only been working with the framework for a day
<dominikh> I remember your name from quite a while ago ;)
<cout> could have been a long while ago
<cout> have we met at a rubyconf?
<dominikh> few months
<dominikh> nope
<dominikh> we met here ;)
<cout> more likely in #ruby-lang
<cout> this is my first time in #cinch :)
<dominikh> hmm, apparently
<dominikh> which is weird, because I remember your name in the context of cinch and unit testing
<dominikh> must've been someone else I guess
<cout> maybe
<dominikh> maybe it was cerr :)
<dominikh> what testing framework is that?
<cout> rspec
<dominikh> hm, it's gotten uglier since I've last looked at it
<cout> could also be that I'm a rookie at rspec
<dominikh> well, last time I've seen it, there was no "eq" in that way
<dominikh> fwiw, I'd set @loggers to LoggerList.new instead of a logger that logs to /dev/null
<cout> why's that?
<dominikh> avoids having to open a file, doesn't break on Windows
<cout> what's Windows? :)
<dominikh> no idea, people keep mentioning it
<dominikh> personally I'm surprised Cinch even runs on Windows :)
<dominikh> but yeah, @loggers actually is a LoggerList by default, with a single element
<dominikh> (LoggerList and Logger have the same API though)
<cout> oic
<cout> you're suggesting making it an empty logger list
<dominikh> right
<cout> I can buy that
<dominikh> hehe
<cout> I think log4r has a better way to create a null logger but that was quick and dirty
<dominikh> we're not using log4r
<cout> but I was
<cout> your interface is similar enough that it actually worked
<dominikh> for testing plugins, it actually is, yeah.
<dominikh> well, unless your plugin causes an exception ;)
<cout> there's a good chance of that
<cout> my code is very exceptional :)
<dominikh> heh
postmodern has joined #cinch
postmodern has quit [Quit: Leaving]
postmodern has joined #cinch
Dann1 has joined #cinch
Bottesque has joined #cinch
Bottesque has quit [Read error: Connection reset by peer]
Dann2 has joined #cinch
Dann1 has quit [Ping timeout: 256 seconds]
Dann2 has quit [Ping timeout: 256 seconds]
three0three has joined #cinch
Dann1 has joined #cinch
<Dann1> Hello?
<Dann1> I installed the cinch gem already, and I'm going through the API, but I could use some help starting this.
<Dann1> Actually, nevermind. Found the Github readme.
postmodern has quit [Quit: Leaving]
Dann1 has quit [Quit: Dann1]
Dann1 has joined #cinch
literal has quit [Quit: Lost terminal]
literal has joined #cinch
<dominikh> Dann1: there are examples, too
<Dann1> I'm digging through them as we speak
<dominikh> great
<Dann1> :D got one working
Bottesque has joined #cinch
Bottesque has quit [Read error: Connection reset by peer]
Bottesque has joined #cinch
Bottesque has quit [Read error: Connection reset by peer]
Bottesque has joined #cinch
<Dann1> !cookies
<Bottesque> You can has cookies.
<Dann1> My wish has been fullfilled.
Bottesque has quit [Read error: Connection reset by peer]
<dominikh> Now fulfill my wish: No bots in this channel :) There's #cinch-bots for testing bots
<three0three> are there any examples in the documentation for the timer option?
<three0three> roger that, thanks!
<dominikh> :)
Bottesque has joined #cinch
Bottesque has quit [Read error: Connection reset by peer]
Dann1 has quit [Quit: Dann1]