lib/tapioca/static/symbol_loader.rb in tapioca-0.14.3 vs lib/tapioca/static/symbol_loader.rb in tapioca-0.14.4
- old
+ new
@@ -20,10 +20,10 @@
end
sig { params(gem: Gemfile::GemSpec).returns(T::Set[String]) }
def engine_symbols(gem)
gem_engine = engines.find do |engine|
- gem.contains_path?(engine.config.root.to_s)
+ gem.full_gem_path == engine.config.root.to_s
end
return Set.new unless gem_engine
# https://github.com/rails/rails/commit/ebfca905db14020589c22e6937382e6f8f687664