mustache 0.99.4 → 0.99.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -320,5 +320,5 @@ Original CTemplate by Google
320
320
 
321
321
  ## SEE ALSO
322
322
 
323
- mustache(1), mustache(7),
323
+ mustache(1),
324
324
  <http://mustache.github.com/>
@@ -22,29 +22,32 @@ EOF
22
22
 
23
23
  expected = [:multi,
24
24
  [:static, "<h1>"],
25
- [:mustache, :etag, [:mustache, :fetch, ["header"]]],
25
+ [:mustache, :etag, [:mustache, :fetch, ["header"]], [1, 11]],
26
26
  [:static, "</h1>\n"],
27
27
  [:mustache,
28
28
  :section,
29
29
  [:mustache, :fetch, ["items"]],
30
+ [2, 7],
30
31
  [:multi,
31
32
  [:mustache,
32
33
  :section,
33
34
  [:mustache, :fetch, ["first"]],
35
+ [3, 7],
34
36
  [:multi,
35
37
  [:static, " <li><strong>"],
36
- [:mustache, :etag, [:mustache, :fetch, ["name"]]],
38
+ [:mustache, :etag, [:mustache, :fetch, ["name"]], [4, 19]],
37
39
  [:static, "</strong></li>\n"]],
38
40
  %Q' <li><strong>{{name}}</strong></li>\n',
39
41
  %w[{{ }}]],
40
42
  [:mustache,
41
43
  :section,
42
44
  [:mustache, :fetch, ["link"]],
45
+ [6, 6],
43
46
  [:multi,
44
47
  [:static, " <li><a href=\""],
45
- [:mustache, :etag, [:mustache, :fetch, ["url"]]],
48
+ [:mustache, :etag, [:mustache, :fetch, ["url"]], [7, 19]],
46
49
  [:static, "\">"],
47
- [:mustache, :etag, [:mustache, :fetch, ["name"]]],
50
+ [:mustache, :etag, [:mustache, :fetch, ["name"]], [7, 29]],
48
51
  [:static, "</a></li>\n"]],
49
52
  %Q' <li><a href="{{url}}">{{name}}</a></li>\n',
50
53
  %w[{{ }}]]],
@@ -54,6 +57,7 @@ EOF
54
57
  [:mustache,
55
58
  :section,
56
59
  [:mustache, :fetch, ["empty"]],
60
+ [11, 7],
57
61
  [:multi, [:static, "<p>The list is empty.</p>\n"]],
58
62
  %Q'<p>The list is empty.</p>\n',
59
63
  %w[{{ }}]]]
@@ -69,6 +73,7 @@ EOF
69
73
  [:mustache,
70
74
  :section,
71
75
  [:mustache, :fetch, ["list"]],
76
+ [1, 6],
72
77
  [:multi, [:static, "\t"]],
73
78
  "\t",
74
79
  %w[{{ }}]]]
metadata CHANGED
@@ -1,47 +1,35 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mustache
3
- version: !ruby/object:Gem::Version
4
- hash: 411
5
- prerelease:
6
- segments:
7
- - 0
8
- - 99
9
- - 4
10
- version: 0.99.4
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.99.5
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Chris Wanstrath
14
8
  - Magnus Holm
15
9
  - Pieter van de Bruggen
16
10
  autorequire:
17
11
  bindir: bin
18
12
  cert_chain: []
19
-
20
- date: 2011-05-26 00:00:00 -07:00
21
- default_executable:
13
+ date: 2013-11-11 00:00:00.000000000 Z
22
14
  dependencies: []
23
-
24
15
  description: |
25
16
  Inspired by ctemplate, Mustache is a framework-agnostic way to render
26
17
  logic-free views.
27
-
18
+
28
19
  As ctemplates says, "It emphasizes separating logic from presentation:
29
20
  it is impossible to embed application logic in this template
30
21
  language.
31
-
22
+
32
23
  Think of Mustache as a replacement for your views. Instead of views
33
24
  consisting of ERB or HAML with random helpers and arbitrary logic,
34
25
  your views are broken into two parts: a Ruby class and an HTML
35
26
  template.
36
-
37
27
  email: chris@ozmm.org
38
- executables:
28
+ executables:
39
29
  - mustache
40
30
  extensions: []
41
-
42
31
  extra_rdoc_files: []
43
-
44
- files:
32
+ files:
45
33
  - README.md
46
34
  - Rakefile
47
35
  - LICENSE
@@ -111,39 +99,27 @@ files:
111
99
  - test/partial_test.rb
112
100
  - test/spec_test.rb
113
101
  - test/template_test.rb
114
- has_rdoc: true
115
102
  homepage: http://github.com/defunkt/mustache
116
103
  licenses: []
117
-
104
+ metadata: {}
118
105
  post_install_message:
119
106
  rdoc_options: []
120
-
121
- require_paths:
107
+ require_paths:
122
108
  - lib
123
- required_ruby_version: !ruby/object:Gem::Requirement
124
- none: false
125
- requirements:
126
- - - ">="
127
- - !ruby/object:Gem::Version
128
- hash: 3
129
- segments:
130
- - 0
131
- version: "0"
132
- required_rubygems_version: !ruby/object:Gem::Requirement
133
- none: false
134
- requirements:
135
- - - ">="
136
- - !ruby/object:Gem::Version
137
- hash: 3
138
- segments:
139
- - 0
140
- version: "0"
109
+ required_ruby_version: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - '>='
112
+ - !ruby/object:Gem::Version
113
+ version: '0'
114
+ required_rubygems_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - '>='
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
141
119
  requirements: []
142
-
143
120
  rubyforge_project:
144
- rubygems_version: 1.5.2
121
+ rubygems_version: 2.0.3
145
122
  signing_key:
146
- specification_version: 3
123
+ specification_version: 4
147
124
  summary: Mustache is a framework-agnostic way to render logic-free views.
148
125
  test_files: []
149
-