00:08
drincruz has joined #ruby
00:17
Garb0 has joined #ruby
00:18
teclator has quit [Ping timeout: 252 seconds]
00:27
ur5us has quit [Ping timeout: 240 seconds]
00:31
postmodern has joined #ruby
00:32
ur5us has joined #ruby
00:41
[jamez] has joined #ruby
00:41
Garb0 has quit [Ping timeout: 272 seconds]
00:42
MalkbabY has joined #ruby
00:46
MalkbabY_ has quit [Ping timeout: 268 seconds]
00:48
mrkz_c has joined #ruby
00:53
Garb0 has joined #ruby
00:53
wyrran has quit [Remote host closed the connection]
00:53
wyrran has joined #ruby
00:58
Rounin has quit [Ping timeout: 272 seconds]
01:13
ansimita has left #ruby [#ruby]
01:24
goldfish has quit [Ping timeout: 268 seconds]
01:27
ansimita has joined #ruby
01:32
Garb0 has quit [Quit: Garb0]
01:41
drincruz has quit [Ping timeout: 252 seconds]
01:43
ur5us has quit [Remote host closed the connection]
01:44
ur5us has joined #ruby
01:47
[jamez] has quit [Ping timeout: 272 seconds]
02:21
jetchisel has joined #ruby
02:22
elf_fortrez has joined #ruby
02:39
teclator has joined #ruby
02:42
rassoc has quit [Ping timeout: 256 seconds]
03:10
jhass[m] has quit [Read error: Connection reset by peer]
03:10
ckrailo has quit [Read error: Connection reset by peer]
03:11
jhass[m] has joined #ruby
03:13
elf_fortrez has quit [Ping timeout: 246 seconds]
03:15
ckrailo has joined #ruby
03:25
sdfuiojklqaz has quit [Remote host closed the connection]
03:25
sdfuiojklqaz has joined #ruby
03:28
lunarkitty has quit [Quit: Connection closed for inactivity]
03:30
sdfuiojklqaz has quit [Ping timeout: 265 seconds]
03:33
jhass[m] has quit [Quit: node-irc says goodbye]
03:38
teclator has quit [Ping timeout: 240 seconds]
03:40
ckrailo has quit [Quit: node-irc says goodbye]
03:47
ur5us has quit [Ping timeout: 240 seconds]
03:52
ur5us has joined #ruby
03:56
jetchisel has quit [Ping timeout: 252 seconds]
03:56
AriT93 has joined #ruby
04:01
neshpion has quit [Quit: neshpion]
04:04
AriT93 has quit [Remote host closed the connection]
04:07
AriT93 has joined #ruby
04:14
AriT93 has quit [Remote host closed the connection]
04:34
lucf117 has joined #ruby
04:34
lad has quit [Ping timeout: 272 seconds]
04:53
MalkbabY has quit [Remote host closed the connection]
04:53
MalkbabY has joined #ruby
05:01
[jamez] has joined #ruby
05:16
lucf117 has quit [Remote host closed the connection]
05:30
ur5us has quit [Ping timeout: 240 seconds]
05:53
_ht has joined #ruby
05:58
[jamez] has quit [Ping timeout: 252 seconds]
06:18
dvgorod has joined #ruby
06:33
teclator has joined #ruby
07:03
lunarkitty has joined #ruby
07:14
TomyWork has joined #ruby
07:25
jhass[m] has joined #ruby
07:28
ckrailo has joined #ruby
07:30
goldfish has joined #ruby
07:38
goldfish has quit [Ping timeout: 246 seconds]
07:45
jhass[m] has quit [Quit: Client limit exceeded: 20000]
07:58
ckrailo has quit [Remote host closed the connection]
07:59
enyc has quit [Max SendQ exceeded]
07:59
enyc has joined #ruby
07:59
jhass[m] has joined #ruby
08:03
ckrailo has joined #ruby
08:04
_aeris_ has quit [Remote host closed the connection]
08:04
_aeris_ has joined #ruby
08:06
enyc has joined #ruby
08:06
enyc has quit [Changing host]
08:20
jhass[m] has quit [Quit: Client limit exceeded: 20000]
08:24
reset has quit [Quit: reset]
08:32
ckrailo has quit [Remote host closed the connection]
08:33
jhass[m] has joined #ruby
08:36
ckrailo has joined #ruby
08:37
ur5us has joined #ruby
08:38
ur5us has quit [Client Quit]
08:40
ckrailo has quit [Remote host closed the connection]
08:40
jhass[m] has quit [Remote host closed the connection]
08:51
Rounin has joined #ruby
09:03
MalkbabY has quit [Remote host closed the connection]
09:04
MalkbabY has joined #ruby
09:05
jhass[m] has joined #ruby
09:09
ckrailo has joined #ruby
09:23
Garb0 has joined #ruby
10:02
relyks1 has joined #ruby
10:03
relyks has quit [Ping timeout: 268 seconds]
10:03
relyks1 is now known as relyks
10:04
relyks has quit [Client Quit]
10:06
pyfisch has joined #ruby
10:11
Garb0 has quit [Quit: Garb0]
10:16
aeris- has joined #ruby
10:17
_aeris_ has quit [Ping timeout: 244 seconds]
10:38
rassoc has joined #ruby
10:56
Garb0 has joined #ruby
11:05
gr33n7007h has joined #ruby
11:12
relyks has joined #ruby
11:12
relyks has quit [Client Quit]
11:23
goldfish has joined #ruby
11:31
goldfish has quit [Ping timeout: 265 seconds]
11:33
lunarkitty has quit [Quit: Connection closed for inactivity]
11:42
Garb00 has joined #ruby
11:42
Garb0 has quit [Read error: Connection reset by peer]
12:14
Garb00 has quit [Ping timeout: 252 seconds]
12:16
Garb00 has joined #ruby
12:22
simao has quit [Quit: WeeChat 3.1]
12:23
simao has joined #ruby
12:26
Garb00 has quit [Ping timeout: 252 seconds]
12:44
crankharder has joined #ruby
12:53
sdfuiojklqaz has joined #ruby
13:11
MalkbabY has quit [Remote host closed the connection]
13:12
MalkbabY has joined #ruby
13:13
Garb0 has joined #ruby
13:16
crankharder has quit [Read error: Connection reset by peer]
13:17
crankharder has joined #ruby
13:18
[jamez] has joined #ruby
13:42
MalkbabY_ has joined #ruby
13:42
Malkbab__ has joined #ruby
13:45
MalkbabY has quit [Ping timeout: 268 seconds]
13:46
MalkbabY_ has quit [Ping timeout: 240 seconds]
14:10
gr33n7001 has joined #ruby
14:11
gr33n7007h has quit [Ping timeout: 252 seconds]
14:17
teclator has quit [Read error: Connection reset by peer]
14:22
Garb0 has quit [Quit: Garb0]
14:50
dvgorod has quit [Ping timeout: 256 seconds]
14:53
elf_fortrez has joined #ruby
15:02
<
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'?
15:03
<
nebiros >
s/how can my pass/how can I pass/
15:04
elf_fortrez has quit [Quit: Client closed]
15:11
<
adam12 >
nebiros: Do you create the instance of `Client`?
15:16
Garb0 has joined #ruby
15:17
<
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({}))
15:23
<
adam12 >
nebiros: Not sure it's possible.
15:23
<
adam12 >
nebiros: What's your ultimate goal?
15:28
<
nebiros >
adam12: well, pass 'something else' instead of 'foo' at #auth when I call #sign_in
15:29
<
nebiros >
#sign_in calls #auth inside
15:33
<
adam12 >
nebiros: What does auth do?
15:34
<
adam12 >
nebiros: Can you show some code?
15:34
<
adam12 >
This method of stubbing is somewhat of a smell.
15:39
<
adam12 >
nebiros: That's stubbing multiple calls, not multiple arguments.
15:46
<
nebiros >
this is how I did it: allow(client).to receive(:auth).with(arg2: 'something else');
15:49
<
aesthetikx >
I think you could
15:49
<
aesthetikx >
allow(client).to receive(:autho) do |kwargs|
15:49
<
aesthetikx >
and then parse out the kwargs there, and then either call original or provide a return value
15:50
<
aesthetikx >
but, like nebiros said, you may want to rearrange some things or avoid stubbing so specifically
15:57
ph88_ has joined #ruby
15:57
<
ph88_ >
can i download jekyll as a static binary somewhere ?
15:58
<
adam12 >
ph88_: Closest would probably be a Docker image.
15:58
<
nebiros >
aesthetikx: gonna try, thenks
15:59
<
ph88_ >
what's the fastest ruby implementation ?
16:00
<
adam12 >
ph88_: Depends on the use case and compatibility requirements.
16:00
<
adam12 >
ph88_: I'd just stick with MRI.
16:00
<
adam12 >
(aka YARV or CRuby)
16:02
<
ph88_ >
i guess jit enabled implementations make no sense for cli tools ^^
16:04
<
adam12 >
ph88_: Not likely.
16:05
<
ph88_ >
how many megabyte on dependencies can i expect for jekyll ? including ruby itself and all stuff needed. system from scratch
16:06
<
nakilon >
in my little experience the jekyll works enough fast, but the installation of jekyll took more than a minute
16:07
<
nakilon >
some native extensions compilation step
16:07
<
nakilon >
(the sassc gem)
16:14
AriT93 has joined #ruby
16:15
crankharder has quit [Ping timeout: 272 seconds]
16:18
crankharder has joined #ruby
16:19
Garb0 has quit [Quit: Garb0]
16:23
TomyWork has quit [Remote host closed the connection]
16:23
gearnode has quit [Ping timeout: 246 seconds]
16:37
crankharder has quit [Ping timeout: 268 seconds]
16:41
crankharder has joined #ruby
16:44
AriT93 has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
16:54
[jamez] has quit [Ping timeout: 268 seconds]
16:54
lad has joined #ruby
16:56
reset has joined #ruby
16:58
chonkbit has quit [Ping timeout: 240 seconds]
17:04
jetchisel has joined #ruby
17:05
<
nebiros >
ah, ok, I found I can modify args with and_wrap_original
17:05
<
nebiros >
and do the original_method.call inside
17:05
<
nebiros >
aesthetikx: thanks
17:05
<
aesthetikx >
did that work
17:08
ph88 has joined #ruby
17:12
ph88_ has quit [Ping timeout: 268 seconds]
17:13
gearnode has joined #ruby
17:13
drincruz has joined #ruby
17:20
drincruz has quit [Ping timeout: 272 seconds]
17:21
crankharder has quit [Ping timeout: 268 seconds]
17:28
crankharder has joined #ruby
17:42
Malkbab__ has quit [Remote host closed the connection]
17:43
MalkbabY has joined #ruby
17:51
chonkbit has joined #ruby
18:09
chonkbit has quit [Ping timeout: 256 seconds]
18:23
MalkbabY_ has joined #ruby
18:27
MalkbabY has quit [Ping timeout: 256 seconds]
18:57
ph88^ has joined #ruby
19:01
ph88 has quit [Ping timeout: 256 seconds]
19:22
[jamez] has joined #ruby
19:42
crankharder has quit [Ping timeout: 252 seconds]
19:58
xall has joined #ruby
20:30
sdfuiojklqaz has quit [Remote host closed the connection]
20:44
_ht has quit [Remote host closed the connection]
20:55
lunarkitty has joined #ruby
21:13
[jamez] has quit [Ping timeout: 240 seconds]
21:15
crankharder has joined #ruby
21:19
crankharder has quit [Ping timeout: 240 seconds]
21:42
rubin55 has quit [Ping timeout: 268 seconds]
21:42
pjlsergeant has quit [Read error: Connection reset by peer]
21:42
JayDoubleu has quit [Read error: Connection reset by peer]
21:44
lad has quit [Remote host closed the connection]
21:46
wyrran has quit [Quit: leaving]
21:46
xall has quit [Quit: Client closed]
21:49
JayDoubleu has joined #ruby
21:52
rubin55 has joined #ruby
21:52
pjlsergeant has joined #ruby
22:09
Garb0 has joined #ruby
22:21
nmollerup has joined #ruby
22:28
<
aesthetikx >
is there something like expect(some_array).to all(exist)
22:29
<
newton >
like expect([1]).to eq [1] ?
22:30
sdfuiojklqaz has joined #ruby
22:31
<
weaksauce >
aesthetikx match_array or contain_exactly
22:31
nmollerup has quit [Quit: Leaving]
22:31
nmollerup has joined #ruby
22:33
nmollerup has quit [Client Quit]
22:33
nmollerup has joined #ruby
22:35
sdfuiojklqaz has quit [Ping timeout: 265 seconds]
22:41
<
aesthetikx >
in this case i was asserting that a list contained no nil elements, looks like expect(array).to all(be_present) works
22:41
<
aesthetikx >
thanks weaksauce
22:44
<
aesthetikx >
do you have a github profile?
22:46
<
weaksauce >
nothing amazing on it but yeah
22:46
<
aesthetikx >
are you a spacemacs users
22:48
<
weaksauce >
more of a vscode user
22:51
<
weaksauce >
tab nine is pretty cool if you use vscode
22:52
<
weaksauce >
not sure if it works with spacemacs but it probably could
23:05
Garb0 has quit [Quit: Garb0]
23:07
lunarkitty has quit [Quit: Connection closed for inactivity]
23:07
Garb0 has joined #ruby
23:15
crankharder has joined #ruby
23:21
crankharder has quit [Ping timeout: 258 seconds]
23:40
Rounin has quit [Ping timeout: 250 seconds]
23:56
relyks has joined #ruby