patbenatar / rbexy

A Ruby template language and component framework inspired by JSX and React
MIT License
34 stars 5 forks source link

Add Support for Ruby 3.3 #103

Closed zacheryph closed 2 months ago

zacheryph commented 2 months ago

Closes #98

Backtraces slightly changed in Ruby 3.3.

For some reason the block execution gets altered from the file name to <internal:numeric>:237. Since there is not much about this we can do, and the line before still displays where the error was, we make the expectation more generic.

Backtraces were also improved by showing (eval at file/name.rb:00) ... instead of just (eval) .... Update backtrace cleaner to use regex to replace the eval string.