1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
Yusuke Endoh 7cfe93c028 hash.c: Add a feature to manipulate ruby2_keywords flag
It was found that a feature to check and add ruby2_keywords flag to an
existing Hash is needed when arguments are serialized and deserialized.
It is possible to do the same without explicit APIs, but it would be
good to provide them as a core feature.

https://github.com/rails/rails/pull/38105#discussion_r361863767

Hash.ruby2_keywords_hash?(hash) checks if hash is flagged or not.
Hash.ruby2_keywords_hash(hash) returns a duplicated hash that has a
ruby2_keywords flag,

[Bug #16486]
2020-01-17 17:20:38 +09:00
..
-ext- rb_rational_raw: convert num and den by to_int 2020-01-17 10:57:51 +09:00
base64
benchmark
bigdecimal More fixes for $SAFE/taint post merging 2019-11-18 01:00:25 +02:00
cgi Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
coverage compile.c: stop wrong peephole optimization when covearge is enabled 2019-12-04 10:40:54 +09:00
csv Remove unneeded exec bits from some files 2019-11-09 21:36:30 +09:00
date Fixed misspellings 2019-12-20 12:19:45 +09:00
dbm [ruby/dbm] Remove taint support 2019-10-26 07:03:33 +09:00
did_you_mean Port dd1dd86e6c 2019-12-23 00:47:41 -05:00
digest
drb Add GC guard 2020-01-08 12:26:48 +09:00
dtrace test/dtrace/helper.rb: Etc.getgrnam may return nil on some platforms 2019-10-06 15:23:00 +09:00
erb
etc
excludes Revert "Skip interruptible raw mode test on Travis-CI" 2019-12-18 00:08:21 +09:00
fiddle Fix "cannot find the function: strcpy()" error on arm32 on Travis CI. (#2686) 2019-12-05 14:17:16 +09:00
fileutils Revert "[ruby/fileutils] Fix #install with "X" mode option" 2019-11-30 17:58:39 +09:00
gdbm
io [ruby/io-console] Enable only interrupt bits on intr: true 2019-12-29 16:26:22 +09:00
irb [ruby/irb] Fix crashing when multiple open braces per line 2020-01-14 15:40:38 +09:00
json Import json-2.3.0 from flori/json 2019-12-12 09:14:09 +09:00
lib test/lib/jit_support.rb: Update the regexp for icc 2019-12-05 23:46:42 +09:00
logger Fixed misspellings 2019-12-20 12:19:45 +09:00
matrix
misc
mkmf
monitor new_cond before mon_initialize 2019-12-04 13:36:41 +09:00
net Revert "lib/net/http/response.rb: support raw deflate correctly" 2019-12-16 23:39:10 +09:00
nkf
objspace
open-uri
openssl Get rid of false positive misspellings 2019-12-24 10:33:32 +09:00
optparse LoadError is not a subclass of StandardError 2019-11-29 11:25:23 +09:00
ostruct
pathname Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
psych [ruby/psych] Remove taint support 2019-11-12 10:35:47 +09:00
racc Fixed misspellings 2019-12-20 12:19:45 +09:00
rdoc [ruby/rdoc] Support newline in the middle of constant definition 2019-12-24 07:58:53 +09:00
readline text/readline/test_readline.rb - fix skip on Reline (#2743) 2019-12-31 00:29:58 -08:00
reline Implement vi_insert_at_bol and vi_add_at_eol 2020-01-17 01:37:01 +09:00
resolv MinGW on Actions (#2791) 2019-12-30 23:19:31 -08:00
rinda Stop pool threads in test/rinda too 2019-12-09 13:46:23 +09:00
ripper Warn also numbered parameter like parameters 2019-12-20 01:25:34 +09:00
ruby hash.c: Add a feature to manipulate ruby2_keywords flag 2020-01-17 17:20:38 +09:00
rubygems Update tests for full keyword argument separation 2020-01-02 18:40:45 -08:00
sdbm
socket Test interfaces include localhost 2019-12-06 16:03:16 +09:00
stringio [ruby/stringio] Remove taint support 2019-10-31 16:24:02 +09:00
strscan Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
syslog Honor Syslog::Logger#level overrides 2019-09-26 15:01:44 -07:00
uri Check for invalid hex escapes in URI#query= 2019-10-08 07:30:55 -07:00
webrick [ruby/webrick] Check the feature by itself, instead of the version number 2019-11-30 17:52:05 +09:00
win32ole Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
yaml
zlib [ruby/zlib] Fix setting mtime to zero in GzipWriter 2019-10-31 22:23:58 +09:00
runner.rb
test_abbrev.rb
test_delegate.rb Call initialize_clone with freeze: false if clone called with freeze: false 2020-01-03 20:13:09 -08:00
test_extlibs.rb
test_find.rb
test_forwardable.rb [ruby/forwardable] Make def_*_delegator return name of method defined (Fixes #10) 2019-12-11 20:23:53 +09:00
test_ipaddr.rb
test_mutex_m.rb
test_observer.rb
test_open3.rb
test_pp.rb Make prettyprint’s cycle detection aware of Delegator instances 2019-12-16 23:43:49 +09:00
test_prettyprint.rb
test_prime.rb
test_pstore.rb
test_pty.rb
test_rbconfig.rb
test_securerandom.rb
test_set.rb Call initialize_clone with freeze: false if clone called with freeze: false 2020-01-03 20:13:09 -08:00
test_shellwords.rb Do not escape + in Shellwords.escape 2019-09-27 07:43:32 -07:00
test_singleton.rb
test_syslog.rb test/test_syslog.rb (test_log): skipped on Android 2019-10-11 21:13:52 +09:00
test_tempfile.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
test_time.rb Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptime 2019-11-21 03:32:20 +02:00
test_timeout.rb
test_tmpdir.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
test_tracer.rb Use realpath to try to fix failures with symlinks 2019-11-23 11:41:27 +09:00
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb
test_win32api.rb