mdedetrich has quit [Quit: Computer has gone to sleep.]
lsegal has joined #ruby-lang
woollyams has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
krohrbaugh has joined #ruby-lang
hashkey has quit [Quit: Leaving]
ledestin has quit [Quit: ledestin]
lfox has joined #ruby-lang
ssb123 has joined #ruby-lang
poga has joined #ruby-lang
joshuawscott1 has joined #ruby-lang
joshuawscott has quit [Read error: Connection reset by peer]
kurko_ has joined #ruby-lang
mdedetrich has joined #ruby-lang
Domon has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
testirc has joined #ruby-lang
testirc has quit [Client Quit]
jwoods has joined #ruby-lang
jwoods has quit [Client Quit]
jwoods has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
jwoods has quit [Client Quit]
nevill has joined #ruby-lang
vlad_starkov has joined #ruby-lang
krohrbaugh has joined #ruby-lang
jwoods has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
vlad_starkov has quit [Ping timeout: 264 seconds]
Radagast has quit [Quit: Leaving]
rickruby has joined #ruby-lang
cads has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
Guest6856 has joined #ruby-lang
Guest6856 is now known as diegoviola
rickruby has quit [Ping timeout: 264 seconds]
dernise__ has joined #ruby-lang
esad has quit [Quit: Computer has gone to sleep.]
esad has joined #ruby-lang
dernise_ has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
esad has quit [Client Quit]
rickruby has joined #ruby-lang
nertzy has joined #ruby-lang
fedesilva has quit [Remote host closed the connection]
banister`sleep has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
nertzy has quit [Quit: This computer has gone to sleep]
fedesilva has joined #ruby-lang
gianlucadv has quit [Ping timeout: 260 seconds]
thepumpkin has quit [Remote host closed the connection]
mistym has joined #ruby-lang
nathanstitt has joined #ruby-lang
fedesilv_ has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
fedesilva has quit [Ping timeout: 256 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
hahuang61 has quit [Ping timeout: 256 seconds]
mdedetrich has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
gianlucadv has joined #ruby-lang
pothibo has quit [Quit: pothibo]
mdedetrich has quit [Quit: Computer has gone to sleep.]
tanema has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
pkrnj has quit [Quit: Computer has gone to sleep.]
lfox has quit [Quit: ZZZzzz…]
pkrnj has joined #ruby-lang
shinnya has quit [Ping timeout: 264 seconds]
hahuang61 has joined #ruby-lang
ssb123 has quit [Read error: Connection reset by peer]
ssb123 has joined #ruby-lang
face has quit [Read error: Connection reset by peer]
face has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
mdedetrich has quit [Quit: Computer has gone to sleep.]
diegoviola has quit [Ping timeout: 240 seconds]
mdedetrich has joined #ruby-lang
thepumpkin has joined #ruby-lang
fedesilv_ has quit [Remote host closed the connection]
nevill has quit [Ping timeout: 256 seconds]
kurko_ has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby-lang
arooni-mobile has joined #ruby-lang
towski has joined #ruby-lang
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
JohnBat26 has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
Domon has quit [Ping timeout: 276 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
tanema has joined #ruby-lang
tanema has quit [Ping timeout: 264 seconds]
joshuawscott1 has quit [Read error: Connection reset by peer]
tomzx_mac has quit [Ping timeout: 268 seconds]
joshuawscott has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 245 seconds]
Guest23754 has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
thepumpkin has quit [Remote host closed the connection]
mdedetrich has quit [Quit: Computer has gone to sleep.]
Guest23754 is now known as diegoviola
woollyams has quit [Ping timeout: 252 seconds]
woollyams has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
Cakey has joined #ruby-lang
jwoods has quit [Quit: Leaving.]
vlad_starkov has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 268 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
woollyams has quit [Ping timeout: 252 seconds]
woollyams has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
fosky has quit [Ping timeout: 240 seconds]
mdedetrich has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
roadt_ has joined #ruby-lang
Domon has joined #ruby-lang
cored has quit [Ping timeout: 240 seconds]
krohrbaugh has joined #ruby-lang
roadt has quit [Ping timeout: 264 seconds]
nneko001__ has joined #ruby-lang
kstuart has joined #ruby-lang
kstuart has quit [Read error: Connection reset by peer]
nevill has joined #ruby-lang
jammanbo has joined #ruby-lang
<jammanbo>
This is of no consequence, but out of interest is there an elegant way to turn an array into nil if it is empty, else the array? [1,2] => [1, 2], [] => nil.
kstuart has joined #ruby-lang
<jammanbo>
elegant to me in this case involves not referencing the input more than once
<jammanbo>
(explicitly)
roadt_ has quit [Ping timeout: 256 seconds]
roadt_ has joined #ruby-lang
jonahR has joined #ruby-lang
dc5ala has joined #ruby-lang
iliketurtles has joined #ruby-lang
iliketurtles has quit [Max SendQ exceeded]
iliketurtles has joined #ruby-lang
<ljarvis>
jammanbo: not without monkeypatching
cads has quit [Ping timeout: 276 seconds]
<jammanbo>
ljarvis: okay, thanks. Was just wondering if there was some concise hacky side-effect of some method that could be used but it's not important.
<ljarvis>
jammanbo: no, but I think result = arr.empty? ? nil : arr looks good enough
cads has joined #ruby-lang
<ljarvis>
you could also write result = arr unless arr.empty? and the nil assignment will be implicit
<jammanbo>
yeah, the latter works for me and does not offend the eyes. thanks!
wallerdev has quit [Quit: wallerdev]
diegoviola has quit [Quit: WeeChat 0.4.1]
Ch00k has joined #ruby-lang
barttenbrinke has joined #ruby-lang
vlad_starkov has joined #ruby-lang
barttenbrinke has quit [Ping timeout: 264 seconds]
<yorickpeterse>
You're leaving Twitter *AND* using Python?
<yorickpeterse>
Are you doing drugs?
<whitequark>
no ?
marr has joined #ruby-lang
<matti>
manveru: ;]
<yorickpeterse>
whitequark: you be crazy
nneko001__ has quit [Quit: Konversation terminated!]
Ch00k has quit [Quit: Ch00k]
<ddfreyne>
whitequark: What's up with leaving twitter?
* manveru
hasn't tweeted in years and still holds on to his account for auth
<whitequark>
ddfreyne: too much spent time for dubious result
<ddfreyne>
I only use it for tweeting, but I never read
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
<whitequark>
ddfreyne: /nick devzero
<ddfreyne>
I give bad advice, make paranoid and delusional tweets, puns, sarcastic statements, and in general I try to look as deranged as possible.
<ddfreyne>
Up to the point where people have told me this is really not good for my career, haha
workmad3 has quit [Ping timeout: 256 seconds]
<ddfreyne>
I love it. It's great.
<yorickpeterse>
What do you usually tell them, that you wrote the nanoc?
<yorickpeterse>
"BITCH, I WROTE THE NANOC *crosses arms*"
<ddfreyne>
Potential employers?
<ddfreyne>
Yeah nanoc is pretty much all I need to show
<yorickpeterse>
whitequark: meh, you'll be back ranting about JS sooner or later
<ddfreyne>
I haven't had proper time to work on nanoc lately though :(
<whitequark>
yorickpeterse: screw ranting
<yorickpeterse>
whitequark: haha, you know you can't resist
jsullivandigs has quit [Ping timeout: 264 seconds]
Cremno has joined #ruby-lang
<ddfreyne>
Yeah, nobody can resist ranting
<ddfreyne>
whitequark: I could rant about people who think they can stop ranting
<whitequark>
ddfreyne: if there's no way to talk, there's no way to rant.
<whitequark>
and I get extra productivity!
<ddfreyne>
whitequark: Measure your productivity and let me know how it turns out :P
<whitequark>
sudo -c 'for i in news.ycombinator.com reddit.com twitter.com; do echo "127.0.0.1 $i" >>/etc/hosts; done'
<whitequark>
ddfreyne: works really well for me.
<ddfreyne>
whitequark: I stopped reading Hacker News, Reddit, and any newspaper of any kind
<ddfreyne>
It is so much nicer.
<whitequark>
twitter is a kind of newspaper (to me)
<yorickpeterse>
whitequark: good thing there's still IRC
<ljarvis>
yeah without irc I wouldn't know of all your bitching
mdedetrich has quit [Quit: Computer has gone to sleep.]
nevill has quit [Quit: nevill]
Mon_Ouie has joined #ruby-lang
adambeynon has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
<manveru>
kids these days don't even know irc :(
<manveru>
they should teach it in kindergarten
<yorickpeterse>
"and this is where you go to if you want people to make fun of you"
Emmy has quit [Ping timeout: 276 seconds]
krohrbaugh has joined #ruby-lang
hahuang61 has quit [Ping timeout: 246 seconds]
sjltaylor has joined #ruby-lang
Kabaka has quit [Ping timeout: 240 seconds]
krohrbaugh has quit [Ping timeout: 240 seconds]
arBmind has joined #ruby-lang
bnagy has quit [Remote host closed the connection]
faces has joined #ruby-lang
face has quit [Ping timeout: 245 seconds]
Kabaka has joined #ruby-lang
benanne has joined #ruby-lang
<ljarvis>
yeah I showed my younger brother irc and he raged in about 5 minutes
<ljarvis>
hasn't been on since
<yorickpeterse>
That's because he's not enough of a Uniks wizard to understand the true power of IRC
ledestin has joined #ruby-lang
<ljarvis>
"IRC will make you a REAL man"
<yorickpeterse>
it makes people transgender?
<ljarvis>
har
<ljarvis>
"IRC will make you hate yorickpeterse"
<yorickpeterse>
you don't need IRC for that
nneko001__ has joined #ruby-lang
<ljarvis>
:D
<ljarvis>
god damn you SOAP
ben__ has joined #ruby-lang
ben__ has left #ruby-lang [#ruby-lang]
bnagy has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
<andrewvos>
did someone say sOAP
Emmy has joined #ruby-lang
<yorickpeterse>
Somebody is feeling dirty
<yorickpeterse>
Gah, getting Jenkins to work properly with RVM is a bish
<yorickpeterse>
it has an RVM plugin but that one doesn't work with running shell scripts since all the stuff is lost
<andrewvos>
That sounds like a fools errand
<yorickpeterse>
"sudo: sorry, you must have a tty to run sudo" WHY SUDO? WHAT
<ljarvis>
andrewvos: ya soap :(
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
<yorickpeterse>
LOLOLOL JENKINS
<yorickpeterse>
I load Ruby 1.9.3
<yorickpeterse>
but instead it loads 1.8.7
<yorickpeterse>
MAKES TOTAL SENSE
roadt_ has joined #ruby-lang
<joonty>
yorickpeterse: yeh it's a real pain. I've managed to get a working config, and I DON'T EVER WANT TO TOUCH IT
<yorickpeterse>
I literally have this line that does `source $(rvm blablabla 1.9.3)` and it somehow loads 1.8 instead
<joonty>
i think it took me about 40 broken builds and a lot of lost hair to get rvm sourcing the right thing with jenkins
vlad_starkov has quit [Ping timeout: 240 seconds]
<yorickpeterse>
wtf, it tries to install Gems system wide
<yorickpeterse>
ugh, time to enable user installation
<joonty>
of rvm?
<joonty>
yeh, definitely the way to go
<yorickpeterse>
gah wtf, that's supposed to be the default anyway right?
* joonty
shrugs
<joonty>
mysteries of rvm, it's just a little bit too big now
<yorickpeterse>
ah derp
<yorickpeterse>
I was not in the rvm user group
<joonty>
heh
<yorickpeterse>
FFS
<yorickpeterse>
Now I removed myself from the wheel group
Ch00k has joined #ruby-lang
hahuang61 has joined #ruby-lang
<yorickpeterse>
I hate usermod's syntax
<joonty>
hmm, i heard it saying some pretty nasty things about you too :S
<yorickpeterse>
welcome to the club
<yorickpeterse>
Please get a ticket and wait in line
* joonty
gets a ticket
* joonty
waits in line
<yorickpeterse>
ok so the RVM Jenkins plugin is useless
<andrewvos>
jenkins is useless
<yorickpeterse>
oh shit, it finally installs my Gems
<yorickpeterse>
that only took 10 builds
<joonty>
andrewvos: :O
<joonty>
andrewvos care to expand?
<andrewvos>
"hey guys, we need a way to tell if our build is green" *goes off and builds an enterprise solution with xml
<andrewvos>
*
<joonty>
hehe yeh i can lose the xml
<yorickpeterse>
welcome to Java
<yorickpeterse>
XML oriented programming all the way
<joonty>
but it *can* do anything, it's just tricky to set up
<andrewvos>
you can lose pretty much every single feature of jenkins
<andrewvos>
a shell script can do anything
<joonty>
so can assembly
<andrewvos>
shell script is easier than jenkins
<andrewvos>
less painful
<andrewvos>
you can even write your script in RUBY
<andrewvos>
here's a novel idea, now your script can live in your repository!!
<joonty>
git polling, scheduling, build triggers?
<andrewvos>
loops, cron, code
<yorickpeterse>
enjoy re-inventing that all using a shitty shell script :)
<joonty>
and we use the web interface all the time
<yorickpeterse>
Instead of Jenkins and XML you'll end up having Bash and "nobody understands this"
<andrewvos>
what the hell for?
<andrewvos>
you use the web interface to remind you not to suck at UX?
<andrewvos>
yorickpeterse: See above, "RUBY"
krohrbaugh has joined #ruby-lang
<andrewvos>
how many clicks does it take to get the the ONLY IMPORTANT THING IN JENKINS, the build output?
<joonty>
andrewvos: that may be the only important thing for you, but to dismiss something as useless on that basis is crazy
<joonty>
so, shell script works for you - that's great
<joonty>
but "jenkins == useless" is not a good conclusion
banister`sleep has joined #ruby-lang
<andrewvos>
well you haven't exactly provided any good uses have you? :)
<andrewvos>
brb relocating to the restaurant
<joonty>
ok, we use the UI to analyse our build trends
<joonty>
what? how is food more important than an argument that will never be resolved?? *rages out*
<joonty>
actually, we're well off topic from ruby now
* joonty
shuts up
krohrbaugh has quit [Ping timeout: 264 seconds]
mbj has joined #ruby-lang
<yorickpeterse>
This channel is hardly about Ruby since me and whitequark hijacked it (at least according to others0
lupine has quit [Ping timeout: 264 seconds]
<yorickpeterse>
"For a long time, Leroy Jenkins had only been known for his free jazz performances, with little to no attention to his composed work, when in 1992 the Soldier String Quartet and other musicians committed themselves to putting on a performance of Jenkins' compositions. "
<andrewvos>
joonty: This channel is about yorickpeterse and the things he dislikes
<yorickpeterse>
That's not the Jenkins I'm looking for
<andrewvos>
joonty: What would you possibly want build trends for?
tehroflmaoer has quit [Read error: Operation timed out]
<joonty>
andrewvos: we use it for code analysis. How long do the tests take, and how does that change over time? Which projects are the most stable, and which have the highest failure rates?
<andrewvos>
joonty: Why is that important?
<joonty>
We also run code metrics for every build, and we track the changes in the important stats
<joonty>
simply, project quality
<joonty>
if our test suite is taking too long then we need to optimise
<joonty>
if a change introduces a big jump in the time that it takes to run the suite then there's obviously something wrong with that test
Senjai has quit [Read error: Operation timed out]
<andrewvos>
joonty: heh
<andrewvos>
joonty: there's a simple solution to your problem there :)
<andrewvos>
joonty: and it's not jenkins
<joonty>
probably, but that's one of the things we use it for
<joonty>
there's a solution for all of those problems together, and it's jenkins
<andrewvos>
Is there a word for when someone explains how stupid someone else is but gets all the grammar/spelling wrong
<andrewvos>
Like "get a brain moran"
<yorickpeterse>
" They think they live in India and worship the cow as a holy animal." wat
<andrewvos>
hahahaa
<andrewvos>
I don't even know
<andrewvos>
I just am at a loss for words
banister`sleep has left #ruby-lang [#ruby-lang]
banisterfiend has joined #ruby-lang
dernise__ has quit [Quit: Leaving]
<yorickpeterse>
read a dictionary
<banisterfiend>
yorickpeterse: i've noticed the dutch adulation of cows too :)
Dernise has joined #ruby-lang
<Dernise>
morning
ssb123_ has joined #ruby-lang
<banisterfiend>
lol @ 16: "They actaully think bright orange is fashionable." (true for dutch teenagers :P)
<andrewvos>
hahah
ssb123 has quit [Ping timeout: 245 seconds]
ssb123_ has quit [Remote host closed the connection]
<andrewvos>
yorickpeterse: Hey, why don't you go eat a 100g steak you savage
<yorickpeterse>
Because I'm at work and we don't have 100g steaks here
<andrewvos>
yorickpeterse: Hey you only have paprika and natural flavour chips
<yorickpeterse>
we don't?
<andrewvos>
BURN
<andrewvos>
yorickpeterse: You think cabbage and boiled patatoes' taste good
<banisterfiend>
haha "36.They only have paprika and natural flavour chips."
<andrewvos>
hahaha patatoes
nevill has joined #ruby-lang
<yorickpeterse>
andrewvos: you have David Cameron
<andrewvos>
Hey hey hey I'm not British
<yorickpeterse>
even worse, you're a filthy foreigner here to take all our jobs
<andrewvos>
indeed, I've got like seventeen of them now
joshuawscott has quit [Quit: Leaving.]
nevill has quit [Client Quit]
<banisterfiend>
does anyone know if smartphones have dynamic IP addresses or static ones?
<banisterfiend>
typically
<yorickpeterse>
dynamic
<yorickpeterse>
But it depends on the operator
<banisterfiend>
yeah i would have assumed dynamic too
<whitequark>
almost always dynamic
<whitequark>
also, roaming
<yorickpeterse>
joonty: so what do you use for RVM + Jenkins? It seems that it's a bit flaky to just use /usr/local/rvm/bin/rvm do XXXX in a build shell script
<yorickpeterse>
e.g. for Rbx that somehow fails and it reverts to system Ruby
<yorickpeterse>
which makes no fucking sense
<joonty>
yorickpeterse: i do actually use the rvm plugin, but it only worked after sacrificing 7 goats
ledestin has quit [Ping timeout: 264 seconds]
rwilcox has joined #ruby-lang
<joonty>
which was inconvenient
<yorickpeterse>
joonty: wat, I can't seem to get that to work with the shell build steps
<yorickpeterse>
Also, I don't think that plugin can do matrix builds
<joonty>
so i check "run the build in a RVM-managed environment"
<joonty>
then in the shell, the first step is
<joonty>
oh wait ignore that
pipework has joined #ruby-lang
<joonty>
damn i can't remember how I got it working
<yorickpeterse>
haha
ledestin has joined #ruby-lang
<joonty>
i think it had more to do with the system config than the jenkins config
<joonty>
useful, I know :D
breakingthings has joined #ruby-lang
joast has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
<banisterfiend>
yorickpeterse: i must be becoming dutch as i only bother getting paprika flavored chips too :) Wish we had them back in NZ
agile has quit [Remote host closed the connection]
<yorickpeterse>
You should get the salty/sour/whatever one
<banisterfiend>
i overdosed on those as a kid, can't stand them anymore...
julweber has joined #ruby-lang
<yorickpeterse>
yeah
<Dernise>
to reopen a stdin in a pipe, do I have to reopen it in the reader or writer ? ( I would do in the reader by instinct )
tomzx_mac has quit [Ping timeout: 245 seconds]
agile has joined #ruby-lang
julweber has quit [Remote host closed the connection]
<banisterfiend>
whitequark: btw has anyone tried to implement coffeescript style hash destructuring for ruby? are there any technical hurdles that prevent this?
<ledestin>
Dernise: in a pipe?
pothibo has joined #ruby-lang
mikleog has quit [Read error: Connection reset by peer]
tonni has quit [Remote host closed the connection]
arooni-mobile has quit [Ping timeout: 256 seconds]
sjltaylo_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ssb123 has joined #ruby-lang
<Dernise>
Well
vlad_sta_ has quit [Remote host closed the connection]
thebastl has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
maxmanders has quit [Ping timeout: 240 seconds]
Kero has quit [Ping timeout: 268 seconds]
alphadog0309 has joined #ruby-lang
krohrbaugh has joined #ruby-lang
pumper has quit [Read error: Connection reset by peer]
thepumpk_ has quit [Remote host closed the connection]
maxmanders has joined #ruby-lang
<whitequark>
yes, that's annoying
<ljarvis>
PEW PEW PEW
Banistergalaxy has joined #ruby-lang
<erikh>
more like "dns query dns query dns query"
GeissT has quit [Quit: MillBroChat AdIRC User]
<ljarvis>
:/
<ljarvis>
dont be that guy
<erikh>
what
<erikh>
what guy
<ljarvis>
the guy who says "more like x" than "PEW PEW PEW"
<erikh>
damnit I've got a reputation to uphold here
<erikh>
haha
<andrewvos>
:)
<yorickpeterse>
I wonder how much of the ddos is thanked to nerds hitting F5 like mad
<spike|spiegel>
it's all of it
<yorickpeterse>
"GIMME MY CODE ALREADY"
<spike|spiegel>
or someone's pet sat on a keyboard, and then, even got a bit restless, and kaboom, avalanche!
mistym has quit [Remote host closed the connection]
jxie has quit [Quit: leaving]
_AJ has joined #ruby-lang
maxmanders has quit [Ping timeout: 276 seconds]
rippa has quit [Read error: Connection reset by peer]
fedesilva has quit [Read error: Connection reset by peer]
maxmanders has joined #ruby-lang
fedesilva has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
volty has quit [Quit: Konversation terminated!]
Kero_ has joined #ruby-lang
relix has joined #ruby-lang
jonahR has quit [Quit: jonahR]
thepumpkin has joined #ruby-lang
bungoman has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
apeiros has quit [Remote host closed the connection]
ssb123 has quit [Remote host closed the connection]
jwoods has joined #ruby-lang
mbj has joined #ruby-lang
sush24 has quit [Ping timeout: 245 seconds]
hackeron has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
sush24 has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
Cakey has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
iliketur_ has joined #ruby-lang
lfox has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mbj has quit [Read error: Connection reset by peer]
mbj has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
ssb123 has joined #ruby-lang
mbj has quit [Read error: Connection reset by peer]
hackeron has joined #ruby-lang
Pupeno has quit [Ping timeout: 264 seconds]
minivan has quit [Ping timeout: 264 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
tonni has joined #ruby-lang
relix has joined #ruby-lang
mistym has quit [Quit: Leaving]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
towski has quit [Remote host closed the connection]
lfox has quit [Quit: ZZZzzz…]
tylersmith has joined #ruby-lang
sush24 has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
sonicpond has joined #ruby-lang
hahuang61 has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
mbj has joined #ruby-lang
fedesilva has quit [Remote host closed the connection]
lfox has joined #ruby-lang
mbj has quit [Read error: Connection reset by peer]
arBmind has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has joined #ruby-lang
MaddinXx has quit [Remote host closed the connection]
slash_quit is now known as slash_nick
lfox has quit [Client Quit]
mbj has joined #ruby-lang
__butch__ has joined #ruby-lang
mbj has quit [Read error: Connection reset by peer]
barttenbrinke has joined #ruby-lang
julweber has quit [Remote host closed the connection]
<andrewvos>
hehe
Asher1 has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
Asher has quit [Ping timeout: 245 seconds]
iliketur_ has quit [Quit: zzzzz…..]
dhsmith_ has quit [Ping timeout: 256 seconds]
Asher1 has quit [Ping timeout: 240 seconds]
arBmind has quit [Quit: Leaving.]
fedesilva has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
ilyam has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
hahuang61 has joined #ruby-lang
towski has joined #ruby-lang
fosky has quit [Ping timeout: 245 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
Asher has joined #ruby-lang
mbj has joined #ruby-lang
fedesilv_ has joined #ruby-lang
anonymuse has quit [Read error: Connection reset by peer]
fedesilva has quit [Ping timeout: 240 seconds]
rippa has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
krohrbaugh has quit [Read error: Connection reset by peer]
nneko001__ has quit [Quit: Konversation terminated!]
cored has joined #ruby-lang
apeiros has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<naquad>
could somebody please enlight me why the f*** bundler tries to install dependencies system-wide while in gemrc there's --user-install?
Asher has quit [Quit: Leaving.]
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
sjltaylor has joined #ruby-lang
sjltaylor has quit [Client Quit]
joshuairl has quit [Quit: joshuairl]
Pupeno has quit [Ping timeout: 240 seconds]
twinklerock has joined #ruby-lang
julweber has joined #ruby-lang
iliketur_ has joined #ruby-lang
<_tockitj>
naquad, are you running it as root ?
<naquad>
_tockitj, nvm. found BUNDLE_PATH
<naquad>
that fixed the problem
rippa has quit [Ping timeout: 248 seconds]
pkrnj has joined #ruby-lang
relix has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
julweber has quit [Remote host closed the connection]
brixen has quit [Ping timeout: 245 seconds]
rippa has joined #ruby-lang
maxmanders has joined #ruby-lang
mbj has quit [Read error: Connection reset by peer]
mbj has joined #ruby-lang
brixen has joined #ruby-lang
mbj has quit [Read error: Connection reset by peer]
Cakey has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby-lang
gregmoreno has joined #ruby-lang
havenwood has joined #ruby-lang
hahuang61 has quit [Quit: WeeChat 0.4.1]
hahuang65 has joined #ruby-lang
FlyingLeap_ has left #ruby-lang [#ruby-lang]
adambeynon has quit [Ping timeout: 240 seconds]
duggiefresh has joined #ruby-lang
FlyingLeap has joined #ruby-lang
robbyoconnor has quit [Excess Flood]
matled has quit [Write error: Broken pipe]
matled has joined #ruby-lang
robbyoconnor has joined #ruby-lang
rippa has quit [Read error: Connection reset by peer]
DarkBushido has quit [Remote host closed the connection]
<yorickpeterse>
wohoo new router
<yorickpeterse>
and it works wonders, I can finally use 11n on this laptop
tylersmith has quit [Remote host closed the connection]
alexclark has joined #ruby-lang
iliketur_ has quit [Ping timeout: 268 seconds]
tylersmith has joined #ruby-lang
vlad_starkov has joined #ruby-lang
beersssss has joined #ruby-lang
anonymuse has joined #ruby-lang
hashkey has joined #ruby-lang
iliketur_ has joined #ruby-lang
tylersmith has quit [Ping timeout: 240 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
joshuairl has joined #ruby-lang
pothibo has joined #ruby-lang
alexclark has left #ruby-lang [#ruby-lang]
vlad_starkov has quit [Ping timeout: 276 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
relix has joined #ruby-lang
Asher has joined #ruby-lang
Ch00k has joined #ruby-lang
towski has quit [Remote host closed the connection]
shinnya has joined #ruby-lang
joshuawscott1 has joined #ruby-lang
towski has joined #ruby-lang
cads has joined #ruby-lang
joshuawscott has quit [Ping timeout: 256 seconds]
gregmoreno has quit [Remote host closed the connection]
<retro|cz>
Is there any way how to stubs all class methods with mocha?
<retro|cz>
like ReservationMailer.expects(anything).returns(stub(deliver: true))
banisterfiend has joined #ruby-lang
<banisterfiend>
yorickpeterse: when is the next ruby meetup in amsterdam?
joshuawscott has joined #ruby-lang
joshuawscott1 has quit [Ping timeout: 240 seconds]
iliketur_ has quit [Quit: zzzzz…..]
<yorickpeterse>
20th
<ljarvis>
retro|cz: stub_everything, you dont want expects, that makes no sense
<retro|cz>
ljarvis, but I can't yuse it for my class, it is stub_everything is undefined on that class
<retro|cz>
ljarvis, but I can't use it for my class, stub_everything is undefined on that class
<ljarvis>
retro|cz: I don't see the benefit to using ReservationMailer at all if you're not specifically checking methods that exist
vlad_starkov has joined #ruby-lang
<ljarvis>
seems to me like stub_everything should replace ReservationMailer
<retro|cz>
but reservation mailer is not used in test, it is called in code I'm testing so I can't change this to another class
<ljarvis>
he doesn't need to be another class, but why does it need to be a ReservationMailer if you're stubbing all the methods and returning a new stub anyway
<ljarvis>
it*
<ljarvis>
(fwiw I hate mocha and think it should die a horrible death)
<retro|cz>
ljarvis, that's not my choice :)
gregmoreno has joined #ruby-lang
gregmoreno has quit [Remote host closed the connection]
<ljarvis>
what about stub_everything(klass)
<ljarvis>
are there really that many methods being called that you cant cover them all?
<ljarvis>
and even have assertions for them
rwilcox has joined #ruby-lang
iliketur_ has joined #ruby-lang
workmad3 has joined #ruby-lang
<retro|cz>
ljarvis, 9 methods
<ljarvis>
retro|cz: so you expect for when the applicable methods are being called?
<ljarvis>
use*
maxmanders has joined #ruby-lang
<ljarvis>
ie in rspec I would write expect(ReservationMailer).to receive(:foo) { double(deliver: true) }
<retro|cz>
you mean receive(:anything) ?
<ljarvis>
no, I would actually add the method I would be expecting the mailer to use during this test
<ljarvis>
that's what it's there for
anonymuse has quit [Remote host closed the connection]
drftgyu has joined #ruby-lang
anonymuse has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
barttenbrinke has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
<retro|cz>
I need just stub. Don't send any mail in test (and don't resolve mail template, because it is saved in DB and I don't want to hit DB or mock every template).
ruby-lang474 has joined #ruby-lang
<ljarvis>
why do you need this, then, unless your structure is somewhat odd
s1kx has joined #ruby-lang
drftgyu has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Remote host closed the connection]
maxmanders has quit [Quit: Computer has gone to sleep.]
pkrnj has quit [Quit: Computer has gone to sleep.]
joshuairl has quit [Quit: joshuairl]
adambeynon has joined #ruby-lang
Asher has quit [Quit: Leaving.]
loincloth has joined #ruby-lang
ruby-lang474 has quit [Quit: Page closed]
havenwood has quit [Remote host closed the connection]
mbj has joined #ruby-lang
saarinen has quit [Quit: saarinen]
towski has quit [Remote host closed the connection]
thebastl has quit [Quit: Ex-Chat]
postmodern has joined #ruby-lang
mbj has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
bungoman has quit [Ping timeout: 264 seconds]
MaddinXx_ has joined #ruby-lang
mbj has joined #ruby-lang
banisterfiend is now known as banister`sleep
<darix>
retro|cz: you could mock out the template request and provide some static templates?
<retro|cz>
darix, yup, but I solved it.
<retro|cz>
I need only one stub, not all methods.
sjltaylor has joined #ruby-lang
bungoman has joined #ruby-lang
alphadog0309 has quit [Remote host closed the connection]
mistym_ has joined #ruby-lang
mistym_ has quit [Remote host closed the connection]
mistym is now known as mistym_lunch
Nisstyre-laptop has joined #ruby-lang
maxmanders has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
bungoman has quit [Remote host closed the connection]
bungoman has joined #ruby-lang
saarinen has joined #ruby-lang
krohrbaugh1 has quit [Quit: Leaving.]
krohrbaugh has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
Ch00k has quit [Quit: Ch00k]
mbj has quit [Read error: Connection reset by peer]
<chris2>
it states my feeling towards emacs pretty well
<zenspider>
tell me if you get 1 or 2 line result
Banistergalaxy has joined #ruby-lang
<zenspider>
mine is 2... and they're not consed ... which is odd
<zenspider>
and if I look at the code. I can't see where the hell it is happening
<zenspider>
odder still... if you setq the call. you only get the latter , which is just nil
richardburton has quit [Quit: Leaving.]
<chris2>
i ned some require first?
<zenspider>
(require 'package)
<zenspider>
if it isn't automatically
<chris2>
i can check when i'm at home, takes 20min
<zenspider>
fuck. I think I just found it. the melpa package has advice on that function and it prints for some reason. wtf.
<chris2>
heh
<zenspider>
chris2: no rush. thanks.
* chris2
doesnt use any packaging thingy
<zenspider>
I'm working on a package manifest to make it cleaner / easier to have package lists under version control... but not needing the packages themselves
<chris2>
but then i use perhaps 3 .el not in the system
<zenspider>
which 3?
<chris2>
i.e. in my .emacs.d
<chris2>
elscreen, sr-speedbar, go-mode
<zenspider>
is your emacs setup viewable anywhere? I'd love to poke
<chris2>
the latter has been upstreamed now i guess
<zenspider>
I've never gotten the hang of elscreen