erubis 2.6.6 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES.txt +79 -3
- data/MIT-LICENSE +1 -1
- data/README.txt +2 -2
- data/benchmark/bench.rb +2 -2
- data/bin/erubis +2 -2
- data/contrib/erubis +293 -155
- data/contrib/inline-require +2 -2
- data/doc-api/classes/Erubis.html +10 -1
- data/doc-api/classes/Erubis/ArrayBufferEnhancer.html +12 -12
- data/doc-api/classes/Erubis/ArrayEnhancer.html +14 -14
- data/doc-api/classes/Erubis/Basic/Converter.html +24 -24
- data/doc-api/classes/Erubis/BiPatternEnhancer.html +12 -12
- data/doc-api/classes/Erubis/CGenerator.html +60 -60
- data/doc-api/classes/Erubis/Context.html +42 -42
- data/doc-api/classes/Erubis/Converter.html +27 -27
- data/doc-api/classes/Erubis/CppGenerator.html +382 -0
- data/doc-api/classes/Erubis/DeleteIndentEnhancer.html +7 -7
- data/doc-api/classes/Erubis/Ecpp.html +126 -0
- data/doc-api/classes/Erubis/Engine.html +36 -36
- data/doc-api/classes/Erubis/ErboutEnhancer.html +14 -14
- data/doc-api/classes/Erubis/EscapeEnhancer.html +6 -6
- data/doc-api/classes/Erubis/EscapedEcpp.html +120 -0
- data/doc-api/classes/Erubis/Evaluator.html +19 -19
- data/doc-api/classes/Erubis/Generator.html +60 -60
- data/doc-api/classes/Erubis/HeaderFooterEnhancer.html +14 -14
- data/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +150 -150
- data/doc-api/classes/Erubis/Helpers/RailsHelper.html +49 -49
- data/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +24 -24
- data/doc-api/classes/Erubis/InterpolationEnhancer.html +38 -39
- data/doc-api/classes/Erubis/JavaGenerator.html +60 -60
- data/doc-api/classes/Erubis/JavascriptGenerator.html +66 -66
- data/doc-api/classes/Erubis/Main.html +22 -22
- data/doc-api/classes/Erubis/NoCodeEnhancer.html +30 -30
- data/doc-api/classes/Erubis/NoTextEnhancer.html +6 -6
- data/doc-api/classes/Erubis/OptimizedEruby.html +6 -6
- data/doc-api/classes/Erubis/OptimizedGenerator.html +72 -72
- data/doc-api/classes/Erubis/OptimizedXmlEruby.html +6 -6
- data/doc-api/classes/Erubis/PI.html +1 -0
- data/doc-api/classes/Erubis/PI/Converter.html +18 -18
- data/doc-api/classes/Erubis/PI/Ec.html +6 -6
- data/doc-api/classes/Erubis/PI/Ecpp.html +166 -0
- data/doc-api/classes/Erubis/PI/Ejava.html +6 -6
- data/doc-api/classes/Erubis/PI/Ejavascript.html +6 -6
- data/doc-api/classes/Erubis/PI/Eperl.html +6 -6
- data/doc-api/classes/Erubis/PI/Ephp.html +6 -6
- data/doc-api/classes/Erubis/PI/Eruby.html +7 -7
- data/doc-api/classes/Erubis/PI/Escheme.html +6 -6
- data/doc-api/classes/Erubis/PI/TinyEruby.html +24 -24
- data/doc-api/classes/Erubis/PercentLineEnhancer.html +18 -34
- data/doc-api/classes/Erubis/PerlGenerator.html +54 -54
- data/doc-api/classes/Erubis/PhpGenerator.html +54 -54
- data/doc-api/classes/Erubis/PrefixedLineEnhancer.html +210 -0
- data/doc-api/classes/Erubis/PrefixedLineEruby.html +120 -0
- data/doc-api/classes/Erubis/PreprocessingEruby.html +12 -12
- data/doc-api/classes/Erubis/PreprocessingHelper.html +22 -22
- data/doc-api/classes/Erubis/PrintEnabledEnhancer.html +20 -20
- data/doc-api/classes/Erubis/PrintOutEnhancer.html +33 -33
- data/doc-api/classes/Erubis/RubyEvaluator.html +18 -18
- data/doc-api/classes/Erubis/RubyGenerator.html +59 -58
- data/doc-api/classes/Erubis/SchemeGenerator.html +60 -60
- data/doc-api/classes/Erubis/SimplifyEnhancer.html +7 -7
- data/doc-api/classes/Erubis/StdoutEnhancer.html +13 -13
- data/doc-api/classes/Erubis/StringBufferEnhancer.html +14 -14
- data/doc-api/classes/Erubis/TinyEruby.html +24 -24
- data/doc-api/classes/Erubis/XmlHelper.html +30 -30
- data/doc-api/classes/Kernel.html +155 -0
- data/doc-api/created.rid +1 -1
- data/doc-api/files/README_txt.html +3 -3
- data/doc-api/files/erubis/context_rb.html +1 -1
- data/doc-api/files/erubis/converter_rb.html +3 -3
- data/doc-api/files/erubis/engine/ec_rb.html +1 -1
- data/doc-api/files/erubis/engine/ecpp_rb.html +115 -0
- data/doc-api/files/erubis/engine/ejava_rb.html +2 -2
- data/doc-api/files/erubis/engine/ejavascript_rb.html +2 -2
- data/doc-api/files/erubis/engine/enhanced_rb.html +2 -2
- data/doc-api/files/erubis/engine/eperl_rb.html +1 -1
- data/doc-api/files/erubis/engine/ephp_rb.html +1 -1
- data/doc-api/files/erubis/engine/eruby_rb.html +2 -2
- data/doc-api/files/erubis/engine/escheme_rb.html +1 -1
- data/doc-api/files/erubis/engine/optimized_rb.html +1 -1
- data/doc-api/files/erubis/engine_rb.html +2 -2
- data/doc-api/files/erubis/enhancer_rb.html +2 -2
- data/doc-api/files/erubis/error_rb.html +1 -1
- data/doc-api/files/erubis/evaluator_rb.html +1 -1
- data/doc-api/files/erubis/generator_rb.html +3 -3
- data/doc-api/files/erubis/helper_rb.html +1 -1
- data/doc-api/files/erubis/helpers/rails_form_helper_rb.html +1 -1
- data/doc-api/files/erubis/helpers/rails_helper_rb.html +1 -1
- data/doc-api/files/erubis/local-setting_rb.html +1 -1
- data/doc-api/files/erubis/main_rb.html +4 -2
- data/doc-api/files/erubis/preprocessing_rb.html +1 -1
- data/doc-api/files/erubis/tiny_rb.html +1 -1
- data/doc-api/files/erubis/util_rb.html +107 -0
- data/doc-api/files/erubis_rb.html +2 -2
- data/doc-api/fr_class_index.html +7 -0
- data/doc-api/fr_file_index.html +2 -0
- data/doc-api/fr_method_index.html +237 -223
- data/doc/docstyle.css +25 -4
- data/doc/users-guide.html +286 -21
- data/examples/basic/Makefile +7 -2
- data/examples/basic/example.ecpp +33 -0
- data/lib/erubis.rb +4 -3
- data/lib/erubis/context.rb +2 -2
- data/lib/erubis/converter.rb +3 -3
- data/lib/erubis/engine.rb +8 -8
- data/lib/erubis/engine/ec.rb +2 -2
- data/lib/erubis/engine/ecpp.rb +113 -0
- data/lib/erubis/engine/ejava.rb +9 -9
- data/lib/erubis/engine/ejavascript.rb +9 -9
- data/lib/erubis/engine/enhanced.rb +7 -2
- data/lib/erubis/engine/eperl.rb +2 -2
- data/lib/erubis/engine/ephp.rb +2 -2
- data/lib/erubis/engine/eruby.rb +8 -7
- data/lib/erubis/engine/escheme.rb +2 -2
- data/lib/erubis/engine/optimized.rb +2 -2
- data/lib/erubis/enhancer.rb +70 -27
- data/lib/erubis/error.rb +2 -2
- data/lib/erubis/evaluator.rb +2 -2
- data/lib/erubis/generator.rb +3 -3
- data/lib/erubis/helper.rb +2 -2
- data/lib/erubis/helpers/rails_form_helper.rb +2 -2
- data/lib/erubis/helpers/rails_helper.rb +2 -2
- data/lib/erubis/local-setting.rb +2 -2
- data/lib/erubis/main.rb +31 -4
- data/lib/erubis/preprocessing.rb +2 -2
- data/lib/erubis/tiny.rb +2 -2
- data/lib/erubis/util.rb +22 -0
- data/test/assert-text-equal.rb +2 -2
- data/test/data/users-guide/bufvar-example.rb +10 -0
- data/test/data/users-guide/bufvar-example.result +17 -0
- data/test/data/users-guide/example.ecpp +30 -0
- data/test/data/users-guide/example_c.result +22 -19
- data/test/data/users-guide/fasteruby-example.rb +8 -0
- data/test/data/users-guide/fasteruby-example.result +18 -0
- data/test/data/users-guide/percentline-example.rhtml +3 -1
- data/test/data/users-guide/percentline_example.result +5 -3
- data/test/data/users-guide/prefixedline-example.rb +9 -0
- data/test/data/users-guide/prefixedline-example.rhtml +6 -0
- data/test/data/users-guide/prefixedline_example.result +9 -0
- data/test/test-engines.rb +58 -2
- data/test/test-enhancers.rb +51 -2
- data/test/test-erubis.rb +14 -10
- data/test/test-index-cgi.rb +191 -0
- data/test/test-main.rb +35 -4
- data/test/test-users-guide.rb +18 -2
- data/test/test.rb +18 -2
- data/test/testutil.rb +22 -7
- metadata +30 -24
data/test/test-main.rb
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
##
|
2
2
|
## $Rev$
|
3
|
-
## $Release: 2.
|
3
|
+
## $Release: 2.7.0 $
|
4
4
|
## $Date$
|
5
5
|
##
|
6
6
|
|
7
7
|
require "#{File.dirname(__FILE__)}/test.rb"
|
8
8
|
|
9
9
|
require 'tempfile'
|
10
|
+
require 'fileutils'
|
10
11
|
require 'erubis/main'
|
11
12
|
|
12
13
|
|
@@ -25,6 +26,17 @@ class StringWriter < String
|
|
25
26
|
def flush(*args)
|
26
27
|
# pass
|
27
28
|
end
|
29
|
+
def puts(arg)
|
30
|
+
case arg
|
31
|
+
when Array
|
32
|
+
arg.each do |item|
|
33
|
+
self << item << "\n"
|
34
|
+
end
|
35
|
+
else
|
36
|
+
self << arg.to_s
|
37
|
+
self << "\n" unless arg =~ /\n$/
|
38
|
+
end
|
39
|
+
end
|
28
40
|
end
|
29
41
|
|
30
42
|
class Erubis::Main
|
@@ -175,7 +187,7 @@ END
|
|
175
187
|
|
176
188
|
def test_version # -v
|
177
189
|
@options = '-v'
|
178
|
-
@expected = (("$Release: 2.
|
190
|
+
@expected = (("$Release: 2.7.0 $" =~ /[.\d]+/) && $&) + "\n"
|
179
191
|
@filename = false
|
180
192
|
_test()
|
181
193
|
end
|
@@ -260,6 +272,17 @@ END
|
|
260
272
|
END
|
261
273
|
errmsgs << <<'END'
|
262
274
|
7: syntax error, unexpected $end, expecting keyword_end
|
275
|
+
END
|
276
|
+
elsif rubinius?
|
277
|
+
errmsgs << <<'END'
|
278
|
+
3: expecting ')'
|
279
|
+
_buf << ' <li>'; _buf << ( item[:name]] ).to_s; _buf << '</li>
|
280
|
+
^
|
281
|
+
END
|
282
|
+
errmsgs << <<'END'
|
283
|
+
7: missing 'end' for 'for' started on line 2
|
284
|
+
_buf.to_s
|
285
|
+
^
|
263
286
|
END
|
264
287
|
else
|
265
288
|
errmsgs << <<'END'
|
@@ -281,6 +304,10 @@ END
|
|
281
304
|
@input = inputs[i]
|
282
305
|
@expected = "tmp.test_syntax2:#{errmsgs[i]}"
|
283
306
|
@options = '-z'
|
307
|
+
if rubinius?
|
308
|
+
@expected.sub! /unexpected kEND/, 'unexpected keyword_end'
|
309
|
+
@expected.sub! /expecting kEND/, 'expecting keyword_end'
|
310
|
+
end
|
284
311
|
_test()
|
285
312
|
end
|
286
313
|
#
|
@@ -295,6 +322,10 @@ END
|
|
295
322
|
@expected << "#{filenames[i]}:#{errmsgs[i]}"
|
296
323
|
@options << " #{filenames[i]}"
|
297
324
|
end
|
325
|
+
if rubinius?
|
326
|
+
@expected.sub! /unexpected kEND/, 'unexpected keyword_end'
|
327
|
+
@expected.sub! /expecting kEND/, 'expecting keyword_end'
|
328
|
+
end
|
298
329
|
_test()
|
299
330
|
ensure
|
300
331
|
(0...max).each do |i|
|
@@ -566,7 +597,7 @@ END
|
|
566
597
|
_test()
|
567
598
|
ensure
|
568
599
|
File.unlink filename if test(?f, filename)
|
569
|
-
|
600
|
+
FileUtils.rm_r dir if test(?d, dir)
|
570
601
|
end
|
571
602
|
end
|
572
603
|
|
@@ -592,7 +623,7 @@ END
|
|
592
623
|
_test()
|
593
624
|
ensure
|
594
625
|
File.unlink filename if test(?f, filename)
|
595
|
-
|
626
|
+
FileUtils.rm_r dir if test(?d, dir)
|
596
627
|
end
|
597
628
|
end
|
598
629
|
|
data/test/test-users-guide.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
###
|
2
|
-
### $Release: 2.
|
3
|
-
### copyright(c) 2006-
|
2
|
+
### $Release: 2.7.0 $
|
3
|
+
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
4
4
|
###
|
5
5
|
|
6
6
|
require "#{File.dirname(__FILE__)}/test.rb"
|
@@ -28,6 +28,22 @@ class KwarkUsersGuideTest < Test::Unit::TestCase
|
|
28
28
|
s =~ /\A\$ (.*?)\n/
|
29
29
|
command = $1
|
30
30
|
expected = $'
|
31
|
+
if ruby19?
|
32
|
+
case @name
|
33
|
+
when 'test_main_program1_result'
|
34
|
+
expected.sub!('["eruby", "items", "x", "_buf"]', '[:_buf, :eruby, :items, :x]')
|
35
|
+
when 'test_main_program2_result'
|
36
|
+
expected.sub!('["_context", "x", "_buf"]', '[:_buf, :x, :_context]')
|
37
|
+
end
|
38
|
+
elsif rubinius?
|
39
|
+
command.sub!(/^ruby\b/, 'rbx')
|
40
|
+
case @name
|
41
|
+
when 'test_main_program1_result'
|
42
|
+
expected.sub!('["eruby", "items", "x", "_buf"]', '["_buf", "eruby", "items", "x"]')
|
43
|
+
when 'test_main_program2_result'
|
44
|
+
expected.sub!('["_context", "x", "_buf"]', '["_buf", "x", "_context"]')
|
45
|
+
end
|
46
|
+
end
|
31
47
|
result = `#{command}`
|
32
48
|
assert_text_equal(expected, result)
|
33
49
|
end
|
data/test/test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
##
|
2
|
-
## $Release: 2.
|
3
|
-
## copyright(c) 2006-
|
2
|
+
## $Release: 2.7.0 $
|
3
|
+
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
4
4
|
##
|
5
5
|
|
6
6
|
|
@@ -20,6 +20,22 @@ require 'testutil'
|
|
20
20
|
require 'erubis'
|
21
21
|
|
22
22
|
|
23
|
+
Test::Unit::TestCase.class_eval do
|
24
|
+
if RUBY_VERSION >= "1.9"
|
25
|
+
## minitest doesn't have 'name()' method
|
26
|
+
def name
|
27
|
+
@name || @__name__
|
28
|
+
end
|
29
|
+
def ruby19
|
30
|
+
yield
|
31
|
+
end
|
32
|
+
else
|
33
|
+
def ruby19
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
|
23
39
|
if $0 == __FILE__
|
24
40
|
require "#{TESTDIR}/test-erubis.rb"
|
25
41
|
require "#{TESTDIR}/test-engines.rb"
|
data/test/testutil.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
###
|
2
|
-
### $Release: 2.
|
3
|
-
### copyright(c) 2006-
|
2
|
+
### $Release: 2.7.0 $
|
3
|
+
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
4
4
|
###
|
5
5
|
|
6
6
|
require 'yaml'
|
@@ -17,6 +17,10 @@ def ruby19? # :nodoc:
|
|
17
17
|
RUBY_VERSION =~ /\A1.9/
|
18
18
|
end
|
19
19
|
|
20
|
+
def rubinius? # :nodoc:
|
21
|
+
defined?(RUBY_ENGINE) && RUBY_ENGINE == "rbx"
|
22
|
+
end
|
23
|
+
|
20
24
|
|
21
25
|
|
22
26
|
class Test::Unit::TestCase
|
@@ -30,11 +34,7 @@ class Test::Unit::TestCase
|
|
30
34
|
s = $'
|
31
35
|
end
|
32
36
|
# untabify
|
33
|
-
unless options[:tabify] == false
|
34
|
-
s = s.split(/^/).inject('') do |sb, line|
|
35
|
-
sb << line.gsub(/([^\t]{8})|([^\t]*)\t/n) { [$+].pack("A8") }
|
36
|
-
end
|
37
|
-
end
|
37
|
+
s = _untabify(s) unless options[:tabify] == false
|
38
38
|
# load yaml document
|
39
39
|
testdata_list = []
|
40
40
|
YAML.load_documents(s) do |ydoc|
|
@@ -93,4 +93,19 @@ class Test::Unit::TestCase
|
|
93
93
|
end
|
94
94
|
|
95
95
|
|
96
|
+
def self._untabify(str, width=8)
|
97
|
+
return str if str.nil?
|
98
|
+
list = str.split(/\t/, -1) # if 2nd arg is negative then split() doesn't remove tailing empty strings
|
99
|
+
last = list.pop
|
100
|
+
sb = ''
|
101
|
+
list.each do |s|
|
102
|
+
column = (n = s.rindex(?\n)) ? s.length - n - 1 : s.length
|
103
|
+
n = width - (column % width)
|
104
|
+
sb << s << (' ' * n)
|
105
|
+
end
|
106
|
+
sb << last if last
|
107
|
+
return sb
|
108
|
+
end
|
109
|
+
|
110
|
+
|
96
111
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erubis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 19
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 2.
|
8
|
+
- 7
|
9
|
+
- 0
|
10
|
+
version: 2.7.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- makoto kuwata
|
@@ -15,25 +15,10 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-04-02 00:00:00 +09:00
|
19
19
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
|
22
|
-
name: abstract
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 23
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 0
|
33
|
-
- 0
|
34
|
-
version: 1.0.0
|
35
|
-
type: :runtime
|
36
|
-
version_requirements: *id001
|
20
|
+
dependencies: []
|
21
|
+
|
37
22
|
description: " Erubis is an implementation of eRuby and has the following features:\n\n * Very fast, almost three times faster than ERB and about 10% faster than eruby.\n * Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript)\n * Auto escaping support\n * Auto trimming spaces around '<% %>'\n * Embedded pattern changeable (default '<% %>')\n * Enable to handle Processing Instructions (PI) as embedded pattern (ex. '<?rb ... ?>')\n * Context object available and easy to combine eRuby template with YAML datafile\n * Print statement available\n * Easy to extend and customize in subclass\n * Ruby on Rails support\n"
|
38
23
|
email: kwa(at)kuwata-lab.com
|
39
24
|
executables:
|
@@ -46,6 +31,7 @@ files:
|
|
46
31
|
- lib/erubis/context.rb
|
47
32
|
- lib/erubis/converter.rb
|
48
33
|
- lib/erubis/engine/ec.rb
|
34
|
+
- lib/erubis/engine/ecpp.rb
|
49
35
|
- lib/erubis/engine/ejava.rb
|
50
36
|
- lib/erubis/engine/ejavascript.rb
|
51
37
|
- lib/erubis/engine/enhanced.rb
|
@@ -66,9 +52,11 @@ files:
|
|
66
52
|
- lib/erubis/main.rb
|
67
53
|
- lib/erubis/preprocessing.rb
|
68
54
|
- lib/erubis/tiny.rb
|
55
|
+
- lib/erubis/util.rb
|
69
56
|
- lib/erubis.rb
|
70
57
|
- bin/erubis
|
71
58
|
- examples/basic/example.ec
|
59
|
+
- examples/basic/example.ecpp
|
72
60
|
- examples/basic/example.ejava
|
73
61
|
- examples/basic/example.ejs
|
74
62
|
- examples/basic/example.eperl
|
@@ -89,12 +77,15 @@ files:
|
|
89
77
|
- test/data/users-guide/arraybuffer_example.result
|
90
78
|
- test/data/users-guide/bipattern-example.rhtml
|
91
79
|
- test/data/users-guide/bipattern_example.result
|
80
|
+
- test/data/users-guide/bufvar-example.rb
|
81
|
+
- test/data/users-guide/bufvar-example.result
|
92
82
|
- test/data/users-guide/context.rb
|
93
83
|
- test/data/users-guide/context.yaml
|
94
84
|
- test/data/users-guide/def_method.rb
|
95
85
|
- test/data/users-guide/def_method.result
|
96
86
|
- test/data/users-guide/escape_example.result
|
97
87
|
- test/data/users-guide/example.ec
|
88
|
+
- test/data/users-guide/example.ecpp
|
98
89
|
- test/data/users-guide/Example.ejava
|
99
90
|
- test/data/users-guide/example.ejs
|
100
91
|
- test/data/users-guide/example.eperl
|
@@ -153,6 +144,8 @@ files:
|
|
153
144
|
- test/data/users-guide/example_php.result
|
154
145
|
- test/data/users-guide/example_scheme.result
|
155
146
|
- test/data/users-guide/example_scheme_display.result
|
147
|
+
- test/data/users-guide/fasteruby-example.rb
|
148
|
+
- test/data/users-guide/fasteruby-example.result
|
156
149
|
- test/data/users-guide/fasteruby.rb
|
157
150
|
- test/data/users-guide/fasteruby.result
|
158
151
|
- test/data/users-guide/fasteruby.rhtml
|
@@ -177,6 +170,9 @@ files:
|
|
177
170
|
- test/data/users-guide/notext_example.result
|
178
171
|
- test/data/users-guide/percentline-example.rhtml
|
179
172
|
- test/data/users-guide/percentline_example.result
|
173
|
+
- test/data/users-guide/prefixedline-example.rb
|
174
|
+
- test/data/users-guide/prefixedline-example.rhtml
|
175
|
+
- test/data/users-guide/prefixedline_example.result
|
180
176
|
- test/data/users-guide/printenable_example.result
|
181
177
|
- test/data/users-guide/printenabled-example.eruby
|
182
178
|
- test/data/users-guide/printenabled-example.rb
|
@@ -192,6 +188,7 @@ files:
|
|
192
188
|
- test/test-engines.rb
|
193
189
|
- test/test-enhancers.rb
|
194
190
|
- test/test-erubis.rb
|
191
|
+
- test/test-index-cgi.rb
|
195
192
|
- test/test-main.rb
|
196
193
|
- test/test-users-guide.rb
|
197
194
|
- test/test.rb
|
@@ -229,9 +226,11 @@ files:
|
|
229
226
|
- doc-api/classes/Erubis/CommandOptionError.html
|
230
227
|
- doc-api/classes/Erubis/Context.html
|
231
228
|
- doc-api/classes/Erubis/Converter.html
|
229
|
+
- doc-api/classes/Erubis/CppGenerator.html
|
232
230
|
- doc-api/classes/Erubis/DeleteIndentEnhancer.html
|
233
231
|
- doc-api/classes/Erubis/DeleteIndentEruby.html
|
234
232
|
- doc-api/classes/Erubis/Ec.html
|
233
|
+
- doc-api/classes/Erubis/Ecpp.html
|
235
234
|
- doc-api/classes/Erubis/Ejava.html
|
236
235
|
- doc-api/classes/Erubis/Ejavascript.html
|
237
236
|
- doc-api/classes/Erubis/Engine.html
|
@@ -242,6 +241,7 @@ files:
|
|
242
241
|
- doc-api/classes/Erubis/ErubisError.html
|
243
242
|
- doc-api/classes/Erubis/Eruby.html
|
244
243
|
- doc-api/classes/Erubis/EscapedEc.html
|
244
|
+
- doc-api/classes/Erubis/EscapedEcpp.html
|
245
245
|
- doc-api/classes/Erubis/EscapedEjava.html
|
246
246
|
- doc-api/classes/Erubis/EscapedEjavascript.html
|
247
247
|
- doc-api/classes/Erubis/EscapedEperl.html
|
@@ -278,6 +278,7 @@ files:
|
|
278
278
|
- doc-api/classes/Erubis/PhpGenerator.html
|
279
279
|
- doc-api/classes/Erubis/PI/Converter.html
|
280
280
|
- doc-api/classes/Erubis/PI/Ec.html
|
281
|
+
- doc-api/classes/Erubis/PI/Ecpp.html
|
281
282
|
- doc-api/classes/Erubis/PI/Ejava.html
|
282
283
|
- doc-api/classes/Erubis/PI/Ejavascript.html
|
283
284
|
- doc-api/classes/Erubis/PI/Engine.html
|
@@ -287,6 +288,8 @@ files:
|
|
287
288
|
- doc-api/classes/Erubis/PI/Escheme.html
|
288
289
|
- doc-api/classes/Erubis/PI/TinyEruby.html
|
289
290
|
- doc-api/classes/Erubis/PI.html
|
291
|
+
- doc-api/classes/Erubis/PrefixedLineEnhancer.html
|
292
|
+
- doc-api/classes/Erubis/PrefixedLineEruby.html
|
290
293
|
- doc-api/classes/Erubis/PreprocessingEruby.html
|
291
294
|
- doc-api/classes/Erubis/PreprocessingHelper.html
|
292
295
|
- doc-api/classes/Erubis/PrintEnabledEnhancer.html
|
@@ -309,10 +312,12 @@ files:
|
|
309
312
|
- doc-api/classes/Erubis/XmlEruby.html
|
310
313
|
- doc-api/classes/Erubis/XmlHelper.html
|
311
314
|
- doc-api/classes/Erubis.html
|
315
|
+
- doc-api/classes/Kernel.html
|
312
316
|
- doc-api/created.rid
|
313
317
|
- doc-api/files/erubis/context_rb.html
|
314
318
|
- doc-api/files/erubis/converter_rb.html
|
315
319
|
- doc-api/files/erubis/engine/ec_rb.html
|
320
|
+
- doc-api/files/erubis/engine/ecpp_rb.html
|
316
321
|
- doc-api/files/erubis/engine/ejava_rb.html
|
317
322
|
- doc-api/files/erubis/engine/ejavascript_rb.html
|
318
323
|
- doc-api/files/erubis/engine/enhanced_rb.html
|
@@ -333,6 +338,7 @@ files:
|
|
333
338
|
- doc-api/files/erubis/main_rb.html
|
334
339
|
- doc-api/files/erubis/preprocessing_rb.html
|
335
340
|
- doc-api/files/erubis/tiny_rb.html
|
341
|
+
- doc-api/files/erubis/util_rb.html
|
336
342
|
- doc-api/files/erubis_rb.html
|
337
343
|
- doc-api/files/README_txt.html
|
338
344
|
- doc-api/fr_class_index.html
|
@@ -370,7 +376,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
370
376
|
requirements: []
|
371
377
|
|
372
378
|
rubyforge_project: erubis
|
373
|
-
rubygems_version: 1.
|
379
|
+
rubygems_version: 1.6.0
|
374
380
|
signing_key:
|
375
381
|
specification_version: 3
|
376
382
|
summary: a fast and extensible eRuby implementation which supports multi-language
|