module

Plombir::Doctor

Constants

DEFAULT_PORTS = [3000, 4000]

Ports probed by default (dev, then preview).

REQUIRED_CRYSTAL = "1.21.0"

Lowest Crystal version this Plombir supports.

Class methods

check(root : String, ports : Array(Int32) = DEFAULT_PORTS) : Report

Runs every check against root, probing ports for availability. Never raises for project problems — they become findings.

Source
version_at_least?(have : String, want : String) : Bool

Pure version comparison, unit-tested directly.

Source

Nested types