woo 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 210d61a1a36a8b9acc5000ee35d3059a4633d981
4
- data.tar.gz: 77a25bc48c54e9fc159da37c40f556e3d5e2926c
3
+ metadata.gz: ac86a30d2a04367fffe035336d2a04505892a15d
4
+ data.tar.gz: edded18af626c9c8e4fcb7577b974652c4c061ef
5
5
  SHA512:
6
- metadata.gz: 33036293a1c3957ad73d19add71855e762cc136c91306d4d53459a0d3cfa658a72fc88e9121ee38646652742f2aeff9510a48155fef619add4b37937fd3715b4
7
- data.tar.gz: d85a8336bc9956d07c45a17b49747f16dbb2e3b0b157db70f0d9b5dae3167307764aed4355b56b14e2e36a881dd028cdd671c676531796200ea744b9ce3c599d
6
+ metadata.gz: 8bcc0429e8027f6117f80e8909f70a1f7c537c4ff36822a4f75011e36d84f85bf660b4f7fbb7f6ccdad9142a7e8aaa050c433eb83f188c6ea73f07c48945a92a
7
+ data.tar.gz: 12e80aadb0e5326bc0fba717d61b6c54940f2fbacca78ce71139210697a1b13ad714e59c0a9b88a0bf27b2ac045e679c4c1d17375b9d7272beac0a5f7a23f2e5
data/README.md CHANGED
@@ -24,16 +24,18 @@ mount Woo::Engine, at: '/styleguide'
24
24
  Woo features 2 generators to create views used within the styleguide.
25
25
 
26
26
  ### Pages
27
- Creates app/views/styleguide/DIRECTORY/NAME.html.haml
28
- If <DIRECTORY> is not specified, it will default to 'pages'
27
+ Creates `app/views/styleguide/DIRECTORY/NAME.html.haml`
28
+
29
+ If `DIRECTORY` is not specified, it will default to 'pages'.
29
30
 
30
31
  ```
31
32
  rails generate woo:page [DIRECTORY/]NAME
32
33
  ```
33
34
 
34
35
  ### UI Elements
35
- Creates app/views/styleguide/ui_elements/_NAME.html.haml
36
- ui_elements are rendered as partials
36
+ Creates `app/views/styleguide/ui_elements/_NAME.html.haml`
37
+
38
+ UI Elements are rendered as partials rather than individual pages.
37
39
 
38
40
  ```
39
41
  rails generate styleguide:ui_element NAME
@@ -4,6 +4,9 @@
4
4
  %title Application Style Guide
5
5
  %meta(content="width=device-width, initial-scale=1.0, maximum-scale=1.0" name="viewport")
6
6
 
7
+ = javascript_include_tag 'application'
8
+ = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
9
+
7
10
  = javascript_include_tag 'woo/application'
8
11
  = stylesheet_link_tag 'woo/application', media: 'all', 'data-turbolinks-track' => true
9
12
  = stylesheet_link_tag "//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/styles/github.min.css"
data/lib/woo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Woo
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: woo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Altman