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 * lib/csv.rb: Fixed a bug in read_to_char() that would slurp 2008-10-25 00:54:38 +00:00
date * lib/date/format.rb (strftime): ignores '_' flag for %[LN]. 2008-11-24 16:26:00 +00:00
dbm * ext/gdbm/gdbm.c (fgdbm_index): make #index warn like Hash. 2008-11-08 03:15:28 +00:00
digest
drb
erb * lib/erb.rb (ERB): m17n of ERB. adds rdoc. 2008-12-29 09:26:34 +00:00
etc
fileutils * dln.c: Ruby no longer supports Windows CE. 2008-10-04 13:48:20 +00:00
gdbm * ext/gdbm/gdbm.c (fgdbm_index): make #index warn like Hash. 2008-11-08 03:15:28 +00:00
iconv * ext/iconv/iconv.c (strip_glibc_option, map_charset): check if 2008-10-21 02:34:07 +00:00
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 * lib/logger.rb (ProgName): fixed for svn, based on a patch from 2008-11-18 07:18:29 +00:00
matrix
minitest Imported minitest 1.3.1 r4505. 2008-12-27 20:51:23 +00:00
monitor
net * lib/net/pop.rb: check for invalid APOP timestamp. (CVE-2007-1558) 2008-10-14 02:22:46 +00:00
nkf * test/nkf/test_nkf.rb: add a test for [ruby-dev:36909]. 2008-10-26 16:31:15 +00:00
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 * lib/rexml/entity.rb (unnormalized): do not call 2008-11-06 17:03:40 +00:00
rinda fixed fails occasionally [ruby-dev:37119]. thanks, shinichiro.h. 2008-11-18 18:05:28 +00:00
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 * test/sdbm/test_sdbm.rb (TestSDBM#test_index): Reflect the method 2008-11-10 08:38:20 +00:00
socket * test/socket/test_tcp.rb (test_recvfrom): already can run on mswin32. 2008-12-02 06:14:37 +00:00
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 * test/webrick/utils.rb (start_server): provide a reference to log of 2008-10-29 11:48:35 +00:00
win32ole * ext/win32ole/win32ole.c (fole_s_connect, fole_initialize, 2008-11-06 12:38:49 +00:00
xmlrpc
yaml * ext/syck/rubyext.c (rb_syck_mktime): return DateTime for a value 2008-11-19 08:49:51 +00:00
zlib * test/zlib/test_zlib.rb(test_readchar): compare in same type. 2008-11-03 23:00:40 +00:00
inlinetest.rb
runner.rb * test/runner.rb: search srcdir/test/arg at first to find test/ruby 2008-10-20 00:48:24 +00:00
test_delegate.rb add test for {SimpleDelegator, DelegateClass}#class . 2008-10-18 15:18:49 +00:00
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 add test for encoding option. 2008-10-18 14:30:47 +00:00
test_time.rb
test_timeout.rb
test_tsort.rb