erbse 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGES.txt +828 -0
- data/MIT-LICENSE +20 -0
- data/README.md +51 -0
- data/benchmark/Makefile +6 -0
- data/benchmark/bench.rb +313 -0
- data/benchmark/bench_context.yaml +141 -0
- data/benchmark/templates/_footer.html +4 -0
- data/benchmark/templates/_header.html +52 -0
- data/benchmark/templates/bench_erb.rhtml +29 -0
- data/benchmark/templates/bench_erubis.rhtml +29 -0
- data/benchmark/templates/bench_eruby.rhtml +29 -0
- data/bin/erubis +10 -0
- data/erbse.gemspec +24 -0
- data/lib/erbse.rb +52 -0
- data/lib/erbse/context.rb +83 -0
- data/lib/erbse/converter.rb +357 -0
- data/lib/erbse/engine.rb +114 -0
- data/lib/erbse/engine/ec.rb +117 -0
- data/lib/erbse/engine/ecpp.rb +113 -0
- data/lib/erbse/engine/ejava.rb +110 -0
- data/lib/erbse/engine/ejavascript.rb +119 -0
- data/lib/erbse/engine/enhanced.rb +126 -0
- data/lib/erbse/engine/eperl.rb +95 -0
- data/lib/erbse/engine/ephp.rb +99 -0
- data/lib/erbse/engine/eruby.rb +119 -0
- data/lib/erbse/engine/escheme.rb +114 -0
- data/lib/erbse/engine/optimized.rb +127 -0
- data/lib/erbse/enhancer.rb +723 -0
- data/lib/erbse/error.rb +23 -0
- data/lib/erbse/evaluator.rb +88 -0
- data/lib/erbse/generator.rb +85 -0
- data/lib/erbse/helper.rb +47 -0
- data/lib/erbse/helpers/rails_form_helper.rb +197 -0
- data/lib/erbse/helpers/rails_helper.rb +353 -0
- data/lib/erbse/main.rb +516 -0
- data/lib/erbse/preprocessing.rb +58 -0
- data/lib/erbse/tiny.rb +144 -0
- data/lib/erbse/util.rb +22 -0
- data/lib/erbse/version.rb +3 -0
- data/test/assert-text-equal.rb +44 -0
- data/test/data/users-guide/Example.ejava +55 -0
- data/test/data/users-guide/array_example.result +9 -0
- data/test/data/users-guide/arraybuffer_example.result +9 -0
- data/test/data/users-guide/bipattern-example.rhtml +4 -0
- data/test/data/users-guide/bipattern_example.result +6 -0
- 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/context.rb +6 -0
- data/test/data/users-guide/context.yaml +8 -0
- data/test/data/users-guide/def_method.rb +14 -0
- data/test/data/users-guide/def_method.result +3 -0
- data/test/data/users-guide/escape_example.result +9 -0
- data/test/data/users-guide/example.ec +27 -0
- data/test/data/users-guide/example.ecpp +30 -0
- data/test/data/users-guide/example.ejs +20 -0
- data/test/data/users-guide/example.eperl +18 -0
- data/test/data/users-guide/example.ephp +18 -0
- data/test/data/users-guide/example.eruby +6 -0
- data/test/data/users-guide/example.escheme +28 -0
- data/test/data/users-guide/example1.eruby +6 -0
- data/test/data/users-guide/example1.rb +17 -0
- data/test/data/users-guide/example1.result +16 -0
- data/test/data/users-guide/example10.rb +4 -0
- data/test/data/users-guide/example10.result +17 -0
- data/test/data/users-guide/example10.xhtml +14 -0
- data/test/data/users-guide/example10_x.result +17 -0
- data/test/data/users-guide/example11.php +20 -0
- data/test/data/users-guide/example11.result +23 -0
- data/test/data/users-guide/example11.rhtml +21 -0
- data/test/data/users-guide/example11_C.result +10 -0
- data/test/data/users-guide/example11_N.result +16 -0
- data/test/data/users-guide/example11_U.result +16 -0
- data/test/data/users-guide/example11_php.result +15 -0
- data/test/data/users-guide/example1_x.result +9 -0
- data/test/data/users-guide/example2.eruby +7 -0
- data/test/data/users-guide/example2.rb +10 -0
- data/test/data/users-guide/example2.result +27 -0
- data/test/data/users-guide/example2_trim.result +10 -0
- data/test/data/users-guide/example2_x.result +10 -0
- data/test/data/users-guide/example3.eruby +6 -0
- data/test/data/users-guide/example3.rb +10 -0
- data/test/data/users-guide/example31.result +22 -0
- data/test/data/users-guide/example32.result +4 -0
- data/test/data/users-guide/example3_e.result +8 -0
- data/test/data/users-guide/example4.eruby +3 -0
- data/test/data/users-guide/example4.rb +11 -0
- data/test/data/users-guide/example4.result +10 -0
- data/test/data/users-guide/example4_x.result +5 -0
- data/test/data/users-guide/example5.eruby +6 -0
- data/test/data/users-guide/example5.rb +16 -0
- data/test/data/users-guide/example5.result +7 -0
- data/test/data/users-guide/example6.rb +12 -0
- data/test/data/users-guide/example6.result +7 -0
- data/test/data/users-guide/example7.eruby +8 -0
- data/test/data/users-guide/example71.result +13 -0
- data/test/data/users-guide/example72.result +13 -0
- data/test/data/users-guide/example8.eruby +6 -0
- data/test/data/users-guide/example8_ruby.result +7 -0
- data/test/data/users-guide/example8_yaml.result +7 -0
- data/test/data/users-guide/example9.eruby +3 -0
- data/test/data/users-guide/example9.rb +8 -0
- data/test/data/users-guide/example9.result +9 -0
- data/test/data/users-guide/example91.result +5 -0
- data/test/data/users-guide/example92.result +4 -0
- data/test/data/users-guide/example_c.result +32 -0
- data/test/data/users-guide/example_java.result +56 -0
- data/test/data/users-guide/example_js.result +22 -0
- data/test/data/users-guide/example_perl.result +20 -0
- data/test/data/users-guide/example_php.result +19 -0
- data/test/data/users-guide/example_scheme.result +30 -0
- data/test/data/users-guide/example_scheme_display.result +29 -0
- 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/fasteruby.rb +11 -0
- data/test/data/users-guide/fasteruby.result +38 -0
- data/test/data/users-guide/fasteruby.rhtml +15 -0
- data/test/data/users-guide/headerfooter-example.eruby +9 -0
- data/test/data/users-guide/headerfooter-example2.rb +8 -0
- data/test/data/users-guide/headerfooter-example2.rhtml +10 -0
- data/test/data/users-guide/headerfooter_example.result +11 -0
- data/test/data/users-guide/headerfooter_example2.result +13 -0
- data/test/data/users-guide/interpolation_example.result +9 -0
- data/test/data/users-guide/main_program1.rb +8 -0
- data/test/data/users-guide/main_program1.result +6 -0
- data/test/data/users-guide/main_program2.rb +8 -0
- data/test/data/users-guide/main_program2.result +6 -0
- data/test/data/users-guide/nocode-example.eruby +14 -0
- data/test/data/users-guide/nocode-php.result +20 -0
- data/test/data/users-guide/nocode_example.result +15 -0
- data/test/data/users-guide/normal-eruby-test.eruby +9 -0
- data/test/data/users-guide/normal_eruby_test.result +11 -0
- data/test/data/users-guide/notext-example.eruby +14 -0
- data/test/data/users-guide/notext-example.php +19 -0
- data/test/data/users-guide/notext-php.result +20 -0
- data/test/data/users-guide/notext_example.result +16 -0
- data/test/data/users-guide/percentline-example.rhtml +6 -0
- data/test/data/users-guide/percentline_example.result +9 -0
- 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/data/users-guide/printenable_example.result +4 -0
- data/test/data/users-guide/printenabled-example.eruby +3 -0
- data/test/data/users-guide/printenabled-example.rb +8 -0
- data/test/data/users-guide/printstatement_example.result +8 -0
- data/test/data/users-guide/simplify_example.result +9 -0
- data/test/data/users-guide/stderr.log +3 -0
- data/test/data/users-guide/stdout_exmple.result +9 -0
- data/test/data/users-guide/stringbuffer_example.result +9 -0
- data/test/data/users-guide/tail_260.result +4 -0
- data/test/data/users-guide/tailnewline.rhtml +3 -0
- data/test/data/users-guide/template1.rhtml +4 -0
- data/test/data/users-guide/template2.rhtml +4 -0
- data/test/test-engines.rb +425 -0
- data/test/test-enhancers.rb +646 -0
- data/test/test-erubis.rb +887 -0
- data/test/test-index-cgi.rb +191 -0
- data/test/test-main.rb +752 -0
- data/test/test-users-guide.rb +73 -0
- data/test/test.rb +45 -0
- data/test/testutil.rb +111 -0
- metadata +233 -0
@@ -0,0 +1,73 @@
|
|
1
|
+
###
|
2
|
+
### $Release: 2.7.0 $
|
3
|
+
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
4
|
+
###
|
5
|
+
|
6
|
+
require "#{File.dirname(__FILE__)}/test.rb"
|
7
|
+
|
8
|
+
|
9
|
+
class KwarkUsersGuideTest < Test::Unit::TestCase
|
10
|
+
|
11
|
+
DIR = File.expand_path(File.dirname(__FILE__) + '/data/users-guide')
|
12
|
+
CWD = Dir.pwd()
|
13
|
+
|
14
|
+
|
15
|
+
def setup
|
16
|
+
Dir.chdir DIR
|
17
|
+
end
|
18
|
+
|
19
|
+
|
20
|
+
def teardown
|
21
|
+
Dir.chdir CWD
|
22
|
+
end
|
23
|
+
|
24
|
+
|
25
|
+
def _test
|
26
|
+
@name = (caller()[0] =~ /`(.*?)'/) && $1
|
27
|
+
s = File.read(@filename)
|
28
|
+
s =~ /\A\$ (.*?)\n/
|
29
|
+
command = $1
|
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
|
47
|
+
result = `#{command}`
|
48
|
+
assert_text_equal(expected, result)
|
49
|
+
end
|
50
|
+
|
51
|
+
|
52
|
+
Dir.chdir DIR do
|
53
|
+
filenames = []
|
54
|
+
filenames += Dir.glob('*.result')
|
55
|
+
filenames += Dir.glob('*.source')
|
56
|
+
filenames.each do |filename|
|
57
|
+
name = filename.gsub(/[^\w]/, '_')
|
58
|
+
s = <<-END
|
59
|
+
def test_#{name}
|
60
|
+
# $stderr.puts "*** debug: test_#{name}"
|
61
|
+
@name = '#{name}'
|
62
|
+
@filename = '#{filename}'
|
63
|
+
_test()
|
64
|
+
end
|
65
|
+
END
|
66
|
+
eval s
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
|
71
|
+
self.post_definition()
|
72
|
+
|
73
|
+
end
|
data/test/test.rb
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
##
|
2
|
+
## $Release: 2.7.0 $
|
3
|
+
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
4
|
+
##
|
5
|
+
|
6
|
+
|
7
|
+
unless defined?(TESTDIR)
|
8
|
+
TESTDIR = File.dirname(__FILE__)
|
9
|
+
LIBDIR = TESTDIR == '.' ? '../lib' : File.dirname(TESTDIR) + '/lib'
|
10
|
+
$: << TESTDIR
|
11
|
+
$: << LIBDIR
|
12
|
+
end
|
13
|
+
|
14
|
+
|
15
|
+
require 'test/unit'
|
16
|
+
#require 'test/unit/ui/console/testrunner'
|
17
|
+
require 'assert-text-equal'
|
18
|
+
require 'yaml'
|
19
|
+
require 'testutil'
|
20
|
+
require 'erubis'
|
21
|
+
|
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
|
+
|
39
|
+
if $0 == __FILE__
|
40
|
+
require "#{TESTDIR}/test-erubis.rb"
|
41
|
+
require "#{TESTDIR}/test-engines.rb"
|
42
|
+
require "#{TESTDIR}/test-enhancers.rb"
|
43
|
+
require "#{TESTDIR}/test-main.rb"
|
44
|
+
require "#{TESTDIR}/test-users-guide.rb"
|
45
|
+
end
|
data/test/testutil.rb
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
###
|
2
|
+
### $Release: 2.7.0 $
|
3
|
+
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
4
|
+
###
|
5
|
+
|
6
|
+
require 'yaml'
|
7
|
+
|
8
|
+
require 'test/unit/testcase'
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
def ruby18? # :nodoc:
|
13
|
+
RUBY_VERSION =~ /\A1.8/
|
14
|
+
end
|
15
|
+
|
16
|
+
def ruby19? # :nodoc:
|
17
|
+
RUBY_VERSION =~ /\A1.9/
|
18
|
+
end
|
19
|
+
|
20
|
+
def rubinius? # :nodoc:
|
21
|
+
defined?(RUBY_ENGINE) && RUBY_ENGINE == "rbx"
|
22
|
+
end
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
class Test::Unit::TestCase
|
27
|
+
|
28
|
+
|
29
|
+
def self.load_yaml_datafile(filename, options={}, &block) # :nodoc:
|
30
|
+
# read datafile
|
31
|
+
s = File.read(filename)
|
32
|
+
if filename =~ /\.rb$/
|
33
|
+
s =~ /^__END__$/ or raise "*** error: __END__ is not found in '#{filename}'."
|
34
|
+
s = $'
|
35
|
+
end
|
36
|
+
# untabify
|
37
|
+
s = _untabify(s) unless options[:tabify] == false
|
38
|
+
# load yaml document
|
39
|
+
testdata_list = []
|
40
|
+
YAML.load_documents(s) do |ydoc|
|
41
|
+
if ydoc.is_a?(Hash)
|
42
|
+
testdata_list << ydoc
|
43
|
+
elsif ydoc.is_a?(Array)
|
44
|
+
ydoc.each do |hash|
|
45
|
+
raise "testdata should be a mapping." unless hash.is_a?(Hash)
|
46
|
+
testdata_list << hash
|
47
|
+
end
|
48
|
+
else
|
49
|
+
raise "testdata should be a mapping."
|
50
|
+
end
|
51
|
+
end
|
52
|
+
# data check
|
53
|
+
identkey = options[:identkey] || 'name'
|
54
|
+
table = {}
|
55
|
+
testdata_list.each do |hash|
|
56
|
+
ident = hash[identkey]
|
57
|
+
ident or raise "*** key '#{identkey}' is required but not found."
|
58
|
+
table[ident] and raise "*** #{identkey} '#{ident}' is duplicated."
|
59
|
+
table[ident] = hash
|
60
|
+
yield(hash) if block
|
61
|
+
end
|
62
|
+
#
|
63
|
+
return testdata_list
|
64
|
+
end
|
65
|
+
|
66
|
+
|
67
|
+
def self.define_testmethods(testdata_list, options={}, &block)
|
68
|
+
identkey = options[:identkey] || 'name'
|
69
|
+
testmethod = options[:testmethod] || '_test'
|
70
|
+
testdata_list.each do |hash|
|
71
|
+
yield(hash) if block
|
72
|
+
ident = hash[identkey]
|
73
|
+
s = "def test_#{ident}\n"
|
74
|
+
hash.each do |key, val|
|
75
|
+
s << " @#{key} = #{val.inspect}\n"
|
76
|
+
end
|
77
|
+
s << " #{testmethod}\n"
|
78
|
+
s << "end\n"
|
79
|
+
$stderr.puts "*** load_yaml_testdata(): eval_str=<<'END'\n#{s}END" if $DEBUG
|
80
|
+
self.module_eval s
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
|
85
|
+
def self.post_definition
|
86
|
+
if ENV['TEST']
|
87
|
+
target = "test_#{ENV['TEST']}"
|
88
|
+
self.instance_methods.each do |method_name|
|
89
|
+
m = method_name.to_s
|
90
|
+
private m if m =~ /\Atest_/ && m != target
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
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
|
+
|
111
|
+
end
|
metadata
ADDED
@@ -0,0 +1,233 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: erbse
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Nick Sutterer
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-05-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rake
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: minitest
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: An updated Erubis with block support. Block inheritance soon to come.
|
42
|
+
email:
|
43
|
+
- apotonick@gmail.com
|
44
|
+
executables:
|
45
|
+
- erubis
|
46
|
+
extensions: []
|
47
|
+
extra_rdoc_files: []
|
48
|
+
files:
|
49
|
+
- CHANGES.txt
|
50
|
+
- MIT-LICENSE
|
51
|
+
- README.md
|
52
|
+
- benchmark/Makefile
|
53
|
+
- benchmark/bench.rb
|
54
|
+
- benchmark/bench_context.yaml
|
55
|
+
- benchmark/templates/_footer.html
|
56
|
+
- benchmark/templates/_header.html
|
57
|
+
- benchmark/templates/bench_erb.rhtml
|
58
|
+
- benchmark/templates/bench_erubis.rhtml
|
59
|
+
- benchmark/templates/bench_eruby.rhtml
|
60
|
+
- bin/erubis
|
61
|
+
- erbse.gemspec
|
62
|
+
- lib/erbse.rb
|
63
|
+
- lib/erbse/context.rb
|
64
|
+
- lib/erbse/converter.rb
|
65
|
+
- lib/erbse/engine.rb
|
66
|
+
- lib/erbse/engine/ec.rb
|
67
|
+
- lib/erbse/engine/ecpp.rb
|
68
|
+
- lib/erbse/engine/ejava.rb
|
69
|
+
- lib/erbse/engine/ejavascript.rb
|
70
|
+
- lib/erbse/engine/enhanced.rb
|
71
|
+
- lib/erbse/engine/eperl.rb
|
72
|
+
- lib/erbse/engine/ephp.rb
|
73
|
+
- lib/erbse/engine/eruby.rb
|
74
|
+
- lib/erbse/engine/escheme.rb
|
75
|
+
- lib/erbse/engine/optimized.rb
|
76
|
+
- lib/erbse/enhancer.rb
|
77
|
+
- lib/erbse/error.rb
|
78
|
+
- lib/erbse/evaluator.rb
|
79
|
+
- lib/erbse/generator.rb
|
80
|
+
- lib/erbse/helper.rb
|
81
|
+
- lib/erbse/helpers/rails_form_helper.rb
|
82
|
+
- lib/erbse/helpers/rails_helper.rb
|
83
|
+
- lib/erbse/main.rb
|
84
|
+
- lib/erbse/preprocessing.rb
|
85
|
+
- lib/erbse/tiny.rb
|
86
|
+
- lib/erbse/util.rb
|
87
|
+
- lib/erbse/version.rb
|
88
|
+
- test/assert-text-equal.rb
|
89
|
+
- test/data/users-guide/Example.ejava
|
90
|
+
- test/data/users-guide/array_example.result
|
91
|
+
- test/data/users-guide/arraybuffer_example.result
|
92
|
+
- test/data/users-guide/bipattern-example.rhtml
|
93
|
+
- test/data/users-guide/bipattern_example.result
|
94
|
+
- test/data/users-guide/bufvar-example.rb
|
95
|
+
- test/data/users-guide/bufvar-example.result
|
96
|
+
- test/data/users-guide/context.rb
|
97
|
+
- test/data/users-guide/context.yaml
|
98
|
+
- test/data/users-guide/def_method.rb
|
99
|
+
- test/data/users-guide/def_method.result
|
100
|
+
- test/data/users-guide/escape_example.result
|
101
|
+
- test/data/users-guide/example.ec
|
102
|
+
- test/data/users-guide/example.ecpp
|
103
|
+
- test/data/users-guide/example.ejs
|
104
|
+
- test/data/users-guide/example.eperl
|
105
|
+
- test/data/users-guide/example.ephp
|
106
|
+
- test/data/users-guide/example.eruby
|
107
|
+
- test/data/users-guide/example.escheme
|
108
|
+
- test/data/users-guide/example1.eruby
|
109
|
+
- test/data/users-guide/example1.rb
|
110
|
+
- test/data/users-guide/example1.result
|
111
|
+
- test/data/users-guide/example10.rb
|
112
|
+
- test/data/users-guide/example10.result
|
113
|
+
- test/data/users-guide/example10.xhtml
|
114
|
+
- test/data/users-guide/example10_x.result
|
115
|
+
- test/data/users-guide/example11.php
|
116
|
+
- test/data/users-guide/example11.result
|
117
|
+
- test/data/users-guide/example11.rhtml
|
118
|
+
- test/data/users-guide/example11_C.result
|
119
|
+
- test/data/users-guide/example11_N.result
|
120
|
+
- test/data/users-guide/example11_U.result
|
121
|
+
- test/data/users-guide/example11_php.result
|
122
|
+
- test/data/users-guide/example1_x.result
|
123
|
+
- test/data/users-guide/example2.eruby
|
124
|
+
- test/data/users-guide/example2.rb
|
125
|
+
- test/data/users-guide/example2.result
|
126
|
+
- test/data/users-guide/example2_trim.result
|
127
|
+
- test/data/users-guide/example2_x.result
|
128
|
+
- test/data/users-guide/example3.eruby
|
129
|
+
- test/data/users-guide/example3.rb
|
130
|
+
- test/data/users-guide/example31.result
|
131
|
+
- test/data/users-guide/example32.result
|
132
|
+
- test/data/users-guide/example3_e.result
|
133
|
+
- test/data/users-guide/example4.eruby
|
134
|
+
- test/data/users-guide/example4.rb
|
135
|
+
- test/data/users-guide/example4.result
|
136
|
+
- test/data/users-guide/example4_x.result
|
137
|
+
- test/data/users-guide/example5.eruby
|
138
|
+
- test/data/users-guide/example5.rb
|
139
|
+
- test/data/users-guide/example5.result
|
140
|
+
- test/data/users-guide/example6.rb
|
141
|
+
- test/data/users-guide/example6.result
|
142
|
+
- test/data/users-guide/example7.eruby
|
143
|
+
- test/data/users-guide/example71.result
|
144
|
+
- test/data/users-guide/example72.result
|
145
|
+
- test/data/users-guide/example8.eruby
|
146
|
+
- test/data/users-guide/example8_ruby.result
|
147
|
+
- test/data/users-guide/example8_yaml.result
|
148
|
+
- test/data/users-guide/example9.eruby
|
149
|
+
- test/data/users-guide/example9.rb
|
150
|
+
- test/data/users-guide/example9.result
|
151
|
+
- test/data/users-guide/example91.result
|
152
|
+
- test/data/users-guide/example92.result
|
153
|
+
- test/data/users-guide/example_c.result
|
154
|
+
- test/data/users-guide/example_java.result
|
155
|
+
- test/data/users-guide/example_js.result
|
156
|
+
- test/data/users-guide/example_perl.result
|
157
|
+
- test/data/users-guide/example_php.result
|
158
|
+
- test/data/users-guide/example_scheme.result
|
159
|
+
- test/data/users-guide/example_scheme_display.result
|
160
|
+
- test/data/users-guide/fasteruby-example.rb
|
161
|
+
- test/data/users-guide/fasteruby-example.result
|
162
|
+
- test/data/users-guide/fasteruby.rb
|
163
|
+
- test/data/users-guide/fasteruby.result
|
164
|
+
- test/data/users-guide/fasteruby.rhtml
|
165
|
+
- test/data/users-guide/headerfooter-example.eruby
|
166
|
+
- test/data/users-guide/headerfooter-example2.rb
|
167
|
+
- test/data/users-guide/headerfooter-example2.rhtml
|
168
|
+
- test/data/users-guide/headerfooter_example.result
|
169
|
+
- test/data/users-guide/headerfooter_example2.result
|
170
|
+
- test/data/users-guide/interpolation_example.result
|
171
|
+
- test/data/users-guide/main_program1.rb
|
172
|
+
- test/data/users-guide/main_program1.result
|
173
|
+
- test/data/users-guide/main_program2.rb
|
174
|
+
- test/data/users-guide/main_program2.result
|
175
|
+
- test/data/users-guide/nocode-example.eruby
|
176
|
+
- test/data/users-guide/nocode-php.result
|
177
|
+
- test/data/users-guide/nocode_example.result
|
178
|
+
- test/data/users-guide/normal-eruby-test.eruby
|
179
|
+
- test/data/users-guide/normal_eruby_test.result
|
180
|
+
- test/data/users-guide/notext-example.eruby
|
181
|
+
- test/data/users-guide/notext-example.php
|
182
|
+
- test/data/users-guide/notext-php.result
|
183
|
+
- test/data/users-guide/notext_example.result
|
184
|
+
- test/data/users-guide/percentline-example.rhtml
|
185
|
+
- test/data/users-guide/percentline_example.result
|
186
|
+
- test/data/users-guide/prefixedline-example.rb
|
187
|
+
- test/data/users-guide/prefixedline-example.rhtml
|
188
|
+
- test/data/users-guide/prefixedline_example.result
|
189
|
+
- test/data/users-guide/printenable_example.result
|
190
|
+
- test/data/users-guide/printenabled-example.eruby
|
191
|
+
- test/data/users-guide/printenabled-example.rb
|
192
|
+
- test/data/users-guide/printstatement_example.result
|
193
|
+
- test/data/users-guide/simplify_example.result
|
194
|
+
- test/data/users-guide/stderr.log
|
195
|
+
- test/data/users-guide/stdout_exmple.result
|
196
|
+
- test/data/users-guide/stringbuffer_example.result
|
197
|
+
- test/data/users-guide/tail_260.result
|
198
|
+
- test/data/users-guide/tailnewline.rhtml
|
199
|
+
- test/data/users-guide/template1.rhtml
|
200
|
+
- test/data/users-guide/template2.rhtml
|
201
|
+
- test/test-engines.rb
|
202
|
+
- test/test-enhancers.rb
|
203
|
+
- test/test-erubis.rb
|
204
|
+
- test/test-index-cgi.rb
|
205
|
+
- test/test-main.rb
|
206
|
+
- test/test-users-guide.rb
|
207
|
+
- test/test.rb
|
208
|
+
- test/testutil.rb
|
209
|
+
homepage: https://github.com/apotonick/erbse
|
210
|
+
licenses:
|
211
|
+
- MIT
|
212
|
+
metadata: {}
|
213
|
+
post_install_message:
|
214
|
+
rdoc_options: []
|
215
|
+
require_paths:
|
216
|
+
- lib
|
217
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - ">="
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
222
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
223
|
+
requirements:
|
224
|
+
- - ">="
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: '0'
|
227
|
+
requirements: []
|
228
|
+
rubyforge_project:
|
229
|
+
rubygems_version: 2.2.2
|
230
|
+
signing_key:
|
231
|
+
specification_version: 4
|
232
|
+
summary: Updated Erubis.
|
233
|
+
test_files: []
|