hmote 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -12
- data/lib/hmote/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 681e6d2ed849cb5930849bf1a1a2259231fb408d
|
|
4
|
+
data.tar.gz: b57b67bf12dd5e9fd635a654946b4d0e2ecabd06
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1a3dbff43808f5529fc9ff21ce491974a6539a7692a2ac73e5877e485fec0f8994a5434652726858edd7d7b153b3f19d26283410cf1ddd55b09c6a81943c1612
|
|
7
|
+
data.tar.gz: 701809588b0350638b5e38b2165f2197a3ce9857af607646d7c1ae7e3a1814cec69d7aa271b895a919d0bf3098721683057005b107aff3d544e621e273a3bab7
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
hmote
|
|
1
|
+
hmote
|
|
2
2
|
=====
|
|
3
3
|
|
|
4
4
|
Minimal template engine with default escaping.
|
|
@@ -43,7 +43,7 @@ template.call
|
|
|
43
43
|
# => "your template goes here!"
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
Hmote recognizes three tags to evaluate Ruby code: `%`, `{{}}` and `<? ?>`.
|
|
47
47
|
The difference between them is that while the `%` and `<? ?>` tags only
|
|
48
48
|
evaluate the code, the `{{}}` tag also prints the result to the template.
|
|
49
49
|
|
|
@@ -148,18 +148,13 @@ For example:
|
|
|
148
148
|
hmote("foo.mote", a: 1, b: 2)
|
|
149
149
|
```
|
|
150
150
|
|
|
151
|
-
Related projects:
|
|
152
|
-
-----------------
|
|
153
|
-
|
|
154
|
-
- [hmote-render][hmote-render]: hmote plugin for Cuba.
|
|
155
|
-
|
|
156
151
|
Contributing
|
|
157
152
|
------------
|
|
158
153
|
|
|
159
154
|
Fork the project with:
|
|
160
155
|
|
|
161
156
|
```
|
|
162
|
-
$ git clone git@
|
|
157
|
+
$ git clone git@github.com:frodsan/hmote.git
|
|
163
158
|
```
|
|
164
159
|
|
|
165
160
|
To install dependencies, use:
|
|
@@ -174,7 +169,7 @@ To run the test suite, do:
|
|
|
174
169
|
$ rake test
|
|
175
170
|
```
|
|
176
171
|
|
|
177
|
-
For bug reports and pull requests use [
|
|
172
|
+
For bug reports and pull requests use [GitHub][issues].
|
|
178
173
|
|
|
179
174
|
License
|
|
180
175
|
-------
|
|
@@ -183,7 +178,6 @@ hmote is released under the [MIT License][mit].
|
|
|
183
178
|
|
|
184
179
|
[mit]: http://www.opensource.org/licenses/MIT
|
|
185
180
|
[mote]: https://github.com/soveran/mote
|
|
186
|
-
[hache]: https://
|
|
187
|
-
[
|
|
188
|
-
[issues]: https://gitlab.com/frodsan/hmote/issues
|
|
181
|
+
[hache]: https://github.com/frodsan/hache
|
|
182
|
+
[issues]: https://github.com/frodsan/hmote/issues
|
|
189
183
|
[xss]: http://en.wikipedia.org/wiki/Cross-Site_Scripting
|
data/lib/hmote/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hmote
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Francesco Rodríguez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-05-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: hache
|
|
@@ -93,7 +93,7 @@ files:
|
|
|
93
93
|
- test/helper.rb
|
|
94
94
|
- test/helpers_test.rb
|
|
95
95
|
- test/parsing_test.rb
|
|
96
|
-
homepage: https://
|
|
96
|
+
homepage: https://github.com/frodsan/hmote
|
|
97
97
|
licenses:
|
|
98
98
|
- MIT
|
|
99
99
|
metadata: {}
|