havenwood changed the topic of #ruby to: Ruby 3.4.5, 3.3.9, 3.5.0-preview1 https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
polishdu1 has joined #ruby
polishdu1 has quit [Remote host closed the connection]
polishdu1 has joined #ruby
chair1 has quit [Quit: Client closed]
polishdu1 has quit [Remote host closed the connection]
fercell has quit [Quit: ZNC - https://znc.in]
fercell has joined #ruby
donofrio2 has quit [Remote host closed the connection]
<nakilon> I'll probably share the cringe
<nakilon> I probably didn't
<nakilon> and speaking of a SortedSet -- I though I needed it in my genetic algorithm stuff (to hold species sorted by their quality), and was going to implement some another gem for the red-black-whatever-tree with a set of methods I needed; but good thing that I didn't start doing it, because after a few days I realised I only need bsearch to do what I need
<nakilon> so also probably didn't share, the Size-Limited Binary Search Array: https://gist.github.com/Nakilon/cf2dd28feb6040ad28f1b607c76097dc
<nakilon> `max_size` is a size that it will try to be within, and the `block` is an identity callback for the set
<nakilon> oh I mean not identity callback but the score evaluator for the sorting; is cuts the storage to the max_size if the cut is somewhere on the scores edge
<nakilon> *it cuts
avsej has joined #ruby
jmcantrell has quit [Ping timeout: 260 seconds]
<nakilon> my guess was right, the following post is just two years old and it's still the same conclusion in comments: "minitest is good, but the only good reporter is in rspec" https://old.reddit.com/r/ruby/comments/xcd6a4/why_i_dont_enjoy_rspec_all_that_much/
cappy has quit [Quit: Leaving]
<nakilon> it's such a shame there is no tool to convert junit to it
avsej has quit [Read error: Connection reset by peer]
avsej has joined #ruby
Vonter has joined #ruby
avsej has quit [Quit: avsej]
avsej has joined #ruby
o0x1eef has quit [Ping timeout: 252 seconds]
o0x1eef has joined #ruby
jmcantrell has joined #ruby
jmcantrell has quit [Ping timeout: 252 seconds]
The_Camel has quit [Ping timeout: 260 seconds]
ih8u2 has joined #ruby
ih8u has quit [Ping timeout: 276 seconds]
ih8u2 is now known as ih8u
flurp has joined #ruby
flurp has quit [Client Quit]
<nakilon> is there a way to override the formatter that is set by default in spec_helper.rb?
<nakilon> for example I want to get json to pipe it else where but it prints '-f d' due to the 'config.formatter = :documentation' line
_whitelogger has joined #ruby
<nakilon> nvm: config.formatter = :documentation if RSpec.configuration.formatter_loader.formatters.empty?
<nakilon> hm, json formatter does not show contexts hierarhy
<nakilon> or just switch to using .rspec I guess
<nakilon> hm, also json formatter does not show example metadata
infinityfye has joined #ruby
dionysus69 has joined #ruby
flurp has joined #ruby
Rounin has quit [Ping timeout: 272 seconds]
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
flurp has quit [Quit: The Lounge - https://thelounge.chat]
mikko has quit [Server closed connection]
mikko has joined #ruby
avsej has quit [Read error: Connection reset by peer]
<nakilon> hm, so I derived from `JsonFormatter` defining the `def format_example` to add `example.metadata` to it, but another issue is that it skips `xdescribe`...
oz has quit [Server closed connection]
ox has joined #ruby
dionysus69 has quit [Quit: dionysus69]
dionysus69 has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
dionysus70 has joined #ruby
dionysus70 is now known as dionysus69
Arsen has quit [Server closed connection]
Arsen has joined #ruby
infinityfye has quit [Read error: Connection reset by peer]
fantazo has quit [Quit: leaving]
infinityfye has joined #ruby
cappy has joined #ruby
ox is now known as oz
Thanzex025 has joined #ruby
user71 has joined #ruby
pastelowl has quit [Quit: WeeChat 4.7.0]
pastelowl has joined #ruby
Caius has quit [Server closed connection]
Caius has joined #ruby
chair1 has joined #ruby
The_Camel has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
chair77 has joined #ruby
chair1 has quit [Ping timeout: 252 seconds]
chair1 has joined #ruby
chair77 has quit [Ping timeout: 252 seconds]
jmcantrell has joined #ruby
jmcantrell has quit [Ping timeout: 260 seconds]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
chair1 has quit [Ping timeout: 252 seconds]
chair1 has joined #ruby
weaksauce has joined #ruby
finsternis has quit [Ping timeout: 240 seconds]
finsternis has joined #ruby
finsternis has quit [Ping timeout: 248 seconds]
finsternis has joined #ruby
<nakilon> how do I properly check if the parent class has the method defined so `super` won't raise `super: no superclass method` ?
jmcantrell has joined #ruby
chair1 has quit [Quit: Client closed]
chair1 has joined #ruby
user71 has quit [Quit: Leaving]
rvalue- has joined #ruby
rvalue has quit [Ping timeout: 260 seconds]
chair1 has quit [Quit: Client closed]
rvalue- is now known as rvalue
<o0x1eef> super(...) if defined?(super)
jmcantrell has quit [Ping timeout: 265 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
cappy has quit [Quit: Leaving]
infinityfye has quit [Read error: Connection reset by peer]
jmcantrell has joined #ruby
jmcantrell has quit [Ping timeout: 248 seconds]
inline has quit [Quit: Leaving]
finsternis has quit [Read error: Connection reset by peer]
inline has joined #ruby
johnjaye has joined #ruby
ih8u2 has joined #ruby
ih8u has quit [Ping timeout: 245 seconds]
ih8u2 is now known as ih8u
Vonter has quit [Ping timeout: 245 seconds]
Vonter has joined #ruby
brw has quit [Quit: The Lounge - https://thelounge.chat]
brw has joined #ruby