aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erb.rb
Commit message (Collapse)AuthorAgeFilesLines
* * lib/erb.rb: adjust line number for magic comment.kazu2008-06-271-3/+3
| | | | | | | * test/erb/test_erb.rb: add tests for def_method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Compiler:Buffer#new): push magic comment first.naruse2008-06-251-5/+4
| | | | | | * lib/erb.rb (ERB::Compiler#compile): fix for broken input. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Compiler#compile): magic comment needs LF.naruse2008-06-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Compiler#compile): output magic comment.naruse2008-06-251-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc.rb: massive spelling correction patch from Evan Farrarmatz2008-06-041-1/+1
| | | | | | <evanfarrar at gmail.com> in [ruby-doc:1382] applied. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Oops. Thisknu2008-06-021-6/+4
| | | | | | | change did not apply to trunk. Backed out. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Fix a bugknu2008-06-021-4/+6
| | | | | | | | | | | where tokens are not yilelded one by one. * test/erb/test_erb.rb (TestERBCore#_test_01) (TestERBCore#test_02_safe_04): The expected value should come first for assert_equal(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [ruby-dev:34497] ERB::Util#url_encode bug fix. Reported by rubikitch.seki2008-04-301-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Revision): cut off locale dependent string in Dateakr2008-01-061-1/+1
| | | | | | | keyword. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb: String#each was removed, use #each_line instead.aamine2006-10-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (ERB::Compiler): add instance variable @insert_cmd to change <%='s behavior.seki2006-01-101-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make module_functionseki2005-02-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_read): move StringValue() check before GetOpenFile().matz2004-11-251-15/+364
| | | | | | | [ruby-dev:24959] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add test_erb.rbseki2004-02-281-1/+1
| | | | | | | | * lib/erb.rb, test/erb/test_erb.rb: don't forget filename, if both filename and safe_level given. [ruby-dev:23050] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb: new method ERB#filename(=). [ruby-dev:22208]aamine2003-12-101-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* import erb-2.0.4b4seki2003-07-311-9/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add explicit trim modeseki2003-07-311-16/+144
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* import erb_2_0_4b2seki2003-07-291-6/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix: keep linenoseki2003-07-251-11/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* import erb-2.0.4b1seki2003-07-231-131/+169
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix ERB::DefMethod bugseki2003-04-221-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make public ERB::Compilerseki2003-01-201-3/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix: % in <%..%>seki2003-01-201-44/+74
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * erb.rb: fix def_class bug.seki2002-11-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add ERBseki2002-11-171-0/+258
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e