volt 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Readme.md +10 -0
  3. data/VERSION +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df8458b3edc5a01799ef25000fcbc24784a48adb
4
- data.tar.gz: df391e8bc1a530609f298fa68b9427ec924a7dfe
3
+ metadata.gz: d850ea69ed3a54a40901ca07f222787fffe6d2e6
4
+ data.tar.gz: 06ce97012687d205dcd2cc11f4ee129dc60b56e7
5
5
  SHA512:
6
- metadata.gz: 50e1892a9eba4e433bd01fd3d7c22ab6153ee6cf0bcf9f46ea301f72d87cb4d9ea20e35431453718b177ee08ae3322386505be8210b48b2d05d489f2e9e25dfb
7
- data.tar.gz: d74604adfa3a6b73eb5f61e011fae1d25e1fb623e0248f9b8a1066ee197c0d3d5203c8e562d04081cae91937e53fe1ec22fbf9f5c1aeda0fa2c8aaa81329bbd9
6
+ metadata.gz: 8957e60e5b579114f897d41e08896c202009dfaf0ff36168919920b48ab3441c0294256a8e556523b24aef3a792148c650d6a5d0b1acbc875b8f440b7b5a90db
7
+ data.tar.gz: c4e3277c5dc38183efa7a95bbd01bb11dc38396cb2ffa04baba6633e567f7ef5b821a92903d162f608c95af88e273d2f759f1eabb697ca38a9be74217dd72cc7
data/Readme.md CHANGED
@@ -57,6 +57,8 @@ You can access the volt console with:
57
57
  4. [Attribute Bindings](#attribute-bindings)
58
58
  2. [Models](#models)
59
59
  3. [Components](#components)
60
+ 1. [Assets](#assets)
61
+ 2. [Component Generator](#component-generator)
60
62
  4. [Controls](#controls)
61
63
  5. [Routes](#routes)
62
64
  1. [Routes file](#routes-file)
@@ -326,6 +328,14 @@ in the file.
326
328
 
327
329
  Dependencies act just like require in ruby, but for whole components.
328
330
 
331
+ ## Assets
332
+
333
+ **Note, asset management is still early, and likely will change quite a bit**
334
+
335
+ In volt, assets such as JavaScript and CSS (or sass) are automatically included on the page for you. Anything placed inside of a components asset folder is served at /assets (via [Sprockets](https://github.com/sstephenson/sprockets)) Link and script tags are automatically added for each css and js file in assets/css and assets/js respectively. Files are included in their lexical order, so you can add numbers in front if you need to change the load order.
336
+
337
+ Any JS/CSS from an included component or component gem will be included as well. By default [bootstrap](http://getbootstrap.com/) is provided by the volt-bootstrap gem.
338
+
329
339
  ## Component Generator
330
340
 
331
341
  Components can easily be shared as a gem. Volt provides a scaffold for component gems. In a folder (not in a volt project), simply type: volt component {component_name} This will create the files needed for the gem. Note that all volt component gems will be prefixed with volt- so they can easily be found by others.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.3.3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Stout