lib/isomorfeus-policy.rb in isomorfeus-policy-22.9.0.rc9 vs lib/isomorfeus-policy.rb in isomorfeus-policy-22.10.0.rc1
- old
+ new
@@ -4,10 +4,10 @@
if RUBY_ENGINE == 'opal'
Isomorfeus.zeitwerk.push_dir('policies')
else
require 'iso_opal'
- Opal.append_path(__dir__.untaint) unless IsoOpal.paths_include?(__dir__.untaint)
+ Opal.append_path(__dir__) unless IsoOpal.paths_include?(__dir__)
path = File.expand_path(File.join('app', 'policies'))
Isomorfeus.zeitwerk.push_dir(path) if Dir.exist?(path)
end