jhass[m] changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.2, 3.0.4, 2.7.6: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
giorgian has quit [Ping timeout: 276 seconds]
ur5us has quit [Ping timeout: 250 seconds]
roadie has joined #ruby
roadie has quit [Ping timeout: 260 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 240 seconds]
roadie has joined #ruby
nakilon has joined #ruby
<nakilon> how do you store testing assets that are too heavy for git?
<nakilon> what if it's an opensource project on github? what do you think about storing assets on some cloud object storage provider? the links might rot in few years
kiki_lamb has joined #ruby
giorgian has joined #ruby
<nakilon> github recommends LFS but I had some hard time with it
kiki_lamb has quit [Ping timeout: 272 seconds]
<weaksauce> how big are you talking nakilon
<weaksauce> ox1eef I think hastebin is probably fine. toptal acquired them
giorgian has quit [Ping timeout: 256 seconds]
<nakilon> weaksauce I need snapshots of webpages; I made a snapshot of www.google.com two years ago and I don't remember how I processed it but it weights 300kb; now I made new snapshot and it's 500kb
<nakilon> it could be dozens of such files
<nakilon> (that's awful though that google page weights 500kb today)
emcb549 has joined #ruby
<weaksauce> is that really too much for git?
<weaksauce> how many versions are you storing?
<nakilon> it adds permanently to it's size
<nakilon> that's only 2nd version, I just don't devote as much time to the project as I would love to
gfawcett has joined #ruby
emcb54 has quit [Ping timeout: 276 seconds]
emcb549 is now known as emcb54
<nakilon> hm, on the other side specifically that repo does not aim to update those files but rather add them
<nakilon> so you won't download much of anything that is "outdated"
<ox1eef> weaksauce: i presume most of these links are fine, but i wouldn't say they are universally known. in any case, it would be nice to have support for anonymous pastes - which github seems to no longer have.
kiki_lamb has joined #ruby
<ox1eef> nakilon: welcome back!
<weaksauce> yeah
<nakilon> ox1eef hello ) it's not BNC yet, I've just got account password remembered somehow on this computer
<nakilon> I'm happy the bug I've reported about shadowing splatted vars is fixed
Rounin has quit [Ping timeout: 276 seconds]
kiki_lamb has quit [Ping timeout: 256 seconds]
WhereIsMySpoon has joined #ruby
<ox1eef> cool, me too, and that's a shame. i hope you can get a permanent bouncer setup.
WhereIsMySpoon has quit [Ping timeout: 272 seconds]
jhass has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
roadie has quit [Ping timeout: 248 seconds]
giorgian has joined #ruby
kiki_lamb has joined #ruby
hololeap has joined #ruby
giorgian has quit [Ping timeout: 246 seconds]
kiki_lamb has quit [Ping timeout: 240 seconds]
b3lm0nt has joined #ruby
Ziyan has joined #ruby
b3lm0nt has quit [Ping timeout: 276 seconds]
b3lm0nt has joined #ruby
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
jhass has joined #ruby
kiki_lamb has joined #ruby
RickHull has quit [Ping timeout: 250 seconds]
b3lm0nt has quit [Ping timeout: 276 seconds]
kiki_lamb has quit [Ping timeout: 272 seconds]
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has joined #ruby
MCx has quit [Quit: Client closed]
b3lm0nt has quit [Ping timeout: 240 seconds]
giorgian has joined #ruby
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex3 has joined #ruby
b3lm0nt has quit [Ping timeout: 240 seconds]
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has joined #ruby
giorgian has quit [Ping timeout: 276 seconds]
roadie has joined #ruby
b3lm0nt has quit [Ping timeout: 272 seconds]
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has joined #ruby
kiki_lamb has joined #ruby
roadie has quit [Ping timeout: 248 seconds]
b3lm0nt has quit [Ping timeout: 272 seconds]
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has joined #ruby
kiki_lamb has quit [Ping timeout: 276 seconds]
b3lm0nt has quit [Ping timeout: 256 seconds]
b3lm0nt has joined #ruby
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
roadie has joined #ruby
roadie has quit [Ping timeout: 260 seconds]
b3lm0nt has quit [Ping timeout: 246 seconds]
b3lm0nt has joined #ruby
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has quit [Ping timeout: 272 seconds]
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has joined #ruby
b3lm0nt has quit [Ping timeout: 246 seconds]
b3lm0nt has joined #ruby
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 246 seconds]
b3lm0nt has quit [Ping timeout: 246 seconds]
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has joined #ruby
<nakilon> ox1eef we don't have free servers in Russia
<nakilon> we're not the hardware monopolists
nakilon has quit [Quit: Client closed]
giorgian has joined #ruby
b3lm0nt has quit [Ping timeout: 256 seconds]
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has joined #ruby
giorgian has quit [Ping timeout: 256 seconds]
b3lm0nt has quit [Ping timeout: 246 seconds]
b3lm0nt has joined #ruby
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
oxfuxxx has joined #ruby
Vonter has quit [Quit: WeeChat 3.5]
b3lm0nt has quit [Ping timeout: 246 seconds]
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has joined #ruby
Vonter has joined #ruby
b3lm0nt has quit [Ping timeout: 246 seconds]
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has joined #ruby
kiki_lamb has joined #ruby
tweaks has quit [*.net *.split]
nemesit has quit [*.net *.split]
bjonnh has quit [*.net *.split]
Caius has quit [*.net *.split]
ikonia has quit [*.net *.split]
nemesit has joined #ruby
ikonia has joined #ruby
Caius has joined #ruby
tweaks has joined #ruby
bjonnh has joined #ruby
b3lm0nt has quit [Ping timeout: 256 seconds]
kiki_lamb has quit [Ping timeout: 248 seconds]
Buggys has quit [*.net *.split]
isene has quit [*.net *.split]
olspookishmagus has quit [*.net *.split]
olspookishmagus has joined #ruby
isene has joined #ruby
Buggys has joined #ruby
Ziyan has quit [Ping timeout: 246 seconds]
emcb540 has joined #ruby
emcb54 has quit [Ping timeout: 246 seconds]
emcb540 is now known as emcb54
Ziyan has joined #ruby
roadie has joined #ruby
z4kz has joined #ruby
oxfuxxx has quit [Ping timeout: 246 seconds]
z4kz has quit [Quit: Client closed]
kiki_lamb has joined #ruby
oxfuxxx has joined #ruby
roadie has quit [Ping timeout: 260 seconds]
Ziyan has quit [Ping timeout: 276 seconds]
roadie` has joined #ruby
giorgian has joined #ruby
Ziyan has joined #ruby
kiki_lamb has quit [Ping timeout: 250 seconds]
roadie` has quit [Ping timeout: 260 seconds]
giorgian has quit [Ping timeout: 246 seconds]
oxfuxxx has quit [Quit: [H]EAT ROX FUCK R0X SHIT BRIX. = The Yankies M0th3Rphackers Coconut Aerospace =]
ur5us has quit [Ping timeout: 240 seconds]
Thanzex3 has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
Ziyan has quit [Ping timeout: 240 seconds]
Ziyan has joined #ruby
WhereIsMySpoon has joined #ruby
WhereIsMySpoon has quit [Ping timeout: 248 seconds]
mdemo has quit [Quit: The Lounge - https://thelounge.github.io]
roadie` has joined #ruby
roadie` has quit [Client Quit]
roadie has joined #ruby
kiki_lamb has joined #ruby
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
Ziyan has quit [Ping timeout: 276 seconds]
kiki_lamb has quit [Ping timeout: 260 seconds]
Ziyan has joined #ruby
giorgian has joined #ruby
kiki_lamb has joined #ruby
giorgian has quit [Ping timeout: 248 seconds]
kiki_lamb has quit [Ping timeout: 260 seconds]
Ziyan has quit [Ping timeout: 246 seconds]
Ziyan has joined #ruby
John_Ivan has quit [Ping timeout: 276 seconds]
teclator has joined #ruby
giorgian has joined #ruby
giorgian has quit [Ping timeout: 260 seconds]
Ziyan has quit [Ping timeout: 256 seconds]
Ziyan has joined #ruby
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 248 seconds]
giorgian has joined #ruby
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 246 seconds]
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has joined #ruby
Rounin has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.5]
WhereIsMySpoon has joined #ruby
kiki_lamb has joined #ruby
jpn has joined #ruby
b3lm0nt has quit [Ping timeout: 260 seconds]
oxfuxxx has joined #ruby
WhereIsMySpoon has quit [Ping timeout: 260 seconds]
kiki_lamb has quit [Ping timeout: 276 seconds]
jpn has quit [Ping timeout: 276 seconds]
hanzo has quit [Quit: Connection closed for inactivity]
oxfuxxx has quit [Ping timeout: 260 seconds]
oxfuxxx has joined #ruby
jpn has joined #ruby
jpn has quit [Ping timeout: 276 seconds]
oxfuxxx has quit [Ping timeout: 276 seconds]
oxfuxxx has joined #ruby
kiki_lamb has joined #ruby
giorgian has quit [Ping timeout: 260 seconds]
kiki_lamb has quit [Ping timeout: 276 seconds]
jpn has joined #ruby
reset has joined #ruby
dionysus69 has joined #ruby
giorgian has joined #ruby
oxfuxxx has quit [Ping timeout: 250 seconds]
giorgian has quit [Ping timeout: 256 seconds]
giorgian has joined #ruby
___nick___ has joined #ruby
giorgian has quit [Ping timeout: 246 seconds]
kiki_lamb has joined #ruby
<rapha> weaksauce: well, it seems thus far my strategy of talking to the bot in order to find out who feels responsible for it seems to be putting things in motion alright :o)
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
kiki_lamb has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
giorgian has joined #ruby
giorgian` has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
giorgian has quit [Remote host closed the connection]
giorgian` has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.1)]
giorgian has joined #ruby
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 248 seconds]
ur5us_ has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
<rapha> diff topic
<rapha> has anyone seen something like this before and can answer my questions? (as comments there)
Ziyan has quit [Ping timeout: 260 seconds]
<rapha> (sinatra, lockjar (jruby?), "H2" (database?) blah ... and then mostly a syntax question i guess)
Ziyan has joined #ruby
WhereIsMySpoon has joined #ruby
kiki_lamb has joined #ruby
fowl5 has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
fowl has quit [Ping timeout: 248 seconds]
fowl5 is now known as fowl
WhereIsMySpoon has quit [Ping timeout: 276 seconds]
kiki_lamb has quit [Ping timeout: 256 seconds]
WhereIsMySpoon has joined #ruby
WhereIsMySpoon has quit [Ping timeout: 256 seconds]
kiki_lamb has joined #ruby
giorgian has quit [Remote host closed the connection]
giorgian has joined #ruby
WhereIsMySpoon has joined #ruby
kiki_lamb has quit [Ping timeout: 240 seconds]
WhereIsMySpoon has quit [Ping timeout: 240 seconds]
WhereIsMySpoon has joined #ruby
Sankalp has joined #ruby
kiki_lamb has joined #ruby
WhereIsMySpoon has quit [Ping timeout: 248 seconds]
twosuns has joined #ruby
ur5us has joined #ruby
ur5us_ has quit [Read error: Connection reset by peer]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
giorgian has quit [Ping timeout: 246 seconds]
giorgian has joined #ruby
Ziyan has quit [Quit: Textual IRC Client: www.textualapp.com]
twosuns has quit [Quit: ...]
giorgian has quit [Ping timeout: 248 seconds]
dionysus69 has joined #ruby
ssh073 has quit [Remote host closed the connection]
ssh073 has joined #ruby
Ziyan has joined #ruby
RickHull has joined #ruby
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has joined #ruby
TomyWork has joined #ruby
giorgian has joined #ruby
giorgian has quit [Remote host closed the connection]
giorgian has joined #ruby
b3lm0nt has quit [Ping timeout: 256 seconds]
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has joined #ruby
z4kz has joined #ruby
b3lm0nt has quit [Ping timeout: 250 seconds]
b3lm0nt has joined #ruby
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has quit [Ping timeout: 246 seconds]
b3lm0nt has joined #ruby
b3lm0nt has quit [Changing host]
b3lm0nt has joined #ruby
b3lm0nt has quit [Quit: leaving]
shiru has joined #ruby
perrierjouet has quit [Ping timeout: 276 seconds]
shiru has quit [Quit: Lost terminal]
Ziyan has quit [Ping timeout: 248 seconds]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
Ziyan has joined #ruby
Sankalp has quit [Ping timeout: 248 seconds]
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
z4kz has quit [Quit: Client closed]
oxfuxxx has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
dionysus69 has joined #ruby
oxfuxxx has quit [Ping timeout: 248 seconds]
giorgian has quit [Ping timeout: 250 seconds]
bit4bit has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
giorgian has joined #ruby
Sheilong has joined #ruby
WhereIsMySpoon has joined #ruby
bit4bit has quit [Ping timeout: 276 seconds]
Ziyan_ has joined #ruby
Ziyan has quit [Ping timeout: 260 seconds]
WhereIsMySpoon has quit [Ping timeout: 256 seconds]
Ziyan_ has quit [Ping timeout: 246 seconds]
Ziyan has joined #ruby
John_Ivan has joined #ruby
WhereIsMySpoon has joined #ruby
WhereIsMySpoon has quit [Ping timeout: 246 seconds]
moldorcoder7 has quit [Ping timeout: 272 seconds]
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Ziyan has joined #ruby
jpn_ has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
jpn has quit [Ping timeout: 248 seconds]
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Ziyan has joined #ruby
hololeap has quit [Ping timeout: 240 seconds]
hololeap has joined #ruby
John_Ivan has quit [Read error: Connection reset by peer]
John_Ivan has joined #ruby
Ziyan has quit [Ping timeout: 260 seconds]
John_Ivan has quit [Read error: Connection reset by peer]
John_Ivan has joined #ruby
Ziyan has joined #ruby
white_magic has joined #ruby
ssh073 has quit [Ping timeout: 240 seconds]
_ht has joined #ruby
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 240 seconds]
giorgian has quit [Ping timeout: 276 seconds]
dionysus69 has joined #ruby
jpn has joined #ruby
white_magic has quit [Quit: Client closed]
jpn_ has quit [Ping timeout: 248 seconds]
WhereIsMySpoon has joined #ruby
giorgian has joined #ruby
roadie has joined #ruby
giorgian has quit [Ping timeout: 248 seconds]
WhereIsMySpoon has quit [Ping timeout: 248 seconds]
kiwi_36 has joined #ruby
hanzo has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
moldorcoder7 has joined #ruby
oxfuxxx has joined #ruby
jpn has quit [Ping timeout: 260 seconds]
giorgian has joined #ruby
giorgian has quit [Ping timeout: 260 seconds]
ssh073 has joined #ruby
jpn has joined #ruby
Thom2503 has joined #ruby
giorgian has joined #ruby
giorgian has quit [Ping timeout: 276 seconds]
pgib has joined #ruby
oxfuxxx has quit [Ping timeout: 250 seconds]
fercell has quit [Ping timeout: 246 seconds]
TomyWork has quit [Quit: Leaving]
Thom2503 has quit [Remote host closed the connection]
fercell has joined #ruby
jpn has quit [Ping timeout: 276 seconds]
jpn has joined #ruby
<havenwood> rapha: Ask it about its owner and source location.
<havenwood> rapha: p method(:entries).owner
<havenwood> rapha: p method(:entries).source_location
<rapha> mind successfully blown, havenwood. i never knew about either of these. will check and thank you!
jpn has quit [Ping timeout: 260 seconds]
jpn has joined #ruby
<havenwood> rapha: Oh, wait, just reread that and it's a kwarg not a method?
<havenwood> rapha: MultiJson.dump(entries: MAP.to_a)
<havenwood> rapha: If it was a method, I'd ask it about its owner and source location. It looks like it's a keyword argument.
hololeap has quit [Ping timeout: 240 seconds]
<havenwood> rapha: Object.const_source_location(:MAP)
giorgian has joined #ruby
<havenwood> rapha: And no need to check the source location, because MAP is defined in the code you shared.
<havenwood> rapha: yeah, just a keyword argument and the lack of a space makes it confusing.
hololeap has joined #ruby
<havenwood> rapha: Ripper can be useful for cases like this where your eyes might deceive.
<havenwood> rapha: require 'ripper'; Ripper.sexp('MultiJson.dump entries:MAP.to_a')
<havenwood> That let's you know it's a :bare_assoc_hash
<rapha> huh, i also never knew that you're allowed to skip the space after the colon for an implicit hash
<rapha> (bare assoc hash = what i call an implicit hash?)
<havenwood> yup
<rapha> but okay, yeah, that explains it
<rapha> what i'm still wondering is why the person felt inclined to make the whole utf8 stuff explicit as though it was still the early 2000s
giorgian has quit [Ping timeout: 248 seconds]
<rapha> but probably only they could answer that
<rapha> btw havenwood new Last Week Tonight with John Oliver is out!
giorgian has joined #ruby
noname has joined #ruby
giorgian has quit [Ping timeout: 240 seconds]
hololeap has quit [Ping timeout: 240 seconds]
cjac has joined #ruby
<cjac> Hi folks
<cjac> can I ask a noob question?
<cjac> I've never written tests in ruby before, so I'm starting from the bottom.
<cjac> how do I check whether a function defined in a module has been injected into the namespace without calling that function?
<cjac> is it something like this?
<cjac> eval("defined? #{celo}") == 'method'
hololeap has joined #ruby
noname has quit [Ping timeout: 256 seconds]
<cjac> I'm trying to write a unit test for this module, and I wanted to start with ensuring that the methods 'def'd in the module are properly loaded.
<rapha> and he's calling that a noob question
<leftylink> I don't think it makes sense to test whether the language is working properly, but this is a case for respond_to?
<leftylink> pandabot: rb module A; def foo; end end; class B end; class C include A end; [B.new.respond_to?(:foo), C.new.respond_to?(:foo)]
<pandabot> [false, true] - https://carc.in/#/r/d4g9
jpn has quit [Ping timeout: 248 seconds]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
<cjac> you're probably right about not making sense. In perl, we have Test::More::use_ok() which verifies that the module gets loaded. I was going for something like that.
noname has joined #ruby
giorgian has joined #ruby
Thom2503 has joined #ruby
jpn has joined #ruby
giorgian has quit [Ping timeout: 276 seconds]
<leftylink> ehhhh I guess < can be used then.
<leftylink> pandabot: rb module A def cjac; end end; class B end; class C include A end; [B < A, C < A]
<pandabot> [nil, true] - https://carc.in/#/r/d4ga
hololeap has quit [Ping timeout: 240 seconds]
Thom2503 has quit [Ping timeout: 260 seconds]
jpn has quit [Quit: Lost terminal]
hololeap has joined #ruby
Thom2503 has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
hanzo has quit [Quit: Connection closed for inactivity]
Ziyan has quit [Quit: Textual IRC Client: www.textualapp.com]
hololeap has quit [Ping timeout: 240 seconds]
Thom2503 has quit [Ping timeout: 248 seconds]
jpn has joined #ruby
hololeap has joined #ruby
noname has quit [Ping timeout: 248 seconds]
Thom2503 has joined #ruby
giorgian has joined #ruby
Thom2503 has quit [Ping timeout: 276 seconds]
giorgian has quit [Ping timeout: 260 seconds]
_ht has quit [Remote host closed the connection]
<rapha> havenwood: was it you who i talked with about emulating a Matlab-ish Ruby environment in VSCode?
<rapha> anyhow, vscode-rdbg is great, as is rdbg itself
<rapha> i'm just wondering if there is a way to on have to open a file and instead just have a terminal with, say, a pry session in it ... and something whereby the state of that session gets saved on exit and restored when you reopen vscode
<rapha> to not*
<rapha> spyder does the same thing for python i believe
ua_ has quit [Ping timeout: 248 seconds]
crankharder has joined #ruby
giorgian has joined #ruby
<rapha> ah, there's even a jupyter extension which will give you that handy variable explorer for python
<rapha> just not for ruby ... not without setting breakpoints, at least
___nick___ has quit [Ping timeout: 248 seconds]
hololeap has quit [Ping timeout: 240 seconds]
jpn has quit [Ping timeout: 260 seconds]
giorgian has quit [Ping timeout: 256 seconds]
hololeap has joined #ruby
ua_ has joined #ruby
ua_ has quit [Ping timeout: 246 seconds]
giorgian has joined #ruby
<rapha> hah, not even a need for creating a jupyter notebook with python.
* rapha feels a little sad
<cjac> leftylink: am I picking up with you're putting down? How do I run this test?
<rapha> maybe i'll have to figure out what the API for vscode's variable explorer is and then i could write an extension that ties it in with one of ruby's many REPLs
<cjac> rapha: one REPL to rule them all
<cjac> and they called it ring zero
<rapha> lol
<rapha> you should make that into a poem cjac :)
<cjac> I just did. I have it logged to ~/.irclogs/libera/#ruby.log for evers and evers
giorgian has quit [Ping timeout: 260 seconds]
<cjac> can someone tell me how to run the test suite for https://github.com/googleapis/google-auth-library-ruby ?
Thom2503 has joined #ruby
<havenwood> cjac: first: gem install --no-document toys && bundle install
ua_ has joined #ruby
<cjac> You don't have write permissions for the /var/lib/gems/2.7.0 directory.
<cjac> do you have virtualenv for ruby?
<leftylink> sounds like that's an Issue that should be filed with the project, that they should have docs as to how to run their tests. however since they have a .rspec file and a spec directory, it can be pretty likely that rspec is involved
<cjac> we call it local::lib in perl
roadie has quit [Ping timeout: 240 seconds]
<leftylink> reading their https://github.com/googleapis/google-auth-library-ruby/blob/main/.github/workflows/ci.yml can also be helpful to understand how their CI runs their tests
WhereIsMySpoon has joined #ruby
<cjac> good call, thanks, leftylink!
Thom2503 has quit [Ping timeout: 240 seconds]
<cjac> is there something like install, but that doesn't write the files to the destination?
<cjac> in the world of make, we often have a test target, for instance
robotmay has quit [Quit: Be excellent to each other]
<cjac> looks like it's build: gem build
<rapha> cjac: just that 'zero' doesn't rhyme with 'all'
howdoi has joined #ruby
<cjac> you could have a chorus behind the "ZERO" singing "aaaaah"
<rapha> cjac: either sudo or set GEM_HOME to something you're allowed to write to
<cjac> thanks, I was looking for GEM_HOME
<rapha> (and put ~/.gem/ruby/3.0.0/bin/ in your PATH)
<havenwood> cjac: tests=(rubocop integration build yardoc linkinator)
<havenwood> cjac: for test in "${tests[@]}"
<havenwood> do
<havenwood> toys do "$test" < /dev/null
<havenwood> done
<havenwood> They could make that ^ easier with a Rakefile or Bakefile, but you can run it manually like that ^
WhereIsMySpoon has quit [Ping timeout: 276 seconds]
robotmay has joined #ruby
ua_ has quit [Ping timeout: 276 seconds]
<cjac> a bit of spam here: ~/src/github/googleapis/google-auth-library-ruby$ rubocop integration build yardoc linkinator
<cjac> Inspecting 0 files
<cjac> 0 files inspected, no offenses detected
<cjac> ah, Daniel wrote his own testing framework maybe? https://github.com/dazuma/toys
jpn has joined #ruby
hololeap has quit [Ping timeout: 240 seconds]
hololeap has joined #ruby
jpn has quit [Ping timeout: 256 seconds]
ua_ has joined #ruby
roadie has joined #ruby
<havenwood> cjac: Did you see the bash lines I wrote above? You can run them individually if you prefer.
<havenwood> cjac: toys do integration < /dev/null
<havenwood> cjac: etc
<cjac> oh, there it is. sorry.
<cjac> it was the ${test[@]} that threw me.
<cjac> for test in rubocop integration build yardoc linkinator ; do toys do "$test" ; done
splud has quit [Ping timeout: 276 seconds]
<havenwood> right, yes
splud has joined #ruby
roadie has quit [Ping timeout: 260 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jpn has joined #ruby
<cjac> linkinator and yardoc are not looking pretty
protektwar has quit [Ping timeout: 260 seconds]
jpn has quit [Ping timeout: 240 seconds]
jpn has joined #ruby
ua_ has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
hololeap has quit [Ping timeout: 240 seconds]
jpn has quit [Ping timeout: 276 seconds]
giorgian has joined #ruby
hololeap has joined #ruby
giorgian has quit [Ping timeout: 246 seconds]
hololeap has quit [Ping timeout: 240 seconds]
ua_ has joined #ruby
hololeap has joined #ruby
jpn has joined #ruby
kiwi_36 has quit [Ping timeout: 256 seconds]
kiwi_36 has joined #ruby
jpn has quit [Ping timeout: 250 seconds]
giorgian has joined #ruby
roadie has joined #ruby
Thom2503 has joined #ruby
giorgian has quit [Ping timeout: 250 seconds]
roadie has quit [Ping timeout: 260 seconds]
Thom2503 has quit [Ping timeout: 240 seconds]
<cjac> toys do test # is the way to run anything in test/**/*_test.rb
RickHull has quit [Remote host closed the connection]
RickHull has joined #ruby
perrierjouet has joined #ruby
jpn has joined #ruby
giorgian has joined #ruby
finsternis has quit [Read error: Connection reset by peer]
finsternis has joined #ruby
jpn has quit [Ping timeout: 248 seconds]
giorgian has quit [Ping timeout: 260 seconds]
shokohsc has joined #ruby
hanzo has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
giorgian has joined #ruby
WhereIsMySpoon has joined #ruby
twosuns has joined #ruby
giorgian has quit [Ping timeout: 260 seconds]
hololeap has quit [Ping timeout: 240 seconds]
roadie has joined #ruby
hololeap has joined #ruby
WhereIsMySpoon has quit [Ping timeout: 260 seconds]
roadie has quit [Ping timeout: 248 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 246 seconds]
crankharder has quit [Quit: leaving]
WhereIsMySpoon has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
WhereIsMySpoon has quit [Ping timeout: 240 seconds]
idiocrash has joined #ruby
idiocrash has quit [Ping timeout: 246 seconds]
giorgian has joined #ruby
idiocrash has joined #ruby