Module: Micra::Rails
- Defined in:
- lib/micra/rails.rb,
lib/micra/rails/engine.rb,
lib/micra/rails/version.rb,
lib/micra/rails/view_helpers.rb
Defined Under Namespace
Modules: ViewHelpers Classes: Engine
Constant Summary collapse
- VERSION =
"0.4.0"- MICRA_JS_VERSION =
The upstream Micra.js release this gem is built and tested against. Bump it when wrapping a new upstream release.
"2.7.0"- MICRA_JS_PIN =
The default importmap pin. It tracks the MAJOR range (e.g. ‘@2`), not a single patch — apps pick up Micra 2.x patches and minors automatically with no gem bump, and it won’t jump a breaking major. Override by re-pinning a specific version in your own config/importmap.rb.
"https://cdn.jsdelivr.net/npm/micra.js@#{MICRA_JS_VERSION.split(".").first}/dist/micra.esm.js"
Class Attribute Summary collapse
-
.vendored ⇒ Object
Returns the value of attribute vendored.
Class Attribute Details
.vendored ⇒ Object
Returns the value of attribute vendored.
16 17 18 |
# File 'lib/micra/rails.rb', line 16 def vendored @vendored end |