<microdex2>
so I need to install an older activesupport ?
momomomomo has quit [Quit: momomomomo]
iliketurtles has quit [Ping timeout: 276 seconds]
yubrew has joined #ruby-lang
marcdel has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
pr0ton has joined #ruby-lang
<zenspider>
microdex2: I would recommend not using bitstamp, since they seem to be irresponsible. I would bet that's not the only problem with the code
<zenspider>
you'd have to downgrade AND uninstall the newer versions
<microdex2>
bitstamp is irresponsible ?
mistym has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
lcdhoffman has joined #ruby-lang
Senjai has quit [Quit: WeeChat 0.3.7]
<zenspider>
microdex2: bitstamp is just code. the authors are irresponsible.
<microdex2>
ok.
<zenspider>
I would file a bug to let them know this is a problem
<microdex2>
good observation, thanks zenspider
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<microdex2>
I have to use it anyway cause they have the best bitcoin rates
kukyakya has quit [Remote host closed the connection]
<zenspider>
good luck with that
<microdex2>
so theoretically this gem can't be used in Rails 4 right?
<microdex2>
since it breaks with activesupport 4.1
wallerdev has joined #ruby-lang
<microdex2>
cause I did what you recommended ( remove all the activerecord gems v4 and reinstalled bitstamp and it works )
slawrence00 has joined #ruby-lang
<zenspider>
seems that way
<zenspider>
next time you install/upgrade activesupport, it'll prolly bust
<microdex2>
is it possible in Ruby to use the same gem @ two different versions
agarie has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
willmarshall has joined #ruby-lang
Guest43594 is now known as pipework
pipework has quit [Changing host]
pipework has joined #ruby-lang
pipework has joined #ruby-lang
glide has quit [Ping timeout: 252 seconds]
<zenspider>
microdex2: at the same time?
<zenspider>
what does that mean?
seanot has joined #ruby-lang
kitak_ has joined #ruby-lang
kitak has quit [Ping timeout: 240 seconds]
seanot has quit [Ping timeout: 240 seconds]
glide has joined #ruby-lang
woollyams has joined #ruby-lang
itsmynick has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
karamazov has quit []
iliketurtles has joined #ruby-lang
leftylink has joined #ruby-lang
<leftylink>
what is the difference between #ruby and #ruby-lang ? to which channel should I go for all my Ruby needs?
rtlong has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
jason_ has quit [Remote host closed the connection]
\arrbum has quit [Quit: Quit]
omegahm has quit [Quit: Killed by a giraffe]
<microdex2>
@zenspider thanks a lot for helping me out
<microdex2>
I was able to fix it by rewinding the activerecord gem to 3.1
<microdex2>
I meant can one application use two of the same gems with different versions
shinnya has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby-lang
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jason_ has joined #ruby-lang
yubrew has joined #ruby-lang
jason_ has quit [Remote host closed the connection]
fwchld has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
<fwchld>
hey guys - i'm trying to compile a .rb to .exe using ocra and get the following error: pastie.org/9069380
<fwchld>
should i install JRuby and run it through that? nothing in the ocra documentation that i can find specifies JRuby as a requirement...
allomov has joined #ruby-lang
jacky has quit [Excess Flood]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
BubonicPestilenc has joined #ruby-lang
<BubonicPestilenc>
hey all
<fwchld>
hey
<BubonicPestilenc>
def m(a, b, c = "1", d = {}); end; m("a", "b", nil, {userID: 1})
<BubonicPestilenc>
c === NilClass, not "1"
<BubonicPestilenc>
What can i specify in call to force parameter to be "default value" ?
<BubonicPestilenc>
i.e. how to skip parameter in middle ? )
yfeldblum has quit [Read error: Connection reset by peer]
allomov has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby-lang
Cakey has joined #ruby-lang
<BubonicPestilenc>
p.s. i know about c ||= "1";
\marrub has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
postmodern has joined #ruby-lang
saarinen has joined #ruby-lang
iliketurtles has quit [Ping timeout: 240 seconds]
ratmav has joined #ruby-lang
Kuda has quit [Quit: Byebye!]
beawesomeinstead has quit [Ping timeout: 252 seconds]
pr0ton has quit [Ping timeout: 252 seconds]
ascarter has joined #ruby-lang
<leftylink>
BubonicPestilenc: if you are on ruby 2.0 or more, you can use named parameters
<leftylink>
and make d a named parameter
<BubonicPestilenc>
yeah, i also knew this way :)
beawesomeinstead has joined #ruby-lang
<BubonicPestilenc>
but i'm interested in non-named param )
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<BubonicPestilenc>
and it looks like i won't be able to skip it...
<leftylink>
in my understanding, you can't skip a positional parameter in such way
Lewix has quit [Remote host closed the connection]
jstemmer has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby-lang
seanot has joined #ruby-lang
ratmav has quit [Quit: Leaving]
seanot has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby-lang
BubonicPestilenc has quit [Quit: BubonicPestilenc]
gix has quit [Ping timeout: 240 seconds]
imperator has joined #ruby-lang
michaeldeol has joined #ruby-lang
saarinen has quit [Read error: Connection reset by peer]
saarinen has joined #ruby-lang
Asher has quit [Quit: Leaving.]
ironcame1 is now known as ironcamel
Asher has joined #ruby-lang
gix has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
jackyalcine has joined #ruby-lang
michaeldeol has quit [Client Quit]
jstemmer has joined #ruby-lang
BubonicPestilenc has joined #ruby-lang
<BubonicPestilenc>
mmm
<BubonicPestilenc>
2nd question:
<BubonicPestilenc>
Should i call .to_s before or after sending it through method?
<BubonicPestilenc>
def a(a); b(a.to_s); end;
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<BubonicPestilenc>
vs
<BubonicPestilenc>
var = var.to_s; a(var); def a(a); b(a); end;
<imperator>
imo method b should be able to handle it internally if it needs to
omegahm has joined #ruby-lang
<BubonicPestilenc>
btw, messed with names -.-
<BubonicPestilenc>
ok, ty
yubrew has joined #ruby-lang
RobertBirnie has joined #ruby-lang
mdub has joined #ruby-lang
mistym has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
woollyams has quit [Ping timeout: 252 seconds]
Barrin6 has joined #ruby-lang
jsutt has quit [Ping timeout: 240 seconds]
mdub has quit [Ping timeout: 252 seconds]
mehlah has quit [Quit: Leaving...]
|jemc| has quit [Quit: WeeChat 0.4.1]
|jemc| has joined #ruby-lang
iliketurtles has joined #ruby-lang
BubonicPestilenc has quit [Quit: BubonicPestilenc]
toastynerd has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
iliketurtles has quit [Ping timeout: 240 seconds]
iliketurtles has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketurtles has quit [Ping timeout: 240 seconds]
jxpx777 has quit [Read error: Connection reset by peer]
jxpx777_ has joined #ruby-lang
ascarter has joined #ruby-lang
woollyams has joined #ruby-lang
sdouglas has joined #ruby-lang
jackyalcine is now known as jacky
centrx has quit [Quit: All this computer hacking is making me thirsty]
seanot has joined #ruby-lang
dsaint-pierre has quit [Remote host closed the connection]
dsaint-pierre has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
seanot has quit [Ping timeout: 240 seconds]
woollyams has quit [Ping timeout: 252 seconds]
phansch has joined #ruby-lang
rahul_j has joined #ruby-lang
michaeldeol has joined #ruby-lang
yubrew has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yubrew has quit [Ping timeout: 276 seconds]
slawrence00 has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
rahul_j has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vondruch has joined #ruby-lang
sferik has joined #ruby-lang
iliketurtles has joined #ruby-lang
RobertBirnie has joined #ruby-lang
vondruch has quit [Client Quit]
imperator has quit [Quit: Valete!]
vondruch has joined #ruby-lang
allomov has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
tyrbo has quit []
_ko1 has joined #ruby-lang
allomov has quit [Ping timeout: 252 seconds]
guns has quit [Quit: guns]
danijoo has joined #ruby-lang
iliketur_ has joined #ruby-lang
Cakey has quit [Ping timeout: 276 seconds]
danijoo has quit [Ping timeout: 252 seconds]
iliketurtles has quit [Ping timeout: 252 seconds]
tkuchiki_ has joined #ruby-lang
kgrz has joined #ruby-lang
minim has quit []
rahul_j has joined #ruby-lang
woollyams has joined #ruby-lang
grahamsavage has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Ping timeout: 252 seconds]
saarinen has quit [Read error: Connection reset by peer]
saarinen has joined #ruby-lang
tonni has quit [Remote host closed the connection]
_ht has joined #ruby-lang
whitecrow1 has joined #ruby-lang
mistym has joined #ruby-lang
toastynerd has joined #ruby-lang
rofel has quit [Remote host closed the connection]
JohnBat26 has joined #ruby-lang
whitecrow1 has quit [Client Quit]
seanot has joined #ruby-lang
khaase has joined #ruby-lang
rh1n0 has joined #ruby-lang
rsl has quit [Ping timeout: 240 seconds]
grahamsavage has joined #ruby-lang
heftig has quit [Quit: Quitting]
havenwood has joined #ruby-lang
seanot has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
Barrin6 has quit [Quit: Leaving]
yubrew has joined #ruby-lang
Burgestrand has joined #ruby-lang
tonni has joined #ruby-lang
badeball_ is now known as badeball
toastynerd has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
rsl has joined #ruby-lang
tectonic has joined #ruby-lang
grahamsavage has quit [Ping timeout: 240 seconds]
nertzy has quit [Quit: This computer has gone to sleep]
khaase has quit [Remote host closed the connection]
khaase has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
havenwood has quit [Ping timeout: 240 seconds]
khaase has quit [Ping timeout: 240 seconds]
mechan1c_ has joined #ruby-lang
apeiros has quit [Ping timeout: 252 seconds]
zlogan has joined #ruby-lang
mechan1c has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marcdel has quit []
yfeldblum has joined #ruby-lang
iliketur_ has quit [Quit: zzzzz…..]
toastynerd has joined #ruby-lang
iliketurtles has joined #ruby-lang
zlogan has quit [Ping timeout: 240 seconds]
Cakey has joined #ruby-lang
grahamsavage has joined #ruby-lang
arBmind has joined #ruby-lang
zlogan has joined #ruby-lang
t4nk825 has joined #ruby-lang
rh1n0 has quit [Quit: Hopefully you don't see this...]
toastynerd has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
karamazov has joined #ruby-lang
apeiros has joined #ruby-lang
solars has joined #ruby-lang
toastynerd has joined #ruby-lang
scmx has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
toastynerd has quit [Remote host closed the connection]
dsaint-pierre has quit [Remote host closed the connection]
allomov has joined #ruby-lang
iliketurtles has joined #ruby-lang
seanot has joined #ruby-lang
allomov has quit [Ping timeout: 250 seconds]
dagobah has joined #ruby-lang
yubrew has joined #ruby-lang
ponga has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
<ponga>
hey guys can i ask a question as ruby-beginner
scmx has quit [Ping timeout: 252 seconds]
iliketur_ has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
allomov has joined #ruby-lang
matp has quit [Ping timeout: 240 seconds]
ponga has left #ruby-lang ["Leaving :)"]
yubrew has quit [Ping timeout: 240 seconds]
iliketurtles has quit [Ping timeout: 240 seconds]
seanot has quit [Ping timeout: 240 seconds]
nisstyre has quit [Quit: WeeChat 0.4.3]
<glide>
pontq, I'm a beginner myself, but I can try to help.
<glide>
*ponga
iliketur_ has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
PaulePan1er is now known as PaulePanter
iliketurtles has joined #ruby-lang
tbuehlmann has joined #ruby-lang
havenwood has quit [Ping timeout: 250 seconds]
Raycaster has quit [Ping timeout: 250 seconds]
Jeticus has joined #ruby-lang
* t4nk825
Hello, I am practicing ruby. I just created a simple command line Todo script. Can you some review and tell me ways I could improve my coding. here is the code https://gist.github.com/anonymous/ee4da8f7c11be4c5ae74
grahamsavage_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
glide has quit [Quit: Leaving]
ikrima_ has quit [Ping timeout: 240 seconds]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CaptainJet has quit [Ping timeout: 276 seconds]
Asher has quit [Remote host closed the connection]
grahamsavage has quit [Ping timeout: 250 seconds]
Asher has joined #ruby-lang
mistym has joined #ruby-lang
tectonic has quit []
kitak_ has quit [Ping timeout: 240 seconds]
<yorickpeterse>
morning
kitak has joined #ruby-lang
amclain has quit [Quit: Leaving]
mistym has quit [Ping timeout: 276 seconds]
arBmind has joined #ruby-lang
maidan has quit [Ping timeout: 240 seconds]
<apeiros>
t4nk825: in def list_todo, @count should really be just count. it's a method local information
<apeiros>
t4nk825: I'd also strife to separate UI and data/business logic
<apeiros>
i.e., make 2 classes, ToDo and ToDoUI
herpless has joined #ruby-lang
<apeiros>
t4nk825: also instead of recursing menu in def menu, you should loop. recursion will somewhen be too deep and cause an exception
tonni has quit [Remote host closed the connection]
skade has joined #ruby-lang
<apeiros>
i.e., something like: input_option = 0; while input_option != 4; puts …; input_option = gets …; case input_option … end; end
t4nk825 has quit [Ping timeout: 240 seconds]
danijoo has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
relix has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
achal has joined #ruby-lang
ryez has quit [Ping timeout: 240 seconds]
danijoo has quit [Ping timeout: 252 seconds]
sdouglas has joined #ruby-lang
sdouglas_ has joined #ruby-lang
havenwood has joined #ruby-lang
levifig_ is now known as levifig
t4nk660 has joined #ruby-lang
Coincidental has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
yann_ck has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
<apeiros>
dagobah: I would not have knowledge about the UI in the List class
ikrima has joined #ruby-lang
<dagobah>
apeiros: Interesting, how would you have the list communicate with the UI?
<apeiros>
dagobah: .each.with_index(1) do |item, count| -- then you don't need to do +1 on every iteration
<dagobah>
apeiros: I do agree that it does go against the whole point of separating the concerns. I started out with List.new(UI.new) , passing in STDOUT as the default UI, but that felt like the wrong way so I switched it.
<apeiros>
dagobah: either the UI has knowledge of List, or via a controller
<dagobah>
apeiros: That's neat, I forgot that!
<dagobah>
apeiros: I think a controller is overkill. So you think a list object should be able to "present" itself?
<apeiros>
I like your UI abstraction which is independent of its task to operate on a list. I'd keep that. so with what you've done so far, I'd probably opt for 3 classes (which somewhat reflects model-view-controller paradigm)
<apeiros>
dagobah: no. I think the ability to present itself should be minimal.
<apeiros>
the single responsibility of the list is to manage itself.
<apeiros>
or allow it to be managed
<dagobah>
apeiros: I'd be curious to see how you get rid of List's need to know about the UI without a controller :)
<apeiros>
dagobah: as I said, by inverting it. by having UI know about list, instead of the other way round
<workmad3>
view presenters!
ikrima has quit [Ping timeout: 240 seconds]
<dagobah>
apeiros: Oh ok, I was treating UI purely a presentational layer, not knowing about any particular objects but purely for IO.
<yorickpeterse>
and decorators
<yorickpeterse>
lots of them
<dagobah>
Perhaps a List, ListPresenter, and UI?
<yorickpeterse>
And a ViewPresenterView
<apeiros>
don't forget factories
rahul_j has joined #ruby-lang
Voker57 has quit [Ping timeout: 240 seconds]
<dagobah>
seriously?
<workmad3>
dagobah: this line: @list = UI.new(List.new)... why not @list = ListPresenter.new(List.new)? What does tha UI object give you?
vondruch has joined #ruby-lang
<workmad3>
dagobah: or rather, what does that UI object give you that makes it a list? :)
<dagobah>
workmad3: fair point :)
<apeiros>
dagobah: I was just riding yorickpeterse's and workmad3's wave
<dagobah>
I'll try again with a presenter..
seanot has joined #ruby-lang
rh1n0 has joined #ruby-lang
<yorickpeterse>
list = ActiveList::ListView.create_list_view_from_array([10, 20, 30, 40])
<yorickpeterse>
list.each_item_in_the_list_view do |item|
<dagobah>
apeiros: Beautiful, I'll have a read, looks good though :)
<apeiros>
atm you could easily drop the List class and just use an Array
riffraff has joined #ruby-lang
caral has quit [Quit: caral]
scmx has quit [Ping timeout: 250 seconds]
tkuchiki_ has joined #ruby-lang
skade has joined #ruby-lang
tkuchiki has quit [Ping timeout: 240 seconds]
whitecrow1 has joined #ruby-lang
whitecrow1 has joined #ruby-lang
whitecrow1 has quit [Changing host]
skade has quit [Quit: Computer has gone to sleep.]
<dagobah>
apeiros: I like your solution, here's mine with the Presenter https://gist.github.com/kotay/2819c304a44bbceef063 out of interest, in your I see you include Enumerable and define #each, #<< #[] etc. I see this pattern alot, can you explain what you gain from something like this?
<dagobah>
apeiros: It seems it just means you can do @list.each rather than @list.items.each ? In a sense, you're just making your List object an Enumerable, Array-like class right?
<dagobah>
Are there any other "gains" to this approach?
c_s_g has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rahul_j has quit [Quit: rahul_j]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
yubrew has joined #ruby-lang
jxpx777_ has quit [Read error: Connection reset by peer]
<apeiros>
dagobah: at this point, there's no gain in using the List class over just an Array
<apeiros>
the gain starts when you have semantical methods on the List class
<apeiros>
like prioritize_item or move_item_up or whatever
<apeiros>
I wouldn't want such a thing on Array
<dagobah>
I see, so you can wrap behaviour around your array-like list class?
<dagobah>
But still get all the enumerable goodness.
<apeiros>
why wrap around? implement it in the list class itself
<dagobah>
That's what I meant really.
<apeiros>
ah, ok :)
<apeiros>
in that case: yes
scmx has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
x0f_ has joined #ruby-lang
<dagobah>
So it's quite common for everything to come down to writing very small "Data Objects" which usually add business-specific behaviour/logic to ruby's core data structures?
yubrew has quit [Ping timeout: 276 seconds]
Raycaster has joined #ruby-lang
<apeiros>
I do that, yes
<apeiros>
many don't. but IMO it leads to harder-to-understand code
<dagobah>
It's ironic that the simplest (and shortest) part of the code is the core of the application.
<apeiros>
the more focused a class is, the easier to follow the code
<dagobah>
The rest is involved in interactions.
<apeiros>
yeah, UI is hard :)
<dagobah>
Are you a fan of Dependancy injection?
<apeiros>
I still struggle to make sense of the term. probably I do it naturally and don't recognize it as DI
<dagobah>
So, for example, the UI could be a HTTP based UI of a CLI?
<apeiros>
yes
<apeiros>
see, I wouldn't call that DI. to me it's just exploiting duck-typing.
<apeiros>
all I need is something which has puts and gets
<dagobah>
So in this example a UI:Web UI:CLI, both of which implement add/delete/show etc
<apeiros>
pass an object which provides that (for http e.g. via an adapter), and your stuff still works
<dagobah>
Oh I see, yes.
<apeiros>
in a properly designed system, you could break it apart and reuse components at almost any layer. so yes, such an approach might work too.
x0f has quit [Ping timeout: 250 seconds]
<apeiros>
I tended to write more abstract systems a few years ago.
<dagobah>
So there's actually two distinctions, passing in objects that can "puts and gets" and being able to "present" using the UI
<apeiros>
nowadays I write code mostly for the task at hand and abstract when needed
<apeiros>
I found that most abstractions never got put to use and then just needlessly introduced complexity.
<dagobah>
That's interesting.
<apeiros>
the abstractions I do nowadays is to have clean borders, clear separations of concerns. which facilitate understanding of the program.
<dagobah>
I find that takes more time upfront (and more code).
<dagobah>
But as you say, increase understanding/maintainability further down the line.
<apeiros>
the "more time upfront" is a matter of training IME
<apeiros>
and more code should be minimal
<canton7-mac>
we tend to do lots of short projects. the pressure is on to not bother with abstractions, as they suck money. however they're what saves your bacon when a last-minute requirements change comes in :P
<apeiros>
if you have substantially more code, you're probably abstracting more than just for clean borders/concerns
<apeiros>
i.e. you're adding abstractions of the "maybe in the future / somebody else might want to" kind
woollyams has joined #ruby-lang
<apeiros>
the abstractions I do are of the kind "I have to do this anyway, but lets do it in the right place"
VTLob has joined #ruby-lang
<dagobah>
Good points, tradeoffs as always.
<apeiros>
I mean my code does the same as the original code and is ~30% larger. mostly because I didn't use Forwardable for List
<dagobah>
Forwardable for List?
<dagobah>
Do you mean you didn't just delegate to an Array?
<apeiros>
I do just delegate
<apeiros>
but I coded it out
<apeiros>
I could have used Forwardable and not code it out
<dagobah>
Ah yes, I find that to be a little ugly and more work if and when I want to modify the each to say, yield something more than just the items.
ohsix has joined #ruby-lang
stamina has joined #ruby-lang
jason_ has joined #ruby-lang
Splourian has joined #ruby-lang
jason_ has quit [Remote host closed the connection]
seanot has joined #ruby-lang
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
miqui has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
postmodern has quit [Quit: Leaving]
seanot has quit [Ping timeout: 240 seconds]
c_s_g has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
lcdhoffman has joined #ruby-lang
danijoo has joined #ruby-lang
sudharsan has quit [Remote host closed the connection]
dsaint-pierre has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 276 seconds]
skade has joined #ruby-lang
Voker57 has joined #ruby-lang
benlovell has quit [Ping timeout: 276 seconds]
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
woollyams has quit [Ping timeout: 252 seconds]
yubrew has joined #ruby-lang
sarkyniin has joined #ruby-lang
yann_ck has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sferik has joined #ruby-lang
sudharsan has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
whitecrow1 is now known as wabisuke
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
woollyams has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
Muz_ is now known as Muz
lcdhoffman has joined #ruby-lang
woollyams has quit [Read error: No route to host]
allomov_ has joined #ruby-lang
woollyams has joined #ruby-lang
robmiller has quit [Quit: Leaving.]
allomov__ has joined #ruby-lang
allomov has quit [Ping timeout: 240 seconds]
robmiller has joined #ruby-lang
Splourian has quit [Ping timeout: 240 seconds]
mehlah has joined #ruby-lang
nertzy has joined #ruby-lang
davispuh has joined #ruby-lang
allomov_ has quit [Ping timeout: 250 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
allomov__ has quit [Ping timeout: 250 seconds]
yalue has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
dsaint-pierre has joined #ruby-lang
allomov has joined #ruby-lang
benlovell has joined #ruby-lang
symm- has joined #ruby-lang
simono has joined #ruby-lang
DEac-_ has joined #ruby-lang
sudharsan has quit [Remote host closed the connection]
Tn6o has joined #ruby-lang
dsaint-pierre has quit [Ping timeout: 240 seconds]
DEac- has quit [Ping timeout: 276 seconds]
slawrence00 has joined #ruby-lang
tea-boy__ has quit [Remote host closed the connection]
toretore has joined #ruby-lang
tea-boy has joined #ruby-lang
sepp2k has joined #ruby-lang
tea-boy has quit [Read error: Connection reset by peer]
tea-boy has joined #ruby-lang
tea-boy has quit [Read error: Connection reset by peer]
tea-boy has joined #ruby-lang
Scymex has joined #ruby-lang
karamazov has joined #ruby-lang
sudharsan has joined #ruby-lang
sudharsan has quit [Client Quit]
tea-boy_ has joined #ruby-lang
seanot has joined #ruby-lang
matp has joined #ruby-lang
scmx has quit [Ping timeout: 252 seconds]
tea-boy__ has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
tea-boy has quit [Ping timeout: 240 seconds]
tea-boy_ has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
tea-boy has joined #ruby-lang
seanot has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
tea-boy_ has joined #ruby-lang
yann_ck has joined #ruby-lang
tea-boy__ has quit [Ping timeout: 276 seconds]
tea-boy_ has quit [Read error: Connection reset by peer]
nertzy has quit [Quit: This computer has gone to sleep]
leandrosnunes has joined #ruby-lang
tea-boy_ has joined #ruby-lang
tea-boy has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
lcdhoffman has joined #ruby-lang
tea-boy__ has joined #ruby-lang
tea-boy_ has quit [Ping timeout: 276 seconds]
sdouglas has joined #ruby-lang
tea-boy_ has joined #ruby-lang
tea-boy__ has quit [Read error: Connection reset by peer]
miqui has joined #ruby-lang
robmiller has quit [Quit: Leaving.]
tea-boy has joined #ruby-lang
tea-boy__ has joined #ruby-lang
tea-boy_ has quit [Ping timeout: 245 seconds]
sdouglas has quit [Ping timeout: 245 seconds]
tea-boy_ has joined #ruby-lang
tea-boy has quit [Ping timeout: 276 seconds]
robmiller has joined #ruby-lang
yubrew has joined #ruby-lang
kukyakya has joined #ruby-lang
kukyakya has quit [Remote host closed the connection]
tea-boy has joined #ruby-lang
BubonicPestilenc has quit [Quit: BubonicPestilenc]
tea-boy__ has quit [Ping timeout: 276 seconds]
tea-boy__ has joined #ruby-lang
tea-boy_ has quit [Ping timeout: 276 seconds]
yubrew has quit [Ping timeout: 252 seconds]
tea-boy__ has quit [Read error: Connection reset by peer]
tea-boy_ has joined #ruby-lang
tea-boy has quit [Ping timeout: 252 seconds]
robmiller has quit [Quit: Leaving.]
Burgestrand has quit [Quit: Burgestrand]
tea-boy has joined #ruby-lang
tea-boy has quit [Read error: Connection reset by peer]
tea-boy__ has joined #ruby-lang
tea-boy_ has quit [Read error: Connection reset by peer]
danijoo has quit [Read error: Connection reset by peer]
tea-boy has joined #ruby-lang
danijoo has joined #ruby-lang
rahul_j has joined #ruby-lang
rofel has quit [Quit: Leaving...]
woollyams has joined #ruby-lang
tea-boy_ has joined #ruby-lang
tea-boy__ has quit [Ping timeout: 240 seconds]
tea-boy__ has joined #ruby-lang
tea-boy has quit [Read error: Connection reset by peer]
tea-boy has joined #ruby-lang
tea-boy_ has quit [Ping timeout: 240 seconds]
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby-lang
tea-boy has quit [Read error: Connection reset by peer]
tea-boy has joined #ruby-lang
tea-boy__ has quit [Ping timeout: 276 seconds]
tea-boy_ has joined #ruby-lang
khaase has joined #ruby-lang
khaase has joined #ruby-lang
seanot has joined #ruby-lang
workmad3 is now known as wm3|lunch
tea-boy_ has quit [Read error: Connection reset by peer]
tea-boy_ has joined #ruby-lang
tea-boy has quit [Ping timeout: 252 seconds]
Pupeno has quit [Ping timeout: 276 seconds]
bzb has joined #ruby-lang
tea-boy_ has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby-lang
tea-boy has joined #ruby-lang
[spoiler] has joined #ruby-lang
dsaint-pierre has joined #ruby-lang
bzb has quit [Read error: Connection reset by peer]
<sarkyniin>
hey
<sarkyniin>
oh wait
<sarkyniin>
I'm dumb
<yorickpeterse>
welcome to the club
stamina has quit [Quit: WeeChat 0.4.3]
Pupeno has quit [Remote host closed the connection]
dsaint-pierre has quit [Ping timeout: 276 seconds]
sarkyniin has quit [Ping timeout: 245 seconds]
mehlah has quit [Quit: Leaving...]
tea-boy_ has joined #ruby-lang
seanot has quit [Remote host closed the connection]
tea-boy has quit [Ping timeout: 250 seconds]
tea-boy_ has quit [Read error: Connection reset by peer]
tea-boy has joined #ruby-lang
arBmind has quit [Read error: Connection reset by peer]
tea-boy has quit [Read error: Connection reset by peer]
tea-boy has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
momomomomo has joined #ruby-lang
tea-boy has quit [Read error: Connection reset by peer]
tea-boy has joined #ruby-lang
tea-boy has quit [Read error: Connection reset by peer]
tea-boy has joined #ruby-lang
dsaint-pierre has joined #ruby-lang
tea-boy_ has joined #ruby-lang
tea-boy has quit [Read error: Connection reset by peer]
tea-boy_ has quit [Read error: Connection reset by peer]
tea-boy has joined #ruby-lang
zlogan has quit [Ping timeout: 250 seconds]
tkuchiki has quit [Ping timeout: 252 seconds]
tea-boy has quit [Read error: Connection reset by peer]
tea-boy has joined #ruby-lang
symm- has quit [Ping timeout: 252 seconds]
tea-boy_ has joined #ruby-lang
seanot has joined #ruby-lang
robmiller has joined #ruby-lang
tea-boy has quit [Ping timeout: 245 seconds]
tea-boy__ has joined #ruby-lang
tea-boy_ has quit [Read error: Connection reset by peer]
sdouglas has joined #ruby-lang
vondruch has quit [Ping timeout: 252 seconds]
tea-boy__ has quit [Read error: Connection reset by peer]
yubrew has joined #ruby-lang
tea-boy has joined #ruby-lang
malconis has joined #ruby-lang
seanot has quit [Ping timeout: 252 seconds]
symm- has joined #ruby-lang
tea-boy_ has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
clamstar has quit [Max SendQ exceeded]
yubrew has quit [Ping timeout: 245 seconds]
clamstar has joined #ruby-lang
tea-boy has quit [Ping timeout: 240 seconds]
tea-boy has joined #ruby-lang
tea-boy_ has quit [Read error: Connection reset by peer]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tea-boy has quit [Read error: Connection reset by peer]
tea-boy_ has joined #ruby-lang
tea-boy_ has quit [Read error: Connection reset by peer]
jgpawletko has joined #ruby-lang
tea-boy has joined #ruby-lang
rahul_j_ has joined #ruby-lang
rahul_j has quit [Ping timeout: 240 seconds]
rahul_j_ is now known as rahul_j
tea-boy_ has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
tea-boy__ has joined #ruby-lang
tea-boy has quit [Ping timeout: 240 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
yann_ck has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elia has quit [Read error: Connection reset by peer]
elia has joined #ruby-lang
mehlah has joined #ruby-lang
tea-boy_ has quit [Ping timeout: 240 seconds]
tea-boy has joined #ruby-lang
tea-boy has quit [Read error: Connection reset by peer]
tea-boy_ has joined #ruby-lang
tea-boy__ has quit [Ping timeout: 240 seconds]
nathanstitt has joined #ruby-lang
tea-boy has joined #ruby-lang
tea-boy_ has quit [Read error: Connection reset by peer]
symm- has quit [Ping timeout: 245 seconds]
andrius444 has joined #ruby-lang
tea-boy_ has joined #ruby-lang
<andrius444>
hi
<andrius444>
anyone active in here?
butterbrei has joined #ruby-lang
<canton7-mac>
sure
<yorickpeterse>
ssssssh
tea-boy__ has joined #ruby-lang
tea-boy has quit [Ping timeout: 245 seconds]
andrius444 has left #ruby-lang [#ruby-lang]
tea-boy__ has quit [Read error: Connection reset by peer]
tea-boy has joined #ruby-lang
tea-boy_ has quit [Ping timeout: 276 seconds]
tea-boy_ has joined #ruby-lang
tea-boy has quit [Ping timeout: 245 seconds]
tea-boy has joined #ruby-lang
tea-boy_ has quit [Read error: Connection reset by peer]
AncientAmateur has joined #ruby-lang
face has quit [Ping timeout: 240 seconds]
tea-boy_ has joined #ruby-lang
alexju has joined #ruby-lang
face has joined #ruby-lang
tea-boy has quit [Ping timeout: 240 seconds]
tea-boy has joined #ruby-lang
tea-boy_ has quit [Ping timeout: 240 seconds]
tea-boy_ has joined #ruby-lang
slawrence00 has joined #ruby-lang
tea-boy_ has quit [Read error: Connection reset by peer]
tea-boy_ has joined #ruby-lang
shinnya has joined #ruby-lang
tea-boy has quit [Ping timeout: 250 seconds]
tea-boy has joined #ruby-lang
khaase has quit [Remote host closed the connection]
khaase has joined #ruby-lang
tea-boy has quit [Read error: Connection reset by peer]
tea-boy_ has quit [Read error: Connection reset by peer]
yann_ck has joined #ruby-lang
tea-boy has joined #ruby-lang
achal has quit [Quit: Connection closed for inactivity]
tea-boy_ has joined #ruby-lang
khaase has quit [Ping timeout: 252 seconds]
brownies has quit [Ping timeout: 246 seconds]
tea-boy__ has joined #ruby-lang
tea-boy has quit [Ping timeout: 276 seconds]
seanot has joined #ruby-lang
tea-boy has joined #ruby-lang
arBmind has joined #ruby-lang
khaase has joined #ruby-lang
khaase has joined #ruby-lang
khaase has quit [Changing host]
tea-boy_ has quit [Ping timeout: 276 seconds]
rahul_j has quit [Quit: rahul_j]
butterbrei has quit [Quit: butterbrei]
tea-boy has quit [Read error: Connection reset by peer]
tea-boy_ has joined #ruby-lang
tea-boy__ has quit [Ping timeout: 245 seconds]
momomomomo has quit [Quit: momomomomo]
yubrew has joined #ruby-lang
tea-boy has joined #ruby-lang
brownies has joined #ruby-lang
brownies has joined #ruby-lang
brownies has quit [Changing host]
tea-boy__ has joined #ruby-lang
sferik has quit [Read error: Connection reset by peer]
tea-boy_ has quit [Ping timeout: 252 seconds]
tea-boy__ has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 240 seconds]
tea-boy has quit [Ping timeout: 252 seconds]
sdouglas has joined #ruby-lang
karamazo_ has joined #ruby-lang
tea-boy has joined #ruby-lang
khaase has quit [Ping timeout: 250 seconds]
loincloth has joined #ruby-lang
tea-boy_ has joined #ruby-lang
khaase has joined #ruby-lang
khaase has quit [Changing host]
khaase has joined #ruby-lang
sdouglas has quit [Ping timeout: 250 seconds]
karamazov has quit [Ping timeout: 245 seconds]
allomov has quit [Remote host closed the connection]
tea-boy__ has joined #ruby-lang
tea-boy has quit [Ping timeout: 252 seconds]
allomov has joined #ruby-lang
tkuchiki has joined #ruby-lang
tea-boy_ has quit [Read error: Connection reset by peer]
tea-boy has joined #ruby-lang
tea-boy__ has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby-lang
wm3|lunch is now known as workmad3
karamazo_ has quit []
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
lolmaus has joined #ruby-lang
saarinen has quit [Ping timeout: 250 seconds]
saarinen has joined #ruby-lang
yubrew has joined #ruby-lang
st3v3dnd has joined #ruby-lang
st3v3dnd is now known as stevednd
lcdhoffman has quit [Quit: lcdhoffman]
saarinen has quit [Quit: saarinen]
sferik has joined #ruby-lang
stevednd has quit [Quit: Leaving]
jason_ has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
stevednd has joined #ruby-lang
danijoo has joined #ruby-lang
jason_ has quit [Remote host closed the connection]
agarie has joined #ruby-lang
sdouglas has joined #ruby-lang
chouhoulis has joined #ruby-lang
alexju has quit [Ping timeout: 276 seconds]
thrillagorilla has quit [Ping timeout: 272 seconds]
rahul_j has joined #ruby-lang
drasch has left #ruby-lang [#ruby-lang]
alex-quiterio has joined #ruby-lang
rofel has joined #ruby-lang
enebo has joined #ruby-lang
mbj has joined #ruby-lang
toastynerd has joined #ruby-lang
allomov_ has joined #ruby-lang
allomov__ has joined #ruby-lang
allomov_ has quit [Read error: Connection reset by peer]
alex-quiterio has quit [Quit: Leaving.]
havenwood has joined #ruby-lang
alex-quiterio has joined #ruby-lang
workmad3 has quit [Quit: Lost terminal]
allomov has quit [Ping timeout: 250 seconds]
workmad3 has joined #ruby-lang
havenwood has quit [Client Quit]
alex-quiterio has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
alexju has joined #ruby-lang
mistym has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
jstemmer has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 252 seconds]
jstemmer has joined #ruby-lang
mistym has quit [Remote host closed the connection]
|jemc| has joined #ruby-lang
Fretta has joined #ruby-lang
shinnya has quit [Ping timeout: 252 seconds]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apeiros has quit [Ping timeout: 240 seconds]
yann_ck has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
minim has joined #ruby-lang
minim has quit [Client Quit]
pixelhandler has joined #ruby-lang
riffraff has quit [Quit: Leaving]
lcdhoffman has joined #ruby-lang
toastynerd has joined #ruby-lang
sferik has joined #ruby-lang
achal has joined #ruby-lang
alex-quiterio has joined #ruby-lang
Scymex has quit [Ping timeout: 240 seconds]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
mistym has joined #ruby-lang
mykoweb has joined #ruby-lang
michaeldeol has joined #ruby-lang
sdouglas_ has joined #ruby-lang
alex-quiterio1 has joined #ruby-lang
alex-quiterio has quit [Ping timeout: 252 seconds]
sdouglas has quit [Ping timeout: 258 seconds]
symm- has joined #ruby-lang
alex-quiterio1 has left #ruby-lang [#ruby-lang]
stevednd has quit [Quit: Leaving]
jsullivandigs has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
jsutt has joined #ruby-lang
allomov__ has quit [Remote host closed the connection]
elia has quit [Ping timeout: 258 seconds]
toastynerd has quit [Remote host closed the connection]
dwknoxy has joined #ruby-lang
c_s_g has quit [Read error: Connection reset by peer]
mykoweb has quit [Remote host closed the connection]
glide has joined #ruby-lang
RobertBirnie has joined #ruby-lang
alex-quiterio has joined #ruby-lang
jsutt has quit [Ping timeout: 245 seconds]
breakingthings has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
yann_ck has joined #ruby-lang
centrx has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lcdhoffman has quit [Quit: lcdhoffman]
alexju has quit [Ping timeout: 250 seconds]
musl has quit [Read error: Operation timed out]
musl_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
alex-quiterio has quit [Quit: Leaving.]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 258 seconds]
benlovel1 has joined #ruby-lang
sferik has quit [Ping timeout: 252 seconds]
peterc has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 240 seconds]
mykoweb has joined #ruby-lang
benlovell has quit [Ping timeout: 276 seconds]
diegoviola has joined #ruby-lang
<peterc>
With regards to the heartbleed issue and recompiling Ruby, it's reasonably unlikely many Ruby developers will be affected at the Ruby level, right?
<peterc>
(That is, from a Ruby POV, it would only matter if you'd created a server at the Ruby level that used TLS.)
Senjai`work has joined #ruby-lang
Senjai`work has quit [Changing host]
Senjai`work has joined #ruby-lang
Senjai`work is now known as Senjai
dagobah has quit [Quit: Leaving...]
michaeldeol has joined #ruby-lang
<Senjai>
morning
rippa has joined #ruby-lang
karamazov has joined #ruby-lang
heftig has quit [Ping timeout: 252 seconds]
vsorlov has joined #ruby-lang
mistym has quit [Remote host closed the connection]
toastynerd has joined #ruby-lang
khaase has quit [Remote host closed the connection]
sferik has joined #ruby-lang
marr has quit []
michaeldeol has quit [Client Quit]
toastynerd has quit [Remote host closed the connection]
thrillagorilla has joined #ruby-lang
lcdhoffman has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
toastynerd has joined #ruby-lang
rahul_j has joined #ruby-lang
cored has quit [Ping timeout: 240 seconds]
thrillagorilla has quit [Client Quit]
michaeldeol has joined #ruby-lang
<havenwood>
peterc: Depends. For example ruby-install isn't vulnerable, just update your package manager openssl and it'll dynamically link. On the other hand, ruby-build still uses broken openssl even if you update your package manager, so you have to update ruby-build.
RobertBirnie has joined #ruby-lang
<havenwood>
peterc: OpenSSL::OPENSSL_VERSION only gets updated on compilation and may report an earlier version that what is actually dynamically linked.
<peterc>
Ah, what I mean is even if someone is linked against a vulnerable version, what are the ways it could be exploited?
<peterc>
As heartbeat stuff is specific to connections, I'm assuming it's probably specific to situations where you might be rolling your own daemon?
karamazov has quit []
allomov has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
elliotec has joined #ruby-lang
<peterc>
Aha, think I found my answer. Clients are vulnerable, not just servers.
dstynchula has joined #ruby-lang
<peterc>
So a hacked server could in theory use heartbleed on a regular client (that's using OpenSSL itself).
diegoviola has quit [Quit: WeeChat 0.4.3]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
Coincidental has joined #ruby-lang
nisstyre has joined #ruby-lang
gix- has joined #ruby-lang
gix has quit [Disconnected by services]
mykoweb has quit [Remote host closed the connection]
<Senjai>
peterc: I don't think so..
c_s_g has joined #ruby-lang
<Senjai>
peterc: Its possible, I just dont know. I would think it was the server implimentation not the client
<peterc>
I'm not well informed enough to give a technical explanation, but..
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agarie has quit [Remote host closed the connection]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<peterc>
What got me wondering was why updating Ruby made any sense if it was just for servers.. since I can't imagine anyone uses Ruby directly to run an https daemon (could be wrong though!)
<peterc>
But if clients are vulnerable, even if it's an extremely unlikely situation compared to servers, then the upgrade would be worthwhile in most cases.
<darix>
peterc: just because your openssl version reports something that is affected. it doesnt mean it is actually affected as your distributor might have backported the patch.
vinhbachsy has joined #ruby-lang
yfeldblum has quit [Ping timeout: 250 seconds]
elia has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
marr has joined #ruby-lang
benlovel1 has quit [Ping timeout: 258 seconds]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<darix>
peterc: i would test if you are really affected with the little tools from emboss?
elliotec has quit [Remote host closed the connection]
AncientAmateur has joined #ruby-lang
qba73 has quit [Remote host closed the connection]
AncientAmateur has quit [Ping timeout: 252 seconds]
<peterc>
Ah, I don't even run openssl modern enough to be affected ;-) Just needing to give the general public the "quick, upgrade!" or "this doesn't really matter unless you're doing [x]" advice.
<peterc>
And it seems to learn more towards the former even in this case.
weems has quit []
elliotec has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
ScaredWee has joined #ruby-lang
tos9 has joined #ruby-lang
havenwood has joined #ruby-lang
ScaredWee has quit [Client Quit]
jsutt has joined #ruby-lang
tos9 has left #ruby-lang [#ruby-lang]
khaase has joined #ruby-lang
charlies_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
peterc has quit []
iliketurtles has joined #ruby-lang
scmx has joined #ruby-lang
havenwood has quit [Ping timeout: 250 seconds]
Scymex has joined #ruby-lang
weems has joined #ruby-lang
<crankharder>
anyone know how to execute something after all tests have run while using minitest?
wallerdev has joined #ruby-lang
khaase has quit [Ping timeout: 252 seconds]
tbuehlmann has quit [Quit: Leaving]
havenwood has joined #ruby-lang
saarinen has joined #ruby-lang
weems has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
elliotec has quit [Read error: Connection reset by peer]
kgrz has joined #ruby-lang
alex-quiterio has joined #ruby-lang
elliotec has joined #ruby-lang
AncientAmateur has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
loincloth has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 240 seconds]
c_s_g has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tea-boy has quit [Remote host closed the connection]
tea-boy has quit [Read error: Connection reset by peer]
weems has joined #ruby-lang
tea-boy has joined #ruby-lang
<crankharder>
I added a call to 'exit' to the very first test that runs in my suite (effectively ending the test suite early) and SimpleCov and/or Coverage still manage to write a new coverage report to coverage/
<crankharder>
how would it be doing that?
sferik has joined #ruby-lang
skade has joined #ruby-lang
anjen has joined #ruby-lang
<workmad3>
crankharder: with an at_exit callback
<anjen>
HI folks, Sorry, maybe a bit of a newbish question. How would I issue the equivalent to the linux df- h command from within Ruby?
sarkyniin has joined #ruby-lang
<crankharder>
workmad3: but the test suit didn't run?
<Senjai>
anjen: Backticks (``) call a system program and return its output. As opposed to the first approach, the command is not provided through a string, but by putting it inside a backticks pair.
_elia has joined #ruby-lang
<workmad3>
crankharder: the test suite still loaded simplecov
<workmad3>
crankharder: which started it up and loaded anything like an at_exit handler
<anjen>
Senjai: Ah...I see, thank you VERY much for the info and for the link. Much appreciated.
cnivolle has quit [Ping timeout: 240 seconds]
<crankharder>
sure, i understand, but if the tests dont run how does it get a coverage report on what lines have been executed and what haven't ?
<workmad3>
crankharder: and then it tracked stuff like how many lines of code were hit before closing... which in your case would be things like 'class Foobar'
<sarkyniin>
hey
<sarkyniin>
if I had to pass a hash to a block
<sarkyniin>
how would I go to do it
<sarkyniin>
if I couldn't pass it through |*args|
<crankharder>
hmm, okay, that makes sense
michaeldeol has joined #ruby-lang
<workmad3>
crankharder: so 162 lines of code were 'loaded' (probably your test_helper and anything it loads) and 74 were actually hit
hahuang65 has joined #ruby-lang
glide has quit [Quit: Leaving]
skade has quit [Ping timeout: 252 seconds]
skade has joined #ruby-lang
<wallerdev>
sarkyniin: your question doesnt make much sense?
<crankharder>
yea, that makes sense. still can't figure out why it won't give me coverage on {app,test}/{classes,modules} -- my suite is definitely loading and executing those tests
<wallerdev>
cant you just do yield my_hash
michaeldeol has quit [Read error: Connection reset by peer]
elia has quit [Ping timeout: 258 seconds]
deol has joined #ruby-lang
<workmad3>
crankharder: maybe the wrong profile of what to check is being loaded?
<sarkyniin>
updated, I forgot something that I corrected
<wallerdev>
you can access users from inside the block
<sarkyniin>
undefined local variable or method `users' for #<ChatHandler:0x007f289989e888>
<wallerdev>
dont need to pass it to the block
<crankharder>
workmad3: even running SimpleCov w/o the rails profile doesn't include all tests in test/**/
<sarkyniin>
I'm probably sounding like someone really dumb right now
<sarkyniin>
I don't know why but it doesn't seem to want to work
Tn6o has quit [Remote host closed the connection]
<wallerdev>
well it should work okay in the sample you posted
<wallerdev>
maybe the issue is somewhere else
Tn6o has joined #ruby-lang
<sarkyniin>
hm
<sarkyniin>
are variables shared
<sarkyniin>
if I do "require file.rb"
<apeiros>
local variables are local - not shared
<apeiros>
constants and globals will be visible
<sarkyniin>
oh ok
<apeiros>
but don't use globals
<sarkyniin>
I don't want to use a constant tho
<sarkyniin>
since I need to modify it
yfeldblum has joined #ruby-lang
<sarkyniin>
I placed the hash in a separate file since I want to access it from multiple files
<wallerdev>
haha
<wallerdev>
put it in one file, and load the other files in that one
mikecmpbll has joined #ruby-lang
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sarkyniin>
what do you mean
<sarkyniin>
oh
khaase has joined #ruby-lang
<sarkyniin>
I don't think that would work
Tn6o has quit [Ping timeout: 245 seconds]
<sarkyniin>
basically every file is a command
xsdg_ has quit [Read error: Operation timed out]
<sarkyniin>
and loading all the other files in this one would cause problems
anjen has quit [Quit: anjen]
<wallerdev>
you want your hash defined in your main file, then you can load the other files, and pass the hash to those methods you defined in those files
<sarkyniin>
okay
araujo has quit [Ping timeout: 255 seconds]
_elia has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
loincloth has joined #ruby-lang
amsi has joined #ruby-lang
alex-quiterio1 has joined #ruby-lang
khaase_ has joined #ruby-lang
alex-quiterio1 has quit [Client Quit]
xsdg has joined #ruby-lang
khaase has quit [Ping timeout: 252 seconds]
jason__ has quit [Remote host closed the connection]
alex-quiterio has quit [Ping timeout: 245 seconds]
khaase has joined #ruby-lang
sdouglas_ has quit [Remote host closed the connection]
vinhbachsy has quit []
khaase_ has quit [Ping timeout: 240 seconds]
jsutt has quit [Ping timeout: 252 seconds]
Voker57 has quit [Remote host closed the connection]
sunaku has joined #ruby-lang
alex-quiterio has joined #ruby-lang
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Willox has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
symm- has quit [Ping timeout: 276 seconds]
iliketurtles has quit [Quit: zzzzz…..]
cored has joined #ruby-lang
nisstyre has quit [Quit: WeeChat 0.4.3]
nathanstitt has quit [Quit: I growing sleepy]
tbuehlmann has joined #ruby-lang
rofel has quit [Remote host closed the connection]
solars has quit [Ping timeout: 276 seconds]
iliketurtles has joined #ruby-lang
agarie has joined #ruby-lang
retro_ has joined #ruby-lang
retro|cz has quit [Ping timeout: 250 seconds]
jason__ has joined #ruby-lang
seanot has quit []
jason___ has joined #ruby-lang
jason__ has quit [Read error: No route to host]
symm- has joined #ruby-lang
allomov has quit [Remote host closed the connection]
robmiller has quit [Quit: Leaving.]
jason___ has quit [Ping timeout: 258 seconds]
heftig has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
LMity has joined #ruby-lang
hellome has quit [Ping timeout: 240 seconds]
tbuehlmann has quit [Remote host closed the connection]
alex-quiterio has quit [Quit: Leaving.]
kgrz has quit [Remote host closed the connection]
RobertBirnie has joined #ruby-lang
Burgestrand has joined #ruby-lang
fragamus has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
alex-quiterio has joined #ruby-lang
yalue has quit [Quit: Leaving]
priodev has joined #ruby-lang
jsutt has quit [Remote host closed the connection]
jsutt has joined #ruby-lang
qba73 has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
jason___ has joined #ruby-lang
<bougyman>
have you ever seen 'bundle exec' wipe out a Gemfile.lock?
davispuh has quit [Remote host closed the connection]
<bougyman>
this is happening consistently here.
qba73 has quit [Ping timeout: 250 seconds]
glide has joined #ruby-lang
davispuh has joined #ruby-lang
_ht has quit [Read error: Connection reset by peer]
rahul_j has quit [Quit: rahul_j]
retro_ has joined #ruby-lang
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex-quiterio has quit [Quit: Leaving.]
sferik has joined #ruby-lang
mistym_ has quit [Remote host closed the connection]
alex-quiterio has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
toastynerd has joined #ruby-lang
iliketurtles has joined #ruby-lang
Pupeno has joined #ruby-lang
Scymex_ has joined #ruby-lang
Scymex__ has joined #ruby-lang
jhass|off is now known as jhass
axv has quit []
scmx has quit [Ping timeout: 250 seconds]
Scymex has quit [Ping timeout: 245 seconds]
nifoc has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
toastynerd is now known as cooper2
cooper2 is now known as Cooper2
loincloth has quit [Remote host closed the connection]
Burgestrand has quit [Quit: Burgestrand]
Burgestrand has joined #ruby-lang
khaase_ has joined #ruby-lang
sarkyniin has quit [Quit: Quitte]
nifoc has joined #ruby-lang
khaase has quit [Ping timeout: 252 seconds]
tea-boy has quit [Remote host closed the connection]
tea-boy has joined #ruby-lang
Cooper2 is now known as CooperInfinity
jason___ has quit [Ping timeout: 258 seconds]
<crankharder>
So, I've been seeing the SimpleCov doesn't play nice with rails 4.x - I'm not seeing any coverage reported after the default test suite is run. I'd like to try to figure out if it's SimpleCov, or purely ruby's Coverage, but it's unclear how I can execute "Coverage.result" after all the tests have run in rails' default suite
postmodern has joined #ruby-lang
<crankharder>
if I drop Kernel#at_exit in test_helper it's seemingly executed before the tests are actually run, i guess maybe rails is launching a new process in there somewhere
Coincidental has joined #ruby-lang
honeypoopoo has quit [Quit: Page closed]
tea-boy has quit [Ping timeout: 245 seconds]
alexju has joined #ruby-lang
benanne has joined #ruby-lang
jason___ has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
yfeldblum has joined #ruby-lang
Scymex__ has quit [Ping timeout: 276 seconds]
Scymex_ has quit [Ping timeout: 276 seconds]
jason___ has quit [Ping timeout: 258 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has quit [Quit: Computer has gone to sleep.]
loincloth has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
herpless has quit [Quit: Connection closed for inactivity]
sdouglas has joined #ruby-lang
jason___ has joined #ruby-lang
dorei has joined #ruby-lang
iliketurtles has joined #ruby-lang
elliotec has joined #ruby-lang
alex-quiterio has quit [Quit: Leaving.]
allomov has joined #ruby-lang
CooperInfinity is now known as toastynerd
ur5us has joined #ruby-lang
ascarter has joined #ruby-lang
qba73 has joined #ruby-lang
<crankharder>
it kinda feels like ruby's native Coverage is excluding certain files