module

RailsStrictWarnings

rails latest stable

Module not available on this version

This module is only available on newer versions. The first available version (v7.2.3) is shown here.

No documentation available for this module.

Constants

ALLOWED_WARNINGS = Regexp.union(\n/circular require considered harmful.*delayed_job/, # Bug in delayed job.\n\n# Expected non-verbose warning emitted by Rails.\n/Ignoring .*\\.yml because it has expired/,\n/Failed to validate the schema cache because/,\n)

PROJECT_ROOT = File.expand_path("../", __dir__)

SUPPRESSED_WARNINGS = Regexp.union(\n# TODO: remove if https://github.com/mikel/mail/pull/1557 or similar fix\n%r{/lib/mail/parsers/.*statement not reached},\n%r{/lib/mail/parsers/.*assigned but unused variable - disp_type_s},\n%r{/lib/mail/parsers/.*assigned but unused variable - testEof}\n)

Files

  • tools/strict_warnings.rb