govuk_template 0.4.1 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +12 -1
- data/lib/govuk_template/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -15,7 +15,8 @@ At present this generates 4 output formats:
|
|
15
15
|
1. a gem containing a Rails engine
|
16
16
|
2. a tarball containing Play Framework templates
|
17
17
|
3. a folder containing Mustache templates
|
18
|
-
4. a tarball
|
18
|
+
4. a tarball containing Mustache Inheritance templates
|
19
|
+
5. a tarball
|
19
20
|
|
20
21
|
### Gem version
|
21
22
|
|
@@ -37,6 +38,16 @@ To generate the tarball of Play Framework templates run `bundle exec rake build:
|
|
37
38
|
|
38
39
|
To generate the folder of Mustache templates run `bundle exec rake build:mustache`. This will produce a folder in the `pkg` directory.
|
39
40
|
|
41
|
+
### Liquid version
|
42
|
+
|
43
|
+
To generate the folder of Liquid templates run `bundle exec rake build:liquid`. This will produce a tarball in the `pkg` directory.
|
44
|
+
|
45
|
+
### Mustache Inheritance version
|
46
|
+
|
47
|
+
There is a [proposal for Mustache to support template inheritance](https://github.com/mustache/spec/issues/38) this is supported in both the `mustache.java` and the `hogan.js` implementations of Mustache.
|
48
|
+
|
49
|
+
To generate the tarball of the Mustache Inheritance templates run the `build:mustache_inheritance` rake task. This will produce a tarball in the `pkg` directory.
|
50
|
+
|
40
51
|
### Tarball version
|
41
52
|
|
42
53
|
To generate the tarball, run the `bundle exec rake build:tar`. This will produce a tarball in the `pkg` directory.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-01-
|
12
|
+
date: 2014-01-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -189,7 +189,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
189
189
|
version: '0'
|
190
190
|
segments:
|
191
191
|
- 0
|
192
|
-
hash: -
|
192
|
+
hash: -2416106849045210423
|
193
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
194
194
|
none: false
|
195
195
|
requirements:
|
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
198
|
version: '0'
|
199
199
|
segments:
|
200
200
|
- 0
|
201
|
-
hash: -
|
201
|
+
hash: -2416106849045210423
|
202
202
|
requirements: []
|
203
203
|
rubyforge_project:
|
204
204
|
rubygems_version: 1.8.23
|