# frozen_string_literal: true module NeetoCompliance class SitemapConfigVerifier < Base def local_copy "public/sitemap.xml" end def commons_copy NeetoCompliance::NeetoCommons.path.join "common_files", "sitemap.xml" end def verify_command "diff -N #{commons_copy} #{local_copy}" end def valid? `#{verify_command}`.empty? end def autofix_command "cp #{commons_copy} #{local_copy}" end def apps_exception_list ["neeto-kb-web"] end end end