1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
Jeremy Evans 117310bdc0
Make ENV.clone warn and ENV.dup raise
ENV.dup returned a plain Object, since all of ENV's behavior is
defined in ENV's singleton class.  So using dup makes no sense.

ENV.clone works and is used in some gems, but it doesn't do what
the user expects, since modifying ENV.clone also modifies ENV.
Add a deprecation warning pointing the user to use ENV.to_h
instead.

This also undefines some private initialize* methods in ENV,
since they are not needed.

Fixes [Bug #17767]
2021-06-08 10:19:08 -07:00
..
-ext- rb_enc_interned_str: handle autoloaded encodings 2021-03-22 21:37:48 +09:00
base64
benchmark [ruby/benchmark] Add comment about terminating newline in captions; fix test method name. 2021-04-22 11:51:37 +09:00
bigdecimal [ruby/bigdecimal] Fix for the coerce cases in divide and DoDivmod 2021-01-16 00:09:26 +09:00
cgi [ruby/cgi] Add test for escapeHTML/unescapeHTML invalid encoding fix in pure ruby version 2021-04-22 11:51:36 +09:00
coverage
csv Rename RubyVM::MJIT to RubyVM::JIT 2021-01-13 22:46:51 -08:00
date [ruby/date] Make Ractor-compatible 2020-12-22 03:12:51 -05:00
did_you_mean
digest [digest] Make digest Ractor safe 2020-12-19 15:08:01 +09:00
drb test/drb/test_drb.rb: Specify the host of DRbServer 2021-04-07 16:34:19 +09:00
dtrace
erb [ruby/erb] Warn safe_level and later args even without -w 2021-01-21 13:52:02 +09:00
etc Fix leaked file descriptor in passwd test 2021-03-24 13:02:54 +09:00
excludes
fiber Test incorrect behaviour of rb_io_wait_readable/writable. 2021-03-30 23:16:59 +13:00
fiddle [ruby/fiddle] Do not use a libdir for glibc, it breaks Linux PPC64 (#70) 2021-05-18 12:48:40 +09:00
fileutils Try to test with rake-13.0.2 again. 2020-12-19 16:53:18 +09:00
fixtures/fake_sorted_set_gem Import set 1.0.1 2020-12-22 21:41:44 +09:00
io [ruby/io-wait] Declare as Ractor-safe 2021-03-07 09:54:35 +09:00
irb Set USE_COLORIZE to the default value in a test 2021-05-24 12:13:46 +09:00
json Prepare to release json-2.5.0 2020-12-22 19:44:27 +09:00
lib Revert an accidentally commits at df86a13cc1 2021-05-17 15:28:47 +09:00
logger
mkmf mkmf: fixed install directories of header files in extension libraries [Bug #17761] 2021-03-30 23:28:49 +09:00
monitor Fix Monitor to lock per Fiber, like Mutex [Bug #17827] 2021-04-27 18:42:50 +02:00
net Promote net-smtp to the bundled gems 2021-05-27 14:42:11 +09:00
nkf
objspace test/objspace/test_objspace.rb: check stderr before stdout 2021-05-14 18:07:58 +09:00
open-uri Guard for the ftp protocol feature of OpenURI 2021-05-27 14:42:11 +09:00
openssl Defer to require prime for OpenSSL::TestBN 2021-05-27 14:42:11 +09:00
optparse [ruby/optparse] Add EditorConfig file 2021-04-28 11:56:15 +09:00
ostruct test/ostruct/test_ostruct.rb: Use YAML.unsafe_load instead of YAML.load 2021-05-17 11:36:16 +09:00
pathname [ruby/pathname] Fix segfault of Pathname#split 2021-03-28 14:04:10 +09:00
psych [ruby/psych] Fix the test that does not work with libyaml-0.1.7 2021-06-08 08:12:27 +09:00
racc
rdoc [ruby/rdoc] Add an alias for test-unit with older versions of RubyGems 2021-06-02 11:35:45 +09:00
readline [ruby/readline-ext] Use omit 2021-02-18 21:17:42 +09:00
reline [ruby/reline] Separate keystrokes each editing mode 2021-04-08 21:41:00 +09:00
resolv Removed minitest/mock 2021-05-19 14:24:01 +09:00
rinda Rename RubyVM::MJIT to RubyVM::JIT 2021-01-13 22:46:51 -08:00
ripper ripper: wrap endless method in bodystmt [Bug #17869] 2021-05-21 18:28:24 +09:00
ruby Make ENV.clone warn and ENV.dup raise 2021-06-08 10:19:08 -07:00
rubygems [rubygems/rubygems] Rename test/rubygems/test_{case,utilities}.rb to avoid "test_" prefix 2021-06-03 12:23:22 +09:00
socket Get rid of sporadic WSAEACCES on Windows [ruby-dev:42661] 2021-05-21 18:26:07 +09:00
stringio [ruby/stringio] Check if closed in loop 2021-03-08 10:13:29 +09:00
strscan [ruby/strscan] Fix segmentation fault of StringScanner#charpos when String#byteslice returns non string value [Bug #17756] (#20) 2021-05-06 16:20:38 +09:00
syslog
uri [ruby/uri] Add tests for URI::RFC{2396,3986}_Parser#inspect 2021-04-22 14:54:37 +09:00
win32ole
yaml
zlib test/zlib/test_zlib.rb: Set binmode to test output file 2021-04-08 14:26:42 +09:00
runner.rb No codesign in tests 2021-03-27 10:15:01 +09:00
test_abbrev.rb
test_delegate.rb
test_extlibs.rb
test_find.rb
test_forwardable.rb
test_ipaddr.rb
test_mutex_m.rb
test_observer.rb
test_open3.rb
test_pp.rb
test_prettyprint.rb
test_pstore.rb
test_pty.rb
test_rbconfig.rb
test_securerandom.rb
test_set.rb Avoid rehashing in Hash#replace/dup/initialize_copy [Bug #16996] 2021-03-18 07:34:40 -04:00
test_shellwords.rb
test_singleton.rb
test_sorted_set.rb Import set 1.0.1 2020-12-22 21:41:44 +09:00
test_syslog.rb
test_tempfile.rb
test_time.rb Separate test used by test_ractor for Ractor in test_time.rb 2021-04-22 13:35:30 +09:00
test_timeout.rb [ruby/timeout] Make Timeout::Error#exception with multiple arguments not ignore arguments 2021-05-06 16:49:26 +09:00
test_tmpdir.rb [ruby/tmpdir] Make usable chars more strict 2021-04-05 21:08:57 +09:00
test_trick.rb test/test_trick.rb: fixed the position to add timeout 2020-12-25 22:23:53 +09:00
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb