1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
yugui af91b42354 * lib/erb.rb (ERB): m17n of ERB. adds rdoc.
fixes #712. c.f. [ruby-dev:37516].

* lib/erb.rb (ERB::Compiler#compile): recognizes magic comments.
  returns a pair of compiled script and its script encoding.

* lib/erb.rb (ERB#set_eoutvar): make generated scripts return a
  string in correct encoding.

* lib/erb.rb (ERB#def_method): use Kernel#eval for encoding-awareness
  of the evaluated string.

* bin/erb.rb (ERB::Main.run): adds -E and -U options.
  String is no longer Enumerable.

* man/erb.1: new manapage.

* test/erb/test_erb_m17n.rb: new test case for m17n features.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29 09:26:34 +00:00
..
base64
bigdecimal * test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_hash): 2008-12-17 02:40:53 +00:00
cgi * test/rdoc/test_rdoc_info_formatting.rb (setup, teadown): uses 2008-12-27 13:41:04 +00:00
csv
date
dbm
digest
drb
erb * lib/erb.rb (ERB): m17n of ERB. adds rdoc. 2008-12-29 09:26:34 +00:00
etc
fileutils
gdbm
iconv
io/nonblock
json Removed json/runner.rb with permission from florian frank. it was serving no purpose 2008-12-15 22:13:29 +00:00
logger
matrix
minitest Imported minitest 1.3.1 r4505. 2008-12-27 20:51:23 +00:00
monitor
net
nkf
openssl add a test for OpenSSL::SSL::SSLSocket#read_nonblock. 2008-12-28 16:09:59 +00:00
optparse * lib/optparse.rb (OptionParser::List#summarize): gives priority 2008-12-26 06:50:55 +00:00
ostruct
pathname
rdoc * test/rdoc/test_rdoc_info_formatting.rb (setup, teadown): uses 2008-12-27 13:41:04 +00:00
readline * test/readline/test_readline_history.rb: check the encoding that 2008-12-24 16:11:01 +00:00
rexml
rinda
ripper
rss * lib/rss/maker.rb, lib/rss/maker/0.9.rb, lib/rss/maker/base.rb: 2008-12-11 12:06:26 +00:00
ruby * thread.c (rb_mutex_trylock): return false if Mutex owned 2008-12-29 03:03:09 +00:00
rubygems merges r21134 from ruby_1_9_1 into trunk. 2008-12-29 06:18:14 +00:00
scanf
sdbm
socket
stringio * vm_insnhelper.c (vm_call_method, vm_call_cfunc): use original id instead of 2008-12-27 03:57:21 +00:00
strscan
uri
webrick
win32ole
xmlrpc
yaml
zlib
inlinetest.rb
runner.rb
test_delegate.rb
test_ipaddr.rb
test_open3.rb * lib/open3.rb (Open3.pipeline_start): return an array of threads if a 2008-12-10 17:24:42 +00:00
test_pp.rb
test_prettyprint.rb
test_prime.rb
test_pstore.rb
test_pty.rb * ext/pty/pty.c (getDevice): add nomesg argument. 2008-12-16 11:39:17 +00:00
test_set.rb
test_shellwords.rb
test_singleton.rb
test_tempfile.rb
test_time.rb
test_timeout.rb
test_tsort.rb