wlang 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
data/tasks/yard.rake ADDED
@@ -0,0 +1,51 @@
1
+ # Installs a rake task to generate API documentation using yard.
2
+ #
3
+ # This file installs the 'rake yard' task. It is automatically generated by Noe from
4
+ # your .noespec file, and should therefore be configured there, under the
5
+ # variables/rake_tasks/yard entry, as illustrated below:
6
+ #
7
+ # variables:
8
+ # rake_tasks:
9
+ # yard:
10
+ # files: lib/**/*.rb
11
+ # options: []
12
+ # ...
13
+ #
14
+ # If you have specific needs requiring manual intervention on this file,
15
+ # don't forget to set safe-override to false in your noe specification:
16
+ #
17
+ # template-info:
18
+ # manifest:
19
+ # tasks/yard.rake:
20
+ # safe-override: false
21
+ #
22
+ # This file has been written to conform to yard v0.6.4. More information about
23
+ # yard and the rake task installed below can be found on http://yardoc.org/
24
+ #
25
+ begin
26
+ require "yard"
27
+ desc "Generate yard documentation"
28
+ YARD::Rake::YardocTask.new(:yard) do |t|
29
+ # Array of options passed to yardoc commandline. See 'yardoc --help' about this
30
+ t.options = ["--output-dir", "doc/api", "-", "README.md", "CHANGELOG.md", "LICENCE.md"]
31
+
32
+ # Array of ruby source files (and any extra documentation files
33
+ # separated by '-')
34
+ t.files = ["lib/**/*.rb"]
35
+
36
+ # A proc to call before running the task
37
+ # t.before = proc{ }
38
+
39
+ # A proc to call after running the task
40
+ # r.after = proc{ }
41
+
42
+ # An optional lambda to run against all objects being generated.
43
+ # Any object that the lambda returns false for will be excluded
44
+ # from documentation.
45
+ # t.verifier = lambda{|obj| true}
46
+ end
47
+ rescue LoadError
48
+ task :yard do
49
+ abort 'yard is not available. In order to run yard, you must: gem install yard'
50
+ end
51
+ end
data/wlang.gemspec ADDED
@@ -0,0 +1,193 @@
1
+ # We require your library, mainly to have access to the VERSION number.
2
+ # Feel free to set $version manually.
3
+ $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
4
+ require "wlang"
5
+ $version = WLang::VERSION.dup
6
+
7
+ #
8
+ # This is your Gem specification. Default values are provided so that your library
9
+ # should be correctly packaged given what you have described in the .noespec file.
10
+ #
11
+ Gem::Specification.new do |s|
12
+
13
+ ################################################################### ABOUT YOUR GEM
14
+
15
+ # Gem name (required)
16
+ s.name = "wlang"
17
+
18
+ # Gem version (required)
19
+ s.version = $version
20
+
21
+ # A short summary of this gem
22
+ #
23
+ # This is displayed in `gem list -d`.
24
+ s.summary = "WLang is a powerful code generation and templating engine"
25
+
26
+ # A long description of this gem (required)
27
+ #
28
+ # The description should be more detailed than the summary. For example,
29
+ # you might wish to copy the entire README into the description.
30
+ s.description = "WLang is a general-purpose *code generation*/*templating engine*. It's main aim is to help you generating\nweb pages, sql queries, ruby code (that is, generating code in general) without having to worry too much \nabout html entities encoding, sql back quoting, string escaping and the like. WLang proposes a generic \nengine that you can extend to fit your needs. It also proposes standard instantiations of this engine \nfor common tasks such as creating SQL queries, instantiating web pages, and so on."
31
+
32
+ # The URL of this gem home page (optional)
33
+ s.homepage = "http://github.com/blambeau/wlang"
34
+
35
+ # Gem publication date (required but auto)
36
+ #
37
+ # Today is automatically used by default, uncomment only if
38
+ # you know what you do!
39
+ #
40
+ # s.date = Time.now.strftime('%Y-%m-%d')
41
+
42
+ # The license(s) for the library. Each license must be a short name, no
43
+ # more than 64 characters.
44
+ #
45
+ # s.licences = %w{}
46
+
47
+ # The rubyforge project this gem lives under (optional)
48
+ #
49
+ # s.rubyforge_project = nil
50
+
51
+ ################################################################### ABOUT THE AUTHORS
52
+
53
+ # The list of author names who wrote this gem.
54
+ #
55
+ # If you are providing multiple authors and multiple emails they should be
56
+ # in the same order.
57
+ #
58
+ s.authors = ["Bernard Lambeau", "Louis Lambeau"]
59
+
60
+ # Contact emails for this gem
61
+ #
62
+ # If you are providing multiple authors and multiple emails they should be
63
+ # in the same order.
64
+ #
65
+ # NOTE: Somewhat strangly this attribute is always singular!
66
+ # Don't replace by s.emails = ...
67
+ s.email = ["blambeau@gmail.com", "llambeau@gmail.com"]
68
+
69
+ ################################################################### PATHS, FILES, BINARIES
70
+
71
+ # Paths in the gem to add to $LOAD_PATH when this gem is
72
+ # activated (required).
73
+ #
74
+ # The default 'lib' is typically sufficient.
75
+ s.require_paths = ["lib"]
76
+
77
+ # Files included in this gem.
78
+ #
79
+ # By default, we take all files included in the Manifest.txt file on root
80
+ # of the project. Entries of the manifest are interpreted as Dir[...]
81
+ # patterns so that lazy people may use wilcards like lib/**/*
82
+ #
83
+ here = File.dirname(__FILE__)
84
+ s.files = File.readlines(File.join(here, 'Manifest.txt')).
85
+ inject([]){|files, pattern|
86
+ files + Dir[File.join(here, pattern.strip)]
87
+ }
88
+
89
+ # Test files included in this gem.
90
+ #
91
+ s.test_files = Dir["test/**/*"] + Dir["spec/**/*"]
92
+
93
+ # The path in the gem for executable scripts (optional)
94
+ #
95
+ s.bindir = "bin"
96
+
97
+ # Executables included in the gem.
98
+ #
99
+ s.executables = (Dir["bin/*"]).collect{|f| File.basename(f)}
100
+
101
+ ################################################################### REQUIREMENTS & INSTALL
102
+ # Remember the gem version requirements operators and schemes:
103
+ # = Equals version
104
+ # != Not equal to version
105
+ # > Greater than version
106
+ # < Less than version
107
+ # >= Greater than or equal to
108
+ # <= Less than or equal to
109
+ # ~> Approximately greater than
110
+ #
111
+ # Don't forget to have a look at http://lmgtfy.com/?q=Ruby+Versioning+Policies
112
+ # for setting your gem version.
113
+ #
114
+ # For your requirements to other gems, remember that
115
+ # ">= 2.2.0" (optimistic: specify minimal version)
116
+ # ">= 2.2.0", "< 3.0" (pessimistic: not greater than the next major)
117
+ # "~> 2.2" (shortcut for ">= 2.2.0", "< 3.0")
118
+ # "~> 2.2.0" (shortcut for ">= 2.2.0", "< 2.3.0")
119
+ #
120
+
121
+ #
122
+ # One call to add_dependency('gem_name', 'gem version requirement') for each
123
+ # runtime dependency. These gems will be installed with your gem.
124
+ # One call to add_development_dependency('gem_name', 'gem version requirement')
125
+ # for each development dependency. These gems are required for developers
126
+ #
127
+ s.add_development_dependency("rake", "~> 0.8.7")
128
+ s.add_development_dependency("bundler", "~> 1.0")
129
+ s.add_development_dependency("rspec", "~> 2.4.0")
130
+ s.add_development_dependency("yard", "~> 0.6.4")
131
+ s.add_development_dependency("bluecloth", "~> 2.0.9")
132
+ s.add_development_dependency("rdoc", ">= 0")
133
+ s.add_development_dependency("coderay", ">= 0")
134
+ s.add_development_dependency("RedCloth", ">= 0")
135
+
136
+
137
+ # The version of ruby required by this gem
138
+ #
139
+ # Uncomment and set this if your gem requires specific ruby versions.
140
+ #
141
+ # s.required_ruby_version = ">= 0"
142
+
143
+ # The RubyGems version required by this gem
144
+ #
145
+ # s.required_rubygems_version = ">= 0"
146
+
147
+ # The platform this gem runs on. See Gem::Platform for details.
148
+ #
149
+ # s.platform = nil
150
+
151
+ # Extensions to build when installing the gem.
152
+ #
153
+ # Valid types of extensions are extconf.rb files, configure scripts
154
+ # and rakefiles or mkrf_conf files.
155
+ #
156
+ s.extensions = []
157
+
158
+ # External (to RubyGems) requirements that must be met for this gem to work.
159
+ # It’s simply information for the user.
160
+ #
161
+ s.requirements = nil
162
+
163
+ # A message that gets displayed after the gem is installed
164
+ #
165
+ # Uncomment and set this if you want to say something to the user
166
+ # after gem installation
167
+ #
168
+ s.post_install_message = nil
169
+
170
+ ################################################################### SECURITY
171
+
172
+ # The key used to sign this gem. See Gem::Security for details.
173
+ #
174
+ # s.signing_key = nil
175
+
176
+ # The certificate chain used to sign this gem. See Gem::Security for
177
+ # details.
178
+ #
179
+ # s.cert_chain = []
180
+
181
+ ################################################################### RDOC
182
+
183
+ # An ARGV style array of options to RDoc
184
+ #
185
+ # See 'rdoc --help' about this
186
+ #
187
+ s.rdoc_options = []
188
+
189
+ # Extra files to add to RDoc such as README
190
+ #
191
+ s.extra_rdoc_files = Dir["README.md"] + Dir["CHANGELOG.md"] + Dir["LICENCE.md"]
192
+
193
+ end
data/wlang.noespec ADDED
@@ -0,0 +1,54 @@
1
+ # Noe template for ruby gem libraries (https://github.com/blambeau/noe) - short version
2
+ # Run 'noe show-spec' and 'noe help show-spec' for additional details.
3
+
4
+ # Don't remove this entry!
5
+ template-info:
6
+ name: "ruby"
7
+ version: 1.1.0
8
+
9
+ # Update to match your own configuration.
10
+ variables:
11
+ lower:
12
+ wlang
13
+ upper:
14
+ WLang
15
+ version:
16
+ 0.10.1
17
+ summary: |-
18
+ WLang is a powerful code generation and templating engine
19
+ description: |-
20
+ WLang is a general-purpose *code generation*/*templating engine*. It's main aim is to help you generating
21
+ web pages, sql queries, ruby code (that is, generating code in general) without having to worry too much
22
+ about html entities encoding, sql back quoting, string escaping and the like. WLang proposes a generic
23
+ engine that you can extend to fit your needs. It also proposes standard instantiations of this engine
24
+ for common tasks such as creating SQL queries, instantiating web pages, and so on.
25
+ authors:
26
+ - {name: Bernard Lambeau, email: blambeau@gmail.com}
27
+ - {name: Louis Lambeau, email: llambeau@gmail.com}
28
+ links:
29
+ - http://github.com/blambeau/wlang
30
+ - http://rubygems.org/gems/wlang
31
+ - http://blambeau.github.com/wlang
32
+ - http://revision-zero.org/wlang
33
+ dependencies:
34
+ - {name: rake, version: "~> 0.8.7", groups: [development]}
35
+ - {name: bundler, version: "~> 1.0", groups: [development]}
36
+ - {name: rspec, version: "~> 2.4.0", groups: [development]}
37
+ - {name: yard, version: "~> 0.6.4", groups: [development]}
38
+ - {name: bluecloth, version: "~> 2.0.9", groups: [development]}
39
+ #
40
+ - {name: rdoc, version: ">= 0", groups: [development]}
41
+ - {name: coderay, version: ">= 0", groups: [development]}
42
+ - {name: RedCloth, version: ">= 0", groups: [development]}
43
+ rake_tasks:
44
+ debug_mail:
45
+ nb_changelog_sections: 2
46
+ spec_test:
47
+ pattern: 'spec/*.spec'
48
+ unit_test:
49
+ pattern:
50
+ test_files:
51
+ - test/unit/test_all.rb
52
+ - test/blackbox/test_all.rb
53
+ - test/standard_dialects/test_all.rb
54
+ - test/standard_dialects/**/*_test.rb
metadata CHANGED
@@ -1,70 +1,358 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wlang
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
5
- prerelease: false
4
+ hash: 53
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
- - 0
10
- version: 0.10.0
9
+ - 1
10
+ version: 0.10.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bernard Lambeau
14
+ - Louis Lambeau
14
15
  autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2011-01-15 00:00:00 +01:00
19
+ date: 2011-01-17 00:00:00 +01:00
19
20
  default_executable:
20
- dependencies: []
21
-
22
- description: Simple and powerful code generator and template engine.
23
- email: blambeau@gmail.com
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ prerelease: false
24
+ name: rake
25
+ type: :development
26
+ version_requirements: &id001 !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ~>
30
+ - !ruby/object:Gem::Version
31
+ hash: 49
32
+ segments:
33
+ - 0
34
+ - 8
35
+ - 7
36
+ version: 0.8.7
37
+ requirement: *id001
38
+ - !ruby/object:Gem::Dependency
39
+ prerelease: false
40
+ name: bundler
41
+ type: :development
42
+ version_requirements: &id002 !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ hash: 15
48
+ segments:
49
+ - 1
50
+ - 0
51
+ version: "1.0"
52
+ requirement: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ prerelease: false
55
+ name: rspec
56
+ type: :development
57
+ version_requirements: &id003 !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ hash: 31
63
+ segments:
64
+ - 2
65
+ - 4
66
+ - 0
67
+ version: 2.4.0
68
+ requirement: *id003
69
+ - !ruby/object:Gem::Dependency
70
+ prerelease: false
71
+ name: yard
72
+ type: :development
73
+ version_requirements: &id004 !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ~>
77
+ - !ruby/object:Gem::Version
78
+ hash: 15
79
+ segments:
80
+ - 0
81
+ - 6
82
+ - 4
83
+ version: 0.6.4
84
+ requirement: *id004
85
+ - !ruby/object:Gem::Dependency
86
+ prerelease: false
87
+ name: bluecloth
88
+ type: :development
89
+ version_requirements: &id005 !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ~>
93
+ - !ruby/object:Gem::Version
94
+ hash: 29
95
+ segments:
96
+ - 2
97
+ - 0
98
+ - 9
99
+ version: 2.0.9
100
+ requirement: *id005
101
+ - !ruby/object:Gem::Dependency
102
+ prerelease: false
103
+ name: rdoc
104
+ type: :development
105
+ version_requirements: &id006 !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ hash: 3
111
+ segments:
112
+ - 0
113
+ version: "0"
114
+ requirement: *id006
115
+ - !ruby/object:Gem::Dependency
116
+ prerelease: false
117
+ name: coderay
118
+ type: :development
119
+ version_requirements: &id007 !ruby/object:Gem::Requirement
120
+ none: false
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ hash: 3
125
+ segments:
126
+ - 0
127
+ version: "0"
128
+ requirement: *id007
129
+ - !ruby/object:Gem::Dependency
130
+ prerelease: false
131
+ name: RedCloth
132
+ type: :development
133
+ version_requirements: &id008 !ruby/object:Gem::Requirement
134
+ none: false
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ hash: 3
139
+ segments:
140
+ - 0
141
+ version: "0"
142
+ requirement: *id008
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:
150
+ - blambeau@gmail.com
151
+ - llambeau@gmail.com
24
152
  executables:
25
153
  - wlang
26
154
  extensions: []
27
155
 
28
156
  extra_rdoc_files:
29
157
  - README.md
30
- - LICENCE.md
31
158
  - CHANGELOG.md
159
+ - LICENCE.md
32
160
  files:
33
- - lib/wlang/dialect.rb
34
- - lib/wlang/dialect_dsl.rb
35
- - lib/wlang/dialect_loader.rb
36
- - lib/wlang/dialects/coderay_dialect.rb
37
- - lib/wlang/dialects/hosted_dialect.rb
38
- - lib/wlang/dialects/plain_text_dialect.rb
39
- - lib/wlang/dialects/rdoc_dialect.rb
40
- - lib/wlang/dialects/redcloth_dialect.rb
41
- - lib/wlang/dialects/ruby_dialect.rb
42
- - lib/wlang/dialects/sql_dialect.rb
43
- - lib/wlang/dialects/standard_dialects.rb
44
- - lib/wlang/dialects/xhtml_dialect.rb
45
- - lib/wlang/dialects/yaml_dialect.rb
46
- - lib/wlang/encoder.rb
47
- - lib/wlang/encoder_set.rb
48
- - lib/wlang/errors.rb
49
- - lib/wlang/ext/hash_methodize.rb
50
- - lib/wlang/ext/string.rb
51
- - lib/wlang/hash_scope.rb
52
- - lib/wlang/hosted_language.rb
53
- - lib/wlang/intelligent_buffer.rb
54
- - lib/wlang/parser.rb
55
- - lib/wlang/parser_state.rb
56
- - lib/wlang/rule.rb
57
- - lib/wlang/rule_set.rb
58
- - lib/wlang/rulesets/basic_ruleset.rb
59
- - lib/wlang/rulesets/buffering_ruleset.rb
60
- - lib/wlang/rulesets/context_ruleset.rb
61
- - lib/wlang/rulesets/encoding_ruleset.rb
62
- - lib/wlang/rulesets/imperative_ruleset.rb
63
- - lib/wlang/rulesets/ruleset_utils.rb
64
- - lib/wlang/template.rb
65
- - lib/wlang/wlang_command.rb
66
- - lib/wlang/wlang_command_options.rb
67
- - lib/wlang.rb
161
+ - ./bin/wlang
162
+ - ./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
+ - ./Gemfile
179
+ - ./Gemfile.lock
180
+ - ./lib/wlang/dialect.rb
181
+ - ./lib/wlang/dialect_dsl.rb
182
+ - ./lib/wlang/dialect_loader.rb
183
+ - ./lib/wlang/dialects/coderay_dialect.rb
184
+ - ./lib/wlang/dialects/hosted_dialect.rb
185
+ - ./lib/wlang/dialects/plain_text_dialect.rb
186
+ - ./lib/wlang/dialects/rdoc_dialect.rb
187
+ - ./lib/wlang/dialects/redcloth_dialect.rb
188
+ - ./lib/wlang/dialects/ruby_dialect.rb
189
+ - ./lib/wlang/dialects/sql_dialect.rb
190
+ - ./lib/wlang/dialects/standard_dialects.rb
191
+ - ./lib/wlang/dialects/xhtml_dialect.rb
192
+ - ./lib/wlang/dialects/yaml_dialect.rb
193
+ - ./lib/wlang/encoder.rb
194
+ - ./lib/wlang/encoder_set.rb
195
+ - ./lib/wlang/errors.rb
196
+ - ./lib/wlang/ext/hash_methodize.rb
197
+ - ./lib/wlang/ext/string.rb
198
+ - ./lib/wlang/hash_scope.rb
199
+ - ./lib/wlang/hosted_language.rb
200
+ - ./lib/wlang/intelligent_buffer.rb
201
+ - ./lib/wlang/loader.rb
202
+ - ./lib/wlang/parser.rb
203
+ - ./lib/wlang/parser_state.rb
204
+ - ./lib/wlang/rule.rb
205
+ - ./lib/wlang/rule_set.rb
206
+ - ./lib/wlang/rulesets/basic_ruleset.rb
207
+ - ./lib/wlang/rulesets/buffering_ruleset.rb
208
+ - ./lib/wlang/rulesets/context_ruleset.rb
209
+ - ./lib/wlang/rulesets/encoding_ruleset.rb
210
+ - ./lib/wlang/rulesets/imperative_ruleset.rb
211
+ - ./lib/wlang/rulesets/ruleset_utils.rb
212
+ - ./lib/wlang/template.rb
213
+ - ./lib/wlang/wlang_command.rb
214
+ - ./lib/wlang/wlang_command_options.rb
215
+ - ./lib/wlang.rb
216
+ - ./LICENCE.md
217
+ - ./Manifest.txt
218
+ - ./Rakefile
219
+ - ./README.md
220
+ - ./spec/basic_object.spec
221
+ - ./spec/coderay_dialect.spec
222
+ - ./spec/dialect/apply_post_transform.spec
223
+ - ./spec/global_extensions.rb
224
+ - ./spec/hash_scope.spec
225
+ - ./spec/redcloth_dialect.spec
226
+ - ./spec/spec_helper.rb
227
+ - ./spec/test_all.rb
228
+ - ./spec/wlang.spec
229
+ - ./spec/wlang_spec.rb
230
+ - ./spec/xhtml_dialect.spec
231
+ - ./tasks/debug_mail.rake
232
+ - ./tasks/debug_mail.txt
233
+ - ./tasks/gem.rake
234
+ - ./tasks/genspec.rake
235
+ - ./tasks/spec_test.rake
236
+ - ./tasks/unit_test.rake
237
+ - ./tasks/yard.rake
238
+ - ./test/blackbox/basic/execution_1.exp
239
+ - ./test/blackbox/basic/execution_1.tpl
240
+ - ./test/blackbox/basic/execution_2.exp
241
+ - ./test/blackbox/basic/execution_2.tpl
242
+ - ./test/blackbox/basic/execution_3.exp
243
+ - ./test/blackbox/basic/execution_3.tpl
244
+ - ./test/blackbox/basic/execution_4.exp
245
+ - ./test/blackbox/basic/execution_4.tpl
246
+ - ./test/blackbox/basic/inclusion_1.exp
247
+ - ./test/blackbox/basic/inclusion_1.tpl
248
+ - ./test/blackbox/basic/inclusion_2.exp
249
+ - ./test/blackbox/basic/inclusion_2.tpl
250
+ - ./test/blackbox/basic/injection_1.exp
251
+ - ./test/blackbox/basic/injection_1.tpl
252
+ - ./test/blackbox/basic/injection_2.exp
253
+ - ./test/blackbox/basic/injection_2.tpl
254
+ - ./test/blackbox/basic/modulation_1.exp
255
+ - ./test/blackbox/basic/modulation_1.tpl
256
+ - ./test/blackbox/basic/modulation_2.exp
257
+ - ./test/blackbox/basic/modulation_2.tpl
258
+ - ./test/blackbox/basic/recursive_app_1.exp
259
+ - ./test/blackbox/basic/recursive_app_1.tpl
260
+ - ./test/blackbox/basic/recursive_app_2.exp
261
+ - ./test/blackbox/basic/recursive_app_2.tpl
262
+ - ./test/blackbox/buffering/data_1.rb
263
+ - ./test/blackbox/buffering/data_assignment_1.exp
264
+ - ./test/blackbox/buffering/data_assignment_1.tpl
265
+ - ./test/blackbox/buffering/data_assignment_2.exp
266
+ - ./test/blackbox/buffering/data_assignment_2.tpl
267
+ - ./test/blackbox/buffering/data_assignment_3.exp
268
+ - ./test/blackbox/buffering/data_assignment_3.tpl
269
+ - ./test/blackbox/buffering/data_assignment_4.exp
270
+ - ./test/blackbox/buffering/data_assignment_4.tpl
271
+ - ./test/blackbox/buffering/input_1.exp
272
+ - ./test/blackbox/buffering/input_1.tpl
273
+ - ./test/blackbox/buffering/input_2.exp
274
+ - ./test/blackbox/buffering/input_2.tpl
275
+ - ./test/blackbox/buffering/input_3.exp
276
+ - ./test/blackbox/buffering/input_3.tpl
277
+ - ./test/blackbox/buffering/input_inclusion.exp
278
+ - ./test/blackbox/buffering/input_inclusion.tpl
279
+ - ./test/blackbox/buffering/input_inclusion_1.exp
280
+ - ./test/blackbox/buffering/input_inclusion_1.tpl
281
+ - ./test/blackbox/buffering/input_inclusion_2.exp
282
+ - ./test/blackbox/buffering/input_inclusion_2.tpl
283
+ - ./test/blackbox/buffering/input_inclusion_3.exp
284
+ - ./test/blackbox/buffering/input_inclusion_3.tpl
285
+ - ./test/blackbox/buffering/input_inclusion_4.exp
286
+ - ./test/blackbox/buffering/input_inclusion_4.tpl
287
+ - ./test/blackbox/buffering/input_inclusion_5.exp
288
+ - ./test/blackbox/buffering/input_inclusion_5.tpl
289
+ - ./test/blackbox/buffering/input_inclusion_6.exp
290
+ - ./test/blackbox/buffering/input_inclusion_6.tpl
291
+ - ./test/blackbox/buffering/input_inclusion_7.exp
292
+ - ./test/blackbox/buffering/input_inclusion_7.tpl
293
+ - ./test/blackbox/buffering/text_1.txt
294
+ - ./test/blackbox/buffering/wlang.txt
295
+ - ./test/blackbox/context/assignment_1.exp
296
+ - ./test/blackbox/context/assignment_1.tpl
297
+ - ./test/blackbox/context/assignment_2.exp
298
+ - ./test/blackbox/context/assignment_2.tpl
299
+ - ./test/blackbox/context/assignment_3.exp
300
+ - ./test/blackbox/context/assignment_3.tpl
301
+ - ./test/blackbox/context/assignment_4.exp
302
+ - ./test/blackbox/context/assignment_4.tpl
303
+ - ./test/blackbox/context/block_assignment_1.exp
304
+ - ./test/blackbox/context/block_assignment_1.tpl
305
+ - ./test/blackbox/context/block_assignment_2.exp
306
+ - ./test/blackbox/context/block_assignment_2.tpl
307
+ - ./test/blackbox/context/modulo_assignment_1.exp
308
+ - ./test/blackbox/context/modulo_assignment_1.tpl
309
+ - ./test/blackbox/context/modulo_assignment_2.exp
310
+ - ./test/blackbox/context/modulo_assignment_2.tpl
311
+ - ./test/blackbox/data_1.rb
312
+ - ./test/blackbox/postblock/hello.exp
313
+ - ./test/blackbox/postblock/hello.pre
314
+ - ./test/blackbox/postblock/hello.tpl
315
+ - ./test/blackbox/postblock/hello_input_inclusion.exp
316
+ - ./test/blackbox/postblock/hello_input_inclusion.tpl
317
+ - ./test/blackbox/poststring/hello.exp
318
+ - ./test/blackbox/poststring/hello.tpl
319
+ - ./test/blackbox/test_all.rb
320
+ - ./test/standard_dialects/ruby/data.rb
321
+ - ./test/standard_dialects/ruby/inclusion.exp
322
+ - ./test/standard_dialects/ruby/inclusion.tpl
323
+ - ./test/standard_dialects/test_all.rb
324
+ - ./test/standard_dialects/yaml/assumptions_test.rb
325
+ - ./test/standard_dialects/yaml/data.rb
326
+ - ./test/standard_dialects/yaml/inclusion_1.exp
327
+ - ./test/standard_dialects/yaml/inclusion_1.tpl
328
+ - ./test/standard_dialects/yaml/inclusion_2.exp
329
+ - ./test/standard_dialects/yaml/inclusion_2.tpl
330
+ - ./test/unit/test_all.rb
331
+ - ./test/unit/wlang/anagram_bugs_test.rb
332
+ - ./test/unit/wlang/basic_ruleset_test.rb
333
+ - ./test/unit/wlang/buffering_ruleset_test.rb
334
+ - ./test/unit/wlang/buffering_template1.wtpl
335
+ - ./test/unit/wlang/buffering_template2.wtpl
336
+ - ./test/unit/wlang/buffering_template3.wtpl
337
+ - ./test/unit/wlang/buffering_template4.wtpl
338
+ - ./test/unit/wlang/buffering_template5.wtpl
339
+ - ./test/unit/wlang/context_ruleset_test.rb
340
+ - ./test/unit/wlang/data.rb
341
+ - ./test/unit/wlang/encoder_set_test.rb
342
+ - ./test/unit/wlang/imperative_ruleset_test.rb
343
+ - ./test/unit/wlang/intelligent_buffer_test.rb
344
+ - ./test/unit/wlang/othersymbols_test.rb
345
+ - ./test/unit/wlang/parser_test.rb
346
+ - ./test/unit/wlang/plain_text_dialect_test.rb
347
+ - ./test/unit/wlang/ruby_dialect_test.rb
348
+ - ./test/unit/wlang/ruby_expected.rb
349
+ - ./test/unit/wlang/ruby_template.wrb
350
+ - ./test/unit/wlang/ruleset_utils_test.rb
351
+ - ./test/unit/wlang/specification_examples_test.rb
352
+ - ./test/unit/wlang/test_utils.rb
353
+ - ./test/unit/wlang/wlang_test.rb
354
+ - ./wlang.gemspec
355
+ - ./wlang.noespec
68
356
  - test/blackbox/basic/execution_1.exp
69
357
  - test/blackbox/basic/execution_1.tpl
70
358
  - test/blackbox/basic/execution_2.exp
@@ -147,15 +435,6 @@ files:
147
435
  - test/blackbox/poststring/hello.exp
148
436
  - test/blackbox/poststring/hello.tpl
149
437
  - test/blackbox/test_all.rb
150
- - test/spec/basic_object.spec
151
- - test/spec/coderay_dialect.spec
152
- - test/spec/dialect/apply_post_transform.spec
153
- - test/spec/global_extensions.rb
154
- - test/spec/hash_scope.spec
155
- - test/spec/redcloth_dialect.spec
156
- - test/spec/test_all.rb
157
- - test/spec/wlang.spec
158
- - test/spec/xhtml_dialect.spec
159
438
  - test/standard_dialects/ruby/data.rb
160
439
  - test/standard_dialects/ruby/inclusion.exp
161
440
  - test/standard_dialects/ruby/inclusion.tpl
@@ -190,35 +469,28 @@ files:
190
469
  - test/unit/wlang/specification_examples_test.rb
191
470
  - test/unit/wlang/test_utils.rb
192
471
  - test/unit/wlang/wlang_test.rb
472
+ - spec/basic_object.spec
473
+ - spec/coderay_dialect.spec
474
+ - spec/dialect/apply_post_transform.spec
475
+ - spec/global_extensions.rb
476
+ - spec/hash_scope.spec
477
+ - spec/redcloth_dialect.spec
478
+ - spec/spec_helper.rb
479
+ - spec/test_all.rb
480
+ - spec/wlang.spec
481
+ - spec/wlang_spec.rb
482
+ - spec/xhtml_dialect.spec
193
483
  - bin/wlang
194
- - doc/specification/about.rdoc
195
- - doc/specification/dialect.wtpl
196
- - doc/specification/dialects.wtpl
197
- - doc/specification/examples.rb
198
- - doc/specification/glossary.wtpl
199
- - doc/specification/hosting.rdoc
200
- - doc/specification/overview.rdoc
201
- - doc/specification/rulesets.wtpl
202
- - doc/specification/specification.css
203
- - doc/specification/specification.html
204
- - doc/specification/specification.js
205
- - doc/specification/specification.wtpl
206
- - doc/specification/specification.yml
207
- - doc/specification/symbols.wtpl
208
484
  - README.md
209
- - LICENCE.md
210
485
  - CHANGELOG.md
486
+ - LICENCE.md
211
487
  has_rdoc: true
212
- homepage: http://blambeau.github.com/wlang/
488
+ homepage: http://github.com/blambeau/wlang
213
489
  licenses: []
214
490
 
215
491
  post_install_message:
216
- rdoc_options:
217
- - --title
218
- - WLang - Code generator and Template engine
219
- - --main
220
- - README.rdoc
221
- - --line-numbers
492
+ rdoc_options: []
493
+
222
494
  require_paths:
223
495
  - lib
224
496
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -242,9 +514,135 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
514
  requirements: []
243
515
 
244
516
  rubyforge_project:
245
- rubygems_version: 1.3.7
517
+ rubygems_version: 1.4.2
246
518
  signing_key:
247
519
  specification_version: 3
248
- summary: WLang code generator
249
- test_files: []
250
-
520
+ summary: WLang is a powerful code generation and templating engine
521
+ test_files:
522
+ - test/blackbox/basic/execution_1.exp
523
+ - test/blackbox/basic/execution_1.tpl
524
+ - test/blackbox/basic/execution_2.exp
525
+ - test/blackbox/basic/execution_2.tpl
526
+ - test/blackbox/basic/execution_3.exp
527
+ - test/blackbox/basic/execution_3.tpl
528
+ - test/blackbox/basic/execution_4.exp
529
+ - test/blackbox/basic/execution_4.tpl
530
+ - test/blackbox/basic/inclusion_1.exp
531
+ - test/blackbox/basic/inclusion_1.tpl
532
+ - test/blackbox/basic/inclusion_2.exp
533
+ - test/blackbox/basic/inclusion_2.tpl
534
+ - test/blackbox/basic/injection_1.exp
535
+ - test/blackbox/basic/injection_1.tpl
536
+ - test/blackbox/basic/injection_2.exp
537
+ - test/blackbox/basic/injection_2.tpl
538
+ - test/blackbox/basic/modulation_1.exp
539
+ - test/blackbox/basic/modulation_1.tpl
540
+ - test/blackbox/basic/modulation_2.exp
541
+ - test/blackbox/basic/modulation_2.tpl
542
+ - test/blackbox/basic/recursive_app_1.exp
543
+ - test/blackbox/basic/recursive_app_1.tpl
544
+ - test/blackbox/basic/recursive_app_2.exp
545
+ - test/blackbox/basic/recursive_app_2.tpl
546
+ - test/blackbox/buffering/data_1.rb
547
+ - test/blackbox/buffering/data_assignment_1.exp
548
+ - test/blackbox/buffering/data_assignment_1.tpl
549
+ - test/blackbox/buffering/data_assignment_2.exp
550
+ - test/blackbox/buffering/data_assignment_2.tpl
551
+ - test/blackbox/buffering/data_assignment_3.exp
552
+ - test/blackbox/buffering/data_assignment_3.tpl
553
+ - test/blackbox/buffering/data_assignment_4.exp
554
+ - test/blackbox/buffering/data_assignment_4.tpl
555
+ - test/blackbox/buffering/input_1.exp
556
+ - test/blackbox/buffering/input_1.tpl
557
+ - test/blackbox/buffering/input_2.exp
558
+ - test/blackbox/buffering/input_2.tpl
559
+ - test/blackbox/buffering/input_3.exp
560
+ - test/blackbox/buffering/input_3.tpl
561
+ - test/blackbox/buffering/input_inclusion.exp
562
+ - test/blackbox/buffering/input_inclusion.tpl
563
+ - test/blackbox/buffering/input_inclusion_1.exp
564
+ - test/blackbox/buffering/input_inclusion_1.tpl
565
+ - test/blackbox/buffering/input_inclusion_2.exp
566
+ - test/blackbox/buffering/input_inclusion_2.tpl
567
+ - test/blackbox/buffering/input_inclusion_3.exp
568
+ - test/blackbox/buffering/input_inclusion_3.tpl
569
+ - test/blackbox/buffering/input_inclusion_4.exp
570
+ - test/blackbox/buffering/input_inclusion_4.tpl
571
+ - test/blackbox/buffering/input_inclusion_5.exp
572
+ - test/blackbox/buffering/input_inclusion_5.tpl
573
+ - test/blackbox/buffering/input_inclusion_6.exp
574
+ - test/blackbox/buffering/input_inclusion_6.tpl
575
+ - test/blackbox/buffering/input_inclusion_7.exp
576
+ - test/blackbox/buffering/input_inclusion_7.tpl
577
+ - test/blackbox/buffering/text_1.txt
578
+ - test/blackbox/buffering/wlang.txt
579
+ - test/blackbox/context/assignment_1.exp
580
+ - test/blackbox/context/assignment_1.tpl
581
+ - test/blackbox/context/assignment_2.exp
582
+ - test/blackbox/context/assignment_2.tpl
583
+ - test/blackbox/context/assignment_3.exp
584
+ - test/blackbox/context/assignment_3.tpl
585
+ - test/blackbox/context/assignment_4.exp
586
+ - test/blackbox/context/assignment_4.tpl
587
+ - test/blackbox/context/block_assignment_1.exp
588
+ - test/blackbox/context/block_assignment_1.tpl
589
+ - test/blackbox/context/block_assignment_2.exp
590
+ - test/blackbox/context/block_assignment_2.tpl
591
+ - test/blackbox/context/modulo_assignment_1.exp
592
+ - test/blackbox/context/modulo_assignment_1.tpl
593
+ - test/blackbox/context/modulo_assignment_2.exp
594
+ - test/blackbox/context/modulo_assignment_2.tpl
595
+ - test/blackbox/data_1.rb
596
+ - test/blackbox/postblock/hello.exp
597
+ - test/blackbox/postblock/hello.pre
598
+ - test/blackbox/postblock/hello.tpl
599
+ - test/blackbox/postblock/hello_input_inclusion.exp
600
+ - test/blackbox/postblock/hello_input_inclusion.tpl
601
+ - test/blackbox/poststring/hello.exp
602
+ - test/blackbox/poststring/hello.tpl
603
+ - test/blackbox/test_all.rb
604
+ - test/standard_dialects/ruby/data.rb
605
+ - test/standard_dialects/ruby/inclusion.exp
606
+ - test/standard_dialects/ruby/inclusion.tpl
607
+ - test/standard_dialects/test_all.rb
608
+ - test/standard_dialects/yaml/assumptions_test.rb
609
+ - test/standard_dialects/yaml/data.rb
610
+ - test/standard_dialects/yaml/inclusion_1.exp
611
+ - test/standard_dialects/yaml/inclusion_1.tpl
612
+ - test/standard_dialects/yaml/inclusion_2.exp
613
+ - test/standard_dialects/yaml/inclusion_2.tpl
614
+ - test/unit/test_all.rb
615
+ - test/unit/wlang/anagram_bugs_test.rb
616
+ - test/unit/wlang/basic_ruleset_test.rb
617
+ - test/unit/wlang/buffering_ruleset_test.rb
618
+ - test/unit/wlang/buffering_template1.wtpl
619
+ - test/unit/wlang/buffering_template2.wtpl
620
+ - test/unit/wlang/buffering_template3.wtpl
621
+ - test/unit/wlang/buffering_template4.wtpl
622
+ - test/unit/wlang/buffering_template5.wtpl
623
+ - test/unit/wlang/context_ruleset_test.rb
624
+ - test/unit/wlang/data.rb
625
+ - test/unit/wlang/encoder_set_test.rb
626
+ - test/unit/wlang/imperative_ruleset_test.rb
627
+ - test/unit/wlang/intelligent_buffer_test.rb
628
+ - test/unit/wlang/othersymbols_test.rb
629
+ - test/unit/wlang/parser_test.rb
630
+ - test/unit/wlang/plain_text_dialect_test.rb
631
+ - test/unit/wlang/ruby_dialect_test.rb
632
+ - test/unit/wlang/ruby_expected.rb
633
+ - test/unit/wlang/ruby_template.wrb
634
+ - test/unit/wlang/ruleset_utils_test.rb
635
+ - test/unit/wlang/specification_examples_test.rb
636
+ - test/unit/wlang/test_utils.rb
637
+ - test/unit/wlang/wlang_test.rb
638
+ - spec/basic_object.spec
639
+ - spec/coderay_dialect.spec
640
+ - spec/dialect/apply_post_transform.spec
641
+ - spec/global_extensions.rb
642
+ - spec/hash_scope.spec
643
+ - spec/redcloth_dialect.spec
644
+ - spec/spec_helper.rb
645
+ - spec/test_all.rb
646
+ - spec/wlang.spec
647
+ - spec/wlang_spec.rb
648
+ - spec/xhtml_dialect.spec