Module: Magik::PWA
- Defined in:
- lib/magik/pwa.rb
Overview
Installable progressive web app metadata. Explicitly no offline caching: the server is the single source of truth.
Implements: Phase 8 — i18n, PWA, Notifications of docs/idea/00-build-spec.md.
Planned DSL surface, copied from the spec:
* `pwa do name/icon/display end`
Status: Not implemented — spec only. Every entry point below raises NotImplementedError. Nothing here reads config, touches a database or emits a byte of HTML.
Constant Summary collapse
- SPEC_PHASE =
The build-spec phase this subsystem implements.
"Phase 8 — i18n, PWA, Notifications"- DSL_SURFACE =
The DSL this subsystem will expose, verbatim from the spec.
[ "pwa do name/icon/display end" ].freeze
- STATUS =
Implementation status of this subsystem.
"Not implemented — spec only"
Class Method Summary collapse
-
.define(*_args, **_options) ⇒ void
Entry point for the PWA DSL.
Class Method Details
.define(*_args, **_options) ⇒ void
This method returns an undefined value.
Entry point for the PWA DSL.
39 40 41 |
# File 'lib/magik/pwa.rb', line 39 def self.define(*_args, **) raise NotImplementedError, "Magik::PWA is spec-only; see docs/idea/00-build-spec.md" end |