wlang 0.10.2 → 2.0.0.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (269) hide show
  1. data/CHANGELOG.md +3 -121
  2. data/Gemfile +23 -1
  3. data/Gemfile.lock +32 -28
  4. data/LICENCE.md +18 -21
  5. data/Manifest.txt +4 -5
  6. data/README.md +100 -174
  7. data/Rakefile +1 -13
  8. data/bin/wlang +3 -29
  9. data/lib/wlang.rb +21 -394
  10. data/lib/wlang/command.rb +94 -0
  11. data/lib/wlang/compiler.rb +78 -0
  12. data/lib/wlang/compiler/autospacing.rb +60 -0
  13. data/lib/wlang/compiler/dialect_enforcer.rb +91 -0
  14. data/lib/wlang/compiler/filter.rb +32 -0
  15. data/lib/wlang/compiler/grammar.citrus +67 -0
  16. data/lib/wlang/compiler/parser.rb +26 -0
  17. data/lib/wlang/compiler/proc_call_removal.rb +15 -0
  18. data/lib/wlang/compiler/static_merger.rb +28 -0
  19. data/lib/wlang/compiler/strconcat_flattener.rb +25 -0
  20. data/lib/wlang/compiler/to_ruby_abstraction.rb +22 -0
  21. data/lib/wlang/compiler/to_ruby_code.rb +55 -0
  22. data/lib/wlang/dialect.rb +40 -237
  23. data/lib/wlang/dialect/dispatching.rb +51 -0
  24. data/lib/wlang/dialect/evaluation.rb +30 -0
  25. data/lib/wlang/dialect/tags.rb +50 -0
  26. data/lib/wlang/dummy.rb +32 -0
  27. data/lib/wlang/html.rb +106 -0
  28. data/lib/wlang/loader.rb +6 -0
  29. data/lib/wlang/mustang.rb +90 -0
  30. data/lib/wlang/scope.rb +57 -0
  31. data/lib/wlang/scope/binding_scope.rb +18 -0
  32. data/lib/wlang/scope/object_scope.rb +25 -0
  33. data/lib/wlang/scope/proxy_scope.rb +18 -0
  34. data/lib/wlang/scope/root_scope.rb +24 -0
  35. data/lib/wlang/template.rb +16 -86
  36. data/lib/wlang/version.rb +9 -8
  37. data/spec/fixtures/dialect/foobar.rb +31 -0
  38. data/spec/fixtures/dialect/upcasing.rb +13 -0
  39. data/spec/fixtures/templates/hello.tpl +1 -0
  40. data/spec/integration/examples/1-basics.txt +65 -0
  41. data/spec/integration/examples/2-imperative.txt +51 -0
  42. data/spec/integration/examples/3-partials.txt +76 -0
  43. data/spec/integration/examples/4-recursion.txt +16 -0
  44. data/spec/integration/html/test_ampersand.rb +15 -0
  45. data/spec/integration/html/test_bang.rb +38 -0
  46. data/spec/integration/html/test_caret.rb +33 -0
  47. data/spec/integration/html/test_dollar.rb +16 -0
  48. data/spec/integration/html/test_greater.rb +23 -0
  49. data/spec/integration/html/test_modulo.rb +16 -0
  50. data/spec/integration/html/test_plus.rb +48 -0
  51. data/spec/integration/html/test_question.rb +33 -0
  52. data/spec/integration/html/test_sharp.rb +21 -0
  53. data/spec/integration/html/test_slash.rb +16 -0
  54. data/spec/integration/html/test_star.rb +37 -0
  55. data/spec/integration/test_dummy.rb +51 -0
  56. data/spec/integration/test_examples.rb +29 -0
  57. data/spec/integration/test_mustang.rb +120 -0
  58. data/spec/integration/test_readme.rb +56 -0
  59. data/spec/integration/test_upcasing.rb +22 -0
  60. data/spec/spec_helper.rb +62 -1
  61. data/spec/test_wlang.rb +101 -0
  62. data/spec/unit/compiler/autospacing/test_right_strip.rb +30 -0
  63. data/spec/unit/compiler/autospacing/test_unindent.rb +30 -0
  64. data/spec/unit/compiler/test_dialect_enforcer.rb +168 -0
  65. data/spec/unit/compiler/test_grammar.rb +207 -0
  66. data/spec/unit/compiler/test_parser.rb +69 -0
  67. data/spec/unit/compiler/test_proc_call_removal.rb +24 -0
  68. data/spec/unit/compiler/test_static_merger.rb +29 -0
  69. data/spec/unit/compiler/test_strconcat_flattener.rb +30 -0
  70. data/spec/unit/compiler/test_to_ruby_abstraction.rb +59 -0
  71. data/spec/unit/compiler/test_to_ruby_code.rb +24 -0
  72. data/spec/unit/dialect/test_compile.rb +52 -0
  73. data/spec/unit/dialect/test_dispatching.rb +19 -0
  74. data/spec/unit/dialect/test_evaluate.rb +41 -0
  75. data/spec/unit/dialect/test_render.rb +33 -0
  76. data/spec/unit/dialect/test_tags.rb +32 -0
  77. data/spec/unit/dialect/test_with_scope.rb +18 -0
  78. data/spec/unit/scope/test_binding_scope.rb +27 -0
  79. data/spec/unit/scope/test_coerce.rb +22 -0
  80. data/spec/unit/scope/test_object_scope.rb +38 -0
  81. data/spec/unit/scope/test_proxy_scope.rb +22 -0
  82. data/spec/unit/scope/test_root_scope.rb +22 -0
  83. data/spec/unit/test_assumptions.rb +29 -0
  84. data/spec/unit/test_scope.rb +57 -0
  85. data/tasks/debug_mail.rake +42 -45
  86. data/tasks/gem.rake +22 -17
  87. data/tasks/spec_test.rake +9 -17
  88. data/tasks/unit_test.rake +11 -12
  89. data/tasks/yard.rake +13 -13
  90. data/wlang.gemspec +36 -32
  91. data/wlang.noespec +27 -35
  92. metadata +268 -451
  93. data/doc/specification/about.rdoc +0 -61
  94. data/doc/specification/analytics.wtpl +0 -13
  95. data/doc/specification/dialect.wtpl +0 -14
  96. data/doc/specification/dialects.wtpl +0 -3
  97. data/doc/specification/examples.rb +0 -3
  98. data/doc/specification/glossary.wtpl +0 -14
  99. data/doc/specification/hosting.rdoc +0 -0
  100. data/doc/specification/overview.rdoc +0 -116
  101. data/doc/specification/rulesets.wtpl +0 -87
  102. data/doc/specification/specification.css +0 -53
  103. data/doc/specification/specification.html +0 -1690
  104. data/doc/specification/specification.js +0 -8
  105. data/doc/specification/specification.wtpl +0 -42
  106. data/doc/specification/specification.yml +0 -432
  107. data/doc/specification/symbols.wtpl +0 -16
  108. data/lib/wlang/dialect_dsl.rb +0 -141
  109. data/lib/wlang/dialect_loader.rb +0 -74
  110. data/lib/wlang/dialects/bluecloth_dialect.rb +0 -16
  111. data/lib/wlang/dialects/coderay_dialect.rb +0 -45
  112. data/lib/wlang/dialects/hosted_dialect.rb +0 -50
  113. data/lib/wlang/dialects/plain_text_dialect.rb +0 -69
  114. data/lib/wlang/dialects/rdoc_dialect.rb +0 -33
  115. data/lib/wlang/dialects/redcloth_dialect.rb +0 -16
  116. data/lib/wlang/dialects/ruby_dialect.rb +0 -118
  117. data/lib/wlang/dialects/sql_dialect.rb +0 -38
  118. data/lib/wlang/dialects/standard_dialects.rb +0 -181
  119. data/lib/wlang/dialects/xhtml_dialect.rb +0 -63
  120. data/lib/wlang/dialects/yaml_dialect.rb +0 -30
  121. data/lib/wlang/encoder.rb +0 -62
  122. data/lib/wlang/encoder_set.rb +0 -122
  123. data/lib/wlang/errors.rb +0 -80
  124. data/lib/wlang/ext/hash_methodize.rb +0 -13
  125. data/lib/wlang/ext/string.rb +0 -44
  126. data/lib/wlang/hash_scope.rb +0 -89
  127. data/lib/wlang/hosted_language.rb +0 -146
  128. data/lib/wlang/intelligent_buffer.rb +0 -94
  129. data/lib/wlang/parser.rb +0 -332
  130. data/lib/wlang/parser_state.rb +0 -94
  131. data/lib/wlang/rule.rb +0 -66
  132. data/lib/wlang/rule_set.rb +0 -106
  133. data/lib/wlang/rulesets/basic_ruleset.rb +0 -83
  134. data/lib/wlang/rulesets/buffering_ruleset.rb +0 -115
  135. data/lib/wlang/rulesets/context_ruleset.rb +0 -111
  136. data/lib/wlang/rulesets/encoding_ruleset.rb +0 -73
  137. data/lib/wlang/rulesets/imperative_ruleset.rb +0 -132
  138. data/lib/wlang/rulesets/ruleset_utils.rb +0 -317
  139. data/lib/wlang/wlang_command.rb +0 -51
  140. data/lib/wlang/wlang_command_options.rb +0 -163
  141. data/spec/basic_object.spec +0 -40
  142. data/spec/coderay_dialect.spec +0 -8
  143. data/spec/dialect/apply_post_transform.spec +0 -16
  144. data/spec/global_extensions.rb +0 -2
  145. data/spec/hash_scope.spec +0 -76
  146. data/spec/redcloth_dialect.spec +0 -24
  147. data/spec/test_all.rb +0 -8
  148. data/spec/wlang.spec +0 -53
  149. data/spec/wlang_spec.rb +0 -8
  150. data/spec/xhtml_dialect.spec +0 -22
  151. data/tasks/genspec.rake +0 -5
  152. data/test/blackbox/basic/execution_1.exp +0 -1
  153. data/test/blackbox/basic/execution_1.tpl +0 -1
  154. data/test/blackbox/basic/execution_2.exp +0 -1
  155. data/test/blackbox/basic/execution_2.tpl +0 -1
  156. data/test/blackbox/basic/execution_3.exp +0 -1
  157. data/test/blackbox/basic/execution_3.tpl +0 -1
  158. data/test/blackbox/basic/execution_4.exp +0 -1
  159. data/test/blackbox/basic/execution_4.tpl +0 -1
  160. data/test/blackbox/basic/inclusion_1.exp +0 -1
  161. data/test/blackbox/basic/inclusion_1.tpl +0 -1
  162. data/test/blackbox/basic/inclusion_2.exp +0 -1
  163. data/test/blackbox/basic/inclusion_2.tpl +0 -1
  164. data/test/blackbox/basic/injection_1.exp +0 -1
  165. data/test/blackbox/basic/injection_1.tpl +0 -1
  166. data/test/blackbox/basic/injection_2.exp +0 -1
  167. data/test/blackbox/basic/injection_2.tpl +0 -1
  168. data/test/blackbox/basic/modulation_1.exp +0 -1
  169. data/test/blackbox/basic/modulation_1.tpl +0 -1
  170. data/test/blackbox/basic/modulation_2.exp +0 -1
  171. data/test/blackbox/basic/modulation_2.tpl +0 -1
  172. data/test/blackbox/basic/recursive_app_1.exp +0 -1
  173. data/test/blackbox/basic/recursive_app_1.tpl +0 -1
  174. data/test/blackbox/basic/recursive_app_2.exp +0 -1
  175. data/test/blackbox/basic/recursive_app_2.tpl +0 -1
  176. data/test/blackbox/buffering/data_1.rb +0 -1
  177. data/test/blackbox/buffering/data_assignment_1.exp +0 -1
  178. data/test/blackbox/buffering/data_assignment_1.tpl +0 -1
  179. data/test/blackbox/buffering/data_assignment_2.exp +0 -1
  180. data/test/blackbox/buffering/data_assignment_2.tpl +0 -1
  181. data/test/blackbox/buffering/data_assignment_3.exp +0 -1
  182. data/test/blackbox/buffering/data_assignment_3.tpl +0 -1
  183. data/test/blackbox/buffering/data_assignment_4.exp +0 -1
  184. data/test/blackbox/buffering/data_assignment_4.tpl +0 -1
  185. data/test/blackbox/buffering/input_1.exp +0 -1
  186. data/test/blackbox/buffering/input_1.tpl +0 -1
  187. data/test/blackbox/buffering/input_2.exp +0 -1
  188. data/test/blackbox/buffering/input_2.tpl +0 -1
  189. data/test/blackbox/buffering/input_3.exp +0 -1
  190. data/test/blackbox/buffering/input_3.tpl +0 -1
  191. data/test/blackbox/buffering/input_inclusion.exp +0 -1
  192. data/test/blackbox/buffering/input_inclusion.tpl +0 -1
  193. data/test/blackbox/buffering/input_inclusion_1.exp +0 -0
  194. data/test/blackbox/buffering/input_inclusion_1.tpl +0 -1
  195. data/test/blackbox/buffering/input_inclusion_2.exp +0 -1
  196. data/test/blackbox/buffering/input_inclusion_2.tpl +0 -1
  197. data/test/blackbox/buffering/input_inclusion_3.exp +0 -1
  198. data/test/blackbox/buffering/input_inclusion_3.tpl +0 -1
  199. data/test/blackbox/buffering/input_inclusion_4.exp +0 -0
  200. data/test/blackbox/buffering/input_inclusion_4.tpl +0 -1
  201. data/test/blackbox/buffering/input_inclusion_5.exp +0 -1
  202. data/test/blackbox/buffering/input_inclusion_5.tpl +0 -1
  203. data/test/blackbox/buffering/input_inclusion_6.exp +0 -1
  204. data/test/blackbox/buffering/input_inclusion_6.tpl +0 -1
  205. data/test/blackbox/buffering/input_inclusion_7.exp +0 -0
  206. data/test/blackbox/buffering/input_inclusion_7.tpl +0 -1
  207. data/test/blackbox/buffering/text_1.txt +0 -1
  208. data/test/blackbox/buffering/wlang.txt +0 -1
  209. data/test/blackbox/context/assignment_1.exp +0 -1
  210. data/test/blackbox/context/assignment_1.tpl +0 -1
  211. data/test/blackbox/context/assignment_2.exp +0 -1
  212. data/test/blackbox/context/assignment_2.tpl +0 -1
  213. data/test/blackbox/context/assignment_3.exp +0 -2
  214. data/test/blackbox/context/assignment_3.tpl +0 -2
  215. data/test/blackbox/context/assignment_4.exp +0 -1
  216. data/test/blackbox/context/assignment_4.tpl +0 -1
  217. data/test/blackbox/context/block_assignment_1.exp +0 -1
  218. data/test/blackbox/context/block_assignment_1.tpl +0 -1
  219. data/test/blackbox/context/block_assignment_2.exp +0 -1
  220. data/test/blackbox/context/block_assignment_2.tpl +0 -1
  221. data/test/blackbox/context/modulo_assignment_1.exp +0 -1
  222. data/test/blackbox/context/modulo_assignment_1.tpl +0 -1
  223. data/test/blackbox/context/modulo_assignment_2.exp +0 -1
  224. data/test/blackbox/context/modulo_assignment_2.tpl +0 -1
  225. data/test/blackbox/data_1.rb +0 -1
  226. data/test/blackbox/postblock/hello.exp +0 -1
  227. data/test/blackbox/postblock/hello.pre +0 -1
  228. data/test/blackbox/postblock/hello.tpl +0 -1
  229. data/test/blackbox/postblock/hello_input_inclusion.exp +0 -1
  230. data/test/blackbox/postblock/hello_input_inclusion.tpl +0 -1
  231. data/test/blackbox/postblock/hello_to_authors.exp +0 -1
  232. data/test/blackbox/postblock/hello_to_authors.tpl +0 -1
  233. data/test/blackbox/poststring/hello.exp +0 -1
  234. data/test/blackbox/poststring/hello.tpl +0 -1
  235. data/test/blackbox/test_all.rb +0 -70
  236. data/test/standard_dialects/ruby/data.rb +0 -7
  237. data/test/standard_dialects/ruby/inclusion.exp +0 -6
  238. data/test/standard_dialects/ruby/inclusion.tpl +0 -6
  239. data/test/standard_dialects/test_all.rb +0 -29
  240. data/test/standard_dialects/yaml/assumptions_test.rb +0 -13
  241. data/test/standard_dialects/yaml/data.rb +0 -3
  242. data/test/standard_dialects/yaml/inclusion_1.exp +0 -7
  243. data/test/standard_dialects/yaml/inclusion_1.tpl +0 -2
  244. data/test/standard_dialects/yaml/inclusion_2.exp +0 -5
  245. data/test/standard_dialects/yaml/inclusion_2.tpl +0 -3
  246. data/test/unit/test_all.rb +0 -9
  247. data/test/unit/wlang/anagram_bugs_test.rb +0 -111
  248. data/test/unit/wlang/basic_ruleset_test.rb +0 -52
  249. data/test/unit/wlang/buffering_ruleset_test.rb +0 -102
  250. data/test/unit/wlang/buffering_template1.wtpl +0 -1
  251. data/test/unit/wlang/buffering_template2.wtpl +0 -1
  252. data/test/unit/wlang/buffering_template3.wtpl +0 -1
  253. data/test/unit/wlang/buffering_template4.wtpl +0 -1
  254. data/test/unit/wlang/buffering_template5.wtpl +0 -1
  255. data/test/unit/wlang/context_ruleset_test.rb +0 -32
  256. data/test/unit/wlang/data.rb +0 -3
  257. data/test/unit/wlang/encoder_set_test.rb +0 -42
  258. data/test/unit/wlang/imperative_ruleset_test.rb +0 -107
  259. data/test/unit/wlang/intelligent_buffer_test.rb +0 -194
  260. data/test/unit/wlang/othersymbols_test.rb +0 -16
  261. data/test/unit/wlang/parser_test.rb +0 -88
  262. data/test/unit/wlang/plain_text_dialect_test.rb +0 -21
  263. data/test/unit/wlang/ruby_dialect_test.rb +0 -100
  264. data/test/unit/wlang/ruby_expected.rb +0 -3
  265. data/test/unit/wlang/ruby_template.wrb +0 -3
  266. data/test/unit/wlang/ruleset_utils_test.rb +0 -245
  267. data/test/unit/wlang/specification_examples_test.rb +0 -54
  268. data/test/unit/wlang/test_utils.rb +0 -25
  269. data/test/unit/wlang/wlang_test.rb +0 -80
metadata CHANGED
@@ -1,523 +1,340 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: wlang
3
- version: !ruby/object:Gem::Version
4
- hash: 51
5
- prerelease:
6
- segments:
7
- - 0
8
- - 10
9
- - 2
10
- version: 0.10.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0.beta
5
+ prerelease: 6
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Bernard Lambeau
14
9
  - Louis Lambeau
15
10
  autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
-
19
- date: 2011-02-25 00:00:00 +01:00
20
- default_executable:
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
13
+ date: 2012-06-01 00:00:00.000000000Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: ruby-prof
17
+ requirement: &70335748964040 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
22
+ version: 0.11.2
23
23
  type: :development
24
- requirement: &id001 !ruby/object:Gem::Requirement
24
+ prerelease: false
25
+ version_requirements: *70335748964040
26
+ - !ruby/object:Gem::Dependency
27
+ name: mustache
28
+ requirement: &70335748962060 !ruby/object:Gem::Requirement
25
29
  none: false
26
- requirements:
30
+ requirements:
27
31
  - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 49
30
- segments:
31
- - 0
32
- - 8
33
- - 7
34
- version: 0.8.7
32
+ - !ruby/object:Gem::Version
33
+ version: 0.99.4
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: *70335748962060
37
+ - !ruby/object:Gem::Dependency
35
38
  name: rake
36
- version_requirements: *id001
39
+ requirement: &70335748960500 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: 0.9.2
45
+ type: :development
37
46
  prerelease: false
38
- - !ruby/object:Gem::Dependency
47
+ version_requirements: *70335748960500
48
+ - !ruby/object:Gem::Dependency
49
+ name: bundler
50
+ requirement: &70335748958700 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: '1.0'
39
56
  type: :development
40
- requirement: &id002 !ruby/object:Gem::Requirement
57
+ prerelease: false
58
+ version_requirements: *70335748958700
59
+ - !ruby/object:Gem::Dependency
60
+ name: rspec
61
+ requirement: &70335748956940 !ruby/object:Gem::Requirement
41
62
  none: false
42
- requirements:
63
+ requirements:
43
64
  - - ~>
44
- - !ruby/object:Gem::Version
45
- hash: 15
46
- segments:
47
- - 1
48
- - 0
49
- version: "1.0"
50
- name: bundler
51
- version_requirements: *id002
65
+ - !ruby/object:Gem::Version
66
+ version: 2.10.0
67
+ type: :development
52
68
  prerelease: false
53
- - !ruby/object:Gem::Dependency
69
+ version_requirements: *70335748956940
70
+ - !ruby/object:Gem::Dependency
71
+ name: epath
72
+ requirement: &70335748940940 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 0.1.0
54
78
  type: :development
55
- requirement: &id003 !ruby/object:Gem::Requirement
79
+ prerelease: false
80
+ version_requirements: *70335748940940
81
+ - !ruby/object:Gem::Dependency
82
+ name: yard
83
+ requirement: &70335748940200 !ruby/object:Gem::Requirement
56
84
  none: false
57
- requirements:
85
+ requirements:
58
86
  - - ~>
59
- - !ruby/object:Gem::Version
60
- hash: 31
61
- segments:
62
- - 2
63
- - 4
64
- - 0
65
- version: 2.4.0
66
- name: rspec
67
- version_requirements: *id003
87
+ - !ruby/object:Gem::Version
88
+ version: 0.8.1
89
+ type: :development
68
90
  prerelease: false
69
- - !ruby/object:Gem::Dependency
91
+ version_requirements: *70335748940200
92
+ - !ruby/object:Gem::Dependency
93
+ name: bluecloth
94
+ requirement: &70335748939300 !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ~>
98
+ - !ruby/object:Gem::Version
99
+ version: 2.2.0
70
100
  type: :development
71
- requirement: &id004 !ruby/object:Gem::Requirement
101
+ prerelease: false
102
+ version_requirements: *70335748939300
103
+ - !ruby/object:Gem::Dependency
104
+ name: citrus
105
+ requirement: &70335748938360 !ruby/object:Gem::Requirement
72
106
  none: false
73
- requirements:
107
+ requirements:
74
108
  - - ~>
75
- - !ruby/object:Gem::Version
76
- hash: 15
77
- segments:
78
- - 0
79
- - 6
80
- - 4
81
- version: 0.6.4
82
- name: yard
83
- version_requirements: *id004
109
+ - !ruby/object:Gem::Version
110
+ version: 2.4.1
111
+ type: :runtime
84
112
  prerelease: false
85
- - !ruby/object:Gem::Dependency
86
- type: :development
87
- requirement: &id005 !ruby/object:Gem::Requirement
113
+ version_requirements: *70335748938360
114
+ - !ruby/object:Gem::Dependency
115
+ name: temple
116
+ requirement: &70335748937360 !ruby/object:Gem::Requirement
88
117
  none: false
89
- requirements:
118
+ requirements:
90
119
  - - ~>
91
- - !ruby/object:Gem::Version
92
- hash: 29
93
- segments:
94
- - 2
95
- - 0
96
- - 9
97
- version: 2.0.9
98
- name: bluecloth
99
- version_requirements: *id005
120
+ - !ruby/object:Gem::Version
121
+ version: 0.4.0
122
+ type: :runtime
100
123
  prerelease: false
101
- - !ruby/object:Gem::Dependency
102
- type: :development
103
- requirement: &id006 !ruby/object:Gem::Requirement
124
+ version_requirements: *70335748937360
125
+ - !ruby/object:Gem::Dependency
126
+ name: backports
127
+ requirement: &70335748936160 !ruby/object:Gem::Requirement
104
128
  none: false
105
- requirements:
106
- - - ">="
107
- - !ruby/object:Gem::Version
108
- hash: 3
109
- segments:
110
- - 0
111
- version: "0"
112
- name: rdoc
113
- version_requirements: *id006
129
+ requirements:
130
+ - - ~>
131
+ - !ruby/object:Gem::Version
132
+ version: 2.6.1
133
+ type: :runtime
114
134
  prerelease: false
115
- - !ruby/object:Gem::Dependency
116
- type: :development
117
- requirement: &id007 !ruby/object:Gem::Requirement
135
+ version_requirements: *70335748936160
136
+ - !ruby/object:Gem::Dependency
137
+ name: quickl
138
+ requirement: &70335748934880 !ruby/object:Gem::Requirement
118
139
  none: false
119
- requirements:
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- hash: 3
123
- segments:
124
- - 0
125
- version: "0"
126
- name: coderay
127
- version_requirements: *id007
140
+ requirements:
141
+ - - ~>
142
+ - !ruby/object:Gem::Version
143
+ version: 0.4.3
144
+ type: :runtime
128
145
  prerelease: false
129
- - !ruby/object:Gem::Dependency
130
- type: :development
131
- requirement: &id008 !ruby/object:Gem::Requirement
146
+ version_requirements: *70335748934880
147
+ - !ruby/object:Gem::Dependency
148
+ name: awesome_print
149
+ requirement: &70335748933680 !ruby/object:Gem::Requirement
132
150
  none: false
133
- requirements:
134
- - - ">="
135
- - !ruby/object:Gem::Version
136
- hash: 3
137
- segments:
138
- - 0
139
- version: "0"
140
- name: RedCloth
141
- version_requirements: *id008
151
+ requirements:
152
+ - - ~>
153
+ - !ruby/object:Gem::Version
154
+ version: 1.0.2
155
+ type: :runtime
142
156
  prerelease: false
143
- description: |-
144
- WLang is a general-purpose *code generation*/*templating engine*. It's main aim is to help you generating
145
- web pages, sql queries, ruby code (that is, generating code in general) without having to worry too much
146
- about html entities encoding, sql back quoting, string escaping and the like. WLang proposes a generic
147
- engine that you can extend to fit your needs. It also proposes standard instantiations of this engine
148
- for common tasks such as creating SQL queries, instantiating web pages, and so on.
149
- email:
157
+ version_requirements: *70335748933680
158
+ description: ! "WLang is a general-purpose *code generation*/*templating engine*.
159
+ It's main aim is to help you generating\nweb pages, sql queries, ruby code (that
160
+ is, generating code in general) without having to worry too much \nabout html entities
161
+ encoding, sql back quoting, string escaping and the like. WLang proposes a generic
162
+ \nengine that you can extend to fit your needs. It also proposes standard instantiations
163
+ of this engine \nfor common tasks such as creating SQL queries, instantiating web
164
+ pages, and so on."
165
+ email:
150
166
  - blambeau@gmail.com
151
167
  - llambeau@gmail.com
152
- executables:
168
+ executables:
153
169
  - wlang
154
170
  extensions: []
155
-
156
- extra_rdoc_files:
171
+ extra_rdoc_files:
157
172
  - README.md
158
173
  - CHANGELOG.md
159
174
  - LICENCE.md
160
- files:
161
- - bin/wlang
175
+ files:
176
+ - wlang.gemspec
177
+ - wlang.noespec
162
178
  - CHANGELOG.md
163
- - doc/specification/about.rdoc
164
- - doc/specification/analytics.wtpl
165
- - doc/specification/dialect.wtpl
166
- - doc/specification/dialects.wtpl
167
- - doc/specification/examples.rb
168
- - doc/specification/glossary.wtpl
169
- - doc/specification/hosting.rdoc
170
- - doc/specification/overview.rdoc
171
- - doc/specification/rulesets.wtpl
172
- - doc/specification/specification.css
173
- - doc/specification/specification.html
174
- - doc/specification/specification.js
175
- - doc/specification/specification.wtpl
176
- - doc/specification/specification.yml
177
- - doc/specification/symbols.wtpl
178
179
  - Gemfile
179
180
  - Gemfile.lock
181
+ - bin/wlang
182
+ - lib/wlang/command.rb
183
+ - lib/wlang/compiler/autospacing.rb
184
+ - lib/wlang/compiler/dialect_enforcer.rb
185
+ - lib/wlang/compiler/filter.rb
186
+ - lib/wlang/compiler/grammar.citrus
187
+ - lib/wlang/compiler/parser.rb
188
+ - lib/wlang/compiler/proc_call_removal.rb
189
+ - lib/wlang/compiler/static_merger.rb
190
+ - lib/wlang/compiler/strconcat_flattener.rb
191
+ - lib/wlang/compiler/to_ruby_abstraction.rb
192
+ - lib/wlang/compiler/to_ruby_code.rb
193
+ - lib/wlang/compiler.rb
194
+ - lib/wlang/dialect/dispatching.rb
195
+ - lib/wlang/dialect/evaluation.rb
196
+ - lib/wlang/dialect/tags.rb
180
197
  - lib/wlang/dialect.rb
181
- - lib/wlang/dialect_dsl.rb
182
- - lib/wlang/dialect_loader.rb
183
- - lib/wlang/dialects/bluecloth_dialect.rb
184
- - lib/wlang/dialects/coderay_dialect.rb
185
- - lib/wlang/dialects/hosted_dialect.rb
186
- - lib/wlang/dialects/plain_text_dialect.rb
187
- - lib/wlang/dialects/rdoc_dialect.rb
188
- - lib/wlang/dialects/redcloth_dialect.rb
189
- - lib/wlang/dialects/ruby_dialect.rb
190
- - lib/wlang/dialects/sql_dialect.rb
191
- - lib/wlang/dialects/standard_dialects.rb
192
- - lib/wlang/dialects/xhtml_dialect.rb
193
- - lib/wlang/dialects/yaml_dialect.rb
194
- - lib/wlang/encoder.rb
195
- - lib/wlang/encoder_set.rb
196
- - lib/wlang/errors.rb
197
- - lib/wlang/ext/hash_methodize.rb
198
- - lib/wlang/ext/string.rb
199
- - lib/wlang/hash_scope.rb
200
- - lib/wlang/hosted_language.rb
201
- - lib/wlang/intelligent_buffer.rb
198
+ - lib/wlang/dummy.rb
199
+ - lib/wlang/html.rb
202
200
  - lib/wlang/loader.rb
203
- - lib/wlang/parser.rb
204
- - lib/wlang/parser_state.rb
205
- - lib/wlang/rule.rb
206
- - lib/wlang/rule_set.rb
207
- - lib/wlang/rulesets/basic_ruleset.rb
208
- - lib/wlang/rulesets/buffering_ruleset.rb
209
- - lib/wlang/rulesets/context_ruleset.rb
210
- - lib/wlang/rulesets/encoding_ruleset.rb
211
- - lib/wlang/rulesets/imperative_ruleset.rb
212
- - lib/wlang/rulesets/ruleset_utils.rb
201
+ - lib/wlang/mustang.rb
202
+ - lib/wlang/scope/binding_scope.rb
203
+ - lib/wlang/scope/object_scope.rb
204
+ - lib/wlang/scope/proxy_scope.rb
205
+ - lib/wlang/scope/root_scope.rb
206
+ - lib/wlang/scope.rb
213
207
  - lib/wlang/template.rb
214
208
  - lib/wlang/version.rb
215
- - lib/wlang/wlang_command.rb
216
- - lib/wlang/wlang_command_options.rb
217
209
  - lib/wlang.rb
218
210
  - LICENCE.md
219
211
  - Manifest.txt
220
212
  - Rakefile
221
213
  - README.md
222
- - spec/basic_object.spec
223
- - spec/coderay_dialect.spec
224
- - spec/dialect/apply_post_transform.spec
225
- - spec/global_extensions.rb
226
- - spec/hash_scope.spec
227
- - spec/redcloth_dialect.spec
214
+ - spec/fixtures/dialect/foobar.rb
215
+ - spec/fixtures/dialect/upcasing.rb
216
+ - spec/fixtures/templates/hello.tpl
217
+ - spec/integration/examples/1-basics.txt
218
+ - spec/integration/examples/2-imperative.txt
219
+ - spec/integration/examples/3-partials.txt
220
+ - spec/integration/examples/4-recursion.txt
221
+ - spec/integration/html/test_ampersand.rb
222
+ - spec/integration/html/test_bang.rb
223
+ - spec/integration/html/test_caret.rb
224
+ - spec/integration/html/test_dollar.rb
225
+ - spec/integration/html/test_greater.rb
226
+ - spec/integration/html/test_modulo.rb
227
+ - spec/integration/html/test_plus.rb
228
+ - spec/integration/html/test_question.rb
229
+ - spec/integration/html/test_sharp.rb
230
+ - spec/integration/html/test_slash.rb
231
+ - spec/integration/html/test_star.rb
232
+ - spec/integration/test_dummy.rb
233
+ - spec/integration/test_examples.rb
234
+ - spec/integration/test_mustang.rb
235
+ - spec/integration/test_readme.rb
236
+ - spec/integration/test_upcasing.rb
228
237
  - spec/spec_helper.rb
229
- - spec/test_all.rb
230
- - spec/wlang.spec
231
- - spec/wlang_spec.rb
232
- - spec/xhtml_dialect.spec
238
+ - spec/test_wlang.rb
239
+ - spec/unit/compiler/autospacing/test_right_strip.rb
240
+ - spec/unit/compiler/autospacing/test_unindent.rb
241
+ - spec/unit/compiler/test_dialect_enforcer.rb
242
+ - spec/unit/compiler/test_grammar.rb
243
+ - spec/unit/compiler/test_parser.rb
244
+ - spec/unit/compiler/test_proc_call_removal.rb
245
+ - spec/unit/compiler/test_static_merger.rb
246
+ - spec/unit/compiler/test_strconcat_flattener.rb
247
+ - spec/unit/compiler/test_to_ruby_abstraction.rb
248
+ - spec/unit/compiler/test_to_ruby_code.rb
249
+ - spec/unit/dialect/test_compile.rb
250
+ - spec/unit/dialect/test_dispatching.rb
251
+ - spec/unit/dialect/test_evaluate.rb
252
+ - spec/unit/dialect/test_render.rb
253
+ - spec/unit/dialect/test_tags.rb
254
+ - spec/unit/dialect/test_with_scope.rb
255
+ - spec/unit/scope/test_binding_scope.rb
256
+ - spec/unit/scope/test_coerce.rb
257
+ - spec/unit/scope/test_object_scope.rb
258
+ - spec/unit/scope/test_proxy_scope.rb
259
+ - spec/unit/scope/test_root_scope.rb
260
+ - spec/unit/test_assumptions.rb
261
+ - spec/unit/test_scope.rb
233
262
  - tasks/debug_mail.rake
234
263
  - tasks/debug_mail.txt
235
264
  - tasks/gem.rake
236
- - tasks/genspec.rake
237
265
  - tasks/spec_test.rake
238
266
  - tasks/unit_test.rake
239
267
  - tasks/yard.rake
240
- - test/blackbox/basic/execution_1.exp
241
- - test/blackbox/basic/execution_1.tpl
242
- - test/blackbox/basic/execution_2.exp
243
- - test/blackbox/basic/execution_2.tpl
244
- - test/blackbox/basic/execution_3.exp
245
- - test/blackbox/basic/execution_3.tpl
246
- - test/blackbox/basic/execution_4.exp
247
- - test/blackbox/basic/execution_4.tpl
248
- - test/blackbox/basic/inclusion_1.exp
249
- - test/blackbox/basic/inclusion_1.tpl
250
- - test/blackbox/basic/inclusion_2.exp
251
- - test/blackbox/basic/inclusion_2.tpl
252
- - test/blackbox/basic/injection_1.exp
253
- - test/blackbox/basic/injection_1.tpl
254
- - test/blackbox/basic/injection_2.exp
255
- - test/blackbox/basic/injection_2.tpl
256
- - test/blackbox/basic/modulation_1.exp
257
- - test/blackbox/basic/modulation_1.tpl
258
- - test/blackbox/basic/modulation_2.exp
259
- - test/blackbox/basic/modulation_2.tpl
260
- - test/blackbox/basic/recursive_app_1.exp
261
- - test/blackbox/basic/recursive_app_1.tpl
262
- - test/blackbox/basic/recursive_app_2.exp
263
- - test/blackbox/basic/recursive_app_2.tpl
264
- - test/blackbox/buffering/data_1.rb
265
- - test/blackbox/buffering/data_assignment_1.exp
266
- - test/blackbox/buffering/data_assignment_1.tpl
267
- - test/blackbox/buffering/data_assignment_2.exp
268
- - test/blackbox/buffering/data_assignment_2.tpl
269
- - test/blackbox/buffering/data_assignment_3.exp
270
- - test/blackbox/buffering/data_assignment_3.tpl
271
- - test/blackbox/buffering/data_assignment_4.exp
272
- - test/blackbox/buffering/data_assignment_4.tpl
273
- - test/blackbox/buffering/input_1.exp
274
- - test/blackbox/buffering/input_1.tpl
275
- - test/blackbox/buffering/input_2.exp
276
- - test/blackbox/buffering/input_2.tpl
277
- - test/blackbox/buffering/input_3.exp
278
- - test/blackbox/buffering/input_3.tpl
279
- - test/blackbox/buffering/input_inclusion.exp
280
- - test/blackbox/buffering/input_inclusion.tpl
281
- - test/blackbox/buffering/input_inclusion_1.exp
282
- - test/blackbox/buffering/input_inclusion_1.tpl
283
- - test/blackbox/buffering/input_inclusion_2.exp
284
- - test/blackbox/buffering/input_inclusion_2.tpl
285
- - test/blackbox/buffering/input_inclusion_3.exp
286
- - test/blackbox/buffering/input_inclusion_3.tpl
287
- - test/blackbox/buffering/input_inclusion_4.exp
288
- - test/blackbox/buffering/input_inclusion_4.tpl
289
- - test/blackbox/buffering/input_inclusion_5.exp
290
- - test/blackbox/buffering/input_inclusion_5.tpl
291
- - test/blackbox/buffering/input_inclusion_6.exp
292
- - test/blackbox/buffering/input_inclusion_6.tpl
293
- - test/blackbox/buffering/input_inclusion_7.exp
294
- - test/blackbox/buffering/input_inclusion_7.tpl
295
- - test/blackbox/buffering/text_1.txt
296
- - test/blackbox/buffering/wlang.txt
297
- - test/blackbox/context/assignment_1.exp
298
- - test/blackbox/context/assignment_1.tpl
299
- - test/blackbox/context/assignment_2.exp
300
- - test/blackbox/context/assignment_2.tpl
301
- - test/blackbox/context/assignment_3.exp
302
- - test/blackbox/context/assignment_3.tpl
303
- - test/blackbox/context/assignment_4.exp
304
- - test/blackbox/context/assignment_4.tpl
305
- - test/blackbox/context/block_assignment_1.exp
306
- - test/blackbox/context/block_assignment_1.tpl
307
- - test/blackbox/context/block_assignment_2.exp
308
- - test/blackbox/context/block_assignment_2.tpl
309
- - test/blackbox/context/modulo_assignment_1.exp
310
- - test/blackbox/context/modulo_assignment_1.tpl
311
- - test/blackbox/context/modulo_assignment_2.exp
312
- - test/blackbox/context/modulo_assignment_2.tpl
313
- - test/blackbox/data_1.rb
314
- - test/blackbox/postblock/hello.exp
315
- - test/blackbox/postblock/hello.pre
316
- - test/blackbox/postblock/hello.tpl
317
- - test/blackbox/postblock/hello_input_inclusion.exp
318
- - test/blackbox/postblock/hello_input_inclusion.tpl
319
- - test/blackbox/postblock/hello_to_authors.exp
320
- - test/blackbox/postblock/hello_to_authors.tpl
321
- - test/blackbox/poststring/hello.exp
322
- - test/blackbox/poststring/hello.tpl
323
- - test/blackbox/test_all.rb
324
- - test/standard_dialects/ruby/data.rb
325
- - test/standard_dialects/ruby/inclusion.exp
326
- - test/standard_dialects/ruby/inclusion.tpl
327
- - test/standard_dialects/test_all.rb
328
- - test/standard_dialects/yaml/assumptions_test.rb
329
- - test/standard_dialects/yaml/data.rb
330
- - test/standard_dialects/yaml/inclusion_1.exp
331
- - test/standard_dialects/yaml/inclusion_1.tpl
332
- - test/standard_dialects/yaml/inclusion_2.exp
333
- - test/standard_dialects/yaml/inclusion_2.tpl
334
- - test/unit/test_all.rb
335
- - test/unit/wlang/anagram_bugs_test.rb
336
- - test/unit/wlang/basic_ruleset_test.rb
337
- - test/unit/wlang/buffering_ruleset_test.rb
338
- - test/unit/wlang/buffering_template1.wtpl
339
- - test/unit/wlang/buffering_template2.wtpl
340
- - test/unit/wlang/buffering_template3.wtpl
341
- - test/unit/wlang/buffering_template4.wtpl
342
- - test/unit/wlang/buffering_template5.wtpl
343
- - test/unit/wlang/context_ruleset_test.rb
344
- - test/unit/wlang/data.rb
345
- - test/unit/wlang/encoder_set_test.rb
346
- - test/unit/wlang/imperative_ruleset_test.rb
347
- - test/unit/wlang/intelligent_buffer_test.rb
348
- - test/unit/wlang/othersymbols_test.rb
349
- - test/unit/wlang/parser_test.rb
350
- - test/unit/wlang/plain_text_dialect_test.rb
351
- - test/unit/wlang/ruby_dialect_test.rb
352
- - test/unit/wlang/ruby_expected.rb
353
- - test/unit/wlang/ruby_template.wrb
354
- - test/unit/wlang/ruleset_utils_test.rb
355
- - test/unit/wlang/specification_examples_test.rb
356
- - test/unit/wlang/test_utils.rb
357
- - test/unit/wlang/wlang_test.rb
358
- - wlang.gemspec
359
- - wlang.noespec
360
- has_rdoc: true
361
268
  homepage: http://github.com/blambeau/wlang
362
269
  licenses: []
363
-
364
270
  post_install_message:
365
271
  rdoc_options: []
366
-
367
- require_paths:
272
+ require_paths:
368
273
  - lib
369
- required_ruby_version: !ruby/object:Gem::Requirement
274
+ required_ruby_version: !ruby/object:Gem::Requirement
370
275
  none: false
371
- requirements:
372
- - - ">="
373
- - !ruby/object:Gem::Version
374
- hash: 3
375
- segments:
376
- - 0
377
- version: "0"
378
- required_rubygems_version: !ruby/object:Gem::Requirement
276
+ requirements:
277
+ - - ! '>='
278
+ - !ruby/object:Gem::Version
279
+ version: '0'
280
+ required_rubygems_version: !ruby/object:Gem::Requirement
379
281
  none: false
380
- requirements:
381
- - - ">="
382
- - !ruby/object:Gem::Version
383
- hash: 3
384
- segments:
385
- - 0
386
- version: "0"
282
+ requirements:
283
+ - - ! '>'
284
+ - !ruby/object:Gem::Version
285
+ version: 1.3.1
387
286
  requirements: []
388
-
389
287
  rubyforge_project:
390
- rubygems_version: 1.5.0
288
+ rubygems_version: 1.8.10
391
289
  signing_key:
392
290
  specification_version: 3
393
291
  summary: WLang is a powerful code generation and templating engine
394
- test_files:
395
- - test/blackbox/basic/execution_1.exp
396
- - test/blackbox/basic/execution_1.tpl
397
- - test/blackbox/basic/execution_2.exp
398
- - test/blackbox/basic/execution_2.tpl
399
- - test/blackbox/basic/execution_3.exp
400
- - test/blackbox/basic/execution_3.tpl
401
- - test/blackbox/basic/execution_4.exp
402
- - test/blackbox/basic/execution_4.tpl
403
- - test/blackbox/basic/inclusion_1.exp
404
- - test/blackbox/basic/inclusion_1.tpl
405
- - test/blackbox/basic/inclusion_2.exp
406
- - test/blackbox/basic/inclusion_2.tpl
407
- - test/blackbox/basic/injection_1.exp
408
- - test/blackbox/basic/injection_1.tpl
409
- - test/blackbox/basic/injection_2.exp
410
- - test/blackbox/basic/injection_2.tpl
411
- - test/blackbox/basic/modulation_1.exp
412
- - test/blackbox/basic/modulation_1.tpl
413
- - test/blackbox/basic/modulation_2.exp
414
- - test/blackbox/basic/modulation_2.tpl
415
- - test/blackbox/basic/recursive_app_1.exp
416
- - test/blackbox/basic/recursive_app_1.tpl
417
- - test/blackbox/basic/recursive_app_2.exp
418
- - test/blackbox/basic/recursive_app_2.tpl
419
- - test/blackbox/buffering/data_1.rb
420
- - test/blackbox/buffering/data_assignment_1.exp
421
- - test/blackbox/buffering/data_assignment_1.tpl
422
- - test/blackbox/buffering/data_assignment_2.exp
423
- - test/blackbox/buffering/data_assignment_2.tpl
424
- - test/blackbox/buffering/data_assignment_3.exp
425
- - test/blackbox/buffering/data_assignment_3.tpl
426
- - test/blackbox/buffering/data_assignment_4.exp
427
- - test/blackbox/buffering/data_assignment_4.tpl
428
- - test/blackbox/buffering/input_1.exp
429
- - test/blackbox/buffering/input_1.tpl
430
- - test/blackbox/buffering/input_2.exp
431
- - test/blackbox/buffering/input_2.tpl
432
- - test/blackbox/buffering/input_3.exp
433
- - test/blackbox/buffering/input_3.tpl
434
- - test/blackbox/buffering/input_inclusion.exp
435
- - test/blackbox/buffering/input_inclusion.tpl
436
- - test/blackbox/buffering/input_inclusion_1.exp
437
- - test/blackbox/buffering/input_inclusion_1.tpl
438
- - test/blackbox/buffering/input_inclusion_2.exp
439
- - test/blackbox/buffering/input_inclusion_2.tpl
440
- - test/blackbox/buffering/input_inclusion_3.exp
441
- - test/blackbox/buffering/input_inclusion_3.tpl
442
- - test/blackbox/buffering/input_inclusion_4.exp
443
- - test/blackbox/buffering/input_inclusion_4.tpl
444
- - test/blackbox/buffering/input_inclusion_5.exp
445
- - test/blackbox/buffering/input_inclusion_5.tpl
446
- - test/blackbox/buffering/input_inclusion_6.exp
447
- - test/blackbox/buffering/input_inclusion_6.tpl
448
- - test/blackbox/buffering/input_inclusion_7.exp
449
- - test/blackbox/buffering/input_inclusion_7.tpl
450
- - test/blackbox/buffering/text_1.txt
451
- - test/blackbox/buffering/wlang.txt
452
- - test/blackbox/context/assignment_1.exp
453
- - test/blackbox/context/assignment_1.tpl
454
- - test/blackbox/context/assignment_2.exp
455
- - test/blackbox/context/assignment_2.tpl
456
- - test/blackbox/context/assignment_3.exp
457
- - test/blackbox/context/assignment_3.tpl
458
- - test/blackbox/context/assignment_4.exp
459
- - test/blackbox/context/assignment_4.tpl
460
- - test/blackbox/context/block_assignment_1.exp
461
- - test/blackbox/context/block_assignment_1.tpl
462
- - test/blackbox/context/block_assignment_2.exp
463
- - test/blackbox/context/block_assignment_2.tpl
464
- - test/blackbox/context/modulo_assignment_1.exp
465
- - test/blackbox/context/modulo_assignment_1.tpl
466
- - test/blackbox/context/modulo_assignment_2.exp
467
- - test/blackbox/context/modulo_assignment_2.tpl
468
- - test/blackbox/data_1.rb
469
- - test/blackbox/postblock/hello.exp
470
- - test/blackbox/postblock/hello.pre
471
- - test/blackbox/postblock/hello.tpl
472
- - test/blackbox/postblock/hello_input_inclusion.exp
473
- - test/blackbox/postblock/hello_input_inclusion.tpl
474
- - test/blackbox/postblock/hello_to_authors.exp
475
- - test/blackbox/postblock/hello_to_authors.tpl
476
- - test/blackbox/poststring/hello.exp
477
- - test/blackbox/poststring/hello.tpl
478
- - test/blackbox/test_all.rb
479
- - test/standard_dialects/ruby/data.rb
480
- - test/standard_dialects/ruby/inclusion.exp
481
- - test/standard_dialects/ruby/inclusion.tpl
482
- - test/standard_dialects/test_all.rb
483
- - test/standard_dialects/yaml/assumptions_test.rb
484
- - test/standard_dialects/yaml/data.rb
485
- - test/standard_dialects/yaml/inclusion_1.exp
486
- - test/standard_dialects/yaml/inclusion_1.tpl
487
- - test/standard_dialects/yaml/inclusion_2.exp
488
- - test/standard_dialects/yaml/inclusion_2.tpl
489
- - test/unit/test_all.rb
490
- - test/unit/wlang/anagram_bugs_test.rb
491
- - test/unit/wlang/basic_ruleset_test.rb
492
- - test/unit/wlang/buffering_ruleset_test.rb
493
- - test/unit/wlang/buffering_template1.wtpl
494
- - test/unit/wlang/buffering_template2.wtpl
495
- - test/unit/wlang/buffering_template3.wtpl
496
- - test/unit/wlang/buffering_template4.wtpl
497
- - test/unit/wlang/buffering_template5.wtpl
498
- - test/unit/wlang/context_ruleset_test.rb
499
- - test/unit/wlang/data.rb
500
- - test/unit/wlang/encoder_set_test.rb
501
- - test/unit/wlang/imperative_ruleset_test.rb
502
- - test/unit/wlang/intelligent_buffer_test.rb
503
- - test/unit/wlang/othersymbols_test.rb
504
- - test/unit/wlang/parser_test.rb
505
- - test/unit/wlang/plain_text_dialect_test.rb
506
- - test/unit/wlang/ruby_dialect_test.rb
507
- - test/unit/wlang/ruby_expected.rb
508
- - test/unit/wlang/ruby_template.wrb
509
- - test/unit/wlang/ruleset_utils_test.rb
510
- - test/unit/wlang/specification_examples_test.rb
511
- - test/unit/wlang/test_utils.rb
512
- - test/unit/wlang/wlang_test.rb
513
- - spec/basic_object.spec
514
- - spec/coderay_dialect.spec
515
- - spec/dialect/apply_post_transform.spec
516
- - spec/global_extensions.rb
517
- - spec/hash_scope.spec
518
- - spec/redcloth_dialect.spec
292
+ test_files:
293
+ - spec/fixtures/dialect/foobar.rb
294
+ - spec/fixtures/dialect/upcasing.rb
295
+ - spec/fixtures/templates/hello.tpl
296
+ - spec/integration/examples/1-basics.txt
297
+ - spec/integration/examples/2-imperative.txt
298
+ - spec/integration/examples/3-partials.txt
299
+ - spec/integration/examples/4-recursion.txt
300
+ - spec/integration/html/test_ampersand.rb
301
+ - spec/integration/html/test_bang.rb
302
+ - spec/integration/html/test_caret.rb
303
+ - spec/integration/html/test_dollar.rb
304
+ - spec/integration/html/test_greater.rb
305
+ - spec/integration/html/test_modulo.rb
306
+ - spec/integration/html/test_plus.rb
307
+ - spec/integration/html/test_question.rb
308
+ - spec/integration/html/test_sharp.rb
309
+ - spec/integration/html/test_slash.rb
310
+ - spec/integration/html/test_star.rb
311
+ - spec/integration/test_dummy.rb
312
+ - spec/integration/test_examples.rb
313
+ - spec/integration/test_mustang.rb
314
+ - spec/integration/test_readme.rb
315
+ - spec/integration/test_upcasing.rb
519
316
  - spec/spec_helper.rb
520
- - spec/test_all.rb
521
- - spec/wlang.spec
522
- - spec/wlang_spec.rb
523
- - spec/xhtml_dialect.spec
317
+ - spec/test_wlang.rb
318
+ - spec/unit/compiler/autospacing/test_right_strip.rb
319
+ - spec/unit/compiler/autospacing/test_unindent.rb
320
+ - spec/unit/compiler/test_dialect_enforcer.rb
321
+ - spec/unit/compiler/test_grammar.rb
322
+ - spec/unit/compiler/test_parser.rb
323
+ - spec/unit/compiler/test_proc_call_removal.rb
324
+ - spec/unit/compiler/test_static_merger.rb
325
+ - spec/unit/compiler/test_strconcat_flattener.rb
326
+ - spec/unit/compiler/test_to_ruby_abstraction.rb
327
+ - spec/unit/compiler/test_to_ruby_code.rb
328
+ - spec/unit/dialect/test_compile.rb
329
+ - spec/unit/dialect/test_dispatching.rb
330
+ - spec/unit/dialect/test_evaluate.rb
331
+ - spec/unit/dialect/test_render.rb
332
+ - spec/unit/dialect/test_tags.rb
333
+ - spec/unit/dialect/test_with_scope.rb
334
+ - spec/unit/scope/test_binding_scope.rb
335
+ - spec/unit/scope/test_coerce.rb
336
+ - spec/unit/scope/test_object_scope.rb
337
+ - spec/unit/scope/test_proxy_scope.rb
338
+ - spec/unit/scope/test_root_scope.rb
339
+ - spec/unit/test_assumptions.rb
340
+ - spec/unit/test_scope.rb