Packages

development-driven-specs — the dds toolchain (protocol 2) as a Mix task. A thin shim over the bundled instruments (Python, stdlib); never a port.

Current section

Files

Jump to
dds priv toolchain platforms rails.json
Raw

priv/toolchain/platforms/rails.json

{
"name": "rails",
"sketch": true,
"extraction_guide": "platforms/rails.md",
"detect": [
{"file": "Gemfile", "pattern": "gem [\"']rails[\"']"}
],
"code_file_regex": "^(app/models/.*\\.rb|app/controllers/.*\\.rb|config/routes\\.rb|config/credentials.*|db/schema\\.rb)$",
"surface_file_regex": "^config/routes\\.rb$",
"credential_file_regex": "^config/(credentials|secrets)",
"fk_suffix": "_id",
"person_signal": "first_name|last_name|full_name|\\bemail\\b|date_of_birth|\\bdob\\b|phone",
"audit_store": "audit|_history|_versions$|paper_trail",
"auth_plug": "auth|require|devise|access",
"reference_file_suffixes": [".rb"],
"reference_roots": ["app", "lib", "spec", "test"]
}