bard-static 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -9
- data/app/controllers/bard/static/static_controller.rb +1 -1
- data/lib/bard/static/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e387cbad15efbec8802e0ea2e766b1b2b6cb6782
|
4
|
+
data.tar.gz: d5f61fa405c03443b0c4c5fca1c0d1c0cd2a5e21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fb52c224595ed8bf39e6c790e22e95fe2b0785da864c8f92cbd546e15641a6ff0592ca09ddf82c8a876c2432e0928056a009f16c7ab1a4d233caebd6bfa5ad5
|
7
|
+
data.tar.gz: 484e77e4ee159e4b65b60954e4a9649be2612422b49710671c46d0a526c1e60923b197777b7a7188678b54db9ed877d36d040301a6b57fd4e94a8af3f0cf71c3
|
data/README.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
Forked from kiskolabs/carpentry to change paths
|
2
2
|
|
3
|
-
|
3
|
+
Bard::Static
|
4
4
|
=========
|
5
5
|
|
6
|
-
|
7
|
-
/
|
8
|
-
\ with ease
|
9
|
-
|
6
|
+
_______________________________________
|
7
|
+
/ Bard::Static – handcrafted prototypes \
|
8
|
+
\ with ease /
|
9
|
+
---------------------------------------
|
10
10
|
\ ^__^
|
11
11
|
\ (oo)\_______
|
12
12
|
(__)\ )\/\
|
@@ -19,15 +19,26 @@ Installation
|
|
19
19
|
|
20
20
|
Add BardStatic to Gemfile:
|
21
21
|
|
22
|
-
gem "
|
22
|
+
gem "bard-static"
|
23
23
|
|
24
24
|
Usage
|
25
25
|
-----
|
26
26
|
|
27
|
-
|
28
|
-
browser at /mockups/path_to_file.
|
27
|
+
Two view directories are exposed: static and mockups.
|
29
28
|
|
30
|
-
|
29
|
+
Static: pages in this view path are intended for production,
|
30
|
+
and are rendered with the application layout.
|
31
|
+
|
32
|
+
| URI Path | File path |
|
33
|
+
|--------------------|---------------------------------------|
|
34
|
+
| / | app/views/static/index.html.erb |
|
35
|
+
| /home | app/views/static/home.html.haml |
|
36
|
+
| /posts/new | app/views/static/posts/new.html.slim |
|
37
|
+
|
38
|
+
Mockups: pages in this view path are intended for prototyping,
|
39
|
+
and are rendered with no layout at all. However, you can use the
|
40
|
+
`layout` block helper in the template to render within a layout,
|
41
|
+
if you like.
|
31
42
|
|
32
43
|
| URI Path | File path |
|
33
44
|
|--------------------|---------------------------------------|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Bard
|
2
2
|
module Static
|
3
3
|
class StaticController < ApplicationController
|
4
|
-
|
4
|
+
skip_before_filter :verify_authenticity_token
|
5
5
|
|
6
6
|
before_filter :before_bard_static,
|
7
7
|
:if => proc { respond_to?(:before_bard_static, true) }
|
data/lib/bard/static/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bard-static
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Geisel
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2014-
|
15
|
+
date: 2014-09-11 00:00:00.000000000 Z
|
16
16
|
dependencies: []
|
17
17
|
description: Handcrafted prototypes for Rails.
|
18
18
|
email:
|