Eiam has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
coniptor has joined #ruby
SeepingN has joined #ruby
dfucci has joined #ruby
roadie has quit [Ping timeout: 272 seconds]
nicholaslyang has joined #ruby
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blobsson has joined #ruby
Garb0_ has joined #ruby
dfucci has quit [Ping timeout: 258 seconds]
Garb0 has quit [Ping timeout: 264 seconds]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
drincruz has joined #ruby
<Dirak>
In Ruby, can arrays hold methods?
<Dirak>
Like, in JS I'd be able to do [() => {}, () => {}, () => {}]. Is this or similar possible in Ruby?
DaRock has quit [Ping timeout: 264 seconds]
<reyfi9e>
Dirak: of course. Use Proc or lambda (or even a Method instance)
<Dirak>
Is there syntactic sugar for multiple or statements in Ruby? I want to simplify x == y || x == z
alfiemax has joined #ruby
dfucci has joined #ruby
ChmEarl has quit [Quit: Leaving]
alfiemax has quit [Ping timeout: 246 seconds]
<leftylink>
interesting
<leftylink>
but since Ruby doesn't have comparison operator chaining like some other languages do, the only thing I can think of would be something like [y, z].include?(x)
trueFireblade has quit [Quit: WeeChat 2.8]
<leftylink>
that gets far more useful if there are going to be more things in the list
dfucci has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
<Dirak>
ah that's fine. New to Ruby. Just trying to do the rubyic thing
<Dirak>
pythonic => rubyic
<al2o3-cr>
i was thinking along the lines of [y,z].any? x.method(:==)
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicholaslyang has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
nicholaslyang has quit [Client Quit]
rafadc has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
nicholaslyang has joined #ruby
Xiti has quit [Quit: Leaving]
Xiti has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roadie has joined #ruby
alfiemax has quit [Remote host closed the connection]
Xiti has quit [Quit: Leaving]
Xiti has joined #ruby
jenrzzz has joined #ruby
alfiemax has joined #ruby
conta1 has joined #ruby
conta has quit [Ping timeout: 256 seconds]
conta1 is now known as conta
roadie has quit [Ping timeout: 272 seconds]
Xiti has quit [Quit: Leaving]
Xiti has joined #ruby
BH23 has quit [Ping timeout: 264 seconds]
dfucci has joined #ruby
imadper has joined #ruby
conta1 has joined #ruby
conta has quit [Ping timeout: 260 seconds]
conta1 is now known as conta
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
nicholaslyang has joined #ruby
roadie has joined #ruby
pwl has joined #ruby
nicholaslyang has quit [Client Quit]
nicholaslyang has joined #ruby
vondruch has joined #ruby
nicholaslyang has quit [Client Quit]
gitter1234 has quit [Quit: Connection closed for inactivity]
schn31d3r has joined #ruby
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
imode has quit [Ping timeout: 256 seconds]
livcd_ has quit [Changing host]
livcd_ has joined #ruby
bijan_ has joined #ruby
miskatonic has joined #ruby
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
Dirak has quit [Ping timeout: 246 seconds]
jacksop has joined #ruby
ellcs1 has joined #ruby
<Cork>
anyone know of a gem or built in method for building "safe" paths? (where the input can't excape the static left side of the path)
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
nicholaslyang has joined #ruby
jacksop has quit [Remote host closed the connection]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
quazimodo has quit [Ping timeout: 240 seconds]
sarna has joined #ruby
<jennis>
Hi guys, what's the best way to use simplecov to generate coverage for multiple test runs? In CI I have unit tests and integration tests and wanted to generate coverage which covers both
jacksop has joined #ruby
memcorrupt has quit [Ping timeout: 258 seconds]
memcorrupt has joined #ruby
nicholaslyang has joined #ruby
gdonald has quit [Ping timeout: 260 seconds]
alfiemax has quit [Remote host closed the connection]
<jhass>
coveralls.io
<jhass>
?
alfiemax has joined #ruby
memcorrupt has quit [Ping timeout: 240 seconds]
BH23 has joined #ruby
gdonald has joined #ruby
roadie has quit [Ping timeout: 246 seconds]
nostrodamy has joined #ruby
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gdonald has quit [Ping timeout: 264 seconds]
alfiemax has quit [Remote host closed the connection]
nicholaslyang has joined #ruby
jacksop has quit [Remote host closed the connection]
alfiemax has joined #ruby
nicholaslyang has quit [Client Quit]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roadie has joined #ruby
gdonald has joined #ruby
chens has joined #ruby
alfiemax has quit [Remote host closed the connection]
chens has quit [Quit: Asta la vista]
alfiemax has joined #ruby
Besnik_b has joined #ruby
znz_jp has quit [Quit: kill -QUIT $$]
znz_jp has joined #ruby
bijan_ has quit [Remote host closed the connection]
bijan_ has joined #ruby
Jonopoly has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
bijan__ has joined #ruby
bijan__ has quit [Remote host closed the connection]
bijan_ has joined #ruby
shansen_ has quit [Remote host closed the connection]
bijan_ has quit [Ping timeout: 258 seconds]
imadper has quit [Remote host closed the connection]
shansen has joined #ruby
duderonomy has quit [Ping timeout: 264 seconds]
duderonomy has joined #ruby
jacksop has joined #ruby
roadie has quit [Remote host closed the connection]
roadie has joined #ruby
jacksop has quit [Remote host closed the connection]
jacksop has joined #ruby
jacksop has quit [Remote host closed the connection]
Jonopoly has quit [Quit: WeeChat 2.8]
Jonopoly has joined #ruby
bijan_ has joined #ruby
roadie has quit [Ping timeout: 244 seconds]
alfiemax has quit [Remote host closed the connection]
jacksop has joined #ruby
jacksop has quit [Remote host closed the connection]
roadie has joined #ruby
dionysus69 has joined #ruby
bijan_ has quit [Remote host closed the connection]
jacksop has joined #ruby
jacksop has quit [Client Quit]
bijan_ has joined #ruby
alfiemax has joined #ruby
bijan_ has quit [Ping timeout: 260 seconds]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
jimconn has joined #ruby
cloaked1 has quit [Ping timeout: 246 seconds]
bijan_ has joined #ruby
drincruz has joined #ruby
cadeskywalker has quit [Ping timeout: 258 seconds]
bijan_ has quit [Ping timeout: 260 seconds]
jingjinghack has joined #ruby
GodFather has joined #ruby
jingjinghack has quit [Quit: WeeChat 2.1]
bijan_ has joined #ruby
nicholaslyang has joined #ruby
conta1 has joined #ruby
nicholaslyang has quit [Client Quit]
conta1 has quit [Remote host closed the connection]
conta has quit [Ping timeout: 246 seconds]
conta has joined #ruby
conta has quit [Client Quit]
jenrzzz has quit [Ping timeout: 258 seconds]
burningserenity has joined #ruby
fercell has joined #ruby
postmodern has quit [Quit: Leaving]
dfucci has quit [Read error: Connection reset by peer]
dfucci has joined #ruby
clemens3 has quit [Quit: rebot]
plutes has quit [Ping timeout: 272 seconds]
Garb0 has joined #ruby
Garb0 has quit [Max SendQ exceeded]
drincruz has quit [Ping timeout: 256 seconds]
Garb0 has joined #ruby
plutes has joined #ruby
GodFather has quit [Remote host closed the connection]
burningserenity has quit [Remote host closed the connection]
<rapha>
so use Bundler inside of gem1 to add gem2 into vendor/
<rapha>
then add those files to gem1's .gemspec
<rapha>
that what you meant?
<rapha>
fuck it's raining now
<rapha>
have to pack up, will read later ... laptop not waterproof
<jhass>
nah, it's only for developing on gem1 while using the prelease of it's gem2 dependency
<jhass>
if you release gem1, just relase gem2 prior
<havenwood>
rapha: I just mean ship along with. Stay dry!
<jhass>
if want to use both as prerelease in some third project, add both of them to the Gemfile of that third project
<havenwood>
<aside>I'm actually glad that RubyGems is funded by such a variety of sources rather than just one. It's tempting to want a single, powerful benefactor. Maybe that helps drive direction. But at what cost?</aside>
<rapha>
okay, 11 if you scroll down and find the footer
Eiam has joined #ruby
<rapha>
which are not monetary sponsors tho it seems
<havenwood>
rapha: RubyGems.org is just one part of RubyGems. Ruby Central / Ruby Together together fund the rest with many, many donors.
<rapha>
i see
howdoi has joined #ruby
<havenwood>
rapha: I know Square supports both, but I don't see it listed anywhere. Look at Ruby Central and Ruby Together donors for a look at RubyGems funding.
<rapha>
anyways, definitely better than something commercial, monolithic, like github
troulouliou_dev has quit [Quit: Leaving]
<havenwood>
rapha: They're merging afaik, but historically, Ruby Together funds Bundler works and some RubyGems maintenance and Ruby Central funds all the hosting and associated work.