Closed alximik00 closed 1 year ago
Preconditions:
Results an error:
NoMethodError - undefined method `haml_tag' for #<Nesta::App:0x00007f9b82b32ca0>: /Users/alximik00/.rvm/gems/ruby-2.7.2/gems/nesta-0.12.0/lib/nesta/navigation.rb:44:in `display_breadcrumbs' /Users/alximik00/.rvm/gems/ruby-2.7.2/gems/nesta-0.12.0/views/page.haml:2:in `__tilt_2940' /Users/alximik00/.rvm/gems/ruby-2.7.2/gems/tilt-2.0.11/lib/tilt/template.rb:181:in `call' /Users/alximik00/.rvm/gems/ruby-2.7.2/gems/tilt-2.0.11/lib/tilt/template.rb:181:in `evaluate' /Users/alximik00/.rvm/gems/ruby-2.7.2/gems/tilt-2.0.11/lib/tilt/template.rb:109:in `render' /Users/alximik00/.rvm/gems/ruby-2.7.2/gems/sinatra-2.2.2/lib/sinatra/base.rb:856:in `render' /Users/alximik00/.rvm/gems/ruby-2.7.2/gems/sinatra-2.2.2/lib/sinatra/base.rb:714:in `haml' /Users/alximik00/.rvm/gems/ruby-2.7.2/gems/nesta-0.12.0/lib/nesta/overrides.rb:6:in `haml' /Users/alximik00/.rvm/gems/ruby-2.7.2/gems/nesta-0.12.0/lib/nesta/app.rb:88:in `block in <class:App>'
Haml version installed is '6.0.3' - this will be default with current Gemfile. Works well with haml 5.2.2.
Thanks for that, great bug report. I'll push a fix today and release a new gem.
I've just released version 0.13.0, which pins Haml to < 6.0 and also includes a few other changes.
I've tested it with Ruby 2.7, as well as Ruby 3.0 and 3.1.
Preconditions:
Results an error:
Haml version installed is '6.0.3' - this will be default with current Gemfile. Works well with haml 5.2.2.