summaryrefslogtreecommitdiff
path: root/test/test-main.rb
Commit message (Collapse)AuthorAgeFilesLines
* [enhance] modify test scripts to support Rubiniusmakoto kuwata2011-03-201-2/+33
|
* [refactor] tweak 'test-main.rb'makoto kuwata2009-07-151-12/+8
|
* [bugfix] 'main.rb' to 'erubis -z' prints 'Syntax OK' correctlymakoto kuwata2009-07-151-0/+24
|
* - [bugfix] report argument name when option argument is missingmakoto kuwata2009-02-071-18/+21
| | | | | | | - [bugfix] enhacner class name was not reported when not found (Ruby 1.9.1) - [change] add _error_test() to 'test-main.rb'
* - [change] change '#!/usr/bin/ruby' to '#!/usr/bin/env ruby' in 'bin/erubis'makoto kuwata2009-02-071-0/+24
| | | | | | - [bugfix] change 'optchar.chr' to 'optchar' in 'main.rb'.
* * [change] use "#{ENV['_']} -wc" instead of 'ruby -wc' to check syntax (-z) ↵makoto kuwata2008-06-121-2/+17
| | | | if ENV['_'] is not nil
* - [enhance] test/testutil.rb: add TestCase::post_definitionmakoto kuwata2008-06-121-0/+6
| | | | | | - [enhance] Ruby 1.9 support - [change] Evaluator#evaluate() changed not to use Erubis::EMPTY_BINDING to support Ruby1.9
* - [bugfix] main.rb: help message was not displayedmakoto kuwata2007-07-111-0/+13
| | | | | | - [bugfix] main.rb: Object#hash() was returned instead of context in load_datafile()
* - [enhance] add '-T' (don't expand tab characters)makoto kuwata2007-05-221-1/+25
| | | | | | | - [enhance] add 'contrib/erubis-run.rb' (thanks to Andrew R Jackson) - [update] add description about erubis-run.rb and DeleteIndentEnhancer
* - [refactor] remove RailsHelperEruby from helpers/rails.rbmakoto kuwata2007-05-181-1/+1
| | | | | | - [bugfix] change context key 'code' to 'symbol' in benchmark/bench_context.yaml
* - [enhance] new command-line option '-X', '-N', '-C', and '-U' supportmakoto kuwata2007-05-151-6/+6
| | | | | | | | - [change] command 'notext' has been removed - [change] remove test/test-notext.{rb,yaml} - [change] command-line option '-C' has been desupported
* - [bugfix] ExpressionInterporationEnhancer.description() had errormakoto kuwata2007-05-151-4/+4
| | | | | | - [bugfix] test/test-main.rb fixed around error messages
* - [change] option '-T' is removed(no author)2007-02-111-4/+4
| | | | | | - [update] user's guide
* - [change] option '-X' is changed to '-z'(no author)2007-02-111-5/+5
| | | | | | | | - [enhance] erubybench.rb supports '-e' (escape) option - [enhance] erubybench.rb supports PI::Eruby - [update] users-guide
* - [update] rdoc of erubis.rb(no author)2007-02-041-7/+94
| | | | | | | - [enhance] add Erubis::VERSION - [enhance] command-line option '-X' (syntax checking) added - [update] users-guide updated
* - [change] engine/eruby.rb: class Erubis::Eruby changed to include ↵(no author)2007-02-021-9/+9
| | | | StringBufferEnhancer instead of ArrayBufferEnhancer
* - [change] main.rb: option '-c class' is renamed to '-C'(no author)2007-02-021-3/+24
| | | | | | | | | | | | | | | - [enhance] main.rb: option '-c context' supported - [refactor] tiny.rb: prefix '_' is aded to local vars in TinyEruby#evaluate() and PI::TinyEruby#evaluate() - [refactor] tiny.rb: method 'escape_text() is inlined in TinyEruby and PI::TinyEruby classes - [enhance] add test for PI::TinyEruby - [change] erubybench.rb: default output file is changed to '/dev/null' - [change] erubybench.rb: options '-F' is changed to '-t' - [change] erubybench.rb: options '-T' is changed to '-m' - [change] erubybench.rb: don't convert string keys of context data into symbol - [change] erubybench.yaml: add price, change, and ratio - [change] erubybench.rhtml: add price, change, and ratio
* - [change] embedded expr pattern of piengine is changed from '${...}' to ↵makoto kuwata2006-09-181-2/+2
| | | | | | | | '@{...}@' - [update] users-guide.txt updated
* - [refactor] divide Engine class into Converter, Generator, and Evaluatormakoto kuwata2006-08-021-0/+108
| | | | | | | | | | - [refactor] merge 'pi/enhancer.rb' into 'engine.rb' - [refacotr] remove 'pi/*.rb' - [enhance] add PI::TinyEruby - [change] property ':escape' is renamed to ':escapefunc' - [enhance] new property '--escape={true|false}'
* - [change] 'bin/noitem' uses pattern '<? !>' when lang is eperlmakoto kuwata2006-05-271-0/+400
- [enhance] new enhancer NoCodeEnhander - [change] Erubis::Eperl#escaped_expr() prints 'encode_entities()' which is avairlable with HTML::Entities module - [bugfix] define_testmethods() (in 'test/testutil.rb') use 'module_eval' instead of 'eval' - [update] doc/users-guide.txt updated