flatrack 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -0
- data/flatrack.gemspec +3 -3
- data/lib/flatrack/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83e57a1bbdf445713d83d0b477f9f033f55f9f08
|
4
|
+
data.tar.gz: e79e4a98b23445af5211265a9d0f65541a24fb9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 365e30a0fdedc73652a1cec9ed6cb916230dfa2673b33ffe93645d300373cda0ea204bc1b01d0dbbb72306f0991f1b9a01e60815d689b4f52d7f5e41994db61d
|
7
|
+
data.tar.gz: 578fc72fd46224fe7e14ccbc7f1b110a8aac4abec679902b84f319c18e781866d4e9a89e326e7ae02ebbf815161e02c9c98b01e546f3b666ccdd10c86c502fdb
|
data/README.md
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
[![Coverage Status](https://coveralls.io/repos/jwaldrip/flatrack/badge.png?branch=master)](https://coveralls.io/r/jwaldrip/flatrack?branch=master)
|
7
7
|
[![Code Climate](http://allthebadges.io/jwaldrip/flatrack/code_climate.png)](http://allthebadges.io/jwaldrip/flatrack/code_climate)
|
8
8
|
[![Inline docs](http://inch-pages.github.io/github/jwaldrip/flatrack.png)](http://inch-pages.github.io/github/jwaldrip/flatrack)
|
9
|
+
[![Inline docs](http://img.shields.io/badge/github-follow-blue.png)](https://github.com/jwaldrip/flatrack)
|
9
10
|
|
10
11
|
## About
|
11
12
|
A simple rack web layer for delivering rendered static files.
|
@@ -39,6 +40,14 @@ Pages are the guts of your site, this is what your users will ultimately see. Ba
|
|
39
40
|
|
40
41
|
#### Layouts
|
41
42
|
Layouts are the skin of your site, it's what takes all those guts that your users need and crave and puts them in a nice pretty layout for them to enjoy.
|
43
|
+
|
44
|
+
You can also define a custom layout using the following syntax:
|
45
|
+
|
46
|
+
```html+erb
|
47
|
+
<!-- /pages/my-view.html.erb -->
|
48
|
+
<%- use_layout :custom_layout %>
|
49
|
+
<p>Hello World</p>
|
50
|
+
```
|
42
51
|
|
43
52
|
## Running your site
|
44
53
|
|
data/flatrack.gemspec
CHANGED
@@ -33,7 +33,7 @@ based routing.
|
|
33
33
|
spec.add_runtime_dependency 'erubis', '~> 2.7'
|
34
34
|
spec.add_runtime_dependency 'tilt', '~> 1.1'
|
35
35
|
spec.add_runtime_dependency 'activesupport', ['> 3.2', '< 4.2']
|
36
|
-
spec.add_runtime_dependency 'sass', '~> 3.2'
|
36
|
+
spec.add_runtime_dependency 'sass', '~> 3.2.0'
|
37
37
|
spec.add_runtime_dependency 'sprockets-sass', '~> 1.0'
|
38
38
|
spec.add_runtime_dependency 'thor', '~> 0.18'
|
39
39
|
spec.add_runtime_dependency 'coffee-script', '~> 2.2'
|
@@ -48,7 +48,7 @@ based routing.
|
|
48
48
|
spec.add_development_dependency 'pry', '~> 0.9'
|
49
49
|
spec.add_development_dependency 'coveralls', '~> 0.7'
|
50
50
|
spec.add_development_dependency 'simplecov', '~> 0.8'
|
51
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
52
|
-
spec.add_development_dependency 'inch', '~> 0.
|
51
|
+
spec.add_development_dependency 'rubocop', '~> 0.20'
|
52
|
+
spec.add_development_dependency 'inch', '~> 0.4'
|
53
53
|
spec.add_development_dependency 'yard', '~> 0.3'
|
54
54
|
end
|
data/lib/flatrack/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flatrack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Waldrip
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -78,14 +78,14 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
81
|
+
version: 3.2.0
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version:
|
88
|
+
version: 3.2.0
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: sprockets-sass
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -266,28 +266,28 @@ dependencies:
|
|
266
266
|
requirements:
|
267
267
|
- - "~>"
|
268
268
|
- !ruby/object:Gem::Version
|
269
|
-
version: '0.
|
269
|
+
version: '0.20'
|
270
270
|
type: :development
|
271
271
|
prerelease: false
|
272
272
|
version_requirements: !ruby/object:Gem::Requirement
|
273
273
|
requirements:
|
274
274
|
- - "~>"
|
275
275
|
- !ruby/object:Gem::Version
|
276
|
-
version: '0.
|
276
|
+
version: '0.20'
|
277
277
|
- !ruby/object:Gem::Dependency
|
278
278
|
name: inch
|
279
279
|
requirement: !ruby/object:Gem::Requirement
|
280
280
|
requirements:
|
281
281
|
- - "~>"
|
282
282
|
- !ruby/object:Gem::Version
|
283
|
-
version: '0.
|
283
|
+
version: '0.4'
|
284
284
|
type: :development
|
285
285
|
prerelease: false
|
286
286
|
version_requirements: !ruby/object:Gem::Requirement
|
287
287
|
requirements:
|
288
288
|
- - "~>"
|
289
289
|
- !ruby/object:Gem::Version
|
290
|
-
version: '0.
|
290
|
+
version: '0.4'
|
291
291
|
- !ruby/object:Gem::Dependency
|
292
292
|
name: yard
|
293
293
|
requirement: !ruby/object:Gem::Requirement
|