dominikh1 changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.0.6
<dominikh>
dyoung522: fwiw, before you release the storage thing ping me and I'll cut a new release from maint, so that the Storage stuff is gone and you can depend on the new version
daturkel has joined #cinch
daturkel has left #cinch [#cinch]
Spami has quit [Quit: This computer has gone to sleep]
<dyoung522>
cool, will do. hacking on it now, in fact
<dyoung522>
I'd say it's about 85% complete.
<dominikh>
cool
<dominikh>
just don't finish it today
jonahR has joined #cinch
BaRkLeYPuPPerz is now known as GainsFritz
padraig has joined #cinch
<padraig>
hi I'm having a hard time making a simple bot just echo back what I'm typing in
<padraig>
I want to do something like on :message "hello (.+)" do |m, term|
<padraig>
but when I try to m.reply term it doesn't work
v0n has quit [Ping timeout: 240 seconds]
<dominikh>
padraig: you'll have to show me more than "doesn't work" ;)
<padraig>
you are right :) I think fatigue is the problem
<padraig>
I fixed my own issue
<padraig>
just now as a matter of fact
<dominikh>
ah, cool
<padraig>
thanks for replying anyway :)
<padraig>
I appreciate it
<dominikh>
hehe, no problem
padraig has quit [Quit: padraig]
rickmasta has joined #cinch
rickmasta has quit [Quit: Leaving...]
space_ has joined #cinch
jonahR has quit [Quit: jonahR]
rickmasta has joined #cinch
framling has left #cinch [#cinch]
rickmasta has quit [Quit: Be back later]
rickmasta has joined #cinch
space_ has quit [Ping timeout: 260 seconds]
kludge` has quit [Ping timeout: 264 seconds]
kludge` has joined #cinch
rickmasta has quit [Quit: Leaving...]
rickmasta has joined #cinch
rickmasta has quit [Quit: Leaving...]
space has joined #cinch
postmodern has quit [Quit: Leaving]
postmodern has joined #cinch
space has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
v0n has joined #cinch
GainsFritz has left #cinch [#cinch]
Spami has joined #cinch
Spami has quit [Changing host]
Spami has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
<dyoung522>
so... having a slight issue I'm not sure how to best solve. So, in my Cinch::Extension::Storage module, I don't have access to the local 'bot' variable. I'm not sure how to put my module in the same scope.
<dyoung522>
I can pass in bot, but I don't like that requirement, and really all I need 'bot' for is bot.config
<dyoung522>
waxjar: how did you solve that?
<waxjar>
i made it a mixin, which you'll mix in to a Cinch::Plugin
<dyoung522>
hmm
<dyoung522>
is there any other way to access bot.config?
<dyoung522>
I'm trying to keep this gem as agnostic as possible. So it could be used for other projects (possibly). That may be too lofty a goal.
<dyoung522>
though I've already got Cinch specifics in there.
<dyoung522>
My plan was to maybe remove the cinch requirement, but obviously it needs to work with cinch still too.
<waxjar>
you can do that and write a small wrapper for Cinch
<dyoung522>
that's what I was just thinking.
<dyoung522>
this may be a dumb question, but how do you make a mixin?
<dyoung522>
s/a/it a/
<dyoung522>
oh, nevermind... I see the include
<dyoung522>
I missed it when I scanned your code
sleetdrop has joined #cinch
<waxjar>
:)
sleetdrop has quit [Quit: Computer has gone to sleep.]
<dyoung522>
I thought maybe cinch had some built-in method for it.
<dyoung522>
working great, except for the configuration aspects.
Spami has joined #cinch
Spami has quit [Changing host]
Spami has joined #cinch
rickmasta has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
rickmasta has quit [Quit: Leaving...]
postmodern has joined #cinch
rickmasta has joined #cinch
Spami has joined #cinch
<dyoung522>
so, yeah, minor change. I decided to refactor cinch-storage into it's own gem called 'NoSequel'. I'll then write a cinch-storage gem which wraps that into Cinch. This way I can use NoSequel in other projects as well.
<dyoung522>
the name is either a) clever or b) stupid. You can decide for yourselves. ;-)
<dyoung522>
since it provide a NoSQL interface for Sequel