Defect #44240 » 0001-Fix-manifest-update.patch
| 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
|
||