Jeremy Evans

Results 56 issues of Jeremy Evans

The syntax_suggest CLI that ships in Ruby 3.3.0 and Ruby 3.2.3 fails: ``` $ /usr/local/bin/syntax_suggest33 -h /usr/local/lib/ruby/gems/3.3/gems/syntax_suggest-2.0.0/exe/syntax_suggest:3:in `require_relative': cannot load such file -- /usr/local/lib/ruby/gems/3.3/gems/syntax_suggest-2.0.0/lib/syntax_suggest/api (LoadError) from /usr/local/lib/ruby/gems/3.3/gems/syntax_suggest-2.0.0/exe/syntax_suggest:3:in `' from /usr/local/bin/syntax_suggest33:25:in...

Instead of just passing the use_ipv6 option, pass all options given. By using a singular hash argument instead of keywords, this avoids the issue when a user does: ```ruby Resolv.new([Resolv::DNS.new],...

``` $ ruby -v -w -r prawn -e '' ruby 3.3.1 (2024-04-23 revision c56cd86388) [x86_64-openbsd] /usr/local/lib/ruby/gems/3.3/gems/prawn-2.5.0/lib/prawn/fonts.rb:9: warning: /usr/local/lib/ruby/gems/3.3/gems/prawn-2.5.0/lib/prawn/fonts.rb:9: warning: loading in progress, circular require considered harmful - /usr/local/lib/ruby/gems/3.3/gems/prawn-2.5.0/lib/prawn/font.rb from :135:in...

For calls such as: m(*ary, a: 2, **h) m(*ary, **h, **h, **h) Where m does not take a positional argument splat, there was previously an array allocation (splatarray true) to...

Treat this similar to keyword splatting nil, using goto ignore. However, keep previous behavior if the method accepts a keyword splat, to avoid double hash allocation. This also can avoid...

No core class implements both encoding and set_encoding. Classes implementing encoding: * Regexp * Symbol * String Classes implementing set_encoding: * File * ARGF.class * IO This code was added...