erubis 2.6.4 → 2.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +9 -2
- data/README.txt +1 -1
- data/benchmark/bench.rb +1 -2
- data/bin/erubis +1 -2
- data/contrib/erubis +43 -68
- data/contrib/inline-require +53 -27
- data/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +3 -3
- data/doc-api/classes/Erubis.html +1 -1
- data/doc-api/classes/Erubis/ArrayBufferEnhancer.html +2 -2
- data/doc-api/classes/Erubis/ArrayEnhancer.html +2 -2
- data/doc-api/classes/Erubis/Basic/Converter.html +4 -4
- data/doc-api/classes/Erubis/BiPatternEnhancer.html +2 -2
- data/doc-api/classes/Erubis/CGenerator.html +10 -10
- data/doc-api/classes/Erubis/Context.html +7 -7
- data/doc-api/classes/Erubis/Converter.html +4 -4
- data/doc-api/classes/Erubis/DeleteIndentEnhancer.html +1 -1
- data/doc-api/classes/Erubis/Engine.html +5 -5
- data/doc-api/classes/Erubis/ErboutEnhancer.html +2 -2
- data/doc-api/classes/Erubis/EscapeEnhancer.html +1 -1
- data/doc-api/classes/Erubis/Evaluator.html +3 -3
- data/doc-api/classes/Erubis/Generator.html +10 -10
- data/doc-api/classes/Erubis/HeaderFooterEnhancer.html +2 -2
- data/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +25 -25
- data/doc-api/classes/Erubis/Helpers/RailsHelper.html +8 -8
- data/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +4 -4
- data/doc-api/classes/Erubis/InterpolationEnhancer.html +5 -5
- data/doc-api/classes/Erubis/JavaGenerator.html +9 -9
- data/doc-api/classes/Erubis/JavascriptGenerator.html +10 -10
- data/doc-api/classes/Erubis/Main.html +6 -5
- data/doc-api/classes/Erubis/NoCodeEnhancer.html +5 -5
- data/doc-api/classes/Erubis/NoTextEnhancer.html +1 -1
- data/doc-api/classes/Erubis/OptimizedEruby.html +1 -1
- data/doc-api/classes/Erubis/OptimizedGenerator.html +12 -12
- data/doc-api/classes/Erubis/OptimizedXmlEruby.html +1 -1
- data/doc-api/classes/Erubis/PI/Converter.html +3 -3
- data/doc-api/classes/Erubis/PI/Ec.html +1 -1
- data/doc-api/classes/Erubis/PI/Ejava.html +1 -1
- data/doc-api/classes/Erubis/PI/Ejavascript.html +1 -1
- data/doc-api/classes/Erubis/PI/Eperl.html +1 -1
- data/doc-api/classes/Erubis/PI/Ephp.html +1 -1
- data/doc-api/classes/Erubis/PI/Eruby.html +1 -1
- data/doc-api/classes/Erubis/PI/Escheme.html +1 -1
- data/doc-api/classes/Erubis/PI/TinyEruby.html +4 -4
- data/doc-api/classes/Erubis/PercentLineEnhancer.html +1 -1
- data/doc-api/classes/Erubis/PerlGenerator.html +9 -9
- data/doc-api/classes/Erubis/PhpGenerator.html +9 -9
- data/doc-api/classes/Erubis/PreprocessingEruby.html +2 -2
- data/doc-api/classes/Erubis/PreprocessingHelper.html +3 -3
- data/doc-api/classes/Erubis/PrintEnabledEnhancer.html +3 -3
- data/doc-api/classes/Erubis/PrintOutEnhancer.html +5 -5
- data/doc-api/classes/Erubis/RubyEvaluator.html +3 -3
- data/doc-api/classes/Erubis/RubyGenerator.html +8 -8
- data/doc-api/classes/Erubis/SchemeGenerator.html +10 -10
- data/doc-api/classes/Erubis/SimplifyEnhancer.html +1 -1
- data/doc-api/classes/Erubis/StdoutEnhancer.html +2 -2
- data/doc-api/classes/Erubis/StringBufferEnhancer.html +2 -2
- data/doc-api/classes/Erubis/TinyEruby.html +7 -8
- data/doc-api/classes/Erubis/XmlHelper.html +3 -3
- data/doc-api/created.rid +1 -1
- data/doc-api/files/README_txt.html +2 -2
- data/doc-api/files/erubis/context_rb.html +2 -2
- data/doc-api/files/erubis/converter_rb.html +2 -2
- data/doc-api/files/erubis/engine/ec_rb.html +2 -2
- 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 +2 -2
- data/doc-api/files/erubis/engine/ephp_rb.html +2 -2
- data/doc-api/files/erubis/engine/eruby_rb.html +2 -2
- data/doc-api/files/erubis/engine/escheme_rb.html +2 -2
- data/doc-api/files/erubis/engine/optimized_rb.html +2 -2
- 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 +2 -2
- data/doc-api/files/erubis/evaluator_rb.html +2 -2
- data/doc-api/files/erubis/generator_rb.html +2 -2
- data/doc-api/files/erubis/helper_rb.html +2 -2
- data/doc-api/files/erubis/helpers/rails_form_helper_rb.html +2 -2
- data/doc-api/files/erubis/helpers/rails_helper_rb.html +2 -2
- data/doc-api/files/erubis/local-setting_rb.html +2 -2
- data/doc-api/files/erubis/main_rb.html +2 -2
- data/doc-api/files/erubis/preprocessing_rb.html +2 -2
- data/doc-api/files/erubis/tiny_rb.html +2 -2
- data/doc-api/files/erubis_rb.html +2 -2
- data/doc/users-guide.html +6 -6
- data/lib/erubis.rb +2 -3
- data/lib/erubis/context.rb +1 -2
- data/lib/erubis/converter.rb +1 -2
- data/lib/erubis/engine.rb +1 -2
- data/lib/erubis/engine/ec.rb +1 -2
- data/lib/erubis/engine/ejava.rb +1 -2
- data/lib/erubis/engine/ejavascript.rb +1 -2
- data/lib/erubis/engine/enhanced.rb +1 -2
- data/lib/erubis/engine/eperl.rb +1 -2
- data/lib/erubis/engine/ephp.rb +1 -2
- data/lib/erubis/engine/eruby.rb +1 -2
- data/lib/erubis/engine/escheme.rb +1 -2
- data/lib/erubis/engine/optimized.rb +1 -2
- data/lib/erubis/enhancer.rb +1 -2
- data/lib/erubis/error.rb +1 -2
- data/lib/erubis/evaluator.rb +1 -2
- data/lib/erubis/generator.rb +1 -2
- data/lib/erubis/helper.rb +1 -2
- data/lib/erubis/helpers/rails_form_helper.rb +1 -2
- data/lib/erubis/helpers/rails_helper.rb +1 -2
- data/lib/erubis/local-setting.rb +1 -2
- data/lib/erubis/main.rb +18 -21
- data/lib/erubis/preprocessing.rb +1 -2
- data/lib/erubis/tiny.rb +4 -6
- data/test/assert-text-equal.rb +1 -2
- data/test/test-engines.rb +1 -2
- data/test/test-enhancers.rb +1 -2
- data/test/test-erubis.rb +1 -2
- data/test/test-main.rb +36 -16
- data/test/test-users-guide.rb +1 -2
- data/test/test.rb +1 -2
- data/test/testutil.rb +3 -8
- metadata +2 -2
data/test/test-users-guide.rb
CHANGED
data/test/test.rb
CHANGED
data/test/testutil.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
###
|
2
|
-
### $
|
3
|
-
### $Release: 2.6.4 $
|
2
|
+
### $Release: 2.6.5 $
|
4
3
|
### copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
|
5
4
|
###
|
6
5
|
|
@@ -10,16 +9,12 @@ require 'test/unit/testcase'
|
|
10
9
|
|
11
10
|
|
12
11
|
|
13
|
-
def _ruby_ver_str # :nodoc:
|
14
|
-
return /\d+\.\d+/.match(RUBY_VERSION)[0]
|
15
|
-
end
|
16
|
-
|
17
12
|
def ruby18? # :nodoc:
|
18
|
-
|
13
|
+
RUBY_VERSION =~ /\A1.8/
|
19
14
|
end
|
20
15
|
|
21
16
|
def ruby19? # :nodoc:
|
22
|
-
|
17
|
+
RUBY_VERSION =~ /\A1.9/
|
23
18
|
end
|
24
19
|
|
25
20
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erubis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- makoto kuwata
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-20 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|