Project

General

Profile

Defect #44240 » 0001-Fix-manifest-update.patch

Takashi Kato, 2026-07-10 00:59

View differences:

config/initializers/10-patches.rb
end
def manifest_outdated?
!!load_path.asset_files.detect{|f| f.mtime > config.manifest_path.mtime}
new_manifest = JSON.parse(load_path.manifest.to_json)
current_manifest =
begin
JSON.parse(config.manifest_path.read)
rescue JSON::ParseError
nil
end
current_manifest != new_manifest
end
def load_path
(1-1/3)