Analyzer::Specification::Netlify
Inherits Analyzer::Specification::SpecificationEngine < Analyzer < FileHelper < Reference < Object
Constants
ABSOLUTE_SOURCE_RE = /\A[a-z][a-z0-9+.-]*:\/\/([^\/]+)(\/.*)?\z/i
A _redirects / netlify.toml source may be a bare path (/blog/*) or a
fully-qualified URL for a domain-level rule
(https://old.example.com/* https://new.example.com/:splat 301!).
DEFAULT_METHOD = "ANY"
Class methods
tech_name
SourceInstance methods
analyze
Sourcetech
Instance-side view of the same declaration. The per-file rescues live on
this base class, which has no way to name the analyzer that is running
inside them, so a skipped file could not be attributed to a tech.
Deriving it from analyzer_for keeps the name written exactly once.