kwartz 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +10 -3
- data/README.txt +6 -1
- data/bin/kwartz +1 -1
- data/doc-api/classes/Kwartz.html +2 -2
- data/doc-api/classes/Kwartz/Main.html +2 -2
- data/doc-api/created.rid +1 -1
- data/doc-api/files/__/README_txt.html +6 -2
- data/doc-api/files/kwartz/assert_rb.html +1 -1
- data/doc-api/files/kwartz/binding/eperl_rb.html +1 -1
- data/doc-api/files/kwartz/binding/erubis_rb.html +1 -1
- data/doc-api/files/kwartz/binding/eruby_rb.html +1 -1
- data/doc-api/files/kwartz/binding/jstl_rb.html +1 -1
- data/doc-api/files/kwartz/binding/php_rb.html +1 -1
- data/doc-api/files/kwartz/binding/pierubis_rb.html +1 -1
- data/doc-api/files/kwartz/binding/rails_rb.html +1 -1
- data/doc-api/files/kwartz/binding/ruby_rb.html +1 -1
- data/doc-api/files/kwartz/binding/struts_rb.html +1 -1
- data/doc-api/files/kwartz/config_rb.html +1 -1
- data/doc-api/files/kwartz/converter_rb.html +1 -1
- data/doc-api/files/kwartz/defun_rb.html +1 -1
- data/doc-api/files/kwartz/error_rb.html +1 -1
- data/doc-api/files/kwartz/helper/rails_rb.html +1 -1
- data/doc-api/files/kwartz/main_rb.html +2 -2
- data/doc-api/files/kwartz/node_rb.html +1 -1
- data/doc-api/files/kwartz/parser_rb.html +1 -1
- data/doc-api/files/kwartz/translator_rb.html +1 -1
- data/doc-api/files/kwartz/util/assert-text-equal_rb.html +1 -1
- data/doc-api/files/kwartz/util/testcase-helper_rb.html +2 -2
- data/doc-api/files/kwartz/util_rb.html +1 -1
- data/doc-api/files/kwartz_rb.html +1 -1
- data/doc/img/fig01.png +0 -0
- data/doc/img/fig02.png +0 -0
- data/doc/img/fig03.png +0 -0
- data/doc/img/fig04.png +0 -0
- data/doc/{p-pattern.html → pattern-catalog.html} +29 -21
- data/doc/pattern-catalog/design.css +51 -0
- data/doc/pattern-catalog/design.html +42 -0
- data/doc/reference.html +23 -261
- data/doc/users-guide.html +70 -44
- data/kwartz.gemspec +13 -9
- data/lib/kwartz.rb +2 -2
- data/lib/kwartz/assert.rb +1 -1
- data/lib/kwartz/binding/eperl.rb +1 -1
- data/lib/kwartz/binding/erubis.rb +1 -1
- data/lib/kwartz/binding/eruby.rb +1 -1
- data/lib/kwartz/binding/jstl.rb +1 -1
- data/lib/kwartz/binding/php.rb +1 -1
- data/lib/kwartz/binding/pierubis.rb +1 -1
- data/lib/kwartz/binding/rails.rb +1 -1
- data/lib/kwartz/binding/ruby.rb +1 -1
- data/lib/kwartz/binding/struts.rb +1 -1
- data/lib/kwartz/config.rb +1 -1
- data/lib/kwartz/converter.rb +1 -1
- data/lib/kwartz/defun.rb +1 -1
- data/lib/kwartz/error.rb +1 -1
- data/lib/kwartz/helper/rails.rb +1 -1
- data/lib/kwartz/main.rb +4 -4
- data/lib/kwartz/node.rb +1 -1
- data/lib/kwartz/parser.rb +1 -1
- data/lib/kwartz/translator.rb +1 -1
- data/lib/kwartz/util.rb +1 -1
- data/lib/kwartz/util/assert-text-equal.rb +1 -1
- data/lib/kwartz/util/testcase-helper.rb +10 -4
- data/test/test-compile.rb +1 -1
- data/test/test-converter.rb +27 -12
- data/test/test-converter.yaml +173 -26
- data/test/test-directives.rb +1 -1
- data/test/test-main.rb +1 -1
- data/test/test-parser.rb +1 -1
- data/test/test-parser.yaml +1 -1
- data/test/test-rails.rb +1 -1
- data/test/test-ruleset.rb +1 -1
- data/test/test-ruleset.yaml +18 -18
- data/test/test.rb +1 -1
- metadata +10 -4
data/test/test-rails.rb
CHANGED
data/test/test-ruleset.rb
CHANGED
data/test/test-ruleset.yaml
CHANGED
@@ -259,33 +259,33 @@
|
|
259
259
|
}
|
260
260
|
php: |
|
261
261
|
#link1 {
|
262
|
-
{{*stag:*}} start_link_tag('list');
|
262
|
+
{{*stag:*}} start_link_tag('member/list');
|
263
263
|
}
|
264
264
|
#link2 {
|
265
|
-
{{*Stag:*}} start_link_tag('list');
|
265
|
+
{{*Stag:*}} start_link_tag('member/list');
|
266
266
|
}
|
267
267
|
#link3 {
|
268
|
-
{{*STAG:*}} start_link_tag('list');
|
268
|
+
{{*STAG:*}} start_link_tag('member/list');
|
269
269
|
}
|
270
270
|
eperl: |
|
271
271
|
#link1 {
|
272
|
-
{{*stag:*}} start_link_tag('list');
|
272
|
+
{{*stag:*}} start_link_tag('member/list');
|
273
273
|
}
|
274
274
|
#link2 {
|
275
|
-
{{*Stag:*}} start_link_tag('list');
|
275
|
+
{{*Stag:*}} start_link_tag('member/list');
|
276
276
|
}
|
277
277
|
#link3 {
|
278
|
-
{{*STAG:*}} start_link_tag('list');
|
278
|
+
{{*STAG:*}} start_link_tag('member/list');
|
279
279
|
}
|
280
280
|
jstl: |
|
281
281
|
#link1 {
|
282
|
-
{{*stag:*}} fn:start_link_tag('list');
|
282
|
+
{{*stag:*}} fn:start_link_tag('member', 'list');
|
283
283
|
}
|
284
284
|
#link2 {
|
285
|
-
{{*Stag:*}} fn:start_link_tag('list');
|
285
|
+
{{*Stag:*}} fn:start_link_tag('member', 'list');
|
286
286
|
}
|
287
287
|
#link3 {
|
288
|
-
{{*STAG:*}} fn:start_link_tag('list');
|
288
|
+
{{*STAG:*}} fn:start_link_tag('member', 'list');
|
289
289
|
}
|
290
290
|
|
291
291
|
expected*:
|
@@ -294,19 +294,19 @@
|
|
294
294
|
{{*<%=h start_link_tag :action=>'list' %>*}}<img src="button2.png"></a>
|
295
295
|
{{*<%= start_link_tag :action=>'list' %>*}}<img src="button3.png"></a>
|
296
296
|
php: |
|
297
|
-
{{*<?php echo start_link_tag('list'); ?>*}}<img src="button1.png"></a>
|
298
|
-
{{*<?php echo htmlspecialchars(start_link_tag('list')); ?>*}}<img src="button2.png"></a>
|
299
|
-
{{*<?php echo start_link_tag('list'); ?>*}}<img src="button3.png"></a>
|
297
|
+
{{*<?php echo start_link_tag('member/list'); ?>*}}<img src="button1.png"></a>
|
298
|
+
{{*<?php echo htmlspecialchars(start_link_tag('member/list')); ?>*}}<img src="button2.png"></a>
|
299
|
+
{{*<?php echo start_link_tag('member/list'); ?>*}}<img src="button3.png"></a>
|
300
300
|
eperl: |
|
301
|
-
{{*<?= start_link_tag('list') !>*}}<img src="button1.png"></a>
|
302
|
-
{{*<?= encode_entities(start_link_tag('list')) !>*}}<img src="button2.png"></a>
|
303
|
-
{{*<?= start_link_tag('list') !>*}}<img src="button3.png"></a>
|
301
|
+
{{*<?= start_link_tag('member/list') !>*}}<img src="button1.png"></a>
|
302
|
+
{{*<?= encode_entities(start_link_tag('member/list')) !>*}}<img src="button2.png"></a>
|
303
|
+
{{*<?= start_link_tag('member/list') !>*}}<img src="button3.png"></a>
|
304
304
|
jstl: |
|
305
305
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
306
306
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
307
|
-
{{*${fn:start_link_tag('list')}*}}<img src="button1.png"></a>
|
308
|
-
{{*${fn:start_link_tag('list')}*}}<img src="button2.png"></a>
|
309
|
-
{{*<c:out value="${fn:start_link_tag('list')}" escapeXml="false"/>*}}<img src="button3.png"></a>
|
307
|
+
{{*${fn:start_link_tag('member', 'list')}*}}<img src="button1.png"></a>
|
308
|
+
{{*${fn:start_link_tag('member', 'list')}*}}<img src="button2.png"></a>
|
309
|
+
{{*<c:out value="${fn:start_link_tag('member', 'list')}" escapeXml="false"/>*}}<img src="button3.png"></a>
|
310
310
|
|
311
311
|
###
|
312
312
|
- name: etag
|
data/test/test.rb
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: kwartz
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 3.1.
|
7
|
-
date: 2006-09-
|
6
|
+
version: 3.1.1
|
7
|
+
date: 2006-09-30 00:00:00 +09:00
|
8
8
|
summary: a template system for Ruby, PHP, and Java
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -182,10 +182,16 @@ files:
|
|
182
182
|
- test/test-ruleset.rb
|
183
183
|
- test/test-ruleset.yaml
|
184
184
|
- test/test.rb
|
185
|
-
- doc/
|
185
|
+
- doc/pattern-catalog.html
|
186
186
|
- doc/reference.html
|
187
|
-
- doc/
|
187
|
+
- doc/users-guide.html
|
188
188
|
- doc/docstyle.css
|
189
|
+
- doc/img/fig01.png
|
190
|
+
- doc/img/fig02.png
|
191
|
+
- doc/img/fig03.png
|
192
|
+
- doc/img/fig04.png
|
193
|
+
- doc/pattern-catalog/design.css
|
194
|
+
- doc/pattern-catalog/design.html
|
189
195
|
- doc-api/classes
|
190
196
|
- doc-api/created.rid
|
191
197
|
- doc-api/files
|