<athlete>
hi guys, is there a test suite to check ruby interpreter himself? I want to know if my currently installed ruby version have "standard compliance"
<whitequark>
athlete: what exactly are you trying to achieve?
zenojis has quit [Ping timeout: 244 seconds]
gix has quit [Ping timeout: 264 seconds]
ur5us has joined #ruby-lang
gix has joined #ruby-lang
lele has joined #ruby-lang
zenojis has joined #ruby-lang
lele|w has joined #ruby-lang
ur5us has quit [Ping timeout: 245 seconds]
zenojis has quit [Ping timeout: 272 seconds]
esad has joined #ruby-lang
zenojis has joined #ruby-lang
<Antiarc>
athlete: MRI ships with a test suite to test itself
stardiviner has joined #ruby-lang
zenojis has quit [Ping timeout: 244 seconds]
nofxx has quit [Ping timeout: 250 seconds]
imperator has quit [Quit: Leaving]
spastorino has quit [Quit: Connection closed for inactivity]
<athlete>
havenwood: thanks, it works
zenojis has joined #ruby-lang
<athlete>
whitequark: nothing serious, I just had to work on win lately and the only straightforward way to install ruby on this platform is rubyinstaller.org
<whitequark>
sure, rubyinstaller packages the same ruby as on linux
<athlete>
whitequark: I asked myself how much I can trust these guys
<athlete>
however rubyspec on win cant even finish properly
<athlete>
many tests are dependent on unix tools
<whitequark>
rubyspec is not worth running for the end-user
yfeldblum has joined #ruby-lang
<Antiarc>
try the MRI tests. They're in test/ in the source tree
<athlete>
meanwhile on my mac test suite finishes sucessfully, only got 8 errors (ruby2.1.4 installed via rvm)
<whitequark>
really, I don't know what are you going to infer from the results
<whitequark>
no one from the MRI team cares about rubyspec at all
<whitequark>
you'll learn MRI fails some tests. what next?
<athlete>
whitequark: nothing, just having fun in spare time
<whitequark>
okay
Mon_Ouie has quit [Remote host closed the connection]
kalehv has joined #ruby-lang
<athlete>
Antiarc: I've seen these tests in MRI sources, but they dont come with ruby distribution from rubyinstaller.org
Mon_Ouie has joined #ruby-lang
<Antiarc>
They should still theoretically run against the Ruby binary you have
<athlete>
Antiarc: okay gonna try this
yfeldblum has quit [Ping timeout: 260 seconds]
sunaku has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
marcdel_ has joined #ruby-lang
sunaku has quit [Quit: WeeChat 1.0.1]
marr has quit []
SuMo_D has joined #ruby-lang
zenojis has quit [Ping timeout: 272 seconds]
zenojis has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
jmrepett_ has quit [Remote host closed the connection]
jmrepetti has joined #ruby-lang
cantonic has quit [Quit: cantonic]
cantonic has joined #ruby-lang
cantonic has quit [Client Quit]
jmrepetti has quit [Ping timeout: 245 seconds]
jmrepett_ has joined #ruby-lang
oak has joined #ruby-lang
hightower4 has quit [Ping timeout: 265 seconds]
tejas-manohar has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has quit [Read error: Connection reset by peer]
oak has quit [Ping timeout: 258 seconds]
apeiros has joined #ruby-lang
oak has joined #ruby-lang
theotherstupidgu has quit [Ping timeout: 265 seconds]
theotherstupidgu has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
<athlete>
Antiarc: thanks, I've played with MRI tests
<athlete>
these tests seems to be richer than RubySpec
<athlete>
testing not only core language features, but whole ruby distribution (shit like erb, webrick and so on)
<Antiarc>
RubySpec is supposed to be a formal language specification, the MRI test suite is what Ruby actually gets developed against
<athlete>
however they still fail on windows due to some non-standard readline library used to compile ruby for this platform
<athlete>
on mac works fine, only like 20 errors out of 15K tests
<Antiarc>
That's not entirely unsurprising
ur5us has joined #ruby-lang
oak has quit [Ping timeout: 240 seconds]
<whitequark>
Antiarc: rubyspec is not a ruby specification.
ur5us has quit [Ping timeout: 258 seconds]
<whitequark>
the reason is that it is, by design, unable to specify what does *not* happen
<whitequark>
it's a testsuite that is mostly useful for verifying that you got right some odd implementation details of MRI, that somehow got named a "specification"
jmrepett_ has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
kalehv has joined #ruby-lang
yfeldblum has joined #ruby-lang
snovity has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
oak has joined #ruby-lang
chouhoulis has quit [Ping timeout: 255 seconds]
SuMo_D has quit [Ping timeout: 245 seconds]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
snsei has quit [Remote host closed the connection]
matp_ has joined #ruby-lang
hightower4 has joined #ruby-lang
rkowalick has joined #ruby-lang
matp has quit [Ping timeout: 272 seconds]
rkowalick has quit [Client Quit]
snsei has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
shubhamgoyal has quit [Remote host closed the connection]
jimbach has quit [Remote host closed the connection]
snsei has quit [Remote host closed the connection]
Miphix has quit [Quit: Leaving]
Miphix has joined #ruby-lang
SuMo_D has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
Lewix has joined #ruby-lang
unsymbol has quit [Ping timeout: 255 seconds]
nathanstitt has joined #ruby-lang
nathanstitt has quit [Client Quit]
w00tc0d3 has joined #ruby-lang
netchip has quit [Ping timeout: 240 seconds]
w00tc0d3 is now known as Guest589
unsymbol has joined #ruby-lang
Guest589 has quit [Ping timeout: 245 seconds]
trey has joined #ruby-lang
trey is now known as Guest10565
tejas-manohar has quit [Ping timeout: 246 seconds]
seank__ has quit [Remote host closed the connection]
shubhamgoyal has quit []
faces has joined #ruby-lang
face has quit [Ping timeout: 255 seconds]
Forgetful_Lion has joined #ruby-lang
arBmind has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
arBmind1 has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby-lang
w00tc0d3_ has joined #ruby-lang
gix has quit [Ping timeout: 265 seconds]
dorei has quit []
yfeldblum has quit [Ping timeout: 256 seconds]
gix has joined #ruby-lang
w00tc0d3_ has quit [Ping timeout: 265 seconds]
hakunin has quit [Remote host closed the connection]
amsha has joined #ruby-lang
hakunin has joined #ruby-lang
hakunin has quit [Remote host closed the connection]
hakunin has joined #ruby-lang
hakunin has quit [Remote host closed the connection]
clauswit_ has joined #ruby-lang
clauswitt has quit [Ping timeout: 245 seconds]
<zenspider>
haha
<zenspider>
very good description
mattyohe has quit [Quit: Connection closed for inactivity]
yfeldblum has joined #ruby-lang
<zenspider>
athlete: windows build / testing requires extra stuff. luis lavena handles almost all of that (and well)
yfeldblum has quit [Ping timeout: 255 seconds]
kyb3r_ has joined #ruby-lang
individuwill has quit [Ping timeout: 265 seconds]
amsha has quit [Quit: Be back later ...]
chouhoulis has joined #ruby-lang
chouhoulis has quit [Ping timeout: 272 seconds]
danijoo_ has quit [Read error: Connection reset by peer]
nofxx has quit [Ping timeout: 245 seconds]
danijoo has joined #ruby-lang
yfeldblum has joined #ruby-lang
jeff_r has joined #ruby-lang
jeff_r has quit [Client Quit]
nofxx has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
pnbeast has joined #ruby-lang
hightower4 has quit [Ping timeout: 264 seconds]
AKASkip has joined #ruby-lang
nofxx has quit [Ping timeout: 240 seconds]
shinnya has joined #ruby-lang
allomov has joined #ruby-lang
nofxx has joined #ruby-lang
RobertBirnie has joined #ruby-lang
yfeldblum has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
oak has quit [Quit: oak]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
dave305 has joined #ruby-lang
yusuf has quit [Quit: Leaving.]
<dave305>
@ = channel op, while * means IRC op.
dave305 has left #ruby-lang ["Leaving"]
dave305 has joined #ruby-lang
dave305 is now known as dave304
<dave304>
whois dave304
<pnbeast>
That'd be you, dave304.
<dave304>
PING 1415466614841292
marcdel_ has quit []
<zenspider>
dave304: can you teach us ALL of IRC?
marcdel has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dave304>
@zenspider please i hope i have not offended you or anybody.. i am a new to irc and ruby. just checking out basic command from the irc help page
<zenspider>
midly entertaining... not offensive
<zenspider>
mildly...
gianlucadv has joined #ruby-lang
mark_slight has joined #ruby-lang
<dave304>
last thign i want to do is to piss off anyone, especially when i have tons of question to ask
mark_slight has quit [Client Quit]
amsha has joined #ruby-lang
dave304 has quit [Quit: Bye]
amsha has quit [Ping timeout: 264 seconds]
dave304 has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
red_menace has quit []
ur5us has joined #ruby-lang
kaczmar has joined #ruby-lang
ur5us has quit [Read error: No route to host]
ur5us has joined #ruby-lang
ur5us has quit [Read error: Connection reset by peer]
yfeldblu_ has joined #ruby-lang
<dave304>
please guys why does the first code work and the second does not (1) puts "String has vowels" if "This is a test" =~ /[aeiou]/
<dave304>
and (2) if "This is a test" =~ /[aeiou]/ puts "String has vowels"
ur5us has joined #ruby-lang
marcdel has quit []
<dave304>
i am a newbie on ruby
ur5us has quit [Read error: No route to host]
ur5us has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
ur5us has quit [Read error: No route to host]
ur5us has joined #ruby-lang
marcdel has joined #ruby-lang
ur5us_ has joined #ruby-lang
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby-lang
ur5us_ has quit [Read error: Connection reset by peer]
ur5us_ has joined #ruby-lang
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby-lang
ur5us_ has quit [Read error: Connection reset by peer]
oleo__ has joined #ruby-lang
ur5us_ has joined #ruby-lang
ur5us has quit [Read error: Connection reset by peer]
ur5us_ has quit [Read error: Connection reset by peer]
ur5us has joined #ruby-lang
oleo is now known as Guest59548
ur5us has quit [Read error: Connection reset by peer]
Guest59548 has quit [Ping timeout: 258 seconds]
ur5us has joined #ruby-lang
ur5us_ has joined #ruby-lang
ur5us has quit [Read error: Connection reset by peer]
ur5us_ has quit [Read error: Connection reset by peer]
ur5us has joined #ruby-lang
ur5us_ has joined #ruby-lang
ur5us has quit [Read error: Connection reset by peer]
ur5us_ was kicked from #ruby-lang by zenspider [Kicked]
<zenspider>
says: email.attachments.each do |attachment|
<tejas-manohar>
nofxx: NoMethodError - undefined method `local_methods' for #<Mail::Message:0x007f9a50032568>
<zenspider>
the github.io page says email.message.attachments
<tejas-manohar>
um but i dont want attachments @zenspider
<nofxx>
as I said it's a gem.... each one I said tejas-manohar
<tejas-manohar>
i wanna know how to access body, subject, etc.
<tejas-manohar>
ohh
<zenspider>
... did you even try?
<tejas-manohar>
@zenspider: so just guess the names?
<zenspider>
but if you look at the code you'll see a method_missing that delegates to message first
<tejas-manohar>
nofxx: NoMethodError - undefined method `local_methods' for #<Mail::Message:0x007f9a50032568>
<zenspider>
tejas-manohar: well... you're not willing to read the code, so I guess guessing is as good as it gets
<zenspider>
what'll happen? something blows up? I assure you blue smoke won't come out of your computer
kaczmar has quit [Quit: kaczmar]
<tejas-manohar>
@zenspider: im reading and i cant find it im looking im looking
<nofxx>
zenspider, true story: once my PSU started a small fire, it didn't stop! the fan started blowing fire out, only thing I could think was "it still moves the mouse" and a second later I ran to the outlet
<nofxx>
it moves the mouse and it's going for the moon!
<zenspider>
hahahaha
<zenspider>
mouse move? must be fine
<tejas-manohar>
no but seriosuly
<tejas-manohar>
ugh
<nofxx>
yeah it didn't crashed! but I unplugged in a hurry. Would be fun a syslog "FIRE! FIRE! THIS IS NOT A DRILL"
amsha has joined #ruby-lang
<zenspider>
lol. what color was the fire? should be blue
jmrepetti has quit [Remote host closed the connection]
<nofxx>
takeoff yellow! telling you, it went for the moon
<ledestin>
I’m developing a webapp which’ll talk to backend via AJAX. The problem I have is that if I pass null to React components, it doesn’t work well, I have to work around that and pass an empty string. Possibly, I could make extra work and change all my components to account for that, but there are also components that other people do. So, it seems like a good idea to convert nulls to ‘’ and back at the Backbone model level. What do you think?
<nofxx>
had a paint job some years ago but I'll try to find the pic of the burned wall