1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
normal d4454d0123 io.c (argf_read_nonblock): support `exception: false'
This is a preparation for [ruby-core:69892]
("io.c: avoid kwarg parsing in C API")
since I noticed ARGF.read_nonblock did not properly catch up to
the `exception: false' change.

* io.c (argf_read_nonblock): support `exception: false'
  (io_nonblock_eof): new function
  (io_read_nonblock): use io_nonblock_eof
  (argf_getpartial): accept kwargs hash for `exception: false'
* test/ruby/test_argf.rb (test_read_nonblock): new test
  [ruby-core:70000] [Feature #11358]
* NEWS: add item for ARGF.read_nonblock

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-07-17 18:02:53 +00:00
..
-ext- encoding.c: drop dummy encoding flag 2015-07-15 07:55:08 +00:00
base64 * lib/base64.rb: make urlsafe mode user-friendly. 2015-02-13 12:31:30 +00:00
benchmark
bigdecimal test_bigdecimal.rb: adjust 2015-05-27 10:56:33 +00:00
cgi * lib/cgi/cookie.rb: Implement HttpOnly flag for cookies. 2015-05-14 23:27:01 +00:00
coverage * ext/coverage/coverage.c: Add Coverage.peek_result. Allows you to 2015-02-13 15:53:47 +00:00
csv * lib/csv.rb: accept to use Range object for row selection. 2015-06-17 01:58:34 +00:00
date
dbm
digest use assert_raise 2015-06-02 02:18:44 +00:00
drb use Timeout.timeout 2015-07-13 10:07:01 +00:00
dtrace
erb * include/ruby/ruby.h: $SAFE=2 is now obsolete. 2015-06-18 14:21:03 +00:00
etc
excludes suppress warning: ambiguous first argument; put parentheses or a space even after `/' operator 2015-06-13 08:42:02 +00:00
fiddle * include/ruby/ruby.h: $SAFE=2 is now obsolete. 2015-06-18 14:21:03 +00:00
fileutils fileutils.rb: fix error message 2015-04-01 00:59:14 +00:00
gdbm
io use Timeout.timeout 2015-07-13 10:07:01 +00:00
irb
json generator.c: allocate structs with wrapper 2015-05-28 07:17:55 +00:00
lib use Timeout.timeout 2015-07-13 10:07:01 +00:00
logger use assert_raise 2015-06-02 02:18:44 +00:00
matrix test_matrix.rb: Refactor on Matrix#determinant 2015-05-08 13:57:27 +00:00
minitest
misc
mkmf mkmf/base.rb: clean up tmpdir 2015-03-03 17:01:13 +00:00
monitor * lib/monitor.rb (mon_try_enter, mon_enter): should reset @mon_count 2015-05-18 04:56:22 +00:00
net fix a failure without zlib 2015-07-01 14:52:05 +00:00
nkf
objspace * ext/objspace/objspace_dump.c(dump_object): Return empty JSON object when 2015-06-20 20:50:20 +00:00
open-uri use assert_raise 2015-06-02 02:18:44 +00:00
openssl use Timeout.timeout 2015-07-13 10:07:01 +00:00
optparse use assert_raise 2015-06-02 02:18:44 +00:00
ostruct
pathname remove unnecessary enumerator requires 2015-07-17 00:59:02 +00:00
psych * ext/psych/lib/psych.rb: bump psych version. 2015-02-17 18:17:46 +00:00
rdoc servlet.rb: requires json 2015-06-17 00:50:15 +00:00
readline * test/readline/test_readline.rb: Restore environment variables: 2015-03-13 03:29:43 +00:00
resolv use Timeout.timeout 2015-07-13 10:07:01 +00:00
rexml use assert_raise 2015-06-02 02:18:44 +00:00
rinda
ripper parse.y: refine message for gvar w/o identitirs 2015-05-13 02:13:43 +00:00
rss
ruby io.c (argf_read_nonblock): support `exception: false' 2015-07-17 18:02:53 +00:00
rubygems use Timeout.timeout 2015-07-13 10:07:01 +00:00
scanf
sdbm
shell
socket use Timeout.timeout 2015-07-13 10:07:01 +00:00
stringio Simple testing for StringIO#sysread 2015-07-11 21:42:27 +00:00
strscan
syslog
testunit use Timeout.timeout 2015-07-13 10:07:01 +00:00
thread use Timeout.timeout 2015-07-13 10:07:01 +00:00
uri * lib/uri/rfc2396_parser.rb (initialize_pattern): 2015-05-19 02:34:47 +00:00
webrick test_filehandler.rb: fix UNC path failure 2015-07-14 04:55:13 +00:00
win32ole * test/win32ole/test_word.rb: use skip method to skip test. 2015-02-10 22:54:39 +00:00
xmlrpc use assert_raise 2015-06-02 02:18:44 +00:00
zlib use assert_raise 2015-06-02 02:18:44 +00:00
colors default colors 2015-05-17 00:50:11 +00:00
runner.rb * lib/rake/*: Gemify rake [fix GH-862][Feature #11025] 2015-04-04 12:31:31 +00:00
test_abbrev.rb
test_cmath.rb * test/test_cmath.rb: Adding parens to suppress warnings. 2015-06-13 18:34:13 +00:00
test_delegate.rb
test_find.rb
test_ipaddr.rb use assert_raise 2015-06-02 02:18:44 +00:00
test_mathn.rb
test_mutex_m.rb
test_observer.rb * test/test_observer.rb: add tests for Observable module. 2015-03-26 01:05:18 +00:00
test_open3.rb
test_pp.rb
test_prettyprint.rb
test_prime.rb test: refine assertions 2015-06-25 05:26:31 +00:00
test_pstore.rb
test_pty.rb
test_rbconfig.rb
test_securerandom.rb test: refine assertions 2015-06-25 05:26:31 +00:00
test_set.rb * lib/set.rb: Make Set#each and SortedSet#each generate a sized 2015-06-15 05:37:38 +00:00
test_shellwords.rb
test_singleton.rb use assert_raise 2015-06-02 02:18:44 +00:00
test_syslog.rb use assert_raise 2015-06-02 02:18:44 +00:00
test_tempfile.rb test_tempfile.rb: use assert_predicate 2015-05-31 04:45:10 +00:00
test_time.rb add tests for strptime("%s.%N"). 2015-03-01 00:13:11 +00:00
test_timeout.rb use Timeout.timeout 2015-07-13 10:07:01 +00:00
test_tmpdir.rb
test_tracer.rb test: refine assertions 2015-06-25 05:26:31 +00:00
test_tsort.rb
test_unicode_normalize.rb * test/test_unicode_normalize.rb: get rid of a warning. 2015-06-14 00:59:23 +00:00
test_weakref.rb
test_win32api.rb * ext/win32/Win32API.rb (initialize): accept both a string and an array 2015-02-25 13:08:01 +00:00