jejacks0n / navigasmic

Navigasmic: Semantic navigation for Rails using simple view level or configuration definitions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby 3.2.x has removed File.exists? method (deprecated long time ago, but was kept around until now)

kchsieh opened this issue · comments

In v1.1.0, the file .../gems/navigasmic-1.1.0/lib/navigasmic/rails/engine.rb is getting an error with the reference to a (ruby 3.2.x) removed method, exists?, it should be exist?

gems/navigasmic-1.1.0/lib/navigasmic/rails/engine.rb:10:in block in <class:Engine>': undefined method exists?' for File:Class (NoMethodError)

This code has been adapted a while ago, see https://github.com/jejacks0n/navigasmic/blame/36af0e795783118058697770202d28f8a8e46c71/lib/navigasmic/engine.rb#L11.

@jejacks0n would it be possible to get a new release so we can upgrade our apps to Ruby 3.2?

@jejacks0n release would be handy 🙏