ruby/lib
Kevin Newton 23beceedb7 [ruby/prism] IndexTargetNode should always have ATTRIBUTE_WRITE
Because this is a user-facing change, we also need to deal with the
fact that CRuby 3.3.0 was just released.

In order to support workflows that want to parse exactly as CRuby
parses in a specific version, this PR introduces a new option to
the options struct that is "version". This allows you to specify
that you want "3.3.0" parsing.

I'm not sure if this is the correct solution. Another solution is
to just fork and keep around the old branch for security patches.
Or we could keep around a copy of the source files within this
repository as another directory and only update when necessary.
There are a lot of potential solutions here.

Because this change is so small and the check for it is so minimal,
I've decided to go with this enum. If this ends up entirely
cluttering the codebase with version checks, we'll come up with
another solution. But for now this works, so we're going to go in
this direction for a bit until we determine it's no longer working.

https://github.com/ruby/prism/commit/d8c7e6bd10
2024-01-02 18:51:18 +00:00
..
bundler Merge RubyGems-3.6.0.dev and Bundler-2.6.0.dev from master branch 2023-12-25 21:12:49 +09:00
cgi [ruby/cgi] Add snake case aliases for escapeURIComponent 2023-11-07 10:22:30 +00:00
csv [ruby/csv] Bump version 2023-12-25 21:12:49 +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] Removed old version on doc section 2023-11-07 15:37:45 +09:00
erb [ruby/erb] Version 4.0.3 2023-08-21 21:45:55 -07:00
error_highlight [ruby/error_highlight] Bump version 2023-12-09 08:34:08 +00:00
forwardable [ruby/forwardable] Move `:stopdoc:` directive 2022-03-14 14:44:46 +09:00
irb [ruby/irb] Make show_source resolve top-level constant names 2024-01-01 17:40:38 +00:00
logger [ruby/logger] Bump up 1.6.0 2023-11-07 05:17:52 +00:00
net [ruby/net-protocol] Provide a 'Changelog' link on rubygems.org/gems/net-protocol 2023-12-25 21:12:49 +09:00
open3 [ruby/open3] Bump up v0.2.1 2023-12-16 11:48:49 +08:00
optparse [ruby/optparse] Add rdoc options 2022-01-12 21:16:01 +09:00
prism [ruby/prism] IndexTargetNode should always have ATTRIBUTE_WRITE 2024-01-02 18:51:18 +00:00
random [ruby/securerandom] Increase speed of UUID generation 2023-12-29 02:43:45 +00:00
rdoc [ruby/rdoc] Allow empty name rdoc-ref as a local link 2023-12-31 15:19:50 +00:00
reline [ruby/reline] Revert kill_ring.rb file permission 2023-12-29 08:23:28 +00:00
rinda [ruby/rinda] Bump up 0.2.0 2023-11-07 02:27:08 +00:00
ruby_vm/rjit Typofix under lib and test, tool directories 2023-12-25 11:32:42 +09:00
rubygems Merge RubyGems-3.5.3 and Bundler-2.5.3 2023-12-23 09:34:26 +09:00
set [ruby/set] Drop support for Ruby 2 2023-12-23 16:50:29 +09:00
syntax_suggest [ruby/syntax_suggest] Typofix by misspell 2023-12-26 02:10:25 +00:00
unicode_normalize update Unicode normalization tables to version 15.0.0 2022-12-06 10:11:33 +09:00
uri [ruby/uri] Bump up 0.13.0 2023-11-06 10:08:41 +00:00
yaml [ruby/yaml] Compatibility for Psych 4 2023-10-30 08:35:13 +00:00
English.gemspec [ruby/English] Bump up 0.8.0 2023-11-07 07:32:00 +00:00
English.rb [ruby/English] Combine duplicate aliases into single sections to more clearly denote sameness and make more concise. 2023-11-07 07:24:50 +00:00
abbrev.gemspec [ruby/abbrev] Expose Abbrev::VERSION 2023-04-25 01:55:56 +00:00
abbrev.rb [ruby/abbrev] Bump up v0.1.2 2023-12-16 13:06:47 +08:00
base64.gemspec [ruby/base64] Provide a 'Changelog' link on rubygems.org/gems/base64 2023-12-25 21:12:49 +09:00
base64.rb [ruby/base64] Bump up 0.2.0 2023-11-07 07:01:35 +00:00
benchmark.gemspec Fixup 5bfb317a93 2023-05-25 16:09:29 +09:00
benchmark.rb [ruby/benchmark] Bump up 0.3.0 2023-11-06 18:33:03 +09:00
bundled_gems.rb [DOC] No ducuments for internal library 2023-12-19 10:20:40 +09:00
bundler.rb [rubygems/rubygems] Use mkdir_p helper in bundler.rb 2023-12-15 15:32:56 +00:00
cgi.rb [ruby/cgi] Bump up 0.4.1 2023-12-05 06:38:55 +00:00
csv.rb [ruby/csv] [DOC] Fix broken links 2023-10-03 16:13:18 +09:00
delegate.gemspec Move gemspec files to top of lib directory. 2023-05-25 15:47:48 +09:00
delegate.rb [ruby/delegate] Bump up 0.3.1 2023-11-07 13:37:17 +09: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] [DOC] Use indented heredoc 2023-03-21 15:05:29 +00:00
error_highlight.rb
fileutils.gemspec
fileutils.rb [ruby/fileutils] Bump up 1.7.2 2023-11-07 07:15:34 +00:00
find.gemspec Fixed version detection paths in ruby repository 2023-04-03 12:00:59 +09:00
find.rb [ruby/find] Bump up 0.2.0 2023-11-07 12:53:16 +09:00
forwardable.rb [ruby/forwardable] Bump version to 1.3.3 2022-12-05 06:15:38 +00:00
getoptlong.gemspec Move gemspec files to top of lib directory. 2023-05-25 15:47:48 +09:00
getoptlong.rb [ruby/getoptlong] Bump up 0.2.1 2023-11-07 03:47:15 +00:00
ipaddr.gemspec Support directory layout of ruby/ruby repository 2022-02-10 17:18:05 +09:00
ipaddr.rb [ruby/ipaddr] Consider IPv4-mapped IPv6 addresses link local/loopback if IPV4 address is private 2023-12-25 21:12:49 +09:00
irb.rb [ruby/irb] Remove dead doc (https://github.com/ruby/irb/pull/819) 2023-12-25 21:12:49 +09:00
logger.rb [ruby/logger] [DOC] Fix broken link 2023-11-07 15:35:37 +09:00
mkmf.rb Fix `dir_config` cache for -include and -lib options 2023-10-12 17:46:01 +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] Bump up 0.2.0 2023-11-07 02:52:46 +00:00
observer.gemspec Move gemspec files to top of lib directory. 2023-05-25 15:47:48 +09:00
observer.rb [ruby/observer] Bump up 0.1.2 2023-11-07 03:42:58 +00:00
open-uri.gemspec [ruby/open-uri] Expose OpenURI::VERSION 2023-04-13 09:47:40 +00:00
open-uri.rb [ruby/open-uri] Bump up 0.4.1 2023-12-07 07:22:20 +00:00
open3.rb Manually sync with https://github.com/ruby/open3/pull/22 and related PRs 2023-11-30 12:21:25 +09:00
optionparser.rb
optparse.rb [ruby/optparse] [DOC] Add missing documents 2023-12-25 21:12:49 +09:00
ostruct.gemspec [ruby/ostruct] Use Gemfile instead of Gem::Specification#add_development_dependency 2023-10-19 06:55:40 +00:00
ostruct.rb [ruby/ostruct] Bump up 0.6.0 2023-11-07 06:16:31 +00:00
pp.gemspec [ruby/pp] Expose PP::VERSION 2023-04-14 01:49:51 +00:00
pp.rb [ruby/pp] Bump up 0.5.0 2023-11-07 01:00:08 +00:00
prettyprint.gemspec [ruby/prettyprint] Expose PrettyPrint::VERSION 2023-04-14 01:52:08 +00:00
prettyprint.rb [ruby/prettyprint] Bump up 0.2.0 2023-11-07 01:10:12 +00:00
prism.rb [ruby/prism] Remove warnings check from parse_success? method 2023-12-07 14:39:11 +00:00
pstore.gemspec Move gemspec files to top of lib directory. 2023-05-25 15:47:48 +09:00
pstore.rb [ruby/pstore] Bump up 0.1.3 2023-11-07 03:10:45 +00:00
rdoc.rb [ruby/rdoc] Typofix by misspell 2023-12-25 21:12:49 +09:00
readline.gemspec [ruby/readline] Bump up v0.0.4 2023-12-16 13:49:13 +08:00
readline.rb [ruby/readline] Fix readline-ext gem loading in non Unix-like environments 2023-12-16 13:49:12 +08:00
reline.rb [ruby/reline] Introduce a new class Reline::Face to configure 2023-11-06 14:40:42 +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] Expose Resolv::VERSION 2023-04-14 01:46:38 +00:00
resolv.rb [ruby/resolv] Fix typo 2023-12-25 21:12:49 +09:00
ruby2_keywords.gemspec
rubygems.rb Merge RubyGems-3.6.0.dev and Bundler-2.6.0.dev from master branch 2023-12-25 21:12:49 +09:00
securerandom.gemspec [ruby/securerandom] Update file list to package 2023-12-29 16:10:30 +00:00
securerandom.rb [ruby/securerandom] Bump up v0.3.1 2023-12-16 12:10:38 +08:00
set.rb [ruby/set] Bump version to 1.1.0 2023-12-23 16:50:33 +09:00
shellwords.gemspec [ruby/shellwords] Expose Shellwords::VERSION 2023-04-13 09:48:55 +00:00
shellwords.rb [ruby/shellwords] Bump up 0.2.0 2023-11-06 09:46:21 +00:00
singleton.gemspec Move gemspec files to top of lib directory. 2023-05-25 15:47:48 +09:00
singleton.rb [ruby/singleton] Bump up 0.2.0 2023-11-06 09:44:09 +00:00
syntax_suggest.rb Sync SyntaxSuggest 2022-08-19 10:02:24 +09:00
tempfile.gemspec Redirect to `IO::NULL` for the portability 2023-05-05 18:52:36 +09:00
tempfile.rb [ruby/tempfile] [DOC] Missing documents 2023-12-25 21:12:49 +09:00
time.gemspec [ruby/time] Expose Time::VERSION 2023-04-13 18:51:18 +09:00
time.rb [ruby/time] Bump up 0.3.0 2023-11-07 05:09:48 +00:00
timeout.gemspec [ruby/timeout] Provide a 'Changelog' link on rubygems.org/gems/timeout 2023-12-25 21:12:49 +09:00
timeout.rb [ruby/timeout] [DOC] Missing documents 2023-12-25 21:12:49 +09:00
tmpdir.gemspec [ruby/tmpdir] Bump up 0.2.0 2023-11-07 11:39:02 +09:00
tmpdir.rb [ruby/tmpdir] [Bug #18933] Make `Dir.mktmpdir` Ractor-safe 2023-07-03 05:47:43 +00:00
tsort.gemspec Fixed version detection paths in ruby repository 2023-04-03 12:00:59 +09:00
tsort.rb [ruby/tsort] Bump up 0.2.0 2023-11-07 01:59:17 +00:00
un.gemspec [ruby/un] Expose UN::VERSION 2023-04-13 09:47:22 +00:00
un.rb [ruby/un] Bump up 0.3.0 2023-11-06 09:29:53 +00:00
uri.rb [ruby/uri] Feat: Support WSS 2022-04-22 11:59:54 +09:00
weakref.gemspec Move gemspec files to top of lib directory. 2023-05-25 15:47:48 +09:00
weakref.rb [ruby/weakref] Bump up 0.1.3 2023-11-07 01:46:40 +00:00
yaml.rb [ruby/yaml] Bump up 0.3.0 2023-11-06 19:03:04 +09:00