drincruz has joined #ruby
Garb0 has joined #ruby
teclator has quit [Ping timeout: 252 seconds]
ur5us has quit [Ping timeout: 240 seconds]
postmodern has joined #ruby
ur5us has joined #ruby
[jamez] has joined #ruby
Garb0 has quit [Ping timeout: 272 seconds]
MalkbabY has joined #ruby
MalkbabY_ has quit [Ping timeout: 268 seconds]
mrkz_c has joined #ruby
Garb0 has joined #ruby
wyrran has quit [Remote host closed the connection]
wyrran has joined #ruby
Rounin has quit [Ping timeout: 272 seconds]
ansimita has left #ruby [#ruby]
goldfish has quit [Ping timeout: 268 seconds]
ansimita has joined #ruby
Garb0 has quit [Quit: Garb0]
drincruz has quit [Ping timeout: 252 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
[jamez] has quit [Ping timeout: 272 seconds]
jetchisel has joined #ruby
elf_fortrez has joined #ruby
teclator has joined #ruby
rassoc has quit [Ping timeout: 256 seconds]
jhass[m] has quit [Read error: Connection reset by peer]
ckrailo has quit [Read error: Connection reset by peer]
jhass[m] has joined #ruby
elf_fortrez has quit [Ping timeout: 246 seconds]
ckrailo has joined #ruby
sdfuiojklqaz has quit [Remote host closed the connection]
sdfuiojklqaz has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
sdfuiojklqaz has quit [Ping timeout: 265 seconds]
jhass[m] has quit [Quit: node-irc says goodbye]
teclator has quit [Ping timeout: 240 seconds]
ckrailo has quit [Quit: node-irc says goodbye]
ur5us has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
jetchisel has quit [Ping timeout: 252 seconds]
AriT93 has joined #ruby
neshpion has quit [Quit: neshpion]
AriT93 has quit [Remote host closed the connection]
AriT93 has joined #ruby
AriT93 has quit [Remote host closed the connection]
lucf117 has joined #ruby
lad has quit [Ping timeout: 272 seconds]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
[jamez] has joined #ruby
lucf117 has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 240 seconds]
_ht has joined #ruby
[jamez] has quit [Ping timeout: 252 seconds]
dvgorod has joined #ruby
teclator has joined #ruby
lunarkitty has joined #ruby
TomyWork has joined #ruby
jhass[m] has joined #ruby
ckrailo has joined #ruby
goldfish has joined #ruby
goldfish has quit [Ping timeout: 246 seconds]
jhass[m] has quit [Quit: Client limit exceeded: 20000]
ckrailo has quit [Remote host closed the connection]
enyc has quit [Max SendQ exceeded]
enyc has joined #ruby
jhass[m] has joined #ruby
ckrailo has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
enyc has joined #ruby
enyc has quit [Changing host]
jhass[m] has quit [Quit: Client limit exceeded: 20000]
reset has quit [Quit: reset]
ckrailo has quit [Remote host closed the connection]
jhass[m] has joined #ruby
ckrailo has joined #ruby
ur5us has joined #ruby
ur5us has quit [Client Quit]
ckrailo has quit [Remote host closed the connection]
jhass[m] has quit [Remote host closed the connection]
Rounin has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
jhass[m] has joined #ruby
ckrailo has joined #ruby
Garb0 has joined #ruby
relyks1 has joined #ruby
relyks has quit [Ping timeout: 268 seconds]
relyks1 is now known as relyks
relyks has quit [Client Quit]
pyfisch has quit [Quit: the lounge - https://webirc.envs.net]
pyfisch has joined #ruby
Garb0 has quit [Quit: Garb0]
aeris- has joined #ruby
_aeris_ has quit [Ping timeout: 244 seconds]
rassoc has joined #ruby
Garb0 has joined #ruby
gr33n7007h has joined #ruby
relyks has joined #ruby
relyks has quit [Client Quit]
goldfish has joined #ruby
goldfish has quit [Ping timeout: 265 seconds]
lunarkitty has quit [Quit: Connection closed for inactivity]
Garb00 has joined #ruby
Garb0 has quit [Read error: Connection reset by peer]
Garb00 has quit [Ping timeout: 252 seconds]
Garb00 has joined #ruby
simao has quit [Quit: WeeChat 3.1]
simao has joined #ruby
Garb00 has quit [Ping timeout: 252 seconds]
crankharder has joined #ruby
sdfuiojklqaz has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
Garb0 has joined #ruby
crankharder has quit [Read error: Connection reset by peer]
crankharder has joined #ruby
[jamez] has joined #ruby
MalkbabY_ has joined #ruby
Malkbab__ has joined #ruby
MalkbabY has quit [Ping timeout: 268 seconds]
MalkbabY_ has quit [Ping timeout: 240 seconds]
gr33n7001 has joined #ruby
gr33n7007h has quit [Ping timeout: 252 seconds]
teclator has quit [Read error: Connection reset by peer]
Garb0 has quit [Quit: Garb0]
dvgorod has quit [Ping timeout: 256 seconds]
elf_fortrez has joined #ruby
<nebiros> how can my pass my own argument in a rspec test?, I have this: Client#auth(arg1:, arg2: 'foo', arg3: 'bar'), how can I stub just arg2 and pass 'something else'?
<nebiros> s/how can my pass/how can I pass/
elf_fortrez has quit [Quit: Client closed]
<adam12> nebiros: Do you create the instance of `Client`?
Garb0 has joined #ruby
<nebiros> adam12: let(:client) { Client.new }; allow(client).to receive(:auth).with(arg2: 'something else'); expect(described_class.sign_in(client, username, password)).to(eql({}))
<adam12> nebiros: Not sure it's possible.
<adam12> nebiros: What's your ultimate goal?
<nebiros> adam12: well, pass 'something else' instead of 'foo' at #auth when I call #sign_in
<nebiros> #sign_in calls #auth inside
<adam12> nebiros: What does auth do?
<adam12> nebiros: Can you show some code?
<adam12> This method of stubbing is somewhat of a smell.
<nebiros> adam12: https://stackoverflow.com/a/54190439, looking at this one, but doesn't work
<adam12> nebiros: That's stubbing multiple calls, not multiple arguments.
<nebiros> this is how I did it: allow(client).to receive(:auth).with(arg2: 'something else');
<aesthetikx> I think you could
<aesthetikx> allow(client).to receive(:autho) do |kwargs|
<aesthetikx> and then parse out the kwargs there, and then either call original or provide a return value
<aesthetikx> but, like nebiros said, you may want to rearrange some things or avoid stubbing so specifically
ph88_ has joined #ruby
<ph88_> can i download jekyll as a static binary somewhere ?
<adam12> ph88_: Closest would probably be a Docker image.
<nebiros> aesthetikx: gonna try, thenks
<nebiros> *a
<ph88_> what's the fastest ruby implementation ?
<adam12> ph88_: Depends on the use case and compatibility requirements.
<ph88_> for jekyll
<adam12> ph88_: I'd just stick with MRI.
<adam12> (aka YARV or CRuby)
<ph88_> i guess jit enabled implementations make no sense for cli tools ^^
<adam12> ph88_: Not likely.
<ph88_> how many megabyte on dependencies can i expect for jekyll ? including ruby itself and all stuff needed. system from scratch
<nakilon> in my little experience the jekyll works enough fast, but the installation of jekyll took more than a minute
<nakilon> some native extensions compilation step
<nakilon> (the sassc gem)
AriT93 has joined #ruby
crankharder has quit [Ping timeout: 272 seconds]
crankharder has joined #ruby
Garb0 has quit [Quit: Garb0]
TomyWork has quit [Remote host closed the connection]
gearnode has quit [Ping timeout: 246 seconds]
crankharder has quit [Ping timeout: 268 seconds]
crankharder has joined #ruby
AriT93 has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
[jamez] has quit [Ping timeout: 268 seconds]
lad has joined #ruby
reset has joined #ruby
chonkbit has quit [Ping timeout: 240 seconds]
jetchisel has joined #ruby
<nebiros> ah, ok, I found I can modify args with and_wrap_original
<nebiros> and do the original_method.call inside
<nebiros> aesthetikx: thanks
<aesthetikx> did that work
<aesthetikx> xool
<aesthetikx> coo
<aesthetikx> cool*
ph88 has joined #ruby
ph88_ has quit [Ping timeout: 268 seconds]
gearnode has joined #ruby
drincruz has joined #ruby
drincruz has quit [Ping timeout: 272 seconds]
crankharder has quit [Ping timeout: 268 seconds]
crankharder has joined #ruby
Malkbab__ has quit [Remote host closed the connection]
MalkbabY has joined #ruby
chonkbit has joined #ruby
chonkbit has quit [Ping timeout: 256 seconds]
MalkbabY_ has joined #ruby
MalkbabY has quit [Ping timeout: 256 seconds]
ph88^ has joined #ruby
ph88 has quit [Ping timeout: 256 seconds]
[jamez] has joined #ruby
crankharder has quit [Ping timeout: 252 seconds]
xall has joined #ruby
sdfuiojklqaz has quit [Remote host closed the connection]
_ht has quit [Remote host closed the connection]
lunarkitty has joined #ruby
[jamez] has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
rubin55 has quit [Ping timeout: 268 seconds]
pjlsergeant has quit [Read error: Connection reset by peer]
JayDoubleu has quit [Read error: Connection reset by peer]
lad has quit [Remote host closed the connection]
wyrran has quit [Quit: leaving]
xall has quit [Quit: Client closed]
JayDoubleu has joined #ruby
rubin55 has joined #ruby
pjlsergeant has joined #ruby
Garb0 has joined #ruby
nmollerup has joined #ruby
<aesthetikx> is there something like expect(some_array).to all(exist)
<newton> like expect([1]).to eq [1] ?
sdfuiojklqaz has joined #ruby
<weaksauce> aesthetikx match_array or contain_exactly
nmollerup has quit [Quit: Leaving]
nmollerup has joined #ruby
nmollerup has quit [Client Quit]
nmollerup has joined #ruby
sdfuiojklqaz has quit [Ping timeout: 265 seconds]
<aesthetikx> in this case i was asserting that a list contained no nil elements, looks like expect(array).to all(be_present) works
<aesthetikx> thanks weaksauce
<weaksauce> yw
<aesthetikx> do you have a github profile?
<weaksauce> nothing amazing on it but yeah
<aesthetikx> are you a spacemacs users
<aesthetikx> user*
<weaksauce> more of a vscode user
<weaksauce> tab nine is pretty cool if you use vscode
<weaksauce> not sure if it works with spacemacs but it probably could
Garb0 has quit [Quit: Garb0]
lunarkitty has quit [Quit: Connection closed for inactivity]
Garb0 has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 258 seconds]
Rounin has quit [Ping timeout: 250 seconds]
nakilon has quit [Quit: The Lounge - https://thelounge.chat]
relyks has joined #ruby