ruby/lib
Stan Lo 207f8d0027 [ruby/irb] Avoid calling private methods on the main object
(https://github.com/ruby/irb/pull/498)

When the main object is frozen, `IRB` wraps a `SimpleDelegator` around it.
But because `SimpleDelegator` doesn't delegate private methods, methods like
`require_relative` or `const_get` would cause error, which are needed for
lazily loading commands.

This commit works around this limitation by avoiding those private method calls
when setting up command execution.
2023-01-12 11:49:16 +00:00
..
benchmark [ruby/benchmark] Bump version to 0.2.1 2022-12-05 05:15:02 +00:00
bundler Merge RubyGems and Bundler master 2023-01-10 15:53:07 +09:00
cgi [ruby/cgi] Loosen the domain regex to accept '.' 2022-11-28 04:34:11 +00:00
csv [ruby/csv] Bump version 2022-12-26 15:09:21 +09:00
delegate [ruby/delegate] gemspec: Drop unused executables directives 2021-10-22 19:48:22 +09:00
did_you_mean [ruby/did_you_mean] Bump version to 1.6.3 2022-12-19 14:59:59 +09:00
drb [ruby/drb] Bump version to 2.1.1 2022-12-05 05:59:33 +00:00
erb [ruby/erb] Version 4.0.2 2022-11-29 04:58:29 +00:00
error_highlight [ruby/error_highlight] Bump version 2022-11-14 06:37:33 +00:00
forwardable [ruby/forwardable] Move `:stopdoc:` directive 2022-03-14 14:44:46 +09:00
getoptlong [ruby/getoptlong] gemspec: Drop executables directives 2021-07-28 13:32:32 +09:00
irb [ruby/irb] Avoid calling private methods on the main object 2023-01-12 11:49:16 +00:00
logger [ruby/logger] Bump version to 1.5.3 2022-12-16 06:34:47 +00:00
net [ruby/net-http] Enhanced RDoc for HTTPHeader 2023-01-01 15:02:14 +00:00
observer
open3 [ruby/open3] Bump version to 0.1.2 2022-12-14 05:49:14 +00:00
optparse [ruby/optparse] Add rdoc options 2022-01-12 21:16:01 +09:00
ostruct [ruby/ostruct] Drop unused directives from gemspec (https://github.com/ruby/ostruct/pull/39) 2022-03-07 20:08:29 +09:00
pstore
racc Generate parser-text.rb with bcdc058e50 2023-01-12 07:54:39 +09:00
random [DOC] Improve Random::Formatter docs 2022-12-11 18:49:56 +02:00
rdoc Update generated version of racc on parser headers 2022-12-26 15:09:21 +09:00
reline [ruby/reline] Update to Unicode 15.0.0 2023-01-12 09:40:34 +00:00
rinda [ruby/rinda] Bump up rinda version to 0.1.1 2021-10-21 21:02:37 +09:00
ruby_vm/mjit MJIT: Fix JIT code for multiple values in a single case 2022-12-25 22:48:36 -08:00
rubygems Merge RubyGems and Bundler master 2023-01-10 15:53:07 +09:00
set [ruby/set] Bump version to 1.0.3 2022-09-06 10:41:20 +09:00
singleton
syntax_suggest [ruby/syntax_suggest] Bump version to 1.0.2 2022-12-20 14:50:08 +09:00
timeout [ruby/timeout] gemspec: Drop unused directives "executables" 2022-07-14 16:21:25 +09:00
unicode_normalize update Unicode normalization tables to version 15.0.0 2022-12-06 10:11:33 +09:00
uri [ruby/uri] [DOC] Enhanced RDoc for URI 2023-01-08 23:14:50 +00:00
weakref Added dependencies for weakref 2020-12-01 19:48:24 +09:00
yaml Merge yaml-0.2.1 2022-12-09 16:36:22 +09:00
English.gemspec [ruby/English] Bump version to 0.7.2 2022-12-14 07:53:51 +00:00
English.rb
abbrev.gemspec [ruby/abbrev] Bump version to 0.1.1 2022-12-14 07:38:37 +00:00
abbrev.rb
base64.gemspec [ruby/base64] Bump up base64 version to 0.1.1 2021-10-14 20:41:15 +09:00
base64.rb [ruby/base64] Avoid unnecessary string duplication 2021-09-27 15:23:25 +09:00
benchmark.rb [ruby/benchmark] Add comment about terminating newline in captions; fix test method name. 2021-04-22 11:51:37 +09:00
bundler.rb Merge RubyGems and Bundler master 2023-01-10 15:53:07 +09:00
cgi.rb [ruby/cgi] Bump up 0.3.6 2022-11-28 04:40:26 +00:00
csv.rb Merge csv-3.2.6 2022-12-09 16:36:22 +09:00
delegate.rb [ruby/delegate] Bump version to 0.3.0 2022-12-05 05:47:54 +00:00
did_you_mean.rb [ruby/did_you_mean] Keep the deprecated API for another year in case this could break 'bundle install' 2023-01-07 08:47:05 +00:00
drb.rb
erb.gemspec Apply the accidental commits again before Ruby 3.2. 2022-12-26 12:07:42 +09:00
erb.rb [ruby/erb] Split erb.rb into files for each module under ERB 2022-11-24 23:40:53 +00:00
error_highlight.rb Rename error_squiggle to error_highlight 2021-06-29 23:45:49 +09:00
fileutils.gemspec [ruby/fileutils] Drop support for dead old versions 2021-01-17 12:20:55 +09:00
fileutils.rb [ruby/fileutils] Bump version to 1.7.0 2022-12-05 06:12:31 +00:00
find.gemspec [ruby/find] Bump up find version to 0.1.1 2021-10-14 20:26:15 +09:00
find.rb [ruby/find] Add Errno::EINVAL to list of ignored errors 2021-07-27 21:20:31 +09:00
forwardable.rb [ruby/forwardable] Bump version to 1.3.3 2022-12-05 06:15:38 +00:00
getoptlong.rb [ruby/getoptlong] Bump version to 0.2.0 2022-12-05 06:19:25 +00:00
ipaddr.gemspec Support directory layout of ruby/ruby repository 2022-02-10 17:18:05 +09:00
ipaddr.rb [ruby/ipaddr] Bump version to 1.2.5 2022-12-05 06:32:03 +00:00
irb.rb [ruby/irb] Formatting to header styles 2023-01-11 22:29:10 +00:00
logger.rb [DOC] Replace the external URIs to docs with rdoc-ref 2022-10-12 12:27:40 +09:00
mkmf.rb mkmf.rb: Refine message from `pkg_config` 2023-01-09 21:44:15 +09:00
mutex_m.gemspec [ruby/mutex_m] Drop to support Ruby 2.4 2023-01-12 05:38:31 +00:00
mutex_m.rb [ruby/mutex_m] Avoid anonymous eval 2023-01-12 05:41:59 +00:00
observer.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
open-uri.gemspec [ruby/open-uri] Bump version to 0.3.0 2022-12-05 07:14:06 +00:00
open-uri.rb Add :ssl_min_version and :ssl_max_version options 2022-10-12 10:36:51 +09:00
open3.rb [ruby/open3] Update to match JRuby 9.4 2021-12-09 19:28:54 +09:00
optionparser.rb
optparse.rb [ruby/optparse] Add symbolize_names to getopts 2022-12-26 15:09:21 +09:00
ostruct.rb [ruby/ostruct] v0.5.5 2022-04-01 00:18:36 +09:00
pp.gemspec [ruby/pp] Bump version to 0.4.0 2022-12-05 07:35:19 +00:00
pp.rb [ruby/pp] [Feature #19045] Add support Data#pretty_print 2022-10-14 21:31:24 +09:00
prettyprint.gemspec [ruby/prettyprint] Bump up prettyprint version to 0.1.1 2021-10-21 21:05:39 +09:00
prettyprint.rb
pstore.rb [ruby/pstore] Bump version to 0.1.2 2022-12-05 07:38:23 +00:00
racc.rb
rdoc.rb [ruby/rdoc] Relative loading for easier development (https://github.com/ruby/rdoc/pull/821) 2022-02-12 15:06:06 +09:00
readline.gemspec [ruby/readline] Bump version to 0.0.3 2021-12-24 17:54:09 +09:00
readline.rb [ruby/readline] Suppress constant redefinition warning 2021-11-29 18:50:27 +09:00
reline.rb [ruby/reline] Remove unapproved color setting APIs 2022-12-05 03:14:55 +00:00
resolv-replace.gemspec [ruby/resolv-replace] Bump version to 0.1.1 2022-12-14 17:42:15 +09:00
resolv-replace.rb
resolv.gemspec [ruby/resolv] Bump version to 0.2.2 2022-12-05 07:49:03 +00:00
resolv.rb [ruby/resolv] Support more characters in link local addresses 2022-01-12 10:49:57 +09:00
ruby2_keywords.gemspec Adjust the release version of ruby2_keywords 2021-07-16 13:50:15 +09:00
rubygems.rb Merge RubyGems and Bundler master 2023-01-10 15:53:07 +09:00
securerandom.gemspec [ruby/securerandom] Bump version to 0.2.2 2022-12-14 08:48:38 +00:00
securerandom.rb lib/securerandom.rb: Fix the check of availability of Random.urandom 2022-02-16 16:32:28 +09:00
set.rb [ruby/set] Avoid the `block or return` pattern to save Proc allocations 2023-01-11 09:26:08 +00:00
shellwords.gemspec
shellwords.rb
singleton.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
syntax_suggest.rb Sync SyntaxSuggest 2022-08-19 10:02:24 +09:00
tempfile.gemspec [ruby/tempfile] Bump version to 0.1.3 2022-12-14 05:35:48 +00:00
tempfile.rb [DOC] Replace the external URIs to docs with rdoc-ref 2022-10-12 12:27:40 +09:00
time.gemspec [ruby/time] Bump version to 0.2.1 2022-12-14 16:07:44 +09:00
time.rb fix typo in Time#xmlschema documentation 2022-07-29 19:10:10 +09:00
timeout.rb [ruby/timeout] Bump version to 0.3.1 2022-12-05 08:13:18 +00:00
tmpdir.gemspec [ruby/tmpdir] Bump version to 0.1.3 2022-12-05 08:15:11 +00:00
tmpdir.rb [ruby/tmpdir] Ignore empty environment variables 2022-10-25 07:54:40 +00:00
tsort.gemspec [ruby/tsort] Bump version to 0.1.1 2022-12-05 08:16:29 +00:00
tsort.rb [ruby/tsort] Small tweaks for easier vendoring 2022-04-18 09:40:07 +09:00
un.gemspec [ruby/un] Bump version to 0.2.1 2022-12-05 08:18:33 +00:00
un.rb [ruby/un] wait_writable: close opened file 2022-11-30 10:09:17 +00:00
uri.rb [ruby/uri] Feat: Support WSS 2022-04-22 11:59:54 +09:00
weakref.rb [ruby/weakref] Bump version to 0.1.2 2022-12-14 06:16:29 +00:00
yaml.rb [ruby/yaml] Add JRuby-specific warning when psych fails 2022-01-27 17:16:05 +09:00