1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
nagachika 69dc2ce664 merge revision(s) 53382,53511,53512: [Backport #11916]
fix commit miss

	* test/test_forwardable.rb: add tests for r53381.
	* lib/forwardable.rb: Convert given accessors to String.
	  r53381 changed to accept only Symbol or String for accessors, but
	  there are several rubygems that pass classes (e.g. Array,
	  Hash, ...) as accessors. Prior r53381, it was accepted because Class#to_s
	  returns its class name. After r53381 given accessors are checked
	  with define_method, but it accepts only Symbol or String, otherwise
	  raises TypeError.
	      def_delegator Foo, :some_method
	  This change is to revert unwanted incompatibility. But this behavior
	  may change in the future.
	  This change is to revert unexpected incompatibility. But this behavior


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-22 15:24:35 +00:00
..
-ext- merge revision(s) 54611,54612: [Backport #12291] 2016-04-18 09:12:46 +00:00
base64 Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
benchmark Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
bigdecimal Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
cgi escape.c: should not freeze 2015-12-22 05:31:31 +00:00
coverage Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
csv Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
date Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
dbm Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
digest Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
drb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
dtrace Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
erb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
etc Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
excludes Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
fiddle * ext/fiddle/handle.c: check tainted string arguments. 2015-12-16 12:08:49 +00:00
fileutils Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
gdbm Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
io Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
irb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
json Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
lib merge revision(s) 54653: 2016-04-20 19:21:27 +00:00
logger Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
matrix Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
minitest Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
misc Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
mkmf Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
monitor Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
net merge revision(s) 54025: [Backport #12167] 2016-03-29 15:52:51 +00:00
nkf Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
objspace Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
open-uri test: use String#b instead of dup.force_encoding 2015-12-14 06:40:55 +00:00
openssl merge revision(s) 54258: [Backport #12182] 2016-04-12 05:29:12 +00:00
optparse Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ostruct merge revision(s) 53395,53396: [Backport #11901] 2016-03-29 09:52:51 +00:00
pathname * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
psych * test/psych/test_emitter.rb: test_resizing_tags missing 2016-02-22 18:17:09 +00:00
rdoc test_rdoc_generator_json_index.rb: open in binmode 2015-12-22 16:41:34 +00:00
readline Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
resolv merge revision(s) 53363: [Backport #11910] [Backport #12061] 2016-03-29 13:59:37 +00:00
rexml merge revision(s) 53299: [Backport #11870] 2016-03-29 04:49:00 +00:00
rinda merge revision(s) 54004: [Backport #12152] 2016-03-29 06:57:48 +00:00
ripper merge revision(s) 53722: [Backport #12232] 2016-04-01 17:08:01 +00:00
rss Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ruby merge revision(s) 54706: 2016-04-22 14:38:18 +00:00
rubygems Merge partially r53707: remove test_accessing_cloudfront 2016-03-29 05:34:08 +00:00
scanf Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
sdbm Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
shell Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
socket merge revision(s) 54073: [Backport #12166] 2016-03-29 15:41:47 +00:00
stringio merge revision(s) 53435: [Backport #11945] 2016-03-29 05:00:42 +00:00
strscan Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
syslog Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
testunit Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
thread Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
uri merge revision(s) 53535: 2016-01-14 15:06:37 +00:00
webrick merge revision(s) 53299: [Backport #11870] 2016-03-29 04:49:00 +00:00
win32ole Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
xmlrpc merge revision(s) 53318: [Backport #11489] 2016-03-29 05:43:04 +00:00
zlib merge revision(s) 54002: [Backport #12151] 2016-03-29 06:30:49 +00:00
colors
runner.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_abbrev.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_cmath.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_delegate.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_find.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_forwardable.rb merge revision(s) 53382,53511,53512: [Backport #11916] 2016-04-22 15:24:35 +00:00
test_ipaddr.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_mathn.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_mutex_m.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_observer.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_open3.rb * lib/open3.rb: Specify frozen_string_literal: true. 2015-11-14 07:43:23 +00:00
test_pp.rb * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
test_prettyprint.rb * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
test_prime.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_pstore.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_pty.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_rbconfig.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_securerandom.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_set.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_shellwords.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_singleton.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_syslog.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_tempfile.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_time.rb * lib/time.rb: Specify frozen_string_literal: true. 2015-11-14 08:00:29 +00:00
test_timeout.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_tmpdir.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_tracer.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_tsort.rb test/test_tsort.rb: Specify frozen_string_literal: true. 2015-11-14 09:43:18 +00:00
test_unicode_normalize.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_weakref.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_win32api.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00