| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- [bugfix] change context key 'code' to 'symbol' in benchmark/bench_context.yaml
|
| |
|
| |
|
|
|
|
|
|
| |
- [enhance] add test/test-users-guide.rb
|
|
|
|
|
|
| |
- [bugfix] test/test-main.rb fixed around error messages
|
|
|
|
|
|
| |
- [enhance] add ExpressionInterpolationEnhancer
|
| |
|
|
|
|
|
|
|
|
| |
- [enhance] erubybench.rb supports '-e' (escape) option
- [enhance] erubybench.rb supports PI::Eruby
- [update] users-guide
|
|
|
|
|
|
|
|
| |
- [enhance] add Erubis::Eruby_cached test
- [enhance] Context#update() added
- [enhance] option '-f' can take '*.rb' file
|
|
|
|
| |
StringBufferEnhancer instead of ArrayBufferEnhancer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- [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] erubybench.rb: option '-o' (outfile) added
- [change] erubybench.rb: option '-O' is changed to '-p'
|
|
|
|
|
|
|
| |
- [change] erubybench.rhtml changed to include 'if-then-else' statement
- [enhance] add 'benchmark/pibench.rb'
|
| |
|
| |
|
|
|
|
|
|
| |
- [change] use STDOUT instead of /dev/null by default in erubybench.rb
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- [change] option '-s' is obsolete
- [change] option '-E' is obsolete
- [change] option '-e' is renamed to '-E'
- [change] use command-line option object in Main class
- [refact] Helper#escape_xml() is changed to call String#gsub a time
- [change] test-bin.rb invoke Main.new.execute(), not 'ruby $script'
|
|
|
|
|
| |
- [enhance] add 'bin/notext' command
|
|
|
|
|
|
|
|
|
| |
- [enhance] Engine#result() can take a hash object
- [enhance] TinyEruby#evaluate() added
- [change] Engine#evaluate() convert hash into Context object
- [change] command-line option '-X' removed and add '-B' (invoke result(binding))
- [enhance] add 'website/' directory
|
|
|
|
|
|
|
| |
- [enhance] add Context class
- [enahnce] Engine#enhacne() now support Context object
- [enhance] new command-line option '-X' (convert to context obj) added
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- [refactor] XxxxXmlEruby classes are removed
- [change] PrintStatementEnhancer is renamed to PrintOutEnhancer
- [change] add benchmark/erubybench-lib.rb
- [change] command-line option '-E' (enhancers) changed to '-e'
- [change] README is rewrited in RDoc format
- [change] removed FastEnhancer
- [change] removed XxxXmlEruby classes
- [enhance] new command-line option '-E' (show all enhancers)
- [enhance] add XxxEnhancer.desc
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- [enhance] new property :preamble and :postamble support
- [enhance] new command-line option '-b' (body only)
- [change] Engine#init_src()/finis_src() are named to add_preamble()/add_postamble()
- [change] Ejava changed to print preamble and postamble.
- [enhance] add simplest.rb
- [enhance] new method Engine#compile!(), which compile input and set @src
- [enhance] new command-line option '-E' (load enhancers)
- [enhance] new property :escape, which represents escape function name
- [update] update users-guide
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- [enhance] new module BiPatternEnhancer [experimental]
- [enhance] new module SimplifiedEnhancer
- [enhance] new module StringBufferEnhancer
- [enhance] new module PrintStatementEnhancer
- [enhance] new module PercentLineEnhancer
- [enhance] new module HeaderFooterEnhancer [experimental]
- [enhance] new class OutputSimplifiedEruby
- [enhance] Engine.supported_properties() added
- [enhance] print show_properties() when '-h' is specified
- [enhance] add Eperl class (engine/perl.rb)
- [enhance] add examples
- [change] class Eruby includes ArrayBufferEnhancer
- [change] EscapeEnhancer now overrides add_expr()
- [change] module PrintEnhancer is renamed to PrintAvailableEnhancer
- [change] Ejava doesn't out 'StringBuffer _buf' nor 'return _buf.toString();'
- [change] subclasses of Eruby are moved to new file 'enhanced.rb'
|
|
|
|
|
|
|
|
|
| |
- [enhance] new class Engine is splitted from Eruby
- [enhance] Eruby now escapes '<%== ... %>'
- [change] method names are changed in Engine class ('add_src_code'=>'add_stmt', etc)
- [enhance] new module ArrayEnhancer and ArrayBufferEnhander
- [enhance] add test/test-engines.rb
|
|
- [change] 'lib/erubis.rb' is divided into eruby.rb, enhancer.rb, and optimized.rb
- [change] command 'bin/erubis' is moved to 'lib/erubis/main.rb'
- [change] benchmark/erubybench.rb updated
- [enhance] new command-line option '-k' (convert map key to Symbol) added
|