kwartz 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. data/ChangeLog +10 -3
  2. data/README.txt +6 -1
  3. data/bin/kwartz +1 -1
  4. data/doc-api/classes/Kwartz.html +2 -2
  5. data/doc-api/classes/Kwartz/Main.html +2 -2
  6. data/doc-api/created.rid +1 -1
  7. data/doc-api/files/__/README_txt.html +6 -2
  8. data/doc-api/files/kwartz/assert_rb.html +1 -1
  9. data/doc-api/files/kwartz/binding/eperl_rb.html +1 -1
  10. data/doc-api/files/kwartz/binding/erubis_rb.html +1 -1
  11. data/doc-api/files/kwartz/binding/eruby_rb.html +1 -1
  12. data/doc-api/files/kwartz/binding/jstl_rb.html +1 -1
  13. data/doc-api/files/kwartz/binding/php_rb.html +1 -1
  14. data/doc-api/files/kwartz/binding/pierubis_rb.html +1 -1
  15. data/doc-api/files/kwartz/binding/rails_rb.html +1 -1
  16. data/doc-api/files/kwartz/binding/ruby_rb.html +1 -1
  17. data/doc-api/files/kwartz/binding/struts_rb.html +1 -1
  18. data/doc-api/files/kwartz/config_rb.html +1 -1
  19. data/doc-api/files/kwartz/converter_rb.html +1 -1
  20. data/doc-api/files/kwartz/defun_rb.html +1 -1
  21. data/doc-api/files/kwartz/error_rb.html +1 -1
  22. data/doc-api/files/kwartz/helper/rails_rb.html +1 -1
  23. data/doc-api/files/kwartz/main_rb.html +2 -2
  24. data/doc-api/files/kwartz/node_rb.html +1 -1
  25. data/doc-api/files/kwartz/parser_rb.html +1 -1
  26. data/doc-api/files/kwartz/translator_rb.html +1 -1
  27. data/doc-api/files/kwartz/util/assert-text-equal_rb.html +1 -1
  28. data/doc-api/files/kwartz/util/testcase-helper_rb.html +2 -2
  29. data/doc-api/files/kwartz/util_rb.html +1 -1
  30. data/doc-api/files/kwartz_rb.html +1 -1
  31. data/doc/img/fig01.png +0 -0
  32. data/doc/img/fig02.png +0 -0
  33. data/doc/img/fig03.png +0 -0
  34. data/doc/img/fig04.png +0 -0
  35. data/doc/{p-pattern.html → pattern-catalog.html} +29 -21
  36. data/doc/pattern-catalog/design.css +51 -0
  37. data/doc/pattern-catalog/design.html +42 -0
  38. data/doc/reference.html +23 -261
  39. data/doc/users-guide.html +70 -44
  40. data/kwartz.gemspec +13 -9
  41. data/lib/kwartz.rb +2 -2
  42. data/lib/kwartz/assert.rb +1 -1
  43. data/lib/kwartz/binding/eperl.rb +1 -1
  44. data/lib/kwartz/binding/erubis.rb +1 -1
  45. data/lib/kwartz/binding/eruby.rb +1 -1
  46. data/lib/kwartz/binding/jstl.rb +1 -1
  47. data/lib/kwartz/binding/php.rb +1 -1
  48. data/lib/kwartz/binding/pierubis.rb +1 -1
  49. data/lib/kwartz/binding/rails.rb +1 -1
  50. data/lib/kwartz/binding/ruby.rb +1 -1
  51. data/lib/kwartz/binding/struts.rb +1 -1
  52. data/lib/kwartz/config.rb +1 -1
  53. data/lib/kwartz/converter.rb +1 -1
  54. data/lib/kwartz/defun.rb +1 -1
  55. data/lib/kwartz/error.rb +1 -1
  56. data/lib/kwartz/helper/rails.rb +1 -1
  57. data/lib/kwartz/main.rb +4 -4
  58. data/lib/kwartz/node.rb +1 -1
  59. data/lib/kwartz/parser.rb +1 -1
  60. data/lib/kwartz/translator.rb +1 -1
  61. data/lib/kwartz/util.rb +1 -1
  62. data/lib/kwartz/util/assert-text-equal.rb +1 -1
  63. data/lib/kwartz/util/testcase-helper.rb +10 -4
  64. data/test/test-compile.rb +1 -1
  65. data/test/test-converter.rb +27 -12
  66. data/test/test-converter.yaml +173 -26
  67. data/test/test-directives.rb +1 -1
  68. data/test/test-main.rb +1 -1
  69. data/test/test-parser.rb +1 -1
  70. data/test/test-parser.yaml +1 -1
  71. data/test/test-rails.rb +1 -1
  72. data/test/test-ruleset.rb +1 -1
  73. data/test/test-ruleset.yaml +18 -18
  74. data/test/test.rb +1 -1
  75. metadata +10 -4
@@ -1,6 +1,6 @@
1
1
  ###
2
2
  ### $Rev: 114 $
3
- ### $Release: 3.1.0 $
3
+ ### $Release: 3.1.1 $
4
4
  ### copyright(c) 2004-2006 kuwata-lab.com all rights reserved
5
5
  ###
6
6
 
@@ -1,6 +1,6 @@
1
1
  ###
2
2
  ### $Rev: 117 $
3
- ### $Release: 3.1.0 $
3
+ ### $Release: 3.1.1 $
4
4
  ### copyright(c) 2004-2006 kuwata-lab.com all rights reserved
5
5
  ###
6
6
 
@@ -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
@@ -1,6 +1,6 @@
1
1
  ###
2
2
  ### $Rev: 117 $
3
- ### $Release: 3.1.0 $
3
+ ### $Release: 3.1.1 $
4
4
  ### copyright(c) 2004-2006 kuwata-lab.com all rights reserved
5
5
  ###
6
6
 
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.0
7
- date: 2006-09-24 00:00:00 +09:00
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/users-guide.html
185
+ - doc/pattern-catalog.html
186
186
  - doc/reference.html
187
- - doc/p-pattern.html
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