havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://gist.github.com | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby
shortdudey123 has quit [Ping timeout: 268 seconds]
Koshian has quit [Ping timeout: 268 seconds]
Sina has quit [Quit: Connection closed for inactivity]
graingert has quit [Ping timeout: 268 seconds]
Flonk has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.2]
tff^ has quit []
tabakhase has quit [Ping timeout: 264 seconds]
nfsnobody has quit [*.net *.split]
turt2live has quit [*.net *.split]
voxxit has quit [*.net *.split]
timmow has quit [*.net *.split]
shortdudey123_ has joined #ruby
zleap has quit [Quit: WeeChat 2.1]
graingert has joined #ruby
shortdudey123_ has quit [*.net *.split]
brendan- has quit [*.net *.split]
yokel has quit [*.net *.split]
lxsameer has quit [*.net *.split]
ferr has quit [*.net *.split]
profetes has quit [*.net *.split]
Prira_ has quit [*.net *.split]
m4rCsi has quit [*.net *.split]
jtdowney has quit [*.net *.split]
duckpuppy has quit [*.net *.split]
garyserj has quit [*.net *.split]
chkilroy has quit [*.net *.split]
planigan has quit [*.net *.split]
modin has quit [*.net *.split]
edwardly has quit [*.net *.split]
dinfuehr has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
paraxial has quit [*.net *.split]
ltd has quit [*.net *.split]
AKPWD has quit [*.net *.split]
Fridtjof has quit [*.net *.split]
camilasan has quit [*.net *.split]
zumbi has quit [*.net *.split]
mkaito_ has quit [*.net *.split]
KrzaQ has quit [*.net *.split]
pelegreno has quit [*.net *.split]
AlHafoudh has quit [*.net *.split]
setient has quit [*.net *.split]
foxxx0 has quit [*.net *.split]
Dark_Arc has quit [*.net *.split]
hurricanehrndz has quit [*.net *.split]
arand has quit [*.net *.split]
ghormoon has quit [*.net *.split]
helpa has quit [*.net *.split]
hahuang65 has quit [*.net *.split]
machty has quit [*.net *.split]
justache has quit [*.net *.split]
levifig has quit [*.net *.split]
syndikate has quit [*.net *.split]
Genya has quit [*.net *.split]
zachk has joined #ruby
tabakhase has joined #ruby
tabakhase has quit [Changing host]
tabakhase has joined #ruby
Koshian has joined #ruby
salasrod_ has joined #ruby
zachk has quit [Read error: Connection reset by peer]
salasrod_ has quit [Remote host closed the connection]
salasrod has quit [Read error: Connection reset by peer]
zachk has joined #ruby
mikeiniowa has quit [Remote host closed the connection]
zachk has quit [Changing host]
zachk has joined #ruby
mikeiniowa has joined #ruby
salasrod_ has joined #ruby
diegok has quit [Ping timeout: 260 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shoogz has quit [Ping timeout: 260 seconds]
Demos[m] has quit [Ping timeout: 245 seconds]
alfiemax has joined #ruby
sidntrivedi012[m has quit [Ping timeout: 260 seconds]
luna_x[m] has quit [Ping timeout: 245 seconds]
diegok has joined #ruby
bastilian has quit [Ping timeout: 256 seconds]
Giphy[m] has quit [Ping timeout: 256 seconds]
ignujee[m] has quit [Ping timeout: 260 seconds]
iceskins[m] has quit [Ping timeout: 260 seconds]
redlegion[m] has quit [Ping timeout: 276 seconds]
velu_aon[m] has quit [Ping timeout: 276 seconds]
haylon_ has quit [Ping timeout: 276 seconds]
WinterFox[m] has quit [Ping timeout: 256 seconds]
vermaneerajin[m] has quit [Ping timeout: 245 seconds]
zalipuha[m] has quit [Ping timeout: 245 seconds]
intheclouddan has quit [Ping timeout: 260 seconds]
Hanma[m] has quit [Ping timeout: 260 seconds]
KevinMGranger has quit [Ping timeout: 260 seconds]
jonjits[m] has quit [Ping timeout: 256 seconds]
bascht has quit [Ping timeout: 256 seconds]
carsonbaker[m] has quit [Ping timeout: 276 seconds]
aviraldg has quit [Ping timeout: 276 seconds]
samosaphile has quit [Ping timeout: 252 seconds]
shoogz has joined #ruby
nfsnobody has joined #ruby
timmow has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
Prira_ has joined #ruby
garyserj has joined #ruby
m4rCsi has joined #ruby
jtdowney has joined #ruby
brendan- has joined #ruby
AlHafoudh has joined #ruby
AKPWD has joined #ruby
edwardly has joined #ruby
camilasan has joined #ruby
Dark_Arc has joined #ruby
ferr has joined #ruby
Emmanuel_Chanel has joined #ruby
mkaito_ has joined #ruby
Fridtjof has joined #ruby
ltd has joined #ruby
foxxx0 has joined #ruby
paraxial has joined #ruby
duckpuppy has joined #ruby
helpa has joined #ruby
profetes has joined #ruby
KrzaQ has joined #ruby
hurricanehrndz has joined #ruby
ghormoon has joined #ruby
zumbi has joined #ruby
lxsameer has joined #ruby
chkilroy has joined #ruby
dinfuehr has joined #ruby
modin has joined #ruby
planigan has joined #ruby
setient has joined #ruby
shortdudey123_ has joined #ruby
yokel has joined #ruby
pelegreno has joined #ruby
arand has joined #ruby
levifig has joined #ruby
Genya has joined #ruby
syndikate has joined #ruby
machty has joined #ruby
justache has joined #ruby
hahuang65 has joined #ruby
ghormoon_ has joined #ruby
justache has quit [Max SendQ exceeded]
yokel has quit [Max SendQ exceeded]
ghormoon has quit [Max SendQ exceeded]
shortdudey123_ is now known as shortdudey123
yokel_ has joined #ruby
voxxit has joined #ruby
yokel_ is now known as yokel
justache has joined #ruby
white_lilies has quit [Ping timeout: 260 seconds]
mzo has quit [Ping timeout: 240 seconds]
mynameisdebian has quit [Remote host closed the connection]
lubekpl has joined #ruby
InfinityFye has quit [Quit: Leaving]
cagomez has quit [Remote host closed the connection]
lubekpl has quit [Ping timeout: 276 seconds]
zlogan2003 has quit [Ping timeout: 240 seconds]
ivanskie has quit [Quit: Textual IRC Client: www.textualapp.com]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r29v has quit [Quit: r29v]
mynameisdebian has joined #ruby
Azure|dc has joined #ruby
Azure has quit [Read error: Connection reset by peer]
mynameisdebian has quit [Remote host closed the connection]
aviraldg[m] has joined #ruby
SeepingN has quit [Ping timeout: 244 seconds]
mynameisdebian has joined #ruby
eckhardt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
za1b1tsu_ has joined #ruby
za1b1tsu_ has quit [Ping timeout: 245 seconds]
quobo has quit [Quit: Connection closed for inactivity]
postmodern has joined #ruby
tdy has quit [Ping timeout: 244 seconds]
AJA4350 has quit [Quit: AJA4350]
jp has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
r29v has joined #ruby
mynameisdebian has joined #ruby
white_lilies has joined #ruby
mniip has quit [Ping timeout: 615 seconds]
jonjitsu[m] has joined #ruby
intheclouddan[m] has joined #ruby
bastilian[m] has joined #ruby
sidntrivedi012[m has joined #ruby
ignujee[m] has joined #ruby
luna_x[m] has joined #ruby
TravisR[m]1 has joined #ruby
velu[m] has joined #ruby
Demos[m] has joined #ruby
Hexafox[m] has joined #ruby
Giphy[m] has joined #ruby
legion[m] has joined #ruby
haylon[m] has joined #ruby
KevinMGranger[m] has joined #ruby
Hanma[m] has joined #ruby
zachk has quit [Quit: Leaving]
xall has joined #ruby
xall has quit [Client Quit]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
salasrod_ has quit [Remote host closed the connection]
xall has joined #ruby
jrafanie has joined #ruby
bruce_lee has quit [Ping timeout: 256 seconds]
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
za1b1tsu_ has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
iceskins[m] has joined #ruby
vermaneerajin[m] has joined #ruby
carsonbaker[m] has joined #ruby
bascht[m] has joined #ruby
zalipuha[m] has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
za1b1tsu_ has quit [Ping timeout: 276 seconds]
scrptktty_ has quit [Quit: Connection closed for inactivity]
gnufied has quit [Quit: Leaving]
s2013 has joined #ruby
r29v has quit [Quit: r29v]
mynameisdebian has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kapil___ has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 276 seconds]
alfiemax has joined #ruby
alfiemax has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
k0mpa has joined #ruby
vonfry has joined #ruby
alfiemax has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
Krebsgewehr has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
alfiemax has quit [Ping timeout: 260 seconds]
quarters has quit [Changing host]
quarters has joined #ruby
quarters has joined #ruby
<ineb> iam currently working on a client api that talks to a rest api. iam currently thinking about the design. lets say there is a endpoint /foo?parameter. how to model it on the client side? i could go with def foo(parameter: "default") { ... }
<ineb> OR make it dynamic by not defining all the endpoints manually. i could just use method_missing and some meta programming to make #foo available and translate it to a call to /foo
<ineb> first approach ensures proper usage since only the proper parameter: can be used but the second one is more flexible to api changes
<ineb> but would also allow malformed requests like foo(parameter: 1, wrong_parameter: 2)
<ineb> it would be up to the user to use the api properly
c0ncealed2 has quit [Read error: Connection reset by peer]
c0ncealed2 has joined #ruby
hanmac has quit [Ping timeout: 245 seconds]
nicht has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
<ineb> btw. while there are lots of frameworks to design and host a service with a rest api in ruby
<ineb> are there any frameworks that focus on the client side?
<ineb> swagger-api has it with swagger-codegen
<ineb> but only for swagger apis.
<ineb> iam currently working with a rest api that is sometimes restfull and sometimes ill defined
<ineb> i cant change that though.
milanj has quit [Quit: This computer has gone to sleep]
mynameisdebian has quit [Remote host closed the connection]
mynameisdebian has joined #ruby
herbmillerjr has joined #ruby
<baweaver> ineb: who said Rails can't generate Swagger specs?
<baweaver> Apipie does just that.
mynameisdebian has quit [Ping timeout: 276 seconds]
<ineb> baweaver: ok, i havent looked deeply.
<ineb> iam currently browsing the ghee gem which is a client for the github habe and goes with the dynamic approach
cadillac_ has quit [Ping timeout: 276 seconds]
cadillac_ has joined #ruby
<ineb> looks like i can get inspired there
cadillac__ has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
cadillac__ is now known as cadillac_
za1b1tsu_ has joined #ruby
braincrash has quit [Quit: bye bye]
cadillac_ has quit [Ping timeout: 268 seconds]
za1b1tsu_ has quit [Ping timeout: 260 seconds]
cadillac_ has joined #ruby
braincrash has joined #ruby
jp has quit [Ping timeout: 276 seconds]
jp has joined #ruby
Azure|dc is now known as Azure
cadillac_ has quit [Ping timeout: 260 seconds]
cadillac_ has joined #ruby
white_lilies has quit [Ping timeout: 260 seconds]
akaiiro has quit [Ping timeout: 244 seconds]
tuxillo has quit [Ping timeout: 256 seconds]
akaiiro has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
yokel has joined #ruby
tuxillo has joined #ruby
mynameisdebian has joined #ruby
alfiemax has joined #ruby
darkhanb has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
baweaver is now known as baweaver_away
baweaver_away is now known as baweaver
houhoulis has quit [Remote host closed the connection]
salasrod has joined #ruby
alfiemax has quit [Ping timeout: 244 seconds]
salasrod has quit [Remote host closed the connection]
vonfry_ has joined #ruby
vonfry has quit [Ping timeout: 250 seconds]
tdy has joined #ruby
schleppel has joined #ruby
alfiemax has joined #ruby
nikivi has quit [Quit: ZNC 1.6.6 - http://znc.in]
alfiemax has quit [Read error: No route to host]
alfiemax has joined #ruby
megamos has joined #ruby
sauvin has joined #ruby
donofrio has quit [Remote host closed the connection]
alfiemax has quit [Read error: Connection reset by peer]
alfiemax_ has joined #ruby
cosmopaladin has joined #ruby
cliluw has quit [Ping timeout: 276 seconds]
cliluw has joined #ruby
lubekpl has joined #ruby
kapil___ has joined #ruby
lubekpl has quit [Ping timeout: 276 seconds]
vonfry_ is now known as vonfry
vonfry has quit [Quit: WeeChat 2.1]
za1b1tsu_ has joined #ruby
TinkerT has quit [Quit: ZNC 1.8.x-nightly-20180701-4d822118 - https://znc.in]
alfiemax has joined #ruby
TinkerT has joined #ruby
Jello_Raptor has quit [Remote host closed the connection]
cadillac__ has joined #ruby
cadillac_ has quit [Ping timeout: 276 seconds]
cadillac__ is now known as cadillac_
alfiemax_ has quit [Ping timeout: 244 seconds]
Jello_Raptor has joined #ruby
alfiemax has quit [Ping timeout: 268 seconds]
alfiemax_ has joined #ruby
cosmopaladin has quit [Quit: Leaving]
Inline has quit [Quit: Leaving]
xall has quit [Ping timeout: 256 seconds]
troys has quit [Quit: Bye]
lightstalker has quit [Ping timeout: 255 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
mniip has joined #ruby
jmcgnh has quit [Ping timeout: 244 seconds]
xall has joined #ruby
ur5us has quit [Ping timeout: 276 seconds]
xall has quit [Client Quit]
megamos has quit [Ping timeout: 240 seconds]
megamos has joined #ruby
dviola has quit [Quit: WeeChat 2.2]
jmcgnh has joined #ruby
x0f has quit [Ping timeout: 245 seconds]
tty has quit [Quit: tty]
jmcgnh has quit [Quit: ZNC 1.6.5 - http://znc.in]
alex`` has joined #ruby
x0f has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
lightstalker has joined #ruby
alfiemax has joined #ruby
<uplime> methods have an implied begin block right? like i can just do def foo\n...\nresue\n...\nend?
milanj has joined #ruby
<mozzarella> yeah
<uplime> thanks
jmcgnh has joined #ruby
alfiemax has quit [Ping timeout: 276 seconds]
Eiam has quit [Ping timeout: 276 seconds]
alfiemax has joined #ruby
arekushi has quit [Ping timeout: 245 seconds]
megamos has quit [Ping timeout: 264 seconds]
conta has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
alem0lars has joined #ruby
megamos has joined #ruby
<apeiros> uplime: in newer rubies, even blocks have that
<uplime> oh cool
tvw has joined #ruby
aupadhye has joined #ruby
alex`` has quit [Ping timeout: 264 seconds]
anisha has joined #ruby
apeiros has quit []
biberu has joined #ruby
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
DoubleMalt has joined #ruby
DoubleMalt has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby
wolfshappen has quit [Ping timeout: 260 seconds]
wolfshappen_ has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
reber has joined #ruby
megamos has quit [Ping timeout: 276 seconds]
nowhere_man has quit [Ping timeout: 256 seconds]
jraavis has joined #ruby
akaiiro has quit [Quit: The Lounge - https://thelounge.chat]
suukim has joined #ruby
andikr has joined #ruby
lubekpl has joined #ruby
amar has joined #ruby
amar has quit [Ping timeout: 256 seconds]
jraavis has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
alfiemax has quit [Remote host closed the connection]
nikivi has joined #ruby
x0f has quit [Ping timeout: 265 seconds]
alfiemax has joined #ruby
x0f has joined #ruby
tpendragon has quit [Ping timeout: 276 seconds]
graingert_ has joined #ruby
Krebsgewehr has quit [Ping timeout: 276 seconds]
graingert has quit [Ping timeout: 276 seconds]
jtperreault has quit [Ping timeout: 276 seconds]
graingert_ is now known as graingert
vondruch has joined #ruby
tvw has quit [Ping timeout: 276 seconds]
ghormoon_ has quit [Ping timeout: 276 seconds]
\void has quit [Ping timeout: 276 seconds]
TomyWork has joined #ruby
\void has joined #ruby
sepp2k has joined #ruby
ghormoon has joined #ruby
alfiemax has quit [Remote host closed the connection]
clemens3 has joined #ruby
nertzy has quit [Ping timeout: 268 seconds]
alex`` has joined #ruby
akhkharu has quit [Quit: all glory to hypnotoad]
alfiemax has joined #ruby
nowhere_man has joined #ruby
jtperreault has joined #ruby
reber__ has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
reber has quit [Ping timeout: 256 seconds]
vondruch has quit [Quit: vondruch]
brainslug has joined #ruby
vondruch has joined #ruby
vondruch has quit [Client Quit]
sylario has joined #ruby
cabotto has joined #ruby
konsolebox has quit [Ping timeout: 276 seconds]
xall has joined #ruby
cabotto has quit [Client Quit]
mikecmpbll has joined #ruby
drale2k_ has joined #ruby
vondruch has joined #ruby
karapetyan has joined #ruby
guille-moe has joined #ruby
karapetyan has quit [Ping timeout: 256 seconds]
amar has joined #ruby
jraavis has joined #ruby
motstgo_ has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
yqt has joined #ruby
User458764 has joined #ruby
zlogan2003 has joined #ruby
motstgo has quit [Ping timeout: 260 seconds]
sysvalve has joined #ruby
jraavis has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
xall has quit [Ping timeout: 256 seconds]
jraavis has joined #ruby
apeiros_ is now known as apeiros
jmcgnh has quit [Ping timeout: 244 seconds]
jraavis has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jmcgnh has joined #ruby
yqt has quit [Ping timeout: 276 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
konsolebox has joined #ruby
xall has joined #ruby
Guest81152 has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
rikkipitt has joined #ruby
Nicmavr is now known as Guest76373
jraavis has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
amar has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
DoubleMalt has quit [Client Quit]
Freshnuts has joined #ruby
venmx has joined #ruby
venmx has quit [Ping timeout: 264 seconds]
venmx has joined #ruby
Freshnuts has quit [Quit: Leaving]
xall has quit [Read error: Connection reset by peer]
tvw has joined #ruby
simmaniac has joined #ruby
za1b1tsu_ has quit [Ping timeout: 240 seconds]
sysvalve has quit [Ping timeout: 244 seconds]
jraavis has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
iceskins[m] has quit [Remote host closed the connection]
aviraldg[m] has quit [Read error: Connection reset by peer]
Demos[m] has quit [Read error: Connection reset by peer]
ignujee[m] has quit [Read error: Connection reset by peer]
sidntrivedi012[m has quit [Remote host closed the connection]
bastilian[m] has quit [Read error: Connection reset by peer]
zalipuha[m] has quit [Remote host closed the connection]
vermaneerajin[m] has quit [Read error: Connection reset by peer]
KevinMGranger[m] has quit [Read error: Connection reset by peer]
haylon[m] has quit [Read error: Connection reset by peer]
velu[m] has quit [Read error: Connection reset by peer]
legion[m] has quit [Remote host closed the connection]
carsonbaker[m] has quit [Remote host closed the connection]
luna_x[m] has quit [Read error: Connection reset by peer]
jonjitsu[m] has quit [Remote host closed the connection]
Giphy[m] has quit [Read error: Connection reset by peer]
bascht[m] has quit [Read error: Connection reset by peer]
Hexafox[m] has quit [Remote host closed the connection]
intheclouddan[m] has quit [Read error: Connection reset by peer]
Hanma[m] has quit [Read error: Connection reset by peer]
TravisR[m]1 has quit [Remote host closed the connection]
ghormoon has quit [Ping timeout: 261 seconds]
Flonk has quit [Ping timeout: 260 seconds]
saTchymoto has joined #ruby
shoogz has quit [Ping timeout: 240 seconds]
ghormoon has joined #ruby
shoogz has joined #ruby
Flonk has joined #ruby
tpendragon has joined #ruby
RougeR has quit [Ping timeout: 265 seconds]
simmaniac is now known as sysvalve
aviraldg[m] has joined #ruby
alem0lars has quit [Ping timeout: 264 seconds]
sepp2k has quit [Read error: Connection reset by peer]
jraavis has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
RougeR has joined #ruby
simmaniac has joined #ruby
Freshnuts has joined #ruby
weaksauce has quit [Ping timeout: 276 seconds]
amar has joined #ruby
Mike11 has joined #ruby
sysvalve has quit [Ping timeout: 240 seconds]
xall has joined #ruby
jraavis has quit [Ping timeout: 256 seconds]
amar has quit [Ping timeout: 260 seconds]
deathwishdave has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
ur5us has joined #ruby
conta has quit [Quit: conta]
Freshnuts has quit [Quit: Leaving]
milanj has quit [Quit: This computer has gone to sleep]
ur5us has quit [Remote host closed the connection]
nyuszika7h has left #ruby ["WeeChat 2.1"]
nowhere_man has joined #ruby
saTchymoto has quit [Ping timeout: 268 seconds]
bastilian[m] has joined #ruby
intheclouddan[m] has joined #ruby
jonjitsu[m] has joined #ruby
bascht[m] has joined #ruby
sidntrivedi012[m has joined #ruby
ignujee[m] has joined #ruby
luna_x[m] has joined #ruby
iceskins[m] has joined #ruby
Demos[m] has joined #ruby
Hexafox[m] has joined #ruby
velu[m] has joined #ruby
TravisR[m]1 has joined #ruby
Hanma[m] has joined #ruby
haylon[m] has joined #ruby
KevinMGranger[m] has joined #ruby
legion[m] has joined #ruby
Giphy[m] has joined #ruby
carsonbaker[m] has joined #ruby
zalipuha[m] has joined #ruby
vermaneerajin[m] has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
saTchymoto has joined #ruby
karapetyan has joined #ruby
ur5us has joined #ruby
koichirose has joined #ruby
zlogan2003 has quit [Ping timeout: 240 seconds]
rikkipitt has quit [Quit: Leaving...]
NL3limin4t0r has joined #ruby
<NL3limin4t0r> Hey. Is there an easy way to check if a class is an certain class or has an ancestor that is that class? For instances you have `#is_a?` but I'm looking for something that I can call upon the class itself. Let me provide an example:
ur5us has quit [Remote host closed the connection]
<NL3limin4t0r> >> class Foo; end; class Bar < Foo; end; Bar.ancestors.select { |a| a.is_a?(Class) }.include?(Foo)
<ruby[bot]> NL3limin4t0r: # => true (https://eval.in/1039717)
<NL3limin4t0r> But that seems a bit clumsy
<koichirose> Hello! I have a Net::HTTP::Post.new() request, is there a way to make ‘Post’ variable so I can wrap around it and also make GET requests?
ur5us has joined #ruby
drale2k_ has joined #ruby
<tbuehlmann> NL3limin4t0r: there's also `Bar < Foo # => true`
<NL3limin4t0r> tbuehlmann: Ah, ty, I was looking for that can't believed I missed it.
<NL3limin4t0r> belief*
psychicist__ has joined #ruby
<NL3limin4t0r> >> require 'net/http'; Net::HTTP.const_get('Post')
<ruby[bot]> NL3limin4t0r: # => Net::HTTP::Post (https://eval.in/1039718)
<NL3limin4t0r> koichirose: ^ however it might be a good idea to whitelist if you use user input
<koichirose> NL3limin4t0r: thank you!
<NL3limin4t0r> It results in an exception if the constant is not present. You can check the presence with `#const_defined?`.
Zaab1t has joined #ruby
stiang has joined #ruby
nowhereman_ has joined #ruby
Venomen has joined #ruby
Venomen has quit [Changing host]
Venomen has joined #ruby
<stiang> does anybody know if it’s possible to access the name of the .env.* file (like $0 in a shell script) from inside the env file itself (for example ".env.staging") to use in command substitution, when using dotenv?
<stiang> so something like this: `LC_NAME="$(basename $0 | sed 's/.env.//')"`
amar_ has joined #ruby
amar_ has quit [Remote host closed the connection]
koichirose has quit [Quit: koichirose]
nowhere_man has quit [Ping timeout: 256 seconds]
amar has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
amar has quit [Remote host closed the connection]
nowhereman_ has quit [Ping timeout: 264 seconds]
deathwishdave has quit [Ping timeout: 256 seconds]
noobineer has joined #ruby
Venomen has quit [Read error: Connection reset by peer]
lubekpl has quit [Ping timeout: 256 seconds]
alex`` has quit [Ping timeout: 256 seconds]
koichirose has joined #ruby
xall has quit [Ping timeout: 260 seconds]
Mike11 has quit [Quit: Leaving.]
tuxillo has left #ruby [#ruby]
ur5us has quit [Remote host closed the connection]
noobineer has quit [Ping timeout: 265 seconds]
xall has joined #ruby
milanj has joined #ruby
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
apparition47 has joined #ruby
xall_ has joined #ruby
xall has quit [Ping timeout: 268 seconds]
griffindy has joined #ruby
yohji has joined #ruby
AJA4350 has joined #ruby
schneider has joined #ruby
yosafbridge has quit [Quit: Leaving]
xall_ has quit [Ping timeout: 264 seconds]
lubekpl has joined #ruby
yosafbridge has joined #ruby
lubekpl has quit [Ping timeout: 276 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 264 seconds]
AJA4351 is now known as AJA4350
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
milanj has quit [Quit: This computer has gone to sleep]
Inline has joined #ruby
griffindy has quit [Read error: Connection reset by peer]
anisha has quit [Ping timeout: 248 seconds]
xall_ has joined #ruby
lubekpl has joined #ruby
conta has joined #ruby
amar has joined #ruby
herbmillerjr has quit [Excess Flood]
conta has quit [Client Quit]
herbmillerjr has joined #ruby
GodFather has joined #ruby
<mensvaga> If I wanted to make a class called "A::B::C" , what parameters should I pass to bundle?
<mensvaga> bundle gem A::B::C creates a directory called "A::B::C" , not a path called A/B/C
<mensvaga> bundle gem A/B/C creates A/B/C , but then puts all of the files UNDER THAT
<mensvaga> I was expecting lib/A/B/C.rb , not /A/B/C/lib
amar has quit [Ping timeout: 256 seconds]
lubekpl has quit [Ping timeout: 276 seconds]
<tbuehlmann> mensvaga: could be $ bundle gem a-b-c
<mensvaga> Narp.
<mensvaga> ah
<mensvaga> waaaaaaaait
<mensvaga> That surprisingly did something close to what I need
<mensvaga> Why doesn't A::B::C do that?!
<mensvaga> I mean, that's what it's actually going to be called
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
karapetyan has quit [Remote host closed the connection]
alfiemax has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
dviola has joined #ruby
karapetyan has joined #ruby
bmurt has joined #ruby
<mensvaga> It didn't create a bin dir
<mensvaga> I mean, that's easy to deal with, but interesting.
<mensvaga> whoops
<mensvaga> wrong directory
simmaniac is now known as sysvalve
alex`` has joined #ruby
jottr has joined #ruby
<TvL2386> yeah `bundle gem first-second-third` will create the directories and modules
<TvL2386> it's just the convention mensvaga
<TvL2386> what you specify on the cli is the name of your gem
<TvL2386> I'm using `ERB.new(my_template).result_with_hash(a_hash)`. But unfortunately I can't upgrade ruby on the systems to support this (systems run ruby 2.3.1). I'm trying to refactor but I'm having a hard time :)
<TvL2386> I tried to do `ERB.new(my_template).result(a_hash.send(:binding))` which is very ugly but I was just curious if it would work, which it does not :)
lubekpl has joined #ruby
xall_ has quit [Quit: xall_]
shah^ has joined #ruby
augcesar has joined #ruby
Azure has quit [Ping timeout: 260 seconds]
lubekpl has quit [Ping timeout: 244 seconds]
Azure has joined #ruby
<TvL2386> ok, well for starters, a Hash does not save its keys in local vars or methods and calling "send(:binding)" doesn't work. Should be "instance_eval { binding }"
<mensvaga> So, inside my C.rb file, there's module A; module B; module C; end; end; end
<mensvaga> If I wanted to make a class, should I just change it to a class?
<mensvaga> Or, is there a flag to bundler that I need to pass to say I'm interested in writing a class?
jottr has quit [Quit: WeeChat 2.0.1]
soniya29 has joined #ruby
beefjoe has joined #ruby
milanj has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
<TvL2386> mensvaga: that's not how I do it
karapetyan has quit [Remote host closed the connection]
<TvL2386> How I understand it, is that the name of your gem is the namespace (module) of your code
<TvL2386> '-' are seperators for modules
<TvL2386> so `bundle gem a-b-c` creates a skeleton for your gem "a-b-c"
<TvL2386> All your code goes into module A::B::C
<TvL2386> so your first class, for example, will be called: A::B::C::First
<dalpo> hi
<TvL2386> you create the file first.rb in a/b/c/first.rb
<TvL2386> hi
<mensvaga> Ah. I believe I understand.
<mensvaga> Thanks.
<TvL2386> yw! :)
<TvL2386> I'm currently working on a gem as well that has 3 subdirectories / modules
<TvL2386> btw I've solved my problem with ERB.
alem0lars has joined #ruby
burzos has joined #ruby
bolamestra has joined #ruby
<burzos> I have the number for an underlying file descriptor and I want to close it; what function can I use to do that?
<bolamestra> opcoes of the cellphone
Dbugger has joined #ruby
<havenwood> burzos: IO.for_fd(n).close
<burzos> Perfect, thanks.
banisterfiend has joined #ruby
<burzos> havenwood: That's going to create a new object then close it.
<burzos> I don't want to invoke all of the destructors.
<burzos> Just want to close the fd.
alex`` has quit [Ping timeout: 256 seconds]
<burzos> Or maybe it's fine since it's just the IO stuff.
bolamestra has quit [Quit: -a- IRC for Android 2.1.39]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
deathwishdave has joined #ruby
alex`` has joined #ruby
lubekpl has joined #ruby
Puffball has quit [Remote host closed the connection]
alfiemax_ has joined #ruby
beefjoe has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 268 seconds]
quobo has joined #ruby
Rapture has joined #ruby
milanj has quit [Quit: This computer has gone to sleep]
Asher has quit [Ping timeout: 244 seconds]
amar_ has joined #ruby
amar_ has quit [Remote host closed the connection]
alfiemax_ has quit [Remote host closed the connection]
jrafanie has joined #ruby
rippa has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
_aeris_ has quit [Ping timeout: 256 seconds]
simmaniac has joined #ruby
saTchymoto has quit []
sysvalve has quit [Ping timeout: 260 seconds]
gnufied has joined #ruby
_aeris_ has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
simmaniac has quit [Quit: Leaving]
aupadhye has quit [Remote host closed the connection]
soniya29 has quit [Ping timeout: 245 seconds]
biberu has quit []
drale2k_ has joined #ruby
amar_ has joined #ruby
milanj has joined #ruby
karapetyan has joined #ruby
drale2k_ has quit [Ping timeout: 244 seconds]
konsolebox has joined #ruby
koichirose has quit [Quit: koichirose]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
discopatrick has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
amar_ has quit [Ping timeout: 268 seconds]
Asher has joined #ruby
postmodern has quit [Quit: Leaving]
Asher has quit [Ping timeout: 248 seconds]
User458764 has joined #ruby
soniya29 has joined #ruby
arekushi has joined #ruby
za1b1tsu_ has joined #ruby
amar_ has joined #ruby
amar_ has quit [Ping timeout: 256 seconds]
salasrod has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
lomotov has joined #ruby
<lomotov> PYTHON IS FINISHED & BANKRUPT!
<lomotov> who ruby here? )
salasrod has quit [Remote host closed the connection]
zleap has joined #ruby
zleap has quit [Changing host]
zleap has joined #ruby
RougeR has quit [Ping timeout: 260 seconds]
Asher has joined #ruby
anisha has joined #ruby
karapetyan has joined #ruby
conta has joined #ruby
karapetyan has quit [Remote host closed the connection]
zleap has quit [Quit: WeeChat 2.1]
alem0lars has quit [Ping timeout: 276 seconds]
zleap has joined #ruby
zleap has joined #ruby
karapetyan has joined #ruby
alfiemax has joined #ruby
tvw has quit [Remote host closed the connection]
conta has quit [Client Quit]
User458764 has joined #ruby
conta has joined #ruby
Asher has quit [Ping timeout: 276 seconds]
mikhael_k33hl has joined #ruby
<mikhael_k33hl> When using pry, how do you exit from pry as well as the ruby script you are debugging?
ellcs has quit [Remote host closed the connection]
mynameisdebian has joined #ruby
dviola has quit [Quit: WeeChat 2.2]
lomotov has left #ruby ["Leaving"]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
andikr has quit [Remote host closed the connection]
motstgo_ has quit [Read error: Connection reset by peer]
motstgo has joined #ruby
<apeiros> mikhael_k33hl: exit!
<apeiros> also `kill -9 #$$`
<apeiros> (including the backticks)
<mikhael_k33hl> apeiros: thanks
<apeiros> the latter is of course the nuclear option 😂
alem0lars has joined #ruby
<jtperreault> Does rubygems look for a global gemrc file somewhere? Found some info googling but looks like /etc/gemrc is related to RVM specifically.
<apeiros> ~/.gemrc iirc
<apeiros> not sure whether it also looks for a systemwide rc
<jtperreault> I knew that one, but was hoping to have it system wide
<jtperreault> ok, thanks
troys has joined #ruby
motstgo has quit [Ping timeout: 245 seconds]
mikhael_k33hl has quit [Quit: Page closed]
amar_ has joined #ruby
<apeiros> jtperreault: ah, misunderstood your global as "global for the user" :)
<jtperreault> checking the repo now, it looks like it does "... ~/.gemrc file for individual users and a gemrc in the SYSTEM CONFIGURATION DIRECTORY for all users."
amar_ has quit [Ping timeout: 276 seconds]
bmurt has joined #ruby
<jtperreault> so, /etc/gemrc presumably for linux distros. though it does not appear to be working for me on Ubuntu.
mynameisdebian has quit [Remote host closed the connection]
<jtperreault> found it, "/usr/local/etc"
<jtperreault> thanks for letting me talk it out, sorry about the noise :D
Asher has joined #ruby
SeepingN has joined #ruby
za1b1tsu_ has quit [Ping timeout: 260 seconds]
nowhereman_ has joined #ruby
akaiiro has joined #ruby
AJA4350 has quit [Ping timeout: 260 seconds]
AJA4351 has joined #ruby
beowuff has joined #ruby
AJA4351 is now known as AJA4350
machinewar has joined #ruby
zlogan2003 has joined #ruby
<machinewar> anyone very familiar with RSpec. I have a describe SomeNamespace::SomeClass do... the weird thing is that the class is not namespaced, but this spec does not break.....
conta has quit [Quit: conta]
cagomez has joined #ruby
agent_white has joined #ruby
alex`` has quit [Quit: WeeChat 2.1]
clemens3 has quit [Ping timeout: 240 seconds]
machinewar has quit []
SolarAquarion has quit [Write error: Connection reset by peer]
Klumben has quit [Quit: Bye for now]
gray_-_wolf has joined #ruby
<gray_-_wolf> Hi all :) So I can capture SIGCHLD like Signal.trap("CLD") { puts "Child died" } , but how can I get pid of child that just died in the handle? Let's assume I want to do Signal.trap("CLD") { puts "Child with #{pid} died" }, how to set the `pid`?
mikecmpbll has quit [Quit: inabit. zz.]
amar_ has joined #ruby
joast has quit [Read error: Connection reset by peer]
milanj has quit [Quit: This computer has gone to sleep]
amar_ has quit [Ping timeout: 244 seconds]
User458764 has joined #ruby
tty has joined #ruby
burzos has quit [Ping timeout: 252 seconds]
noobineer has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #ruby
<konsolebox> gray_-_wolf: you may need to check each child process in your list
Guest12924 has joined #ruby
jcarl43 has joined #ruby
biberu has joined #ruby
Eiam has joined #ruby
yohji has quit [Remote host closed the connection]
gregf_ has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
noobineer has quit [Ping timeout: 244 seconds]
Exuma has joined #ruby
adaedra has joined #ruby
<gray_-_wolf> I know that in C I can use waitpid inside the handler for this, however that does work in ruby... so just iterating my whole list of children for !alive? is best way?
<adaedra> Hello
<adaedra> gray_-_wolf: You have Process.waitpid which should do the same as the C syscall
maryo_ has joined #ruby
<maryo_> I have tried installing dashing (http://dashing.io/) but while starting the dashing I am getting an error -> https://dpaste.de/Fi9n Any help would be appreciated
User458764 has joined #ruby
<adaedra> Did you see the link in the error?
joast has joined #ruby
samosaphile has joined #ruby
<maryo_> adaedra, Yep I have added require "execjs" in Gemfile and did bundle exec but I got "bundler: exec needs a command to run
<maryo_> "
<maryo_> did bundler exec*
<adaedra> That's not the solution at all
<maryo_> adaedra, I have installed the gem also "gem install execjs"
<adaedra> The error tells you it doesn't find anything to execute JS natively (runtime), and tells you to refer to the link to see a list of runtimes you can use
<adaedra> The simplest to add in those is probably just installing Node.js
<adaedra> ExecJS is just a wrapper other multiple, external JS runtimes and tries to find the best choice on your system... when there is one
<maryo_> adaedra, I get a little different error now https://dpaste.de/Bixx
<adaedra> Did you remove the "require 'execjs'" from your Gemfile?
<maryo_> adaedra, nope I haven't. Should I remove it from there?
<adaedra> yes, it has nothing to do here.
<maryo_> Ok
<adaedra> and for your problem, the solution is written in the error message, second line.
motstgo has joined #ruby
cadillac_ has quit [Ping timeout: 268 seconds]
karapetyan has quit [Remote host closed the connection]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 is now known as AJA4350
cadillac_ has joined #ruby
<konsolebox> gray_-_wolf: manual says you use waitid, not waitpid
donofrio has joined #ruby
<gray_-_wolf> that's not exposed in Process class :/ meh I'll just iterate the list for now, it will be tens of them max so it will be fast enough
gray_-_wolf has quit [Quit: WeeChat 2.2]
Guest12924 has quit [Ping timeout: 268 seconds]
beowuff has quit [Ping timeout: 240 seconds]
<maryo_> adaedra, thank you fixed it. After install therubyracer gem, issue got resolved
SeepingN has quit [Quit: The system is going down for reboot NOW!]
<adaedra> everything was in the errors messages that were presented to you
SeepingN has joined #ruby
shinnya has quit [Ping timeout: 260 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<maryo_> adaedra, is "npm install" and "gem install" are different ?
<adaedra> "npm" is node.js world, "gem" is ruby world
FastJack has quit [Read error: Connection reset by peer]
FastJack has joined #ruby
solocshaw has joined #ruby
solocshaw has quit [Client Quit]
beowuff has joined #ruby
r29v has joined #ruby
Zaab1t has quit [Quit: Zaab1t]
karapetyan has joined #ruby
soniya29 has quit [Ping timeout: 260 seconds]
soniya29 has joined #ruby
apparition47 has quit [Quit: Bye]
schneider has quit [Ping timeout: 256 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 260 seconds]
AJA4351 is now known as AJA4350
schneider has joined #ruby
Guest12924 has joined #ruby
lubekpl has quit [Ping timeout: 260 seconds]
graphene has quit [Read error: Connection reset by peer]
schneider has quit [Ping timeout: 264 seconds]
plujon has joined #ruby
graphene has joined #ruby
<plujon> Is there an idiom for: y = x.to_s.empty? || 'blah'
j0bk has quit [Ping timeout: 245 seconds]
oz has quit [Quit: EOF]
oz has joined #ruby
Nightmare has quit [Ping timeout: 256 seconds]
<havenwood> plujon: That would set `y` to `true` or `"blah"`.
j0bk has joined #ruby
j0bk has quit [Changing host]
j0bk has joined #ruby
milanj has joined #ruby
milanj has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
<plujon> Sorry, unclear: I want to set y to x iff (x is not nil and x is not '')
<havenwood> plujon: Do you mean?: y = x.to_s.empty? ? x.to_s : 'blah'
schneider has joined #ruby
<plujon> Oh yeah
Guest12924 has quit [Ping timeout: 244 seconds]
<plujon> Is there an idiom for that?
<plujon> y = x || blah # like this, but avoid the empty string
Nightmare has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
<havenwood> plujon: what is x?
Guest12924 has joined #ruby
<plujon> x is nil or a string, possibly the empty string
<plujon> Another, maybe easier to see case:
<plujon> s = ''; s ||= 'something'
Exuma has quit [Ping timeout: 276 seconds]
<plujon> s = ''; s = 'something' if s.to_s.empty? # this works, but is long-winded
karapetyan has joined #ruby
venmx has quit [Ping timeout: 256 seconds]
<konsolebox> >> /[[:alnum:]-.]/ # this gives me "getting unmatched range specifier in char-class" in ruby 2.5 rev 61468; [[:alnum:].-] fixes it
<ruby[bot]> konsolebox: # => /tmp/execpad-b26a28bb3f81/source-b26a28bb3f81:2: empty range in char class: /[[:alnum:]-.]/ (https://eval.in/1039980)
schneider has quit [Ping timeout: 276 seconds]
qequ has joined #ruby
<havenwood> konsolebox: >> /[[:alnum:]\-.]/
qequ has quit [Client Quit]
<konsolebox> havenwood: yeah there sure are workarounds, but it's not necessary in 2.2 to 2.4.
<havenwood> konsolebox: ah, interesting
<konsolebox> i only noticed my script to fail now
<havenwood> konsolebox: musta changed with the Onigmo update: https://github.com/k-takata/Onigmo
schneider has joined #ruby
<konsolebox> havenwood: maybe
Some-body_ has joined #ruby
guille-moe has quit [Ping timeout: 240 seconds]
deathwishdave has quit [Quit: Textual IRC Client: www.textualapp.com]
DarthGandalf has quit [Ping timeout: 260 seconds]
Some-body_ is now known as DarthGandalf
<plujon> http://ix.io/1hRj # perhaps this is more clear
raynold has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
Guest12924 has quit [Quit: WeeChat 2.2]
mroriginal has joined #ruby
mroriginal has quit [Client Quit]
mroriginal has joined #ruby
mroriginal has quit [Client Quit]
g- has quit [Quit: WeeChat 1.6]
raynold has quit []
schneider has joined #ruby
graphene has quit [Remote host closed the connection]
alem0lars has quit [Ping timeout: 245 seconds]
graphene has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
schneider has joined #ruby
soniya29 has quit [Quit: Leaving]
sameerynho has joined #ruby
schneider has quit [Ping timeout: 276 seconds]
discopatrick has quit [Quit: Connection closed for inactivity]
suukim has quit [Quit: Konversation terminated!]
Klumben has joined #ruby
schneider has joined #ruby
adaedra has quit [Remote host closed the connection]
ellcs has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
karapetyan has joined #ruby
amar_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
Sembei has joined #ruby
schneider has joined #ruby
amar_ has quit [Ping timeout: 244 seconds]
karapetyan has joined #ruby
schneider has quit [Ping timeout: 276 seconds]
s2013 has joined #ruby
schneider has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
weaksauce has joined #ruby
alem0lars has joined #ruby
schneider has joined #ruby
amar_ has joined #ruby
<konsolebox> and now my script gets killed before it kills its child processes
schneider has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
<mozzarella> gruesome
SolarAquarion has joined #ruby
<konsolebox> fun
mozzarella has quit [Remote host closed the connection]
schneider has joined #ruby
mozzarella has joined #ruby
amar_ has quit [Ping timeout: 268 seconds]
eckhardt_ has joined #ruby
lubekpl has joined #ruby
guille-moe has joined #ruby
amar_ has joined #ruby
schneider has quit [Ping timeout: 244 seconds]
orbyt_ has joined #ruby
ellcs has quit [Ping timeout: 256 seconds]
schneider has joined #ruby
salasrod has joined #ruby
milanj has joined #ruby
amar__ has joined #ruby
guille-moe has quit [Ping timeout: 264 seconds]
schneider has quit [Ping timeout: 276 seconds]
tdy has quit [Ping timeout: 240 seconds]
amar_ has quit [Ping timeout: 244 seconds]
jamesaxl has joined #ruby
amar__ has quit [Ping timeout: 256 seconds]
amar_ has joined #ruby
schneider has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
tdy has joined #ruby
pwnd_nsfw` has quit [Read error: Connection reset by peer]
amar_ has quit [Remote host closed the connection]
pwnd_nsfw` has joined #ruby
amar_ has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
timmow has quit [Ping timeout: 240 seconds]
amar_ has quit [Ping timeout: 256 seconds]
schneider has joined #ruby
timmow has joined #ruby
schneider has quit [Ping timeout: 276 seconds]
schneider has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
amar_ has joined #ruby
schneider has quit [Ping timeout: 276 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
amar_ has quit [Ping timeout: 244 seconds]
schneider has joined #ruby
mikecmpbll has joined #ruby
Fr4n has joined #ruby
shah^ has quit []
hinbody has joined #ruby
hinbody has left #ruby [#ruby]
jp has quit [Ping timeout: 240 seconds]
schneider has quit [Ping timeout: 244 seconds]
jp has joined #ruby
karapetyan has joined #ruby
amar_ has joined #ruby
schneider has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
alex`` has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
schneider has quit [Ping timeout: 260 seconds]
snickers has joined #ruby
Guest76373 has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
Nicmavr is now known as Guest22605
psychicist__ has quit [Ping timeout: 240 seconds]
venmx has joined #ruby
schneider has joined #ruby
lubekpl has quit [Ping timeout: 276 seconds]
maryo_ has quit [Ping timeout: 260 seconds]
TomyWork has quit [Remote host closed the connection]
quobo has quit [Quit: Connection closed for inactivity]
graphene has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 240 seconds]
yqt has joined #ruby
dviola has joined #ruby
graphene has joined #ruby
yqt has quit [Read error: Connection reset by peer]
akaiiro has quit [Ping timeout: 248 seconds]
schneider has joined #ruby
jrafanie_ has joined #ruby
jrafanie has quit [Ping timeout: 240 seconds]
g- has joined #ruby
schneider has quit [Ping timeout: 276 seconds]
schneider has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
graphene has quit [Read error: Connection reset by peer]
graphene has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
r29v has quit [Quit: r29v]
schneider has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
schneider has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
chussenot has joined #ruby
DWSR has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
evdubs has joined #ruby
<DWSR> Hey all, is it possible to statically compile Gems via RubyGems?
nowhereman_ has quit [Ping timeout: 256 seconds]
zlogan2003 has quit [Quit: Leaving]
<Yxhuvud> eh, it is not possible to statically compile any ruby code, period
schneider has joined #ruby
stiang has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 256 seconds]
nowhereman_ has joined #ruby
akaiiro has joined #ruby
<DWSR> Not even gems with native extensions (what I'm really after)
<DWSR> That seems...odd?
<DWSR> I would have thought that I would have been able to pass compile flags down to the C compiler.
<Alec> DWSR: what do you mean "statically" and where's your line between interpreting and compiling (interpreting's "furthest end" is calling evaluate() on AST nodes basically)
<DWSR> Sorry, "statically linked"
schneider has quit [Ping timeout: 276 seconds]
<Alec> GLWT
<DWSR> I'm trying to slim down a really fat containerized RoR project that's linked against a bunch of shared libs. As opposed to installing them all again in the new container, I was hoping that there would be a way to have the gems statically linked so that I could just pull everything into a new container and be done with it.
<Alec> Oh a Dev Ops and shit guy
cagomez has quit []
zleap has quit [Ping timeout: 260 seconds]
<Alec> Python has ctypes and such and wraps DLopen so you can open shared libraries and call them - (used it lie over 10 years ago - still using Python 2.7 for some new projects) - what's Ruby's
<Alec> That's your only hope? But if you need the library ... what's the point?
schneider has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
GodFather has joined #ruby
schneider has quit [Ping timeout: 260 seconds]
rikkipitt has joined #ruby
rikkipitt has quit [Client Quit]
schneider has joined #ruby
\void has joined #ruby
otlfac has joined #ruby
Dbugger has quit [Quit: Leaving]
shinnya has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
zleap2 has joined #ruby
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jcalla has quit [Quit: Leaving]
schneider has quit [Ping timeout: 244 seconds]
snickers has joined #ruby
snickers has quit [Client Quit]
schneider has joined #ruby
alem0lars has quit [Ping timeout: 268 seconds]
<DWSR> Alec: It's so that I don't have to go about dealing with installing dependencies in the final container. The built gems just bring them along.
lomex has joined #ruby
<Alec> DWSR: just do it so it works man
<Alec> Try and palm the problem off on someone else if you can
zleap2 is now known as zleap
jenrzzz has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
zleap has quit [Changing host]
zleap has joined #ruby
schneider has quit [Ping timeout: 244 seconds]
r29v has joined #ruby
schneider has joined #ruby
DWSR has quit [Quit: Page closed]
schneider has quit [Ping timeout: 240 seconds]
schleppel has quit [Quit: Konversation terminated!]
schneider has joined #ruby
quobo has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amar_ has quit [Remote host closed the connection]
jrm2 has joined #ruby
amar_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
schneider has joined #ruby
jrm has quit [Ping timeout: 240 seconds]
jrm2 is now known as jrm
amar_ has quit [Ping timeout: 276 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
iceskins[m] has quit [Ping timeout: 240 seconds]
bascht[m] has quit [Ping timeout: 245 seconds]
Hexafox[m] has quit [Ping timeout: 255 seconds]
Hobbyboy has quit [Quit: I think the BNC broke.]
banisterfiend has joined #ruby
zalipuha[m] has quit [Ping timeout: 260 seconds]
haylon[m] has quit [Ping timeout: 240 seconds]
TravisR[m]1 has quit [Ping timeout: 240 seconds]
aviraldg[m] has quit [Ping timeout: 240 seconds]
velu[m] has quit [Ping timeout: 245 seconds]
bastilian[m] has quit [Ping timeout: 245 seconds]
Giphy[m] has quit [Ping timeout: 245 seconds]
Demos[m] has quit [Ping timeout: 245 seconds]
intheclouddan[m] has quit [Ping timeout: 245 seconds]
legion[m] has quit [Ping timeout: 256 seconds]
Hanma[m] has quit [Ping timeout: 256 seconds]
sidntrivedi012[m has quit [Ping timeout: 260 seconds]
ignujee[m] has quit [Ping timeout: 256 seconds]
KevinMGranger[m] has quit [Ping timeout: 260 seconds]
luna_x[m] has quit [Ping timeout: 260 seconds]
jonjitsu[m] has quit [Ping timeout: 260 seconds]
vermaneerajin[m] has quit [Ping timeout: 276 seconds]
carsonbaker[m] has quit [Ping timeout: 276 seconds]
schneider has joined #ruby
Hobbyboy has joined #ruby
schneider has quit [Ping timeout: 276 seconds]
zleap has quit [Quit: WeeChat 2.1]
schneider has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has quit [Ping timeout: 260 seconds]
nemesit|znc has joined #ruby
spider-mario has quit [Remote host closed the connection]
spider-mario has joined #ruby
schneider has joined #ruby
biberu has quit []
schneider has quit [Ping timeout: 260 seconds]
banisterfiend has joined #ruby
MrOnlineCoder has joined #ruby
MrOnlineCoder has left #ruby ["Need to go"]
DTZUZO has joined #ruby
banisterfiend has quit [Client Quit]
DTZUZO has quit [Read error: Connection reset by peer]
nicht has joined #ruby
schneider has joined #ruby
<JJonah> say i have a gem which offers refinements to Array, among other classes. i'd like the ability to do `using MyGem`, which would include all the available refinements, while also offering the ability to include only the specific refinements a client needs. something like `using MyGem::Array`. is there a canonical pattern to achieve this?
jrafanie_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
samosaphile has quit [Ping timeout: 252 seconds]
schneider has quit [Ping timeout: 256 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
amar_ has joined #ruby
schneider has joined #ruby
<konsolebox> JJonah: not sure what you mean, but checkout prepend
akaiiro has quit [Ping timeout: 240 seconds]
<JJonah> konsolebox: perhaps a clearer version of the same question. is there a canonical pattern that allows client code to use a group of related refinements either individually, or all together? lmk if that's still not clear...
amar_ has quit [Ping timeout: 256 seconds]
schneider has quit [Ping timeout: 276 seconds]
despai has joined #ruby
<darix> JJonah: maybe checkout what activesupport does
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<konsolebox> JJonah: i see. but i haven't really used refinements sorry. maybe some other people can tell.
<JJonah> darix: not a bad idea... thx
amar_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
lele has quit [Ping timeout: 260 seconds]
aviraldg[m] has joined #ruby
schneider has quit [Ping timeout: 245 seconds]
<apeiros> JJonah: I don't think there's a canonical way to do that. I remember toying with storing the refinement blocks and dynamically building refinement modules.
schneider has joined #ruby
gheegh has joined #ruby
za1b1tsu_ has joined #ruby
<darix> apeiros: the old activesupport way doesnt work anymore?
<apeiros> the old AS way wasn't refinements :)
<apeiros> darix: ^
schneider has quit [Ping timeout: 256 seconds]
<JJonah> apeiros: ah true, i forgot that was old school monkey patching
<apeiros> s/was/is/ :D
white_lilies has joined #ruby
paraxial has quit [Quit: The Lounge - https://thelounge.github.io]
paraxial has joined #ruby
schneider has joined #ruby
<darix> apeiros: but it would achive the goal wouldnt it?;)
despai has quit [Quit: ...]
<apeiros> it wouldn't satisfy the question, which was "a gem which offers refinements"
<apeiros> I'd assume that the question of how to monkey-patch selectively anybody can answer on their own easily enough :)
<apeiros> selective refinements on the other hand are annoyingly cumbersome to write
white_lilies has quit [Ping timeout: 245 seconds]
ur5us has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 245 seconds]
<darix> apeiros: for me it is more a question of solving the high level goal :P
schneider has joined #ruby
chussenot has quit [Quit: chussenot]
fmcgeough has quit [Quit: fmcgeough]
reber__ has quit [Read error: Connection reset by peer]
chussenot has joined #ruby
schneider has quit [Ping timeout: 245 seconds]
schneider has joined #ruby
amar_ has quit [Remote host closed the connection]
amar has joined #ruby
mynameisdebian has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
mynameisdebian has joined #ruby
schneider has quit [Ping timeout: 245 seconds]
amar has quit [Ping timeout: 260 seconds]
donofrio has quit [Remote host closed the connection]
sidntrivedi012[m has joined #ruby
intheclouddan[m] has joined #ruby
bascht[m] has joined #ruby
Demos[m] has joined #ruby
jonjitsu[m] has joined #ruby
iceskins[m] has joined #ruby
TravisR[m]1 has joined #ruby
ignujee[m] has joined #ruby
Hanma[m] has joined #ruby
Giphy[m] has joined #ruby
luna_x[m] has joined #ruby
legion[m] has joined #ruby
haylon[m] has joined #ruby
KevinMGranger[m] has joined #ruby
bastilian[m] has joined #ruby
velu[m] has joined #ruby
Hexafox[m] has joined #ruby
vermaneerajin[m] has joined #ruby
zalipuha[m] has joined #ruby
carsonbaker[m] has joined #ruby
lele has joined #ruby
schneider has joined #ruby
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lele has quit [Ping timeout: 256 seconds]
Inline has quit [Read error: Connection reset by peer]
schneider has quit [Ping timeout: 276 seconds]
Inline has joined #ruby
sagax has joined #ruby
schneider has joined #ruby
chussenot has quit [Quit: chussenot]
jamesaxl has quit [Quit: WeeChat 2.2]
schneider has quit [Ping timeout: 244 seconds]
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
schneider has joined #ruby
Kuukunen has quit [Ping timeout: 256 seconds]
Azure has quit [Ping timeout: 264 seconds]
schneider has quit [Ping timeout: 244 seconds]
Azure has joined #ruby
orbyt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
mikecmpbll has quit [Quit: inabit. zz.]
Kuukunen has joined #ruby
schneider has joined #ruby
chussenot has joined #ruby
DTZUZO has joined #ruby
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beowuff has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
schneider has quit [Ping timeout: 276 seconds]
chussenot has quit [Ping timeout: 276 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
shinnya has quit [Ping timeout: 240 seconds]
schneider has joined #ruby
Freshnuts has joined #ruby
nowhere_man has joined #ruby
nowhereman_ has quit [Ping timeout: 268 seconds]
schneider has quit [Ping timeout: 264 seconds]
cadillac_ has quit [Ping timeout: 244 seconds]
schneider has joined #ruby
orbyt_ has joined #ruby
connor_goodwolf has quit [Ping timeout: 240 seconds]
schneider has quit [Ping timeout: 268 seconds]
k0mpa has quit [Ping timeout: 250 seconds]
venmx has quit [Ping timeout: 276 seconds]
Asher has quit [Read error: Connection reset by peer]
Asher has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
schneider has joined #ruby
tdy has quit [Ping timeout: 256 seconds]
venmx has joined #ruby
connor_goodwolf has joined #ruby
schneider has quit [Ping timeout: 264 seconds]
orbyt_ has quit [Ping timeout: 260 seconds]
dviola has quit [Quit: WeeChat 2.2]
chussenot has joined #ruby
schneider has joined #ruby
alyptik has joined #ruby
alyptik is now known as jp
mynameisdebian has joined #ruby