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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d9fdf3616ff3a19e82110c23c754e648d3446a52
4
- data.tar.gz: c3a6e24215c114b021e94fdc687f2c8418c1fc14
3
+ metadata.gz: e387cbad15efbec8802e0ea2e766b1b2b6cb6782
4
+ data.tar.gz: d5f61fa405c03443b0c4c5fca1c0d1c0cd2a5e21
5
5
  SHA512:
6
- metadata.gz: 8d58a95f0d35e363bcf0ba87c33b62348ce0c239ceb339b9701fc17786d25c308bc543bda7a4e70894225812dd4dfa25e59a07dbca77b754ae1015c51b4cb721
7
- data.tar.gz: dc318a04ad4044ce98610a807d0c0eef6eae1bd2178de75d2091f11baeb1f75f403cef40d53ebf4e5c3ba5a7551f38afead9d13156c23d51708a4553e67a3e86
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
- BardStatic
3
+ Bard::Static
4
4
  =========
5
5
 
6
- _____________________________________
7
- / BardStatic – handcrafted prototypes \
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 "bard_static"
22
+ gem "bard-static"
23
23
 
24
24
  Usage
25
25
  -----
26
26
 
27
- Put your views in app/views/mockups and view them in
28
- browser at /mockups/path_to_file.
27
+ Two view directories are exposed: static and mockups.
29
28
 
30
- Examples:
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
- skip_before_action :verify_authenticity_token
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) }
@@ -1,5 +1,5 @@
1
1
  module Bard
2
2
  module Static
3
- VERSION = "2.1.2"
3
+ VERSION = "2.1.3"
4
4
  end
5
5
  end
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.2
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-08-26 00:00:00.000000000 Z
15
+ date: 2014-09-11 00:00:00.000000000 Z
16
16
  dependencies: []
17
17
  description: Handcrafted prototypes for Rails.
18
18
  email: