mote 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/{README.markdown → README.md} +1 -2
- data/lib/mote.rb +2 -2
- data/mote.gemspec +2 -2
- metadata +6 -8
data/LICENSE
CHANGED
@@ -6,8 +6,7 @@ Minimum Operational Template.
|
|
6
6
|
Description
|
7
7
|
-----------
|
8
8
|
|
9
|
-
Mote is very simple and fast template engine
|
10
|
-
simple--both internally and externally-- and super fast.
|
9
|
+
Mote is a very simple and fast template engine.
|
11
10
|
|
12
11
|
Usage
|
13
12
|
-----
|
data/lib/mote.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c)
|
1
|
+
# Copyright (c) 2011, 2012 Michel Martens
|
2
2
|
#
|
3
3
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
4
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -18,7 +18,7 @@
|
|
18
18
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
19
|
# THE SOFTWARE.
|
20
20
|
class Mote
|
21
|
-
VERSION = "0.2.
|
21
|
+
VERSION = "0.2.2"
|
22
22
|
|
23
23
|
def self.parse(template, context = self, vars = [])
|
24
24
|
terms = template.split(/^\s*(%)(.*?)$|(\{\{)(.*?)\}\}/)
|
data/mote.gemspec
CHANGED
@@ -4,14 +4,14 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.name = "mote"
|
5
5
|
s.version = Mote::VERSION
|
6
6
|
s.summary = "Minimum Operational Template."
|
7
|
-
s.description = "Mote is
|
7
|
+
s.description = "Mote is a very simple and fast template engine."
|
8
8
|
s.authors = ["Michel Martens"]
|
9
9
|
s.email = ["michel@soveran.com"]
|
10
10
|
s.homepage = "http://github.com/soveran/mote"
|
11
11
|
s.files = Dir[
|
12
12
|
"LICENSE",
|
13
13
|
"AUTHORS",
|
14
|
-
"README.
|
14
|
+
"README.md",
|
15
15
|
"Rakefile",
|
16
16
|
"lib/**/*.rb",
|
17
17
|
"*.gemspec",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mote
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cutest
|
16
|
-
requirement: &
|
16
|
+
requirement: &2156055280 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,8 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
25
|
-
description: Mote is
|
26
|
-
features, but praises itself of being simple--both internally and externally--and
|
27
|
-
super fast.
|
24
|
+
version_requirements: *2156055280
|
25
|
+
description: Mote is a very simple and fast template engine.
|
28
26
|
email:
|
29
27
|
- michel@soveran.com
|
30
28
|
executables:
|
@@ -34,7 +32,7 @@ extra_rdoc_files: []
|
|
34
32
|
files:
|
35
33
|
- LICENSE
|
36
34
|
- AUTHORS
|
37
|
-
- README.
|
35
|
+
- README.md
|
38
36
|
- Rakefile
|
39
37
|
- lib/mote.rb
|
40
38
|
- mote.gemspec
|