<diegoviola>
never really liked how bloated/complicated rvm was and not sure i like the shims approach of rbenv either, i'll give chruby a try now, looks simple enough
<zenspider>
finally bit the bullet and figured out why autotest was not working quite right with minitest 5
<zenspider>
Nilium: thanks for filing the issue. really... it's more important than trying to fix it
<Nilium>
Well I found a temporary fix for me, but it's almost guaranteed to not be a good solution.
skade has quit [Quit: Computer has gone to sleep.]
<Nilium>
Namely just modifying the build_paragraph method to jam a space in between lines.
<Nilium>
Aside from that, it'd probably take me a while to work through rdoc's source to figure out how it works before finding an actual solution
poga has quit [Remote host closed the connection]
TvL2386 has joined #ruby-lang
<zenspider>
zzak: I wrote tenderlove about your PR
<zzak>
:D
<zzak>
i can wait, he is busy in REDACTED
<zenspider>
Nilium: I wouldn't bother. it'll take drbrain about 30 seconds to hone in on it
<Nilium>
He just absorbs the brains.
<zzak>
Nilium: the problem is #build_paragraph
<zzak>
see: "skip :NEWLINE"
<zzak>
around line 180
<Nilium>
I was sort of staring at that, but eh
relix has joined #ruby-lang
saarinen has quit [Quit: saarinen]
Senjai has quit [Ping timeout: 240 seconds]
<zzak>
h
<Nilium>
Looks like just removing that and adding an || type == :NEWLINE might also fix it.
<zzak>
could you write a test?
<Nilium>
Let me check.
<zzak>
are you sure this is valid tomdoc?
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
<Nilium>
Descriptions that span multiple lines? Yes.
<Nilium>
http://tomdoc.org ← See the largest example under the "Description Section" .. section.
<Nilium>
That said, rdoc doesn't adhere entirely to tomdoc in the first place.
<zzak>
yeah
<zzak>
it seems like there are already tests for this
<zzak>
but only in tokenize
<Nilium>
Yeah, anyway, my solution fails several tests, so that's no good.
<zzak>
tomdoc is not heavily tested
<zzak>
only tokenize like i said
<erikh>
hi freinds
<zzak>
i may have a failing test
<Nilium>
My problem is mostly that I don't know exactly what correct output should look like for a Document/Paragraph.
<zzak>
i will commit this test
<zzak>
and see let eric sort it out
<zzak>
Nilium: done
havenwood has joined #ruby-lang
<zzak>
zenspider: たこやきかめん has answered
<zzak>
i am sleepy おやすみなし
arooni-mobile has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
iliketurtles has joined #ruby-lang
apeiros has joined #ruby-lang
tonni has quit [Remote host closed the connection]
poga has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 240 seconds]
spuk has joined #ruby-lang
dagobah has joined #ruby-lang
poga has quit [Remote host closed the connection]
poga has joined #ruby-lang
skade has joined #ruby-lang
thebastl has joined #ruby-lang
tonni has joined #ruby-lang
poga has quit [Remote host closed the connection]
poga has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
relix has quit [Ping timeout: 264 seconds]
spike|spiegel has quit [Quit: WeeChat 0.4.1]
mdedetrich has quit [Quit: Computer has gone to sleep.]
relix has joined #ruby-lang
iliketurtles has joined #ruby-lang
hhatch has joined #ruby-lang
mistym has quit [Remote host closed the connection]
ffio has joined #ruby-lang
<matti>
zzak: Its おやすみなさい if you want to say good night.
<matti>
;]
spike|spiegel has joined #ruby-lang
majjoha has joined #ruby-lang
solars has joined #ruby-lang
mdedetrich has joined #ruby-lang
vlad_starkov has joined #ruby-lang
arBmind has joined #ruby-lang
skade has quit [Ping timeout: 240 seconds]
dagobah has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
vlad_starkov has quit [Ping timeout: 264 seconds]
postmodern has joined #ruby-lang
JohnBat26 has joined #ruby-lang
hahuang61 has quit [Read error: Connection reset by peer]
dagobah has joined #ruby-lang
hahuang61 has joined #ruby-lang
hogeo has quit [Read error: Connection reset by peer]
hogeo has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
cads has quit [Ping timeout: 276 seconds]
thebastl has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
vlad_starkov has joined #ruby-lang
poga has quit [Remote host closed the connection]
maxmanders has joined #ruby-lang
dc5ala has joined #ruby-lang
rshetty has joined #ruby-lang
geson has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby-lang
poga has joined #ruby-lang
rshetty has quit [Quit: Sleeping]
saarinen has joined #ruby-lang
ledestin has joined #ruby-lang
joonty_ has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
joonty has quit [Ping timeout: 248 seconds]
hashkey_ has joined #ruby-lang
hashkey_ has quit [Remote host closed the connection]
hashkey_ has joined #ruby-lang
hashkey has quit [Killed (holmes.freenode.net (Nickname regained by services))]
hashkey_ is now known as hashkey
rshetty has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.1]
barttenbrinke has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has quit [Changing host]
tonni has quit [Remote host closed the connection]
barttenbrinke has quit [Remote host closed the connection]
stef_204 has joined #ruby-lang
thebastl_ has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
rshetty has quit [Ping timeout: 245 seconds]
barttenbrinke has joined #ruby-lang
rshetty has joined #ruby-lang
Voker57 has joined #ruby-lang
thebastl has quit [Ping timeout: 248 seconds]
poga has quit [Remote host closed the connection]
poga has joined #ruby-lang
poga has quit [Remote host closed the connection]
marr has joined #ruby-lang
poga has joined #ruby-lang
JohnBat26|2 has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 260 seconds]
arBmind has joined #ruby-lang
thebastl_ has quit [Remote host closed the connection]
<zenspider>
I'm adding duplication in order to get more uniformity
dc5ala has quit [Quit: Ex-Chat]
ffio has quit [Ping timeout: 248 seconds]
richardburton has quit [Ping timeout: 248 seconds]
<zenspider>
causes me a bit of pain
kirin` has joined #ruby-lang
FastJack has quit [Ping timeout: 245 seconds]
zmike1234 has joined #ruby-lang
elia has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
<Dernise>
Is rubinius popular?
sascha_d has quit [Quit: obai]
<joonty>
Dernise: not on the level of mri or jruby, but possible the next most popular
<joonty>
*possibly
<Dernise>
Before JRuby?
<joonty>
after i think
<Dernise>
I mean is it safe to use it? Will this project be maintained in the futur?
geson has quit [Quit: Leaving.]
<joonty>
it won't be going away any time soon, but you can never guarantee future maintenance of any project
<joonty>
Dernise: what's your situation? Why are you thinking of rubinius?
<Dernise>
joonty: In need a real thread implementation.
<Dernise>
Despite the Ruby community's love for process-based solutions, I prefer using threads :-)
<dbussink>
Dernise: just try it
<joonty>
Dernise: I'd say that it depends on how much risk you can allow. Obviously we want everything to work perfectly, but there are some apps that will demand more stability than others
<joonty>
but you can find bugs in mri, jruby and rubinius equally, so I agree with dbussink
<zenspider>
equally???
FastJack has joined #ruby-lang
<joonty>
zenspider: not probability wise, but in reality
vlad_starkov has quit [Read error: Connection reset by peer]
* zenspider
blinks
<joonty>
i mean that nothing is perfect, so you always have the risk of finding a bug
<byteminister>
then I have a class where i include MyModule
<byteminister>
I want that class to have the module methods
jonahR has joined #ruby-lang
<byteminister>
MyClass.module_m
<byteminister>
but it gives me the undefined method error when I try to call it on MyClass
warnabas has quit [Ping timeout: 264 seconds]
<byteminister>
Oh, I think i figured it out
<byteminister>
i need to override the self.included(o) method on my module
<byteminister>
and have another module in MyModule
barttenbrinke has joined #ruby-lang
<byteminister>
then i can call o.extend(AnotherModlue) in the included
Domon has quit [Ping timeout: 245 seconds]
<byteminister>
module NeoBridge; #some constants in here; def self.included(o); o.extend(ClassMethods); end; module ClassMethods ; #some class methods in here ; end ; end
<byteminister>
this should do the trick I think
MaddinXx_ has joined #ruby-lang
<realDAB>
byteminister: or just extend MyClass with MyModule, if MyModule consists of methods you want on that class object
<byteminister>
yes, realDAB, maybe I'm overcomplicating things
cchaudier has joined #ruby-lang
c_chaudier has joined #ruby-lang
cchaudier has quit [Client Quit]
banisterfiend has quit [Remote host closed the connection]
ruby-lang018 has quit [Quit: Page closed]
ledestin has quit [Quit: ledestin]
jmeeuwen has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
cchaudier has joined #ruby-lang
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<byteminister>
but in ruby, I would advise to stop thinking in threads, but in processes. What can each process do for you. For instance lets say you are reading a file in one process, then this process sends the message to another processs and looks if the word is in dictonary..
<Dernise>
I get it now
<byteminister>
lookup on messaging and queues
<byteminister>
rabbitMQ is one solution, there are others
barttenbrinke has quit [Ping timeout: 256 seconds]
tkuchiki has joined #ruby-lang
<joonty>
Dernise: yes, you can reopen an io with any other io
<joonty>
but for STDIN it needs to be writable
<apeiros>
Dernise: "good practice" is to reassign $stdin, not to change STDIN
<joonty>
good point
mbj has joined #ruby-lang
<Dernise>
Ok !
elia has quit [Ping timeout: 245 seconds]
solars has quit [Ping timeout: 248 seconds]
tkuchiki has quit [Ping timeout: 256 seconds]
pumper has joined #ruby-lang
<rohjain>
Hi, I'm using ruby net::HTTP library to download some binary files every 5 seconds. But the issue is that sometimes the file doesn't download completely. The response is 200 OK. The issue comes up randomly and for any random file. Once in a week. Does anyone have any suggestions? What might be the issue?
<joonty>
rohjain: could it be the server closing the connection and incorrectly returning 200?
rippa has quit [Read error: Connection reset by peer]
ryez has joined #ruby-lang
<rohjain>
joonty: I ave my doubts. But there is a very very small probability of that happening
<rohjain>
The server is using a very well known cdn
diegoviola has quit [Quit: WeeChat 0.4.1]
kleech has quit [Remote host closed the connection]
<Dernise>
Found something on a forum written in 2003 which citate this channel.
<Dernise>
Solved my problem.
darix has joined #ruby-lang
darix has joined #ruby-lang
<Dernise>
STDIN.reopen 'mypipe', 'r+'
khaase_ has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
maxmanders has quit [Quit: Computer has gone to sleep.]
MaddinXx_ has quit [Remote host closed the connection]
<gnufied>
drbrain: Evan's iterative resolver got merged into rubygems?
<gnufied>
or does History.txt refers to some other resolver?
<drbrain>
gnufied: yes, it got merged for 2.0 but is only used for activating gems
<drbrain>
for 2.1 it will be used for installing gems
<gnufied>
I am confused, rubygems has a branch called iterative_resolver, Evan pointed me to that one last time I asked him
<gnufied>
But that branch's commits aren't merged into rubygems master as far as I can tell
<drbrain>
hrm
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
<gnufied>
where last time is just couple of weeks back
<drbrain>
oh, iterative
<drbrain>
I guess those should be merged
<drbrain>
we'll do it in 2.2
<gnufied>
okay.
tommyblue has quit [Ping timeout: 246 seconds]
khaase_ has quit [Ping timeout: 246 seconds]
wmoxam has quit [Ping timeout: 276 seconds]
loincloth has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
Austin__ has joined #ruby-lang
tommyblue has joined #ruby-lang
bmarx1 has joined #ruby-lang
minivan has quit [Ping timeout: 256 seconds]
rickruby has joined #ruby-lang
ItSANgo___ has quit [Quit: Leaving...]
khaase_ has joined #ruby-lang
rickruby has quit [Ping timeout: 256 seconds]
archer_ has joined #ruby-lang
archer_ is now known as Guest65584
bmarx1 has left #ruby-lang [#ruby-lang]
neg_01 has joined #ruby-lang
bmarx has joined #ruby-lang
facerip has joined #ruby-lang
<facerip>
i have an app that requires a user to log in at the cli with argv0 and 1. I want to be able to prompt commands within the app cli, how would i do that?
bmarx has quit [Quit: bmarx]
<erikh>
check out the highline gem
<drbrain>
↑ highline is popular
<facerip>
okies
maxmanders has joined #ruby-lang
<facerip>
ty
Austin__ has left #ruby-lang [#ruby-lang]
s0ber has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby-lang
s0ber has joined #ruby-lang
tanema has joined #ruby-lang
ItSANgo has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
solars has quit [Ping timeout: 245 seconds]
richardburton has joined #ruby-lang
w00x has quit [Ping timeout: 256 seconds]
Guest65584 has quit [Remote host closed the connection]
jvrmaia has quit [Quit: Leaving]
yfeldblum has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
efrainolivares has quit [Quit: efrainolivares]
efrainolivares has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
RickHull1 has quit [Quit: Leaving.]
efrainolivares has quit [Quit: efrainolivares]
apeiros has quit [Remote host closed the connection]
_whitelogger has joined #ruby-lang
jinie has joined #ruby-lang
lele has quit [Ping timeout: 246 seconds]
wmoxam has joined #ruby-lang
krohrbaugh has joined #ruby-lang
ilyam has quit [Remote host closed the connection]
ilyam has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
workmad3 has quit [Ping timeout: 264 seconds]
lele has joined #ruby-lang
julweber has joined #ruby-lang
khaase_ has joined #ruby-lang
alex3 has quit [Quit: Leaving.]
saarinen has quit [Quit: saarinen]
sascha_d has quit [Quit: bai]
sascha_d has joined #ruby-lang
codelurker has joined #ruby-lang
hhatch has quit [Ping timeout: 245 seconds]
sjltaylor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kstuart has quit [Quit: kstuart]
kstuart has joined #ruby-lang
tylersmith has quit [Ping timeout: 268 seconds]
Forgetful_Lion has joined #ruby-lang
tylersmith has joined #ruby-lang
realDAB has joined #ruby-lang
julweber has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
codelurker has quit [Quit: Leaving]
JoshuaPaling has joined #ruby-lang
kirin` has quit [Ping timeout: 256 seconds]
relix has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
tylersmith has joined #ruby-lang
kirin` has joined #ruby-lang
rwilcox has joined #ruby-lang
amerine_ has quit [Ping timeout: 248 seconds]
realDAB has quit [Quit: realDAB]
amerine has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
tylersmith has quit [Ping timeout: 264 seconds]
rickruby has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pipework has quit [Remote host closed the connection]
ledestin has joined #ruby-lang
<erikh>
she bailed i think
<erikh>
oh, no, she's back
<sascha_d>
I'm here
<erikh>
hello!
<sascha_d>
Did I accidentally say something about auditing in here?
kstuart has joined #ruby-lang
<sascha_d>
I have a profusion of keyboards on my desk right now and have been accidentally typing on the wrong one all day
kstuart has quit [Remote host closed the connection]
<mistym>
Ha, I know the feeling
benanne has quit [Quit: kbai]
<erikh>
no I did not see anything
<mistym>
My desk has become kind of a Mac mausoleum. I'm temporarily up to three
<erikh>
this seems really familiar
glebm has quit [Ping timeout: 256 seconds]
<sascha_d>
yeah I've got two bt keyboards for mac and my windows keyboard
<sascha_d>
one kb is in front of the windows one and I keep typing on this instead of the windows one
<zenspider>
sascha_d: auditing wrt your tweet about it. I have a search list for minitest
<sascha_d>
and I'm cranky b/c I can't figure out how to get my dell monitor to display 2560res, the monitor came with a cd but the only place I have to use a CD is on my windows desktop but I installed windows 8 yesterday and now my cdrom isn't detected
<sascha_d>
fml
kstuart has joined #ruby-lang
kstuart has quit [Client Quit]
<zenspider>
huh. apparently I swear only once every 261 commits. :(
<sascha_d>
in regard to my tweet :) We are writing some specs and want to also run an audit at the end of the chef run to report on the state of the specs
<sascha_d>
but we don't want to fail the run if there's a problem with the spec, just warn
glebm has joined #ruby-lang
kstuart has joined #ruby-lang
<sascha_d>
and why is it so hard to figure out what adapter I need to run from my mbp to my dell 2713 to get 2560 res?
<zenspider>
sascha_d: in minitest 5 you can just create a new reporter and override #passed?
<sascha_d>
One of the others was looking at code this afternoon and he was thinking it would be pretty simple
<sascha_d>
I haven't looked yet - spent the day fighting with vagrant-aws and red hat
<erikh>
mmm
<zenspider>
sascha_d: it should be a 5-10 line change, total
<sascha_d>
xlnt!
<sascha_d>
thanks
<sascha_d>
oof, I did neglect to say we are using the minitest-chef-handler cookbook
<zenspider>
StatisticsReporter#passed?
<sascha_d>
which is our base of operations
<sascha_d>
I've just written a couple tests so far. We just discussed this afternoon the idea of an audit function