Module: Stimeo::UI
- Defined in:
- lib/stimeo/ui.rb,
lib/stimeo/ui/version.rb
Overview
The stimeo-ui gem is distribution only: it bundles the prebuilt JS (dist/, identical to the npm package) and the ‘stimeo:install` generator that vendors it into a Rails app. All behavior lives in the JS; there is no Ruby runtime component.
Constant Summary collapse
- ROOT =
Gem root — inside the packaged gem, dist/ sits alongside lib/.
File.("../..", __dir__)
- VERSION =
Kept in lockstep with package.json: npm ‘0.1.0-alpha.1` ⇔ gem `0.1.0.pre.alpha.1` (RubyGems forbids dashes). Bump both together —see RELEASING.md for the synchronized release procedure.
"0.1.0.pre.alpha.1"
Class Method Summary collapse
-
.dist_dir ⇒ Object
The prebuilt JS payload shipped inside the gem.
Class Method Details
.dist_dir ⇒ Object
The prebuilt JS payload shipped inside the gem.
15 16 17 |
# File 'lib/stimeo/ui.rb', line 15 def self.dist_dir File.join(ROOT, "dist") end |