ruby/test
st0012 36ca0e58b6 [ruby/reline] Use color name instead of code (integer) in dialog color APIs
As pointed out in the
[comment](https://github.com/ruby/reline/pull/413#issuecomment-1168033973),
the code is actually a control sequence and not only for colors.

To make the dialog color APIs safer to use, we should restrict its
usages and extract away the bg/fg concept from the input.

So in this commit, I made these changes:

1. The dialog_*_bg/fg_color APIs only takes and returns color names (symbol):
  - :black
  - :red
  - :green
  - :yellow
  - :blue
  - :magenta
  - :cyan
  - :white
2. Add additional dialog_*_bg/fg_color_sequence APIs to access the raw code.

https://github.com/ruby/reline/commit/b32a977766
2022-07-16 02:30:23 +09:00
..
-ext- GVL Instrumentation: remove the EXITED count assertion 2022-07-13 19:39:31 +02:00
base64
benchmark
bigdecimal
cgi [ruby/cgi] jruby support 2022-06-06 18:13:01 +09:00
coverage Fix a regression of b2e58b02ae 2022-07-11 23:38:37 +09:00
csv
date Avoid defining the same test class in multiple files 2022-04-22 15:00:16 -07:00
did_you_mean Manually merged https://github.com/ruby/did_you_mean/pull/177 2022-06-07 15:24:48 +09:00
digest
drb
dtrace
erb
error_highlight [ruby/error_highlight] Use Exception#detailed_message instead of overriding #message (https://github.com/ruby/error_highlight/pull/24) 2022-06-07 17:40:19 +09:00
etc
excludes
fiber Retain reference to blocking fibers. 2022-05-25 15:24:24 +12:00
fiddle
fileutils Avoid defining the same test class in multiple files 2022-04-22 15:00:16 -07:00
fixtures/fake_sorted_set_gem
io [ruby/io-wait] Fix usage of `assert_raises` -> `assert_raise`. (https://github.com/ruby/io-wait/pull/20) 2022-06-25 17:12:26 +09:00
irb [ruby/irb] Properly reset USE_COLORIZE after changing it in tests 2022-06-29 00:23:18 +09:00
json [flori/json] Fix parser bug for empty string allocation 2022-05-20 17:49:13 +09:00
lib Fix #5872 for MJIT GitHub Actions 2022-07-10 23:10:36 -07:00
logger
mkmf Avoid defining the same test class in multiple files 2022-04-22 15:00:16 -07:00
monitor
net [ruby/net-http] Make `Net::HTTPHeader#content_range` return nil on non-byte units 2022-06-16 23:35:27 +09:00
nkf
objspace ObjectSpace.dump: Include string coderange 2022-07-04 20:04:59 +02:00
open-uri
openssl [ruby/openssl] Skip a new test when old OpenSSL 2022-07-09 15:26:32 +09:00
optparse Avoid defining the same test class in multiple files 2022-04-22 15:00:16 -07:00
ostruct
pathname [ruby/pathname] Implement Pathname#lutime 2022-04-21 17:10:19 +09:00
psych
racc [ruby/racc] Show diffs 2022-05-20 17:49:15 +09:00
rdoc [ruby/rdoc] `RubyVM` is implementation dependent 2022-07-11 13:43:15 +09:00
readline
reline [ruby/reline] Use color name instead of code (integer) in dialog color APIs 2022-07-16 02:30:23 +09:00
resolv
rinda Skip TupleSpaceProxyTest on MINGW64 too 2022-06-26 21:00:04 -07:00
ripper ripper: Check if anonymous parameters defined [Bug #18828] 2022-06-14 20:41:41 +09:00
ruby Implement Objects on VWA 2022-07-15 09:21:07 -04:00
rubygems Merge RubyGems and Bundler master 2022-07-13 14:11:55 +09:00
socket
stringio [ruby/stringio] Fix the result of `StringIO#truncate` so compatible with `File` 2022-07-01 00:52:29 +09:00
strscan
syslog
uri [ruby/uri] Improve URI.register_scheme tests and automatically upcase the given scheme 2022-05-12 18:19:17 +09:00
win32ole
yaml
zlib
runner.rb
test_abbrev.rb
test_delegate.rb
test_extlibs.rb
test_find.rb
test_forwardable.rb
test_getoptlong.rb
test_ipaddr.rb
test_mutex_m.rb
test_observer.rb
test_open3.rb
test_pp.rb
test_prettyprint.rb
test_pstore.rb [ruby/pstore] Emphasize keys instead of roots, values instead of objects (https://github.com/ruby/pstore/pull/7) 2022-07-07 07:05:01 +09:00
test_pty.rb
test_rbconfig.rb
test_securerandom.rb
test_set.rb [ruby/set] Get rid of use of `Gem::Version` 2022-07-14 17:13:52 +09:00
test_shellwords.rb
test_singleton.rb
test_sorted_set.rb
test_syslog.rb
test_tempfile.rb
test_time.rb
test_timeout.rb [ruby/timeout] Handle Timeout + fork and add test for it 2022-05-19 07:19:40 +09:00
test_tmpdir.rb
test_trick.rb
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb