<dominikh>
I'd suggest not storing the environment variable in a constant; it's quite possible to change env vars at runtime
<dominikh>
(same goes for the base url then, in turn)
<dominikh>
jonahR: that plugin is going to pretty much break if two people use it at the same time. I'm not sure why you're using instance variables there
<dominikh>
it'd probably make more sense to just return the struct/accept the struct as arguments, instead of storing it in that intermeddiate ivar
<jonahR>
thanks for the tip, I'll work on it soon. It was my first cinch plugin
<dominikh>
:)
<jonahR>
btw great work with Cinch I love it
<dominikh>
glad to hear that
Rennex_o1d has quit [Quit: Core meltdown]
sindork has quit [Read error: Connection reset by peer]
sindork_ has joined #cinch
sleetdrop has joined #cinch
sleetdrop has quit [Max SendQ exceeded]
sleetdrop has joined #cinch
waxjar has quit [Remote host closed the connection]
<ColdBlooder>
Anyone know what i should do with that? #<Twitter::Cursor:0xfa0ec0> lol
<ColdBlooder>
thats what i get from "followers = Twitter.followers()"
<ColdBlooder>
(Its refering to the authenticated user with no other twitter user specified)
<ColdBlooder>
*when
<waxjar>
.. this is #cinch. shoot the dev a message or better, look up the usage in the documentation. rubydoc.org has documentation for nearly any library
Spami has quit [Quit: This computer has gone to sleep]
vanamar has joined #cinch
<vanamar>
hello:) I'm trying to move from isaac to cinch, but I can't figure out how to auto +op users who join the channel
<dominikh>
on :join { |m| return if m.user == bot; m.channel.op(m.user) }
<vanamar>
awesome
<dominikh>
would be the minimal example, if not using the plugin api but the dsl
<vanamar>
minimal is fine with me
jonahR has joined #cinch
vanamar has quit [Quit: Lost terminal]
<nickrw>
are there any examples of combining rspec / other test framework with cinch?