@ai-ecoverse/wasix-ruby 3.4.11-1 → 3.4.11-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PRESTAGE.md +26 -24
- package/README.md +2 -2
- package/bin/bundle +29 -0
- package/bin/bundler +29 -0
- package/bin/erb +29 -0
- package/bin/gem +12 -0
- package/bin/irb +29 -0
- package/bin/rake +29 -0
- package/bin/ruby.wasm +0 -0
- package/lib/ruby/3.4.0/coverage.rb +14 -0
- package/lib/ruby/3.4.0/date.rb +70 -0
- package/lib/ruby/3.4.0/digest/loader.rb +3 -0
- package/lib/ruby/3.4.0/digest/sha2/loader.rb +3 -0
- package/lib/ruby/3.4.0/digest/sha2.rb +142 -0
- package/lib/ruby/3.4.0/digest/version.rb +5 -0
- package/lib/ruby/3.4.0/digest.rb +123 -0
- package/lib/ruby/3.4.0/expect.rb +71 -0
- package/lib/ruby/3.4.0/forwardable/impl.rb +16 -0
- package/lib/ruby/3.4.0/json/add/bigdecimal.rb +58 -0
- package/lib/ruby/3.4.0/json/add/complex.rb +51 -0
- package/lib/ruby/3.4.0/json/add/core.rb +12 -0
- package/lib/ruby/3.4.0/json/add/date.rb +54 -0
- package/lib/ruby/3.4.0/json/add/date_time.rb +67 -0
- package/lib/ruby/3.4.0/json/add/exception.rb +49 -0
- package/lib/ruby/3.4.0/json/add/ostruct.rb +54 -0
- package/lib/ruby/3.4.0/json/add/range.rb +54 -0
- package/lib/ruby/3.4.0/json/add/rational.rb +49 -0
- package/lib/ruby/3.4.0/json/add/regexp.rb +48 -0
- package/lib/ruby/3.4.0/json/add/set.rb +48 -0
- package/lib/ruby/3.4.0/json/add/struct.rb +52 -0
- package/lib/ruby/3.4.0/json/add/symbol.rb +47 -0
- package/lib/ruby/3.4.0/json/add/time.rb +52 -0
- package/lib/ruby/3.4.0/json/common.rb +896 -0
- package/lib/ruby/3.4.0/json/ext/generator/state.rb +116 -0
- package/lib/ruby/3.4.0/json/ext.rb +23 -0
- package/lib/ruby/3.4.0/json/generic_object.rb +75 -0
- package/lib/ruby/3.4.0/json/version.rb +5 -0
- package/lib/ruby/3.4.0/json.rb +587 -0
- package/lib/ruby/3.4.0/monitor.rb +289 -0
- package/lib/ruby/3.4.0/objspace/trace.rb +45 -0
- package/lib/ruby/3.4.0/objspace.rb +135 -0
- package/lib/ruby/3.4.0/openssl/asn1.rb +188 -0
- package/lib/ruby/3.4.0/openssl/bn.rb +40 -0
- package/lib/ruby/3.4.0/openssl/buffering.rb +499 -0
- package/lib/ruby/3.4.0/openssl/cipher.rb +67 -0
- package/lib/ruby/3.4.0/openssl/digest.rb +69 -0
- package/lib/ruby/3.4.0/openssl/hmac.rb +78 -0
- package/lib/ruby/3.4.0/openssl/marshal.rb +30 -0
- package/lib/ruby/3.4.0/openssl/pkcs5.rb +22 -0
- package/lib/ruby/3.4.0/openssl/pkey.rb +471 -0
- package/lib/ruby/3.4.0/openssl/ssl.rb +609 -0
- package/lib/ruby/3.4.0/openssl/version.rb +5 -0
- package/lib/ruby/3.4.0/openssl/x509.rb +391 -0
- package/lib/ruby/3.4.0/openssl.rb +38 -0
- package/lib/ruby/3.4.0/pathname.rb +621 -0
- package/lib/ruby/3.4.0/psych/class_loader.rb +104 -0
- package/lib/ruby/3.4.0/psych/coder.rb +95 -0
- package/lib/ruby/3.4.0/psych/core_ext.rb +19 -0
- package/lib/ruby/3.4.0/psych/exception.rb +28 -0
- package/lib/ruby/3.4.0/psych/handler.rb +255 -0
- package/lib/ruby/3.4.0/psych/handlers/document_stream.rb +23 -0
- package/lib/ruby/3.4.0/psych/handlers/recorder.rb +40 -0
- package/lib/ruby/3.4.0/psych/json/ruby_events.rb +20 -0
- package/lib/ruby/3.4.0/psych/json/stream.rb +17 -0
- package/lib/ruby/3.4.0/psych/json/tree_builder.rb +13 -0
- package/lib/ruby/3.4.0/psych/json/yaml_events.rb +30 -0
- package/lib/ruby/3.4.0/psych/nodes/alias.rb +21 -0
- package/lib/ruby/3.4.0/psych/nodes/document.rb +63 -0
- package/lib/ruby/3.4.0/psych/nodes/mapping.rb +59 -0
- package/lib/ruby/3.4.0/psych/nodes/node.rb +75 -0
- package/lib/ruby/3.4.0/psych/nodes/scalar.rb +70 -0
- package/lib/ruby/3.4.0/psych/nodes/sequence.rb +84 -0
- package/lib/ruby/3.4.0/psych/nodes/stream.rb +40 -0
- package/lib/ruby/3.4.0/psych/nodes.rb +78 -0
- package/lib/ruby/3.4.0/psych/omap.rb +5 -0
- package/lib/ruby/3.4.0/psych/parser.rb +65 -0
- package/lib/ruby/3.4.0/psych/scalar_scanner.rb +141 -0
- package/lib/ruby/3.4.0/psych/set.rb +5 -0
- package/lib/ruby/3.4.0/psych/stream.rb +38 -0
- package/lib/ruby/3.4.0/psych/streaming.rb +28 -0
- package/lib/ruby/3.4.0/psych/syntax_error.rb +22 -0
- package/lib/ruby/3.4.0/psych/tree_builder.rb +137 -0
- package/lib/ruby/3.4.0/psych/versions.rb +10 -0
- package/lib/ruby/3.4.0/psych/visitors/depth_first.rb +27 -0
- package/lib/ruby/3.4.0/psych/visitors/emitter.rb +52 -0
- package/lib/ruby/3.4.0/psych/visitors/json_tree.rb +25 -0
- package/lib/ruby/3.4.0/psych/visitors/to_ruby.rb +435 -0
- package/lib/ruby/3.4.0/psych/visitors/visitor.rb +34 -0
- package/lib/ruby/3.4.0/psych/visitors/yaml_tree.rb +583 -0
- package/lib/ruby/3.4.0/psych/visitors.rb +7 -0
- package/lib/ruby/3.4.0/psych/y.rb +10 -0
- package/lib/ruby/3.4.0/psych.rb +763 -0
- package/lib/ruby/3.4.0/ripper/core.rb +74 -0
- package/lib/ruby/3.4.0/ripper/filter.rb +86 -0
- package/lib/ruby/3.4.0/ripper/lexer.rb +379 -0
- package/lib/ruby/3.4.0/ripper/sexp.rb +187 -0
- package/lib/ruby/3.4.0/ripper.rb +74 -0
- package/lib/ruby/3.4.0/strscan/strscan.rb +25 -0
- package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +366 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/Gemfile +4 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/README.md +45 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/Rakefile +10 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/abbrev.gemspec +29 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/console +14 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/setup +8 -0
- package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/lib/abbrev.rb +133 -0
- package/lib/ruby/gems/3.4.0/gems/base64-0.2.0/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/base64-0.2.0/README.md +48 -0
- package/lib/ruby/gems/3.4.0/gems/base64-0.2.0/lib/base64.rb +363 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/.bundled.bigdecimal-3.1.8.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/LICENSE +56 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal-3.1.8.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +50 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/jacobian.rb +90 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/ludcmp.rb +89 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/math.rb +232 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/newton.rb +80 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/util.rb +185 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/linear.rb +74 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/nlsolve.rb +40 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/pi.rb +21 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/LICENSE.txt +33 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/NEWS.md +965 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/README.md +55 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/arguments/io.rdoc +5 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/common/col_sep.rdoc +57 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/common/quote_char.rdoc +42 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/common/row_sep.rdoc +91 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/generating/force_quotes.rdoc +17 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/generating/quote_empty.rdoc +12 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/generating/write_converters.rdoc +25 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/generating/write_empty_value.rdoc +15 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/generating/write_headers.rdoc +29 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/generating/write_nil_value.rdoc +14 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/converters.rdoc +46 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/empty_value.rdoc +13 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/field_size_limit.rdoc +39 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/header_converters.rdoc +43 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/headers.rdoc +63 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/liberal_parsing.rdoc +38 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/nil_value.rdoc +12 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/return_headers.rdoc +22 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/skip_blanks.rdoc +31 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/skip_lines.rdoc +37 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/strip.rdoc +15 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/options/parsing/unconverted_fields.rdoc +27 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/recipes/filtering.rdoc +226 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/recipes/generating.rdoc +298 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/recipes/parsing.rdoc +554 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/doc/csv/recipes/recipes.rdoc +6 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/core_ext/array.rb +9 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/core_ext/string.rb +9 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/fields_converter.rb +96 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/input_record_separator.rb +18 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/parser.rb +1292 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/row.rb +757 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/table.rb +1055 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/version.rb +6 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv/writer.rb +209 -0
- package/lib/ruby/gems/3.4.0/gems/csv-3.3.2/lib/csv.rb +3017 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/.bundled.debug-1.11.0.gemspec +25 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/CONTRIBUTING.md +573 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Gemfile +10 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/README.md +996 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Rakefile +57 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/TODO.md +23 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug-1.11.0.gemspec +30 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug.gemspec +33 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/exe/rdbg +53 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/abbrev_command.rb +77 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/breakpoint.rb +556 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/client.rb +263 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/color.rb +123 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/config.rb +592 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/console.rb +224 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/dap_custom/traceInspector.rb +336 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/frame_info.rb +190 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/irb_integration.rb +37 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/local.rb +115 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open.rb +13 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open_nonstop.rb +15 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/prelude.rb +50 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server.rb +534 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_cdp.rb +1348 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_dap.rb +1108 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/session.rb +2667 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/source_repository.rb +150 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/start.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/thread_client.rb +1457 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/tracer.rb +241 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/version.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug.rb +9 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/misc/README.md.erb +660 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/drb.gemspec +41 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/acl.rb +239 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/drb.rb +1943 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/eq.rb +15 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/extserv.rb +44 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/extservm.rb +94 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/gw.rb +161 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/invokemethod.rb +35 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/observer.rb +26 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/ssl.rb +354 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/timeridconv.rb +97 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/unix.rb +118 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/version.rb +3 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb/weakidconv.rb +59 -0
- package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/lib/drb.rb +3 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/Gemfile +4 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/README.md +99 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/Rakefile +10 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/console +7 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/setup +6 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/getoptlong.gemspec +30 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/lib/getoptlong.rb +867 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/abbrev.rb +9 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/aliases.rb +8 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/argv.rb +12 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/each.rb +12 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/fibonacci.rb +62 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/permute.rb +12 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/require_order.rb +13 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/return_in_order.rb +13 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/simple.rb +7 -0
- package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/sample/getoptlong/types.rb +10 -0
- package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/lib/matrix/eigenvalue_decomposition.rb +882 -0
- package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/lib/matrix/lup_decomposition.rb +219 -0
- package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/lib/matrix/version.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/lib/matrix.rb +2493 -0
- package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/matrix.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/.autotest +34 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/History.rdoc +1681 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/Manifest.txt +32 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/README.rdoc +835 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/Rakefile +81 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/design_rationale.rb +52 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/hoe/minitest.rb +29 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/assertions.rb +855 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/autorun.rb +6 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/benchmark.rb +452 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/compress.rb +94 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/error_on_warning.rb +11 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/expectations.rb +321 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/hell.rb +11 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/manual_plugins.rb +16 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/mock.rb +347 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/parallel.rb +70 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/pride.rb +4 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/pride_plugin.rb +135 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/spec.rb +350 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/test.rb +237 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/test_task.rb +307 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest/unit.rb +42 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/lib/minitest.rb +1235 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/metametameta.rb +150 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/test_minitest_assertions.rb +1720 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/test_minitest_benchmark.rb +137 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/test_minitest_mock.rb +1218 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/test_minitest_reporter.rb +436 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/test_minitest_spec.rb +1163 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/test_minitest_test.rb +1356 -0
- package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/test/minitest/test_minitest_test_task.rb +57 -0
- package/lib/ruby/gems/3.4.0/gems/mutex_m-0.3.0/BSDL +22 -0
- package/lib/ruby/gems/3.4.0/gems/mutex_m-0.3.0/COPYING +56 -0
- package/lib/ruby/gems/3.4.0/gems/mutex_m-0.3.0/README.md +62 -0
- package/lib/ruby/gems/3.4.0/gems/mutex_m-0.3.0/lib/mutex_m.rb +121 -0
- package/lib/ruby/gems/3.4.0/gems/mutex_m-0.3.0/sig/mutex_m.rbs +99 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/BSDL +22 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/COPYING +56 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/Gemfile +6 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/LICENSE.txt +2 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/README.md +56 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/Rakefile +10 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/lib/net/ftp.rb +1580 -0
- package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/net-ftp.gemspec +34 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/BSDL +22 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/COPYING +56 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/Gemfile +25 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/LICENSE.txt +65 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/README.md +77 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/Rakefile +13 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/docs/styles.css +85 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/authenticators.rb +37 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/command_data.rb +507 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/config/attr_accessors.rb +75 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/config/attr_inheritance.rb +90 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/config/attr_type_coercion.rb +74 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/config/attr_version_defaults.rb +93 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/config.rb +500 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/connection_state.rb +48 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/data_encoding.rb +214 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/data_lite.rb +226 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/deprecated_client_options.rb +142 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/errors.rb +118 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/esearch_result.rb +219 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/fetch_data.rb +597 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/flags.rb +262 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/response_data.rb +1113 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/response_parser/parser_utils.rb +245 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/response_parser.rb +2282 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/response_reader.rb +92 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/anonymous_authenticator.rb +69 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/authentication_exchange.rb +139 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/authenticators.rb +122 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/client_adapter.rb +123 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/cram_md5_authenticator.rb +61 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/digest_md5_authenticator.rb +342 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/external_authenticator.rb +83 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/gs2_header.rb +80 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/login_authenticator.rb +56 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/oauthbearer_authenticator.rb +199 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/plain_authenticator.rb +101 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/protocol_adapters.rb +101 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/scram_algorithm.rb +58 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/scram_authenticator.rb +361 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/stringprep.rb +12 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl/xoauth2_authenticator.rb +106 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl.rb +182 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sasl_adapter.rb +20 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/search_result.rb +145 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/sequence_set.rb +1952 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/stringprep/nameprep.rb +70 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/stringprep/saslprep.rb +69 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/stringprep/saslprep_tables.rb +96 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/stringprep/tables.rb +146 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/stringprep/trace.rb +85 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/stringprep.rb +159 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/uidplus_data.rb +244 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap/vanished_data.rb +65 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/lib/net/imap.rb +3968 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/net-imap.gemspec +38 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/rakelib/benchmarks.rake +91 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/rakelib/rdoc.rake +70 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/rakelib/rfcs.rake +170 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/rakelib/saslprep.rake +30 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/rakelib/string_prep_tables_generator.rb +449 -0
- package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/sample/net-imap.rb +167 -0
- package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/Gemfile +7 -0
- package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/README.md +66 -0
- package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/Rakefile +17 -0
- package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/lib/net/pop.rb +1025 -0
- package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/net-pop.gemspec +32 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/LICENSE.txt +2 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/NEWS.md +133 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/README.md +97 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/lib/net/smtp/auth_cram_md5.rb +48 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/lib/net/smtp/auth_login.rb +11 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/lib/net/smtp/auth_plain.rb +9 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/lib/net/smtp/auth_xoauth2.rb +17 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/lib/net/smtp/authenticator.rb +57 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/lib/net/smtp.rb +1164 -0
- package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/net-smtp.gemspec +31 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/.bundled.nkf-0.2.0.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Gemfile +5 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/README.md +38 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Rakefile +24 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/console +14 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/setup +8 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/kconv.rb +283 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/nkf.rb +6 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf-0.2.0.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf.gemspec +43 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/Gemfile +9 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/README.md +139 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/Rakefile +10 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/console +14 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/setup +8 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/lib/observer.rb +229 -0
- package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/observer.gemspec +32 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/BSDL +22 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/COPYING +57 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/Gemfile +19 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/LEGAL +4 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/README.md +98 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/Rakefile +59 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert/colorize.rb +7 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert/configuration.rb +46 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert/context.rb +233 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert/enable_tracepoint_events.rb +62 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert/inspector.rb +66 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert/parser.rb +251 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert/version.rb +3 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/lib/power_assert.rb +93 -0
- package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/power_assert.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/BSDL +22 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/COPYING +56 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/README.md +49 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/Rakefile +10 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/lib/prime.rb +561 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/prime.gemspec +28 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/sig/integer-extension.rbs +41 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/sig/manifest.yaml +2 -0
- package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/sig/prime.rbs +372 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/.bundled.racc-1.8.1.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/BSDL +22 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/COPYING +56 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ChangeLog +846 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.ja.rdoc +58 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.rdoc +60 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/TODO +5 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/bin/racc +320 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +218 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +219 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/command.ja.html +99 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +36 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +348 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/index.ja.html +10 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +125 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/usage.ja.html +414 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/compat.rb +33 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/debugflags.rb +60 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/exception.rb +16 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammar.rb +1191 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +667 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/info.rb +18 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/iset.rb +92 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +212 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser-text.rb +644 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser.rb +630 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +473 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +35 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/state.rb +976 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +311 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/static.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc.rb +6 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/racc-1.8.1.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/History.rdoc +2403 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/MIT-LICENSE +21 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/README.rdoc +155 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/command_line_usage.rdoc +158 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/example/Rakefile1 +38 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/example/Rakefile2 +35 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/example/a.c +6 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/example/b.c +6 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/example/main.c +11 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/glossary.rdoc +42 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/jamis.rb +592 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/proto_rake.rdoc +127 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/rake.1 +156 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/rakefile.rdoc +622 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/doc/rational.rdoc +151 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/exe/rake +27 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/application.rb +861 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/backtrace.rb +25 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/clean.rb +78 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/cloneable.rb +17 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/cpu_counter.rb +107 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/default_loader.rb +15 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/dsl_definition.rb +196 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/early_time.rb +22 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/ext/core.rb +26 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/ext/string.rb +176 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/file_creation_task.rb +25 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/file_list.rb +435 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/file_task.rb +58 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/file_utils.rb +132 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/file_utils_ext.rb +134 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/invocation_chain.rb +57 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/invocation_exception_mixin.rb +17 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/late_time.rb +18 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/linked_list.rb +112 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/loaders/makefile.rb +54 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/multi_task.rb +14 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/name_space.rb +38 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/packagetask.rb +222 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/phony.rb +16 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/private_reader.rb +21 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/promise.rb +100 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/pseudo_status.rb +30 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/rake_module.rb +67 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/rake_test_loader.rb +27 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/rule_recursion_overflow_error.rb +20 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/scope.rb +43 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/task.rb +434 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/task_argument_error.rb +8 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/task_arguments.rb +109 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/task_manager.rb +331 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/tasklib.rb +12 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/testtask.rb +189 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/thread_history_display.rb +49 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/thread_pool.rb +163 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/trace_output.rb +23 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/version.rb +10 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/win32.rb +51 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake.rb +70 -0
- package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/rake.gemspec +101 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.bundled.rbs-3.8.0.gemspec +25 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.rubocop.yml +53 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/BSDL +22 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/CHANGELOG.md +1854 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/COPYING +56 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/README.md +203 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Rakefile +415 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Steepfile +44 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/config.yml +311 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/array.rbs +4062 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/basic_object.rbs +375 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/binding.rbs +150 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/builtin.rbs +277 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/class.rbs +220 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/comparable.rbs +171 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/complex.rbs +786 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/constants.rbs +96 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/data.rbs +415 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/dir.rbs +981 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/encoding.rbs +1371 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerable.rbs +2405 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator/product.rbs +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator.rbs +630 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/env.rbs +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errno.rbs +673 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errors.rbs +760 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/exception.rbs +376 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/false_class.rbs +82 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber.rbs +550 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber_error.rbs +11 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file.rbs +2936 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file_test.rbs +331 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/float.rbs +1151 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/gc.rbs +644 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/global_variables.rbs +184 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/hash.rbs +1861 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/integer.rbs +1413 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/buffer.rbs +984 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/wait.rbs +70 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io.rbs +3402 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/kernel.rbs +3054 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/marshal.rbs +207 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/match_data.rbs +635 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/math.rbs +729 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/method.rbs +386 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/module.rbs +1704 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/nil_class.rbs +209 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/numeric.rbs +818 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object.rbs +110 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space/weak_key_map.rbs +166 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space.rbs +190 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/proc.rbs +868 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/process.rbs +2296 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ractor.rbs +1065 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/random.rbs +237 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/range.rbs +1107 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rational.rbs +531 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rb_config.rbs +88 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/argf.rbs +1229 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/env_class.rbs +1209 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/random.rbs +293 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/refinement.rbs +59 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/regexp.rbs +1928 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ruby_vm.rbs +765 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/basic_specification.rbs +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/config_file.rbs +38 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/dependency_installer.rbs +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/errors.rbs +176 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/installer.rbs +15 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/path_support.rbs +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/platform.rbs +7 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/request_set.rbs +49 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/requirement.rbs +148 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/rubygems.rbs +1171 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/source_list.rbs +15 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/specification.rbs +23 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/stream_ui.rbs +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/uninstaller.rbs +10 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/version.rbs +294 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/set.rbs +621 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/signal.rbs +100 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/string.rbs +3583 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/struct.rbs +667 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/symbol.rbs +475 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread.rbs +1765 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread_group.rbs +79 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/time.rbs +1762 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/trace_point.rbs +477 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/true_class.rbs +98 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/unbound_method.rbs +329 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/warning.rbs +87 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/CONTRIBUTING.md +106 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/architecture.md +110 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/collection.md +192 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/data_and_struct.md +86 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/gem.md +57 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/rbs_by_example.md +309 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/repo.md +125 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/sigs.md +167 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/stdlib.md +147 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/syntax.md +905 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/tools.md +17 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/exe/rbs +7 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/goodcheck.yml +91 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/constants.h +82 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/ruby_objs.h +72 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs.h +7 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ancestor_graph.rb +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/annotations.rb +199 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/formatter.rb +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_annotator.rb +400 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_source.rb +131 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate.rb +8 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/annotation.rb +29 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/comment.rb +29 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/declarations.rb +467 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/directives.rb +39 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/members.rb +449 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/type_param.rb +225 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/visitor.rb +137 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/buffer.rb +67 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/builtin_names.rb +58 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/colored_io.rb +48 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/diff.rb +83 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/validate.rb +356 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli.rb +1223 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/cleaner.rb +38 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile.rb +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb +223 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config.rb +81 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/installer.rb +32 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/base.rb +14 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/git.rb +258 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/local.rb +81 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/rubygems.rb +48 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/stdlib.rb +50 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources.rb +38 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection.rb +16 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/constant.rb +28 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition.rb +395 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/ancestor_builder.rb +620 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb +254 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder.rb +841 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/diff.rb +125 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment/use_map.rb +77 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment.rb +818 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_loader.rb +173 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_walker.rb +155 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/errors.rb +600 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/factory.rb +18 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/file_finder.rb +28 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/location_aux.rb +138 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/locator.rb +241 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/method_type.rb +141 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/namespace.rb +125 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/lex_result.rb +15 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/token.rb +23 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser_aux.rb +77 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/helpers.rb +140 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/node_usage.rb +99 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rb.rb +840 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rbi.rb +641 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/helpers.rb +59 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/reflection.rb +19 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/value_object_generator.rb +279 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime.rb +667 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/repository.rb +127 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/constant_resolver.rb +219 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/type_name_resolver.rb +91 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/sorter.rb +198 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/substitution.rb +83 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/subtractor.rb +201 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/errors.rb +80 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/guaranteed.rb +30 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/hook.rb +212 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/observer.rb +19 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup.rb +84 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup_helper.rb +50 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/tester.rb +167 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/type_check.rb +433 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test.rb +112 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_dependency.rb +100 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_regularity.rb +126 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_name.rb +109 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/types.rb +1557 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/convertibles.rb +176 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/spy.rb +136 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/type_assertions.rb +341 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/with_aliases.rb +143 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test.rb +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/validator.rb +182 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/variance_calculator.rb +189 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/vendorer.rb +71 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/version.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/writer.rb +419 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs.rb +93 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc/discover.rb +20 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc_plugin/parser.rb +163 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs-3.8.0.gemspec +29 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs.gemspec +49 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/annotation.json +14 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/comment.json +26 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/decls.json +326 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/function.json +87 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/location.json +56 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/members.json +266 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/methodType.json +50 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/typeParam.json +36 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/types.json +317 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_builder.rbs +163 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_graph.rbs +60 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/annotations.rbs +102 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/formatter.rbs +24 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_annotater.rbs +82 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_source.rbs +30 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotation.rbs +27 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/buffer.rbs +32 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/builtin_names.rbs +44 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/colored_io.rbs +15 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/diff.rbs +21 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/validate.rbs +43 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli.rbs +87 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/cleaner.rbs +13 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile.rbs +74 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile_generator.rbs +66 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config.rbs +46 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/installer.rbs +17 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/sources.rbs +214 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection.rbs +4 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/comment.rbs +26 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/constant.rbs +21 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/declarations.rbs +267 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition.rbs +173 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition_builder.rbs +165 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/diff.rbs +28 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/directives.rbs +61 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment.rbs +277 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_loader.rbs +111 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_walker.rbs +65 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/errors.rbs +383 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/factory.rbs +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/file_finder.rbs +28 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/location.rbs +110 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/locator.rbs +58 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/manifest.yaml +7 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/members.rbs +258 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_builder.rbs +84 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_types.rbs +58 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/namespace.rbs +146 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/parser.rbs +96 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/helpers.rbs +27 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/node_usage.rbs +20 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rb.rbs +96 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rbi.rbs +75 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/runtime.rbs +182 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rbs.rbs +21 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rdoc/rbs.rbs +67 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/repository.rbs +85 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/constant_resolver.rbs +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/context.rbs +34 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/type_name_resolver.rbs +35 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/bundler.rbs +38 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/enumerable.rbs +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/rubygems.rbs +19 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/sorter.rbs +41 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/substitution.rbs +48 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/subtractor.rbs +37 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/errors.rbs +52 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/guranteed.rbs +9 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/type_check.rbs +19 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test.rbs +82 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_dependency.rbs +53 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_regularity.rbs +98 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_param.rbs +110 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/typename.rbs +79 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/types.rbs +576 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/convertibles.rbs +154 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/spy.rbs +28 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/type_assertions.rbs +194 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/with_aliases.rbs +136 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/use_map.rbs +35 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/util.rbs +9 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/validator.rbs +59 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/variance_calculator.rbs +87 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/vendorer.rbs +51 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/version.rbs +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/visitor.rbs +47 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/writer.rbs +127 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/constants.c +153 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/ruby_objs.c +793 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/abbrev.rbs +66 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/array.rbs +26 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/base64/0/base64.rbs +355 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/benchmark/0/benchmark.rbs +452 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal/0/big_decimal.rbs +1629 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/big_math.rbs +119 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/manifest.yaml +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/core.rbs +1285 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/manifest.yaml +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/coverage/0/coverage.rbs +263 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/csv.rbs +3776 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/manifest.yaml +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date.rbs +1585 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date_time.rbs +616 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/time.rbs +26 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/dbm/0/dbm.rbs +421 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/delegator.rbs +184 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/kernel.rbs +47 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/simple_delegator.rbs +96 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/did_you_mean/0/did_you_mean.rbs +343 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/digest/0/digest.rbs +577 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/erb/0/erb.rbs +532 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/etc/0/etc.rbs +865 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/fileutils/0/fileutils.rbs +1734 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/find/0/find.rbs +49 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/forwardable/0/forwardable.rbs +268 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/io-console/0/io-console.rbs +414 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ipaddr/0/ipaddr.rbs +428 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/json/0/json.rbs +1914 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/kconv/0/kconv.rbs +166 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/formatter.rbs +45 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/log_device.rbs +100 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/logger.rbs +796 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/manifest.yaml +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/period.rbs +17 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/severity.rbs +34 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/kernel.rbs +42 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/abstract_reporter.rbs +52 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertion.rbs +17 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertions.rbs +590 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/backtrace_filter.rbs +23 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/bench_spec.rbs +102 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/benchmark.rbs +259 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/composite_reporter.rbs +25 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/compress.rbs +13 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/error_on_warning.rbs +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectation.rbs +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectations.rbs +21 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/guard.rbs +64 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/mock.rbs +64 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/executor.rbs +46 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test/class_methods.rbs +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test.rbs +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel.rbs +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_io.rbs +62 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_lol.rbs +19 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/progress_reporter.rbs +11 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reportable.rbs +53 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reporter.rbs +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/result.rbs +28 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/runnable.rbs +163 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/skip.rbs +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl/instance_methods.rbs +48 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl.rbs +129 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec.rbs +11 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/statistics_reporter.rbs +81 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/summary_reporter.rbs +18 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test/lifecycle_hooks.rbs +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test.rbs +69 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_error.rbs +12 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_warning.rbs +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit/test_case.rbs +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit.rbs +4 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest.rbs +115 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/monitor/0/monitor.rbs +354 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/mutex_m/0/mutex_m.rbs +104 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/manifest.yaml +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/net-http.rbs +5552 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/manifest.yaml +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/net-protocol.rbs +56 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/manifest.yaml +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/net-smtp.rbs +55 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/nkf/0/nkf.rbs +402 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/objspace/0/objspace.rbs +487 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/observable/0/observable.rbs +217 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/manifest.yaml +4 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/open-uri.rbs +393 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open3/0/open3.rbs +147 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/manifest.yaml +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/openssl.rbs +12113 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/optparse/0/optparse.rbs +1725 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pathname/0/pathname.rbs +1406 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/manifest.yaml +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/pp.rbs +300 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/prettyprint/0/prettyprint.rbs +383 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pstore/0/pstore.rbs +603 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/core_ext.rbs +12 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/dbm.rbs +237 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/manifest.yaml +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/psych.rbs +402 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/store.rbs +59 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pty/0/pty.rbs +237 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/code_object.rbs +51 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/comment.rbs +59 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/context.rbs +153 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/markup.rbs +117 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/parser.rbs +56 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/rdoc.rbs +391 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/ri.rbs +17 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/store.rbs +48 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/top_level.rbs +97 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/manifest.yaml +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/resolv.rbs +1830 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ripper/0/ripper.rbs +1648 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/securerandom/0/securerandom.rbs +62 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/shellwords/0/shellwords.rbs +229 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/singleton/0/singleton.rbs +131 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/addrinfo.rbs +666 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/basic_socket.rbs +590 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/constants.rbs +2295 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/ip_socket.rbs +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket.rbs +4157 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket_error.rbs +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_server.rbs +192 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_socket.rbs +79 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/udp_socket.rbs +133 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_server.rbs +169 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_socket.rbs +170 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/stringio/0/stringio.rbs +567 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/strscan/0/string_scanner.rbs +1627 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tempfile/0/tempfile.rbs +479 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/time/0/time.rbs +432 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/timeout/0/timeout.rbs +81 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tmpdir/0/tmpdir.rbs +69 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/cyclic.rbs +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/interfaces.rbs +20 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/tsort.rbs +409 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/common.rbs +582 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/file.rbs +118 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ftp.rbs +13 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/generic.rbs +1108 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/http.rbs +104 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/https.rbs +14 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldap.rbs +230 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldaps.rbs +14 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/mailto.rbs +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc2396_parser.rbs +189 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc3986_parser.rbs +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ws.rbs +13 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/wss.rbs +9 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/manifest.yaml +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/yaml.rbs +1 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/buf_error.rbs +10 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/data_error.rbs +10 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/deflate.rbs +210 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/error.rbs +20 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/crc_error.rbs +12 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/error.rbs +23 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/length_error.rbs +12 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/no_footer.rbs +11 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file.rbs +156 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_reader.rbs +293 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_writer.rbs +166 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/inflate.rbs +180 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/mem_error.rbs +10 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/need_dict.rbs +13 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_end.rbs +11 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_error.rbs +11 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/version_error.rbs +11 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zlib.rbs +449 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zstream.rbs +200 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/constants.h.erb +20 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/ruby_objs.h.erb +10 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/constants.c.erb +36 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/ruby_objs.c.erb +27 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/template.rb +122 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/Gemfile +27 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/LICENSE.txt +21 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/README.md +60 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/Rakefile +37 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor/methods.rb +11 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor/require_paths.rb +80 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor/result.rb +170 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor/scope.rb +409 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor/type_analyzer.rb +1190 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor/types.rb +452 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor/version.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/lib/repl_type_completor.rb +141 -0
- package/lib/ruby/gems/3.4.0/gems/repl_type_completor-0.1.9/sig/repl_type_completor.rbs +19 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/Gemfile +4 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/README.md +30 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/Rakefile +1 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/console +14 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/setup +8 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/lib/resolv-replace.rb +76 -0
- package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/resolv-replace.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/NEWS.md +843 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/README.md +57 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/context.rdoc +143 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/rdoc/child.rdoc +87 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/rdoc/document.rdoc +276 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/rdoc/element.rdoc +602 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/rdoc/node.rdoc +97 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/rdoc/parent.rdoc +267 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/tocs/child_toc.rdoc +12 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/tocs/document_toc.rdoc +30 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/tocs/element_toc.rdoc +55 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/tocs/master_toc.rdoc +135 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/tocs/node_toc.rdoc +16 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tasks/tocs/parent_toc.rdoc +25 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/doc/rexml/tutorial.rdoc +1358 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/attlistdecl.rb +63 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/attribute.rb +210 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/cdata.rb +68 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/child.rb +96 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/comment.rb +80 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/doctype.rb +306 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/document.rb +471 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/dtd/attlistdecl.rb +11 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/dtd/dtd.rb +47 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/dtd/elementdecl.rb +18 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/dtd/entitydecl.rb +57 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/dtd/notationdecl.rb +40 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/element.rb +2578 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/encoding.rb +48 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/entity.rb +142 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/formatters/default.rb +116 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/formatters/pretty.rb +142 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/formatters/transitive.rb +58 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/functions.rb +446 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/instruction.rb +79 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/light/node.rb +188 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/namespace.rb +63 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/node.rb +80 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/output.rb +30 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parent.rb +166 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parseexception.rb +53 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/baseparser.rb +949 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/lightparser.rb +59 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/pullparser.rb +213 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/sax2parser.rb +270 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/streamparser.rb +67 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/treeparser.rb +89 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/ultralightparser.rb +57 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/parsers/xpathparser.rb +739 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/quickpath.rb +267 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/rexml.rb +39 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/sax2listener.rb +98 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/security.rb +28 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/source.rb +388 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/streamlistener.rb +93 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/text.rb +420 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/undefinednamespaceexception.rb +9 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/validation/relaxng.rb +540 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/validation/validation.rb +144 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/validation/validationexception.rb +10 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/xmldecl.rb +130 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/xmltokens.rb +85 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/xpath.rb +70 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml/xpath_parser.rb +980 -0
- package/lib/ruby/gems/3.4.0/gems/rexml-3.4.4/lib/rexml.rb +3 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/Gemfile +6 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/README.md +32 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/Rakefile +9 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/console +14 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/setup +8 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/lib/rinda/rinda.rb +329 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/lib/rinda/ring.rb +484 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/lib/rinda/tuplespace.rb +641 -0
- package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/rinda.gemspec +35 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/NEWS.md +87 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/README.md +88 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/0.9.rb +462 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/1.0.rb +485 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/2.0.rb +143 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/atom.rb +1025 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/content/1.0.rb +10 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/content/2.0.rb +12 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/content.rb +34 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/converter.rb +171 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/dublincore/1.0.rb +13 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/dublincore/2.0.rb +13 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/dublincore/atom.rb +17 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/dublincore.rb +164 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/image.rb +198 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/itunes.rb +482 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/0.9.rb +509 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/1.0.rb +436 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/2.0.rb +224 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/atom.rb +173 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/base.rb +945 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/content.rb +22 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/dublincore.rb +122 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/entry.rb +164 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/feed.rb +427 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/image.rb +112 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/itunes.rb +258 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/slash.rb +34 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/syndication.rb +19 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/taxonomy.rb +119 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker/trackback.rb +62 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/maker.rb +79 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/parser.rb +589 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/rexmlparser.rb +50 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/rss.rb +1370 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/slash.rb +52 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/syndication.rb +69 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/taxonomy.rb +148 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/trackback.rb +291 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/utils.rb +182 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/version.rb +4 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/xml-stylesheet.rb +105 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/xml.rb +73 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/xmlparser.rb +95 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss/xmlscanner.rb +122 -0
- package/lib/ruby/gems/3.4.0/gems/rss-0.3.1/lib/rss.rb +94 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/.bundled.syslog-0.2.0.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Gemfile +5 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/README.md +41 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Rakefile +20 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/console +14 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/setup +8 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog/logger.rb +209 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog.rb +10 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog-0.2.0.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/BSDL +24 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/COPYING +64 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/PSFL +271 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/README.md +108 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/Rakefile +74 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/doc/text/getting-started.md +246 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/doc/text/how-to.md +90 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/doc/text/news.md +1853 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/assertion-failed-error.rb +60 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/assertions.rb +2541 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/attribute-matcher.rb +26 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/attribute.rb +228 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/auto-runner-loader.rb +17 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/autorunner.rb +629 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/code-snippet-fetcher.rb +58 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/collector/descendant.rb +20 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/collector/dir.rb +110 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/collector/load.rb +201 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/collector/objectspace.rb +35 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/collector/xml.rb +249 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/collector.rb +104 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/color-scheme.rb +225 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/color.rb +134 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/data-sets.rb +127 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/data.rb +371 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/diff.rb +745 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/error.rb +158 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/exception-handler.rb +82 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/failure.rb +169 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/fault-location-detector.rb +104 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/fixture.rb +304 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/notification.rb +138 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/omission.rb +198 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/pending.rb +155 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/priority.rb +194 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/runner/console.rb +86 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/runner/emacs.rb +8 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/runner/xml.rb +15 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/sub-test-result.rb +59 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/test-suite-creator.rb +103 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/test-suite-runner.rb +128 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/test-suite-thread-runner.rb +69 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/testcase.rb +963 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/testresult.rb +132 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/testsuite.rb +108 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/ui/console/outputlevel.rb +15 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/ui/console/testrunner.rb +891 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/ui/emacs/testrunner.rb +49 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunner.rb +53 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnermediator.rb +119 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/ui/xml/testrunner.rb +224 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/util/backtracefilter.rb +59 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/util/memory-usage.rb +47 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/util/method-owner-finder.rb +28 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/util/observable.rb +86 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/util/output.rb +32 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/util/procwrapper.rb +48 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/version.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit/warning.rb +3 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test/unit.rb +521 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/lib/test-unit.rb +19 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/sample/adder.rb +13 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/sample/subtracter.rb +12 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/sample/test_adder.rb +20 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/sample/test_subtracter.rb +20 -0
- package/lib/ruby/gems/3.4.0/gems/test-unit-3.6.7/sample/test_user.rb +23 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/LICENSE +21 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/README.md +25 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/bin/typeprof +5 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/doc/doc.ja.md +134 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/doc/doc.md +136 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/cli/cli.rb +178 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/cli.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/code_range.rb +112 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/base.rb +263 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/call.rb +259 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/const.rb +126 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/control.rb +433 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/meta.rb +150 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/method.rb +339 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/misc.rb +263 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/module.rb +123 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/pattern.rb +140 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/sig_decl.rb +471 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/sig_type.rb +663 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/value.rb +319 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast/variable.rb +315 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/ast.rb +472 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/builtin.rb +146 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/env/method.rb +137 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/env/method_entity.rb +55 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/env/module_entity.rb +408 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/env/static_read.rb +155 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/env/type_alias_entity.rb +27 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/env/value_entity.rb +32 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/env.rb +366 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/graph/box.rb +998 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/graph/change_set.rb +224 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/graph/filter.rb +155 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/graph/vertex.rb +225 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/service.rb +514 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/type.rb +352 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core/util.rb +81 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/core.rb +31 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/diagnostic.rb +35 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/lsp/messages.rb +415 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/lsp/server.rb +203 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/lsp/text.rb +69 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/lsp/util.rb +51 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/lsp.rb +7 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof/version.rb +3 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/lib/typeprof.rb +6 -0
- package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/typeprof.gemspec +32 -0
- package/lib/ruby/gems/3.4.0/specifications/abbrev-0.1.2.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/base64-0.2.0.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/bigdecimal-3.1.8.gemspec +50 -0
- package/lib/ruby/gems/3.4.0/specifications/csv-3.3.2.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/debug-1.11.0.gemspec +33 -0
- package/lib/ruby/gems/3.4.0/specifications/drb-2.2.1.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/getoptlong-0.2.1.gemspec +20 -0
- package/lib/ruby/gems/3.4.0/specifications/matrix-0.4.2.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/minitest-5.25.4.gemspec +29 -0
- package/lib/ruby/gems/3.4.0/specifications/mutex_m-0.3.0.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/net-ftp-0.3.8.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/net-imap-0.5.15.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/net-pop-0.1.2.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/net-smtp-0.5.1.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/nkf-0.2.0.gemspec +43 -0
- package/lib/ruby/gems/3.4.0/specifications/observer-0.1.2.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/power_assert-2.0.5.gemspec +22 -0
- package/lib/ruby/gems/3.4.0/specifications/prime-0.1.3.gemspec +21 -0
- package/lib/ruby/gems/3.4.0/specifications/racc-1.8.1.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/rake-13.2.1.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/rbs-3.8.0.gemspec +49 -0
- package/lib/ruby/gems/3.4.0/specifications/repl_type_completor-0.1.9.gemspec +27 -0
- package/lib/ruby/gems/3.4.0/specifications/resolv-replace-0.1.1.gemspec +25 -0
- package/lib/ruby/gems/3.4.0/specifications/rexml-3.4.4.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/rinda-0.2.0.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/rss-0.3.1.gemspec +23 -0
- package/lib/ruby/gems/3.4.0/specifications/syslog-0.2.0.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/test-unit-3.6.7.gemspec +24 -0
- package/lib/ruby/gems/3.4.0/specifications/typeprof-0.30.1.gemspec +26 -0
- package/package.json +43 -4
- package/lib/ruby/3.4.11/English.gemspec +0 -22
- package/lib/ruby/3.4.11/benchmark.gemspec +0 -32
- package/lib/ruby/3.4.11/bundler/.document +0 -1
- package/lib/ruby/3.4.11/bundler/bundler.gemspec +0 -45
- package/lib/ruby/3.4.11/bundler/man/.document +0 -1
- package/lib/ruby/3.4.11/bundler/man/index.txt +0 -33
- package/lib/ruby/3.4.11/bundler/templates/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/connection_pool/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/fileutils/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/pub_grub/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/securerandom/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/thor/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/tsort/.document +0 -1
- package/lib/ruby/3.4.11/bundler/vendor/uri/.document +0 -1
- package/lib/ruby/3.4.11/cgi/cgi.gemspec +0 -43
- package/lib/ruby/3.4.11/delegate.gemspec +0 -29
- package/lib/ruby/3.4.11/did_you_mean/did_you_mean.gemspec +0 -25
- package/lib/ruby/3.4.11/erb.gemspec +0 -38
- package/lib/ruby/3.4.11/error_highlight/error_highlight.gemspec +0 -27
- package/lib/ruby/3.4.11/fileutils.gemspec +0 -31
- package/lib/ruby/3.4.11/find.gemspec +0 -29
- package/lib/ruby/3.4.11/forwardable/forwardable.gemspec +0 -26
- package/lib/ruby/3.4.11/forwardable/impl.rb +0 -17
- package/lib/ruby/3.4.11/ipaddr.gemspec +0 -36
- package/lib/ruby/3.4.11/irb/irb.gemspec +0 -46
- package/lib/ruby/3.4.11/logger/logger.gemspec +0 -22
- package/lib/ruby/3.4.11/net/http/net-http.gemspec +0 -39
- package/lib/ruby/3.4.11/net/net-protocol.gemspec +0 -34
- package/lib/ruby/3.4.11/open-uri.gemspec +0 -32
- package/lib/ruby/3.4.11/open3/open3.gemspec +0 -33
- package/lib/ruby/3.4.11/optparse/optparse.gemspec +0 -31
- package/lib/ruby/3.4.11/ostruct.gemspec +0 -24
- package/lib/ruby/3.4.11/pp.gemspec +0 -35
- package/lib/ruby/3.4.11/prettyprint.gemspec +0 -29
- package/lib/ruby/3.4.11/prism/prism.gemspec +0 -174
- package/lib/ruby/3.4.11/pstore.gemspec +0 -32
- package/lib/ruby/3.4.11/rbconfig.rb +0 -366
- package/lib/ruby/3.4.11/rdoc/.document +0 -2
- package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/.document +0 -0
- package/lib/ruby/3.4.11/rdoc/generator/template/json_index/.document +0 -1
- package/lib/ruby/3.4.11/rdoc/markdown/.document +0 -1
- package/lib/ruby/3.4.11/rdoc/rd/.document +0 -1
- package/lib/ruby/3.4.11/rdoc/rdoc.gemspec +0 -68
- package/lib/ruby/3.4.11/readline.gemspec +0 -33
- package/lib/ruby/3.4.11/reline/reline.gemspec +0 -30
- package/lib/ruby/3.4.11/resolv.gemspec +0 -30
- package/lib/ruby/3.4.11/ruby2_keywords.gemspec +0 -23
- package/lib/ruby/3.4.11/ruby_vm/rjit/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/ssl_certs/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/molinillo/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/net-http/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/optparse/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/resolv/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/securerandom/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/timeout/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/tsort/.document +0 -1
- package/lib/ruby/3.4.11/rubygems/vendor/uri/.document +0 -1
- package/lib/ruby/3.4.11/securerandom.gemspec +0 -34
- package/lib/ruby/3.4.11/set/set.gemspec +0 -30
- package/lib/ruby/3.4.11/shellwords.gemspec +0 -31
- package/lib/ruby/3.4.11/singleton.gemspec +0 -30
- package/lib/ruby/3.4.11/syntax_suggest/syntax_suggest.gemspec +0 -32
- package/lib/ruby/3.4.11/tempfile.gemspec +0 -33
- package/lib/ruby/3.4.11/time.gemspec +0 -35
- package/lib/ruby/3.4.11/timeout.gemspec +0 -33
- package/lib/ruby/3.4.11/tmpdir.gemspec +0 -30
- package/lib/ruby/3.4.11/tsort.gemspec +0 -29
- package/lib/ruby/3.4.11/un.gemspec +0 -31
- package/lib/ruby/3.4.11/uri/uri.gemspec +0 -42
- package/lib/ruby/3.4.11/wasm32-wasi/rbconfig.rb +0 -366
- package/lib/ruby/3.4.11/weakref.gemspec +0 -34
- package/lib/ruby/3.4.11/yaml/yaml.gemspec +0 -30
- /package/lib/ruby/{3.4.11 → 3.4.0}/English.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/benchmark.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundled_gems.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/build_metadata.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/capistrano.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/checksum.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/ci_detector.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/add.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/binstubs.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/cache.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/check.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/clean.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/common.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/config.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/console.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/doctor/diagnose.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/doctor/ssl.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/doctor.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/exec.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/fund.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/gem.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/info.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/init.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/inject.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/install.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/issue.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/list.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/lock.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/open.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/outdated.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/platform.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/plugin.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/pristine.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/remove.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/show.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/update.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli/viz.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/cli.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/compact_index_client/cache.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/compact_index_client/cache_file.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/compact_index_client/parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/compact_index_client/updater.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/compact_index_client.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/constants.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/current_ruby.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/definition.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/dependency.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/deployment.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/deprecate.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/digest.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/dsl.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/endpoint_specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/env.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/environment_preserver.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/errors.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/feature_flag.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/fetcher/base.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/fetcher/compact_index.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/fetcher/dependency.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/fetcher/downloader.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/fetcher/gem_remote_fetcher.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/fetcher/index.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/fetcher.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/force_platform.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/friendly_errors.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/gem_helper.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/gem_helpers.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/gem_tasks.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/gem_version_promoter.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/graph.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/index.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/injector.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/inline.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/installer/gem_installer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/installer/parallel_installer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/installer/standalone.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/installer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/lazy_specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/lockfile_generator.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/lockfile_parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-add.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-add.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-binstubs.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-binstubs.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-cache.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-cache.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-check.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-check.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-clean.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-clean.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-config.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-config.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-console.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-console.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-doctor.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-doctor.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-env.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-env.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-exec.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-exec.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-fund.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-fund.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-gem.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-gem.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-help.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-help.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-info.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-info.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-init.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-init.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-inject.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-inject.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-install.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-install.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-issue.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-issue.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-licenses.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-licenses.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-list.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-list.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-lock.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-lock.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-open.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-open.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-outdated.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-outdated.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-platform.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-platform.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-plugin.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-plugin.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-pristine.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-pristine.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-remove.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-remove.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-show.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-show.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-update.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-update.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-version.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-version.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-viz.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle-viz.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle.1 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/bundle.1.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/gemfile.5 +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/man/gemfile.5.ronn +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/match_metadata.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/match_platform.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/match_remote_metadata.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/materialization.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/mirror.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/plugin/api/source.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/plugin/api.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/plugin/dsl.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/plugin/events.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/plugin/index.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/plugin/installer/git.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/plugin/installer/path.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/plugin/installer/rubygems.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/plugin/installer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/plugin/source_list.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/plugin.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/process_lock.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/remote_specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/resolver/base.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/resolver/candidate.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/resolver/incompatibility.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/resolver/package.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/resolver/root.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/resolver/spec_group.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/resolver/strategy.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/resolver.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/retry.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/ruby_dsl.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/ruby_version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/rubygems_ext.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/rubygems_gem_installer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/rubygems_integration.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/runtime.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/safe_marshal.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/self_manager.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/settings/validator.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/settings.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/setup.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/shared_helpers.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/similarity_detector.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/source/gemspec.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/source/git/git_proxy.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/source/git.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/source/metadata.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/source/path/installer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/source/path.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/source/rubygems/remote.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/source/rubygems.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/source/rubygems_aggregate.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/source.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/source_list.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/source_map.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/spec_set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/stub_specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/Executable +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/Executable.bundler +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/Executable.standalone +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/Gemfile +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/CHANGELOG.md.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/Cargo.toml.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/Gemfile.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/LICENSE.txt.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/README.md.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/Rakefile.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/bin/console.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/bin/setup.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/circleci/config.yml.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/exe/newgem.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/ext/newgem/newgem.c.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/ext/newgem/newgem.h.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/github/workflows/main.yml.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/gitignore.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/gitlab-ci.yml.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/lib/newgem/version.rb.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/lib/newgem.rb.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/newgem.gemspec.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/rspec.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/rubocop.yml.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/sig/newgem.rbs.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/spec/newgem_spec.rb.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/spec/spec_helper.rb.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/standard.yml.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/test/minitest/test_helper.rb.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/ui/rg_proxy.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/ui/shell.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/ui/silent.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/ui.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/uri_credentials_filter.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/uri_normalizer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/connection_pool/lib/connection_pool/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/connection_pool/lib/connection_pool.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/fileutils/lib/fileutils.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/package.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/strategy.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/term.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/pub_grub/lib/pub_grub.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/securerandom/lib/securerandom.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/actions/create_file.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/actions/create_link.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/actions/directory.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/actions.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/base.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/error.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/group.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/invocation.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/line_editor/basic.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/line_editor/readline.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/line_editor.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/nested_context.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/parser/argument.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/parser/arguments.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/parser/option.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/parser/options.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/rake_compat.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/runner.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/shell/basic.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/shell/color.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/shell/column_printer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/shell/html.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/shell/table_printer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/shell/terminal.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/shell.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/util.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/thor/lib/thor.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/tsort/lib/tsort.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri/common.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri/file.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri/ftp.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri/generic.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri/http.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri/https.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri/ldap.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri/ldaps.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri/mailto.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri/ws.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri/wss.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendor/uri/lib/uri.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendored_fileutils.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendored_net_http.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendored_persistent.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendored_pub_grub.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendored_securerandom.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendored_thor.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendored_timeout.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendored_tsort.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vendored_uri.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/vlad.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/worker.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler/yaml_serializer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/bundler.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/cgi/cookie.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/cgi/core.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/cgi/html.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/cgi/session/pstore.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/cgi/session.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/cgi/util.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/cgi.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/delegate.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/core_ext/name_error.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/experimental.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/formatter.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/formatters/plain_formatter.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/formatters/verbose_formatter.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/jaro_winkler.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/levenshtein.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/spell_checker.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/spell_checkers/key_error_checker.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/spell_checkers/method_name_checker.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/spell_checkers/name_error_checkers.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/spell_checkers/null_checker.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/spell_checkers/pattern_key_name_checker.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/spell_checkers/require_path_checker.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/tree_spell_checker.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/verbose.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/did_you_mean.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/erb/compiler.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/erb/def_method.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/erb/util.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/erb/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/erb.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/error_highlight/base.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/error_highlight/core_ext.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/error_highlight/formatter.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/error_highlight/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/error_highlight.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/fileutils.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/find.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/forwardable.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ipaddr.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/cmd/nop.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/color.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/color_printer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/backtrace.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/base.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/break.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/catch.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/cd.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/chws.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/context.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/continue.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/debug.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/delete.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/disable_irb.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/edit.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/exit.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/finish.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/force_exit.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/help.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/history.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/info.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/internal_helpers.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/irb_info.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/load.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/ls.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/measure.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/next.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/pushws.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/show_doc.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/show_source.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/step.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/subirb.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command/whereami.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/completion.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/context.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/debug/ui.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/debug.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/default_commands.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/easter-egg.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/ext/change-ws.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/ext/eval_history.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/ext/loader.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/ext/multi-irb.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/ext/tracer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/ext/use-loader.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/ext/workspaces.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/frame.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/help.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/helper_method/base.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/helper_method/conf.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/helper_method.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/history.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/init.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/input-method.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/inspector.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/lc/error.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/lc/help-message +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/lc/ja/error.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/lc/ja/help-message +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/locale.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/nesting_parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/notifier.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/output-method.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/pager.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/ruby-lex.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/ruby_logo.aa +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/source_finder.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/statement.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/workspace.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/ws-for-case-2.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb/xmp.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/irb.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/logger/errors.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/logger/formatter.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/logger/log_device.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/logger/period.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/logger/severity.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/logger/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/logger.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/mkmf.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/net/http/exceptions.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/net/http/generic_request.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/net/http/header.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/net/http/proxy_delta.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/net/http/request.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/net/http/requests.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/net/http/response.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/net/http/responses.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/net/http/status.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/net/http.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/net/https.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/net/protocol.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/open-uri.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/open3/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/open3.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/optionparser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/optparse/ac.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/optparse/date.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/optparse/kwargs.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/optparse/shellwords.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/optparse/time.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/optparse/uri.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/optparse/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/optparse.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ostruct.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/pp.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prettyprint.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/compiler.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/desugar_compiler.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/dispatcher.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/dsl.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/ffi.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/inspect_visitor.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/lex_compat.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/mutation_compiler.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/node.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/node_ext.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/pack.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/parse_result/comments.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/parse_result/errors.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/parse_result/newlines.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/parse_result.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/pattern.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/polyfill/append_as_bytes.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/polyfill/byteindex.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/polyfill/scan_byte.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/polyfill/unpack1.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/polyfill/warn.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/reflection.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/relocation.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/serialize.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/string_query.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/translation/parser/builder.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/translation/parser/compiler.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/translation/parser/lexer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/translation/parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/translation/parser33.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/translation/parser34.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/translation/parser35.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/translation/parser_current.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/translation/ripper/sexp.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/translation/ripper/shim.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/translation/ripper.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/translation/ruby_parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/translation.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism/visitor.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/prism.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/pstore.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/random/formatter.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/alias.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/anon_class.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/any_method.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/attr.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/class_module.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/constant.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/context/section.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/context.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/extend.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/ghost_method.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/include.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/meta_method.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/method_attr.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/mixin.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/normal_class.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/normal_module.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/require.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/single_class.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object/top_level.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_object.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/code_objects.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/comment.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/cross_reference.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/encoding.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/erb_partial.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/erbio.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/darkfish.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/json_index.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/markup.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/pot/message_extractor.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/pot/po.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/pot/po_entry.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/pot.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/ri.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/_footer.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/_head.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/_sidebar_search.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/_sidebar_toggle.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/class.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/css/fonts.css +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/css/rdoc.css +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/add.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/brick.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/bug.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/date.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/delete.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/find.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/package.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/page_green.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/plugin.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/ruby.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/transparent.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/wrench.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/images/zoom.png +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/index.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/js/darkfish.js +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/js/search.js +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/page.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/servlet_not_found.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/servlet_root.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/darkfish/table_of_contents.rhtml +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/json_index/js/navigation.js +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator/template/json_index/js/searcher.js +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/generator.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/i18n/locale.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/i18n/text.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/i18n.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/known_classes.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markdown/entities.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markdown/literals.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markdown.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/attr_changer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/attr_span.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/attribute_manager.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/attributes.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/blank_line.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/block_quote.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/document.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/formatter.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/hard_break.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/heading.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/include.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/indented_paragraph.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/list.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/list_item.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/paragraph.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/pre_process.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/raw.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/regexp_handling.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/rule.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/table.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/to_ansi.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/to_bs.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/to_html.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/to_html_crossref.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/to_html_snippet.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/to_joined_paragraph.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/to_label.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/to_markdown.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/to_rdoc.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/to_table_of_contents.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/to_test.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/to_tt_only.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup/verbatim.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/markup.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/options.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/parser/c.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/parser/changelog.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/parser/markdown.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/parser/prism_ruby.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/parser/rd.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/parser/ripper_state_lex.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/parser/ruby.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/parser/ruby_tools.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/parser/simple.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/parser/text.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/rd/block_parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/rd/inline.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/rd/inline_parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/rd.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/rdoc.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/ri/driver.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/ri/formatter.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/ri/paths.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/ri/store.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/ri/task.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/ri.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/rubygems_hook.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/servlet.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/stats/normal.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/stats/quiet.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/stats/verbose.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/stats.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/store.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/task.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/text.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/token_stream.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/tom_doc.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rdoc.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/readline.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/config.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/face.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/history.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/io/ansi.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/io/dumb.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/io/windows.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/io.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/key_actor/base.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/key_actor/composite.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/key_actor/emacs.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/key_actor/vi_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/key_actor/vi_insert.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/key_actor.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/key_stroke.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/kill_ring.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/line_editor.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/unicode/east_asian_width.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/unicode.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/reline.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/resolv.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/assembler.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/block.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/branch_stub.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/c_pointer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/c_type.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/code_block.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/compiler.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/context.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/entry_stub.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/exit_compiler.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/hooks.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/insn_compiler.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/instruction.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/invariants.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/jit_state.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/stats.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/ruby_vm/rjit/type.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/available_set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/basic_specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/bundler_version_finder.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/ci_detector.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/command_manager.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/build_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/cert_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/check_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/cleanup_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/contents_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/dependency_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/environment_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/exec_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/fetch_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/generate_index_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/help_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/info_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/install_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/list_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/lock_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/mirror_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/open_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/outdated_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/owner_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/pristine_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/push_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/query_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/rdoc_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/rebuild_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/search_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/server_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/setup_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/signin_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/signout_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/sources_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/specification_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/stale_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/uninstall_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/unpack_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/update_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/which_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/commands/yank_command.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/compatibility.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/config_file.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/core_ext/kernel_gem.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/core_ext/kernel_require.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/core_ext/kernel_warn.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/core_ext/tcpsocket_init.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/defaults.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/dependency.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/dependency_installer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/dependency_list.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/deprecate.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/doctor.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/errors.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/exceptions.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/ext/build_error.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/ext/builder.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/ext/cargo_builder/link_flag_converter.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/ext/cargo_builder.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/ext/cmake_builder.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/ext/configure_builder.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/ext/ext_conf_builder.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/ext/rake_builder.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/ext.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/gem_runner.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/gemcutter_utilities/webauthn_listener/response.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/gemcutter_utilities/webauthn_listener.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/gemcutter_utilities/webauthn_poller.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/gemcutter_utilities.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/gemspec_helpers.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/install_default_message.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/install_message.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/install_update_options.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/installer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/installer_uninstaller_utils.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/local_remote_options.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/name_tuple.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/openssl.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/package/digest_io.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/package/file_source.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/package/io_source.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/package/old.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/package/source.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/package/tar_header.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/package/tar_reader/entry.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/package/tar_reader.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/package/tar_writer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/package.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/package_task.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/path_support.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/platform.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/psych_tree.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/query_utils.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/rdoc.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/remote_fetcher.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/request/connection_pools.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/request/http_pool.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/request/https_pool.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/request.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/request_set/gem_dependency_api.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/request_set/lockfile/parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/request_set/lockfile/tokenizer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/request_set/lockfile.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/request_set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/requirement.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/activation_request.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/api_set/gem_parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/api_set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/api_specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/best_set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/composed_set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/conflict.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/current_set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/dependency_request.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/git_set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/git_specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/index_set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/index_specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/installed_specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/installer_set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/local_specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/lock_set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/lock_specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/requirement_list.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/source_set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/spec_specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/stats.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/vendor_set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver/vendor_specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/resolver.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/s3_uri_signer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/safe_marshal/elements.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/safe_marshal/reader.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/safe_marshal/visitors/stream_printer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/safe_marshal/visitors/to_ruby.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/safe_marshal/visitors/visitor.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/safe_marshal.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/safe_yaml.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/security/policies.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/security/policy.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/security/signer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/security/trust_dir.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/security.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/security_option.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/source/git.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/source/installed.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/source/local.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/source/lock.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/source/specific_file.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/source/vendor.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/source.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/source_list.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/spec_fetcher.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/specification_policy.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/specification_record.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/stub_specification.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/target_rbconfig.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/text.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/uninstaller.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/unknown_command_spell_checker.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/update_suggestion.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/uri.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/uri_formatter.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/user_interaction.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/util/licenses.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/util/list.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/util.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/validator.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/errors.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/modules/ui.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/resolution.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/resolver.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo/state.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/molinillo/lib/molinillo.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/net-http/lib/net/http/exceptions.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/net-http/lib/net/http/generic_request.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/net-http/lib/net/http/header.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/net-http/lib/net/http/proxy_delta.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/net-http/lib/net/http/request.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/net-http/lib/net/http/requests.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/net-http/lib/net/http/response.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/net-http/lib/net/http/responses.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/net-http/lib/net/http/status.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/net-http/lib/net/http.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/net-http/lib/net/https.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/net-protocol/lib/net/protocol.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/optparse/lib/optionparser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/optparse/lib/optparse/ac.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/optparse/lib/optparse/date.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/optparse/lib/optparse/kwargs.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/optparse/lib/optparse/shellwords.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/optparse/lib/optparse/time.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/optparse/lib/optparse/uri.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/optparse/lib/optparse/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/optparse/lib/optparse.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/resolv/lib/resolv.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/securerandom/lib/securerandom.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/timeout/lib/timeout.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/tsort/lib/tsort.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri/common.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri/file.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri/ftp.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri/generic.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri/http.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri/https.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri/ldap.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri/ldaps.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri/mailto.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri/ws.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri/wss.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendor/uri/lib/uri.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendored_molinillo.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendored_net_http.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendored_optparse.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendored_securerandom.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendored_timeout.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/vendored_tsort.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/version_option.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems/yaml_serializer.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/rubygems.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/securerandom.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/set/sorted_set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/set.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/shellwords.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/singleton.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/api.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/around_block_scan.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/block_expand.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/capture/before_after_keyword_ends.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/capture/falling_indent_lines.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/capture_code_context.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/clean_document.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/cli.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/code_block.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/code_frontier.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/code_line.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/code_search.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/core_ext.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/display_code_with_line_numbers.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/display_invalid_blocks.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/explain_syntax.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/left_right_lex_count.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/lex_all.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/lex_value.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/mini_stringio.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/parse_blocks_from_indent_line.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/pathname_from_message.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/priority_engulf_queue.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/priority_queue.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/ripper_errors.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/scan_history.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/unvisited_lines.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/syntax_suggest.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/tempfile.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/time.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/timeout.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/tmpdir.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/tsort.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/un.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/unicode_normalize/normalize.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/unicode_normalize/tables.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri/common.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri/file.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri/ftp.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri/generic.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri/http.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri/https.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri/ldap.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri/ldaps.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri/mailto.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri/rfc2396_parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri/rfc3986_parser.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri/version.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri/ws.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri/wss.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/uri.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/weakref.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/yaml/dbm.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/yaml/store.rb +0 -0
- /package/lib/ruby/{3.4.11 → 3.4.0}/yaml.rb +0 -0
|
@@ -0,0 +1,2578 @@
|
|
|
1
|
+
# frozen_string_literal: false
|
|
2
|
+
require_relative "parent"
|
|
3
|
+
require_relative "namespace"
|
|
4
|
+
require_relative "attribute"
|
|
5
|
+
require_relative "cdata"
|
|
6
|
+
require_relative "xpath"
|
|
7
|
+
require_relative "parseexception"
|
|
8
|
+
|
|
9
|
+
module REXML
|
|
10
|
+
# An \REXML::Element object represents an XML element.
|
|
11
|
+
#
|
|
12
|
+
# An element:
|
|
13
|
+
#
|
|
14
|
+
# - Has a name (string).
|
|
15
|
+
# - May have a parent (another element).
|
|
16
|
+
# - Has zero or more children
|
|
17
|
+
# (other elements, text, CDATA, processing instructions, and comments).
|
|
18
|
+
# - Has zero or more siblings
|
|
19
|
+
# (other elements, text, CDATA, processing instructions, and comments).
|
|
20
|
+
# - Has zero or more named attributes.
|
|
21
|
+
#
|
|
22
|
+
# == In a Hurry?
|
|
23
|
+
#
|
|
24
|
+
# If you're somewhat familiar with XML
|
|
25
|
+
# and have a particular task in mind,
|
|
26
|
+
# you may want to see the
|
|
27
|
+
# {tasks pages}[../doc/rexml/tasks/tocs/master_toc_rdoc.html],
|
|
28
|
+
# and in particular, the
|
|
29
|
+
# {tasks page for elements}[../doc/rexml/tasks/tocs/element_toc_rdoc.html].
|
|
30
|
+
#
|
|
31
|
+
# === Name
|
|
32
|
+
#
|
|
33
|
+
# An element has a name, which is initially set when the element is created:
|
|
34
|
+
#
|
|
35
|
+
# e = REXML::Element.new('foo')
|
|
36
|
+
# e.name # => "foo"
|
|
37
|
+
#
|
|
38
|
+
# The name may be changed:
|
|
39
|
+
#
|
|
40
|
+
# e.name = 'bar'
|
|
41
|
+
# e.name # => "bar"
|
|
42
|
+
#
|
|
43
|
+
#
|
|
44
|
+
# === \Parent
|
|
45
|
+
#
|
|
46
|
+
# An element may have a parent.
|
|
47
|
+
#
|
|
48
|
+
# Its parent may be assigned explicitly when the element is created:
|
|
49
|
+
#
|
|
50
|
+
# e0 = REXML::Element.new('foo')
|
|
51
|
+
# e1 = REXML::Element.new('bar', e0)
|
|
52
|
+
# e1.parent # => <foo> ... </>
|
|
53
|
+
#
|
|
54
|
+
# Note: the representation of an element always shows the element's name.
|
|
55
|
+
# If the element has children, the representation indicates that
|
|
56
|
+
# by including an ellipsis (<tt>...</tt>).
|
|
57
|
+
#
|
|
58
|
+
# The parent may be assigned explicitly at any time:
|
|
59
|
+
#
|
|
60
|
+
# e2 = REXML::Element.new('baz')
|
|
61
|
+
# e1.parent = e2
|
|
62
|
+
# e1.parent # => <baz/>
|
|
63
|
+
#
|
|
64
|
+
# When an element is added as a child, its parent is set automatically:
|
|
65
|
+
#
|
|
66
|
+
# e1.add_element(e0)
|
|
67
|
+
# e0.parent # => <bar> ... </>
|
|
68
|
+
#
|
|
69
|
+
# For an element that has no parent, method +parent+ returns +nil+.
|
|
70
|
+
#
|
|
71
|
+
# === Children
|
|
72
|
+
#
|
|
73
|
+
# An element has zero or more children.
|
|
74
|
+
# The children are an ordered collection
|
|
75
|
+
# of all objects whose parent is the element itself.
|
|
76
|
+
#
|
|
77
|
+
# The children may include any combination of elements, text, comments,
|
|
78
|
+
# processing instructions, and CDATA.
|
|
79
|
+
# (This example keeps things clean by controlling whitespace
|
|
80
|
+
# via a +context+ setting.)
|
|
81
|
+
#
|
|
82
|
+
# xml_string = <<-EOT
|
|
83
|
+
# <root>
|
|
84
|
+
# <ele_0/>
|
|
85
|
+
# text 0
|
|
86
|
+
# <!--comment 0-->
|
|
87
|
+
# <?target_0 pi_0?>
|
|
88
|
+
# <![CDATA[cdata 0]]>
|
|
89
|
+
# <ele_1/>
|
|
90
|
+
# text 1
|
|
91
|
+
# <!--comment 1-->
|
|
92
|
+
# <?target_0 pi_1?>
|
|
93
|
+
# <![CDATA[cdata 1]]>
|
|
94
|
+
# </root>
|
|
95
|
+
# EOT
|
|
96
|
+
# context = {ignore_whitespace_nodes: :all, compress_whitespace: :all}
|
|
97
|
+
# d = REXML::Document.new(xml_string, context)
|
|
98
|
+
# root = d.root
|
|
99
|
+
# root.children.size # => 10
|
|
100
|
+
# root.each {|child| p "#{child.class}: #{child}" }
|
|
101
|
+
#
|
|
102
|
+
# Output:
|
|
103
|
+
#
|
|
104
|
+
# "REXML::Element: <ele_0/>"
|
|
105
|
+
# "REXML::Text: \n text 0\n "
|
|
106
|
+
# "REXML::Comment: comment 0"
|
|
107
|
+
# "REXML::Instruction: <?target_0 pi_0?>"
|
|
108
|
+
# "REXML::CData: cdata 0"
|
|
109
|
+
# "REXML::Element: <ele_1/>"
|
|
110
|
+
# "REXML::Text: \n text 1\n "
|
|
111
|
+
# "REXML::Comment: comment 1"
|
|
112
|
+
# "REXML::Instruction: <?target_0 pi_1?>"
|
|
113
|
+
# "REXML::CData: cdata 1"
|
|
114
|
+
#
|
|
115
|
+
# A child may be added using inherited methods
|
|
116
|
+
# Parent#insert_before or Parent#insert_after:
|
|
117
|
+
#
|
|
118
|
+
# xml_string = '<root><a/><c/><d/></root>'
|
|
119
|
+
# d = REXML::Document.new(xml_string)
|
|
120
|
+
# root = d.root
|
|
121
|
+
# c = d.root[1] # => <c/>
|
|
122
|
+
# root.insert_before(c, REXML::Element.new('b'))
|
|
123
|
+
# root.to_a # => [<a/>, <b/>, <c/>, <d/>]
|
|
124
|
+
#
|
|
125
|
+
# A child may be replaced using Parent#replace_child:
|
|
126
|
+
#
|
|
127
|
+
# root.replace_child(c, REXML::Element.new('x'))
|
|
128
|
+
# root.to_a # => [<a/>, <b/>, <x/>, <d/>]
|
|
129
|
+
#
|
|
130
|
+
# A child may be removed using Parent#delete:
|
|
131
|
+
#
|
|
132
|
+
# x = root[2] # => <x/>
|
|
133
|
+
# root.delete(x)
|
|
134
|
+
# root.to_a # => [<a/>, <b/>, <d/>]
|
|
135
|
+
#
|
|
136
|
+
# === Siblings
|
|
137
|
+
#
|
|
138
|
+
# An element has zero or more siblings,
|
|
139
|
+
# which are the other children of the element's parent.
|
|
140
|
+
#
|
|
141
|
+
# In the example above, element +ele_1+ is between a CDATA sibling
|
|
142
|
+
# and a text sibling:
|
|
143
|
+
#
|
|
144
|
+
# ele_1 = root[5] # => <ele_1/>
|
|
145
|
+
# ele_1.previous_sibling # => "cdata 0"
|
|
146
|
+
# ele_1.next_sibling # => "\n text 1\n "
|
|
147
|
+
#
|
|
148
|
+
# === \Attributes
|
|
149
|
+
#
|
|
150
|
+
# An element has zero or more named attributes.
|
|
151
|
+
#
|
|
152
|
+
# A new element has no attributes:
|
|
153
|
+
#
|
|
154
|
+
# e = REXML::Element.new('foo')
|
|
155
|
+
# e.attributes # => {}
|
|
156
|
+
#
|
|
157
|
+
# Attributes may be added:
|
|
158
|
+
#
|
|
159
|
+
# e.add_attribute('bar', 'baz')
|
|
160
|
+
# e.add_attribute('bat', 'bam')
|
|
161
|
+
# e.attributes.size # => 2
|
|
162
|
+
# e['bar'] # => "baz"
|
|
163
|
+
# e['bat'] # => "bam"
|
|
164
|
+
#
|
|
165
|
+
# An existing attribute may be modified:
|
|
166
|
+
#
|
|
167
|
+
# e.add_attribute('bar', 'bad')
|
|
168
|
+
# e.attributes.size # => 2
|
|
169
|
+
# e['bar'] # => "bad"
|
|
170
|
+
#
|
|
171
|
+
# An existing attribute may be deleted:
|
|
172
|
+
#
|
|
173
|
+
# e.delete_attribute('bar')
|
|
174
|
+
# e.attributes.size # => 1
|
|
175
|
+
# e['bar'] # => nil
|
|
176
|
+
#
|
|
177
|
+
# == What's Here
|
|
178
|
+
#
|
|
179
|
+
# To begin with, what's elsewhere?
|
|
180
|
+
#
|
|
181
|
+
# \Class \REXML::Element inherits from its ancestor classes:
|
|
182
|
+
#
|
|
183
|
+
# - REXML::Child
|
|
184
|
+
# - REXML::Parent
|
|
185
|
+
#
|
|
186
|
+
# \REXML::Element itself and its ancestors also include modules:
|
|
187
|
+
#
|
|
188
|
+
# - {Enumerable}[https://docs.ruby-lang.org/en/master/Enumerable.html]
|
|
189
|
+
# - REXML::Namespace
|
|
190
|
+
# - REXML::Node
|
|
191
|
+
# - REXML::XMLTokens
|
|
192
|
+
#
|
|
193
|
+
# === Methods for Creating an \Element
|
|
194
|
+
#
|
|
195
|
+
# ::new:: Returns a new empty element.
|
|
196
|
+
# #clone:: Returns a clone of another element.
|
|
197
|
+
#
|
|
198
|
+
# === Methods for Attributes
|
|
199
|
+
#
|
|
200
|
+
# {[attribute_name]}[#method-i-5B-5D]:: Returns an attribute value.
|
|
201
|
+
# #add_attribute:: Adds a new attribute.
|
|
202
|
+
# #add_attributes:: Adds multiple new attributes.
|
|
203
|
+
# #attribute:: Returns the attribute value for a given name and optional namespace.
|
|
204
|
+
# #delete_attribute:: Removes an attribute.
|
|
205
|
+
#
|
|
206
|
+
# === Methods for Children
|
|
207
|
+
#
|
|
208
|
+
# {[index]}[#method-i-5B-5D]:: Returns the child at the given offset.
|
|
209
|
+
# #add_element:: Adds an element as the last child.
|
|
210
|
+
# #delete_element:: Deletes a child element.
|
|
211
|
+
# #each_element:: Calls the given block with each child element.
|
|
212
|
+
# #each_element_with_attribute:: Calls the given block with each child element
|
|
213
|
+
# that meets given criteria,
|
|
214
|
+
# which can include the attribute name.
|
|
215
|
+
# #each_element_with_text:: Calls the given block with each child element
|
|
216
|
+
# that meets given criteria,
|
|
217
|
+
# which can include text.
|
|
218
|
+
# #get_elements:: Returns an array of element children that match a given xpath.
|
|
219
|
+
#
|
|
220
|
+
# === Methods for \Text Children
|
|
221
|
+
#
|
|
222
|
+
# #add_text:: Adds a text node to the element.
|
|
223
|
+
# #get_text:: Returns a text node that meets specified criteria.
|
|
224
|
+
# #text:: Returns the text string from the first node that meets specified criteria.
|
|
225
|
+
# #texts:: Returns an array of the text children of the element.
|
|
226
|
+
# #text=:: Adds, removes, or replaces the first text child of the element
|
|
227
|
+
#
|
|
228
|
+
# === Methods for Other Children
|
|
229
|
+
#
|
|
230
|
+
# #cdatas:: Returns an array of the cdata children of the element.
|
|
231
|
+
# #comments:: Returns an array of the comment children of the element.
|
|
232
|
+
# #instructions:: Returns an array of the instruction children of the element.
|
|
233
|
+
#
|
|
234
|
+
# === Methods for Namespaces
|
|
235
|
+
#
|
|
236
|
+
# #add_namespace:: Adds a namespace to the element.
|
|
237
|
+
# #delete_namespace:: Removes a namespace from the element.
|
|
238
|
+
# #namespace:: Returns the string namespace URI for the element.
|
|
239
|
+
# #namespaces:: Returns a hash of all defined namespaces in the element.
|
|
240
|
+
# #prefixes:: Returns an array of the string prefixes (names)
|
|
241
|
+
# of all defined namespaces in the element
|
|
242
|
+
#
|
|
243
|
+
# === Methods for Querying
|
|
244
|
+
#
|
|
245
|
+
# #document:: Returns the document, if any, that the element belongs to.
|
|
246
|
+
# #root:: Returns the most distant element (not document) ancestor of the element.
|
|
247
|
+
# #root_node:: Returns the most distant ancestor of the element.
|
|
248
|
+
# #xpath:: Returns the string xpath to the element
|
|
249
|
+
# relative to the most distant parent
|
|
250
|
+
# #has_attributes?:: Returns whether the element has attributes.
|
|
251
|
+
# #has_elements?:: Returns whether the element has elements.
|
|
252
|
+
# #has_text?:: Returns whether the element has text.
|
|
253
|
+
# #next_element:: Returns the next sibling that is an element.
|
|
254
|
+
# #previous_element:: Returns the previous sibling that is an element.
|
|
255
|
+
# #raw:: Returns whether raw mode is set for the element.
|
|
256
|
+
# #whitespace:: Returns whether whitespace is respected for the element.
|
|
257
|
+
# #ignore_whitespace_nodes:: Returns whether whitespace nodes
|
|
258
|
+
# are to be ignored for the element.
|
|
259
|
+
# #node_type:: Returns symbol <tt>:element</tt>.
|
|
260
|
+
#
|
|
261
|
+
# === One More Method
|
|
262
|
+
#
|
|
263
|
+
# #inspect:: Returns a string representation of the element.
|
|
264
|
+
#
|
|
265
|
+
# === Accessors
|
|
266
|
+
#
|
|
267
|
+
# #elements:: Returns the REXML::Elements object for the element.
|
|
268
|
+
# #attributes:: Returns the REXML::Attributes object for the element.
|
|
269
|
+
# #context:: Returns or sets the context hash for the element.
|
|
270
|
+
#
|
|
271
|
+
class Element < Parent
|
|
272
|
+
include Namespace
|
|
273
|
+
|
|
274
|
+
UNDEFINED = "UNDEFINED"; # The default name
|
|
275
|
+
|
|
276
|
+
# Mechanisms for accessing attributes and child elements of this
|
|
277
|
+
# element.
|
|
278
|
+
attr_reader :attributes, :elements
|
|
279
|
+
# The context holds information about the processing environment, such as
|
|
280
|
+
# whitespace handling.
|
|
281
|
+
attr_accessor :context
|
|
282
|
+
|
|
283
|
+
# :call-seq:
|
|
284
|
+
# Element.new(name = 'UNDEFINED', parent = nil, context = nil) -> new_element
|
|
285
|
+
# Element.new(element, parent = nil, context = nil) -> new_element
|
|
286
|
+
#
|
|
287
|
+
# Returns a new \REXML::Element object.
|
|
288
|
+
#
|
|
289
|
+
# When no arguments are given,
|
|
290
|
+
# returns an element with name <tt>'UNDEFINED'</tt>:
|
|
291
|
+
#
|
|
292
|
+
# e = REXML::Element.new # => <UNDEFINED/>
|
|
293
|
+
# e.class # => REXML::Element
|
|
294
|
+
# e.name # => "UNDEFINED"
|
|
295
|
+
#
|
|
296
|
+
# When only argument +name+ is given,
|
|
297
|
+
# returns an element of the given name:
|
|
298
|
+
#
|
|
299
|
+
# REXML::Element.new('foo') # => <foo/>
|
|
300
|
+
#
|
|
301
|
+
# When only argument +element+ is given, it must be an \REXML::Element object;
|
|
302
|
+
# returns a shallow copy of the given element:
|
|
303
|
+
#
|
|
304
|
+
# e0 = REXML::Element.new('foo')
|
|
305
|
+
# e1 = REXML::Element.new(e0) # => <foo/>
|
|
306
|
+
#
|
|
307
|
+
# When argument +parent+ is also given, it must be an REXML::Parent object:
|
|
308
|
+
#
|
|
309
|
+
# e = REXML::Element.new('foo', REXML::Parent.new)
|
|
310
|
+
# e.parent # => #<REXML::Parent @parent=nil, @children=[<foo/>]>
|
|
311
|
+
#
|
|
312
|
+
# When argument +context+ is also given, it must be a hash
|
|
313
|
+
# representing the context for the element;
|
|
314
|
+
# see {Element Context}[../doc/rexml/context_rdoc.html]:
|
|
315
|
+
#
|
|
316
|
+
# e = REXML::Element.new('foo', nil, {raw: :all})
|
|
317
|
+
# e.context # => {:raw=>:all}
|
|
318
|
+
#
|
|
319
|
+
def initialize( arg = UNDEFINED, parent=nil, context=nil )
|
|
320
|
+
super(parent)
|
|
321
|
+
|
|
322
|
+
@elements = Elements.new(self)
|
|
323
|
+
@attributes = Attributes.new(self)
|
|
324
|
+
@context = context
|
|
325
|
+
|
|
326
|
+
if arg.kind_of? String
|
|
327
|
+
self.name = arg
|
|
328
|
+
elsif arg.kind_of? Element
|
|
329
|
+
self.name = arg.expanded_name
|
|
330
|
+
arg.attributes.each_attribute{ |attribute|
|
|
331
|
+
@attributes << Attribute.new( attribute )
|
|
332
|
+
}
|
|
333
|
+
@context = arg.context
|
|
334
|
+
end
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
# :call-seq:
|
|
338
|
+
# inspect -> string
|
|
339
|
+
#
|
|
340
|
+
# Returns a string representation of the element.
|
|
341
|
+
#
|
|
342
|
+
# For an element with no attributes and no children, shows the element name:
|
|
343
|
+
#
|
|
344
|
+
# REXML::Element.new.inspect # => "<UNDEFINED/>"
|
|
345
|
+
#
|
|
346
|
+
# Shows attributes, if any:
|
|
347
|
+
#
|
|
348
|
+
# e = REXML::Element.new('foo')
|
|
349
|
+
# e.add_attributes({'bar' => 0, 'baz' => 1})
|
|
350
|
+
# e.inspect # => "<foo bar='0' baz='1'/>"
|
|
351
|
+
#
|
|
352
|
+
# Shows an ellipsis (<tt>...</tt>), if there are child elements:
|
|
353
|
+
#
|
|
354
|
+
# e.add_element(REXML::Element.new('bar'))
|
|
355
|
+
# e.add_element(REXML::Element.new('baz'))
|
|
356
|
+
# e.inspect # => "<foo bar='0' baz='1'> ... </>"
|
|
357
|
+
#
|
|
358
|
+
def inspect
|
|
359
|
+
rv = "<#@expanded_name"
|
|
360
|
+
|
|
361
|
+
@attributes.each_attribute do |attr|
|
|
362
|
+
rv << " "
|
|
363
|
+
attr.write( rv, 0 )
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
if children.size > 0
|
|
367
|
+
rv << "> ... </>"
|
|
368
|
+
else
|
|
369
|
+
rv << "/>"
|
|
370
|
+
end
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
# :call-seq:
|
|
374
|
+
# clone -> new_element
|
|
375
|
+
#
|
|
376
|
+
# Returns a shallow copy of the element, containing the name and attributes,
|
|
377
|
+
# but not the parent or children:
|
|
378
|
+
#
|
|
379
|
+
# e = REXML::Element.new('foo')
|
|
380
|
+
# e.add_attributes({'bar' => 0, 'baz' => 1})
|
|
381
|
+
# e.clone # => <foo bar='0' baz='1'/>
|
|
382
|
+
#
|
|
383
|
+
def clone
|
|
384
|
+
self.class.new self
|
|
385
|
+
end
|
|
386
|
+
|
|
387
|
+
# :call-seq:
|
|
388
|
+
# root_node -> document or element
|
|
389
|
+
#
|
|
390
|
+
# Returns the most distant ancestor of +self+.
|
|
391
|
+
#
|
|
392
|
+
# When the element is part of a document,
|
|
393
|
+
# returns the root node of the document.
|
|
394
|
+
# Note that the root node is different from the document element;
|
|
395
|
+
# in this example +a+ is document element and the root node is its parent:
|
|
396
|
+
#
|
|
397
|
+
# d = REXML::Document.new('<a><b><c/></b></a>')
|
|
398
|
+
# top_element = d.first # => <a> ... </>
|
|
399
|
+
# child = top_element.first # => <b> ... </>
|
|
400
|
+
# d.root_node == d # => true
|
|
401
|
+
# top_element.root_node == d # => true
|
|
402
|
+
# child.root_node == d # => true
|
|
403
|
+
#
|
|
404
|
+
# When the element is not part of a document, but does have ancestor elements,
|
|
405
|
+
# returns the most distant ancestor element:
|
|
406
|
+
#
|
|
407
|
+
# e0 = REXML::Element.new('foo')
|
|
408
|
+
# e1 = REXML::Element.new('bar')
|
|
409
|
+
# e1.parent = e0
|
|
410
|
+
# e2 = REXML::Element.new('baz')
|
|
411
|
+
# e2.parent = e1
|
|
412
|
+
# e2.root_node == e0 # => true
|
|
413
|
+
#
|
|
414
|
+
# When the element has no ancestor elements,
|
|
415
|
+
# returns +self+:
|
|
416
|
+
#
|
|
417
|
+
# e = REXML::Element.new('foo')
|
|
418
|
+
# e.root_node == e # => true
|
|
419
|
+
#
|
|
420
|
+
# Related: #root, #document.
|
|
421
|
+
#
|
|
422
|
+
def root_node
|
|
423
|
+
parent.nil? ? self : parent.root_node
|
|
424
|
+
end
|
|
425
|
+
|
|
426
|
+
# :call-seq:
|
|
427
|
+
# root -> element
|
|
428
|
+
#
|
|
429
|
+
# Returns the most distant _element_ (not document) ancestor of the element:
|
|
430
|
+
#
|
|
431
|
+
# d = REXML::Document.new('<a><b><c/></b></a>')
|
|
432
|
+
# top_element = d.first
|
|
433
|
+
# child = top_element.first
|
|
434
|
+
# top_element.root == top_element # => true
|
|
435
|
+
# child.root == top_element # => true
|
|
436
|
+
#
|
|
437
|
+
# For a document, returns the topmost element:
|
|
438
|
+
#
|
|
439
|
+
# d.root == top_element # => true
|
|
440
|
+
#
|
|
441
|
+
# Related: #root_node, #document.
|
|
442
|
+
#
|
|
443
|
+
def root
|
|
444
|
+
target = self
|
|
445
|
+
while target
|
|
446
|
+
return target.elements[1] if target.kind_of? Document
|
|
447
|
+
parent = target.parent
|
|
448
|
+
return target if parent.kind_of? Document or parent.nil?
|
|
449
|
+
target = parent
|
|
450
|
+
end
|
|
451
|
+
nil
|
|
452
|
+
end
|
|
453
|
+
|
|
454
|
+
# :call-seq:
|
|
455
|
+
# document -> document or nil
|
|
456
|
+
#
|
|
457
|
+
# If the element is part of a document, returns that document:
|
|
458
|
+
#
|
|
459
|
+
# d = REXML::Document.new('<a><b><c/></b></a>')
|
|
460
|
+
# top_element = d.first
|
|
461
|
+
# child = top_element.first
|
|
462
|
+
# top_element.document == d # => true
|
|
463
|
+
# child.document == d # => true
|
|
464
|
+
#
|
|
465
|
+
# If the element is not part of a document, returns +nil+:
|
|
466
|
+
#
|
|
467
|
+
# REXML::Element.new.document # => nil
|
|
468
|
+
#
|
|
469
|
+
# For a document, returns +self+:
|
|
470
|
+
#
|
|
471
|
+
# d.document == d # => true
|
|
472
|
+
#
|
|
473
|
+
# Related: #root, #root_node.
|
|
474
|
+
#
|
|
475
|
+
def document
|
|
476
|
+
root&.parent
|
|
477
|
+
end
|
|
478
|
+
|
|
479
|
+
# :call-seq:
|
|
480
|
+
# whitespace
|
|
481
|
+
#
|
|
482
|
+
# Returns +true+ if whitespace is respected for this element,
|
|
483
|
+
# +false+ otherwise.
|
|
484
|
+
#
|
|
485
|
+
# See {Element Context}[../doc/rexml/context_rdoc.html].
|
|
486
|
+
#
|
|
487
|
+
# The evaluation is tested against the element's +expanded_name+,
|
|
488
|
+
# and so is namespace-sensitive.
|
|
489
|
+
def whitespace
|
|
490
|
+
@whitespace = nil
|
|
491
|
+
if @context
|
|
492
|
+
if @context[:respect_whitespace]
|
|
493
|
+
@whitespace = (@context[:respect_whitespace] == :all or
|
|
494
|
+
@context[:respect_whitespace].include? expanded_name)
|
|
495
|
+
end
|
|
496
|
+
@whitespace = false if (@context[:compress_whitespace] and
|
|
497
|
+
(@context[:compress_whitespace] == :all or
|
|
498
|
+
@context[:compress_whitespace].include? expanded_name)
|
|
499
|
+
)
|
|
500
|
+
end
|
|
501
|
+
@whitespace = true unless @whitespace == false
|
|
502
|
+
@whitespace
|
|
503
|
+
end
|
|
504
|
+
|
|
505
|
+
# :call-seq:
|
|
506
|
+
# ignore_whitespace_nodes
|
|
507
|
+
#
|
|
508
|
+
# Returns +true+ if whitespace nodes are ignored for the element.
|
|
509
|
+
#
|
|
510
|
+
# See {Element Context}[../doc/rexml/context_rdoc.html].
|
|
511
|
+
#
|
|
512
|
+
def ignore_whitespace_nodes
|
|
513
|
+
@ignore_whitespace_nodes = false
|
|
514
|
+
if @context
|
|
515
|
+
if @context[:ignore_whitespace_nodes]
|
|
516
|
+
@ignore_whitespace_nodes =
|
|
517
|
+
(@context[:ignore_whitespace_nodes] == :all or
|
|
518
|
+
@context[:ignore_whitespace_nodes].include? expanded_name)
|
|
519
|
+
end
|
|
520
|
+
end
|
|
521
|
+
end
|
|
522
|
+
|
|
523
|
+
# :call-seq:
|
|
524
|
+
# raw
|
|
525
|
+
#
|
|
526
|
+
# Returns +true+ if raw mode is set for the element.
|
|
527
|
+
#
|
|
528
|
+
# See {Element Context}[../doc/rexml/context_rdoc.html].
|
|
529
|
+
#
|
|
530
|
+
# The evaluation is tested against +expanded_name+, and so is namespace
|
|
531
|
+
# sensitive.
|
|
532
|
+
def raw
|
|
533
|
+
@raw = (@context and @context[:raw] and
|
|
534
|
+
(@context[:raw] == :all or
|
|
535
|
+
@context[:raw].include? expanded_name))
|
|
536
|
+
@raw
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
#once :whitespace, :raw, :ignore_whitespace_nodes
|
|
540
|
+
|
|
541
|
+
#################################################
|
|
542
|
+
# Namespaces #
|
|
543
|
+
#################################################
|
|
544
|
+
|
|
545
|
+
# :call-seq:
|
|
546
|
+
# prefixes -> array_of_namespace_prefixes
|
|
547
|
+
#
|
|
548
|
+
# Returns an array of the string prefixes (names) of all defined namespaces
|
|
549
|
+
# in the element and its ancestors:
|
|
550
|
+
#
|
|
551
|
+
# xml_string = <<-EOT
|
|
552
|
+
# <root>
|
|
553
|
+
# <a xmlns:x='1' xmlns:y='2'>
|
|
554
|
+
# <b/>
|
|
555
|
+
# <c xmlns:z='3'/>
|
|
556
|
+
# </a>
|
|
557
|
+
# </root>
|
|
558
|
+
# EOT
|
|
559
|
+
# d = REXML::Document.new(xml_string, {compress_whitespace: :all})
|
|
560
|
+
# d.elements['//a'].prefixes # => ["x", "y"]
|
|
561
|
+
# d.elements['//b'].prefixes # => ["x", "y"]
|
|
562
|
+
# d.elements['//c'].prefixes # => ["x", "y", "z"]
|
|
563
|
+
#
|
|
564
|
+
def prefixes
|
|
565
|
+
prefixes = []
|
|
566
|
+
prefixes = parent.prefixes if parent
|
|
567
|
+
prefixes |= attributes.prefixes
|
|
568
|
+
prefixes
|
|
569
|
+
end
|
|
570
|
+
|
|
571
|
+
# :call-seq:
|
|
572
|
+
# namespaces -> array_of_namespace_names
|
|
573
|
+
#
|
|
574
|
+
# Returns a hash of all defined namespaces
|
|
575
|
+
# in the element and its ancestors:
|
|
576
|
+
#
|
|
577
|
+
# xml_string = <<-EOT
|
|
578
|
+
# <root>
|
|
579
|
+
# <a xmlns:x='1' xmlns:y='2'>
|
|
580
|
+
# <b/>
|
|
581
|
+
# <c xmlns:z='3'/>
|
|
582
|
+
# </a>
|
|
583
|
+
# </root>
|
|
584
|
+
# EOT
|
|
585
|
+
# d = REXML::Document.new(xml_string)
|
|
586
|
+
# d.elements['//a'].namespaces # => {"x"=>"1", "y"=>"2"}
|
|
587
|
+
# d.elements['//b'].namespaces # => {"x"=>"1", "y"=>"2"}
|
|
588
|
+
# d.elements['//c'].namespaces # => {"x"=>"1", "y"=>"2", "z"=>"3"}
|
|
589
|
+
#
|
|
590
|
+
def namespaces
|
|
591
|
+
namespaces_cache = document&.__send__(:namespaces_cache)
|
|
592
|
+
if namespaces_cache
|
|
593
|
+
namespaces_cache[self] ||= calculate_namespaces
|
|
594
|
+
else
|
|
595
|
+
calculate_namespaces
|
|
596
|
+
end
|
|
597
|
+
end
|
|
598
|
+
|
|
599
|
+
# :call-seq:
|
|
600
|
+
# namespace(prefix = nil) -> string_uri or nil
|
|
601
|
+
#
|
|
602
|
+
# Returns the string namespace URI for the element,
|
|
603
|
+
# possibly deriving from one of its ancestors.
|
|
604
|
+
#
|
|
605
|
+
# xml_string = <<-EOT
|
|
606
|
+
# <root>
|
|
607
|
+
# <a xmlns='1' xmlns:y='2'>
|
|
608
|
+
# <b/>
|
|
609
|
+
# <c xmlns:z='3'/>
|
|
610
|
+
# </a>
|
|
611
|
+
# </root>
|
|
612
|
+
# EOT
|
|
613
|
+
# d = REXML::Document.new(xml_string)
|
|
614
|
+
# b = d.elements['//b']
|
|
615
|
+
# b.namespace # => "1"
|
|
616
|
+
# b.namespace('y') # => "2"
|
|
617
|
+
# b.namespace('nosuch') # => nil
|
|
618
|
+
#
|
|
619
|
+
def namespace(prefix=nil)
|
|
620
|
+
if prefix.nil?
|
|
621
|
+
prefix = prefix()
|
|
622
|
+
end
|
|
623
|
+
prefix = (prefix == '') ? 'xmlns' : prefix.delete_prefix("xmlns:")
|
|
624
|
+
ns = namespaces[prefix]
|
|
625
|
+
|
|
626
|
+
ns = '' if ns.nil? and prefix == 'xmlns'
|
|
627
|
+
ns
|
|
628
|
+
end
|
|
629
|
+
|
|
630
|
+
# :call-seq:
|
|
631
|
+
# add_namespace(prefix, uri = nil) -> self
|
|
632
|
+
#
|
|
633
|
+
# Adds a namespace to the element; returns +self+.
|
|
634
|
+
#
|
|
635
|
+
# With the single argument +prefix+,
|
|
636
|
+
# adds a namespace using the given +prefix+ and the namespace URI:
|
|
637
|
+
#
|
|
638
|
+
# e = REXML::Element.new('foo')
|
|
639
|
+
# e.add_namespace('bar')
|
|
640
|
+
# e.namespaces # => {"xmlns"=>"bar"}
|
|
641
|
+
#
|
|
642
|
+
# With both arguments +prefix+ and +uri+ given,
|
|
643
|
+
# adds a namespace using both arguments:
|
|
644
|
+
#
|
|
645
|
+
# e.add_namespace('baz', 'bat')
|
|
646
|
+
# e.namespaces # => {"xmlns"=>"bar", "baz"=>"bat"}
|
|
647
|
+
#
|
|
648
|
+
def add_namespace( prefix, uri=nil )
|
|
649
|
+
unless uri
|
|
650
|
+
@attributes["xmlns"] = prefix
|
|
651
|
+
else
|
|
652
|
+
prefix = "xmlns:#{prefix}" unless prefix =~ /^xmlns:/
|
|
653
|
+
@attributes[ prefix ] = uri
|
|
654
|
+
end
|
|
655
|
+
self
|
|
656
|
+
end
|
|
657
|
+
|
|
658
|
+
# :call-seq:
|
|
659
|
+
# delete_namespace(namespace = 'xmlns') -> self
|
|
660
|
+
#
|
|
661
|
+
# Removes a namespace from the element.
|
|
662
|
+
#
|
|
663
|
+
# With no argument, removes the default namespace:
|
|
664
|
+
#
|
|
665
|
+
# d = REXML::Document.new "<a xmlns:foo='bar' xmlns='twiddle'/>"
|
|
666
|
+
# d.to_s # => "<a xmlns:foo='bar' xmlns='twiddle'/>"
|
|
667
|
+
# d.root.delete_namespace # => <a xmlns:foo='bar'/>
|
|
668
|
+
# d.to_s # => "<a xmlns:foo='bar'/>"
|
|
669
|
+
#
|
|
670
|
+
# With argument +namespace+, removes the specified namespace:
|
|
671
|
+
#
|
|
672
|
+
# d.root.delete_namespace('foo')
|
|
673
|
+
# d.to_s # => "<a/>"
|
|
674
|
+
#
|
|
675
|
+
# Does nothing if no such namespace is found:
|
|
676
|
+
#
|
|
677
|
+
# d.root.delete_namespace('nosuch')
|
|
678
|
+
# d.to_s # => "<a/>"
|
|
679
|
+
#
|
|
680
|
+
def delete_namespace namespace="xmlns"
|
|
681
|
+
namespace = "xmlns:#{namespace}" unless namespace == 'xmlns'
|
|
682
|
+
attribute = attributes.get_attribute(namespace)
|
|
683
|
+
attribute.remove unless attribute.nil?
|
|
684
|
+
self
|
|
685
|
+
end
|
|
686
|
+
|
|
687
|
+
#################################################
|
|
688
|
+
# Elements #
|
|
689
|
+
#################################################
|
|
690
|
+
|
|
691
|
+
# :call-seq:
|
|
692
|
+
# add_element(name, attributes = nil) -> new_element
|
|
693
|
+
# add_element(element, attributes = nil) -> element
|
|
694
|
+
#
|
|
695
|
+
# Adds a child element, optionally setting attributes
|
|
696
|
+
# on the added element; returns the added element.
|
|
697
|
+
#
|
|
698
|
+
# With string argument +name+, creates a new element with that name
|
|
699
|
+
# and adds the new element as a child:
|
|
700
|
+
#
|
|
701
|
+
# e0 = REXML::Element.new('foo')
|
|
702
|
+
# e0.add_element('bar')
|
|
703
|
+
# e0[0] # => <bar/>
|
|
704
|
+
#
|
|
705
|
+
#
|
|
706
|
+
# With argument +name+ and hash argument +attributes+,
|
|
707
|
+
# sets attributes on the new element:
|
|
708
|
+
#
|
|
709
|
+
# e0.add_element('baz', {'bat' => '0', 'bam' => '1'})
|
|
710
|
+
# e0[1] # => <baz bat='0' bam='1'/>
|
|
711
|
+
#
|
|
712
|
+
# With element argument +element+, adds that element as a child:
|
|
713
|
+
#
|
|
714
|
+
# e0 = REXML::Element.new('foo')
|
|
715
|
+
# e1 = REXML::Element.new('bar')
|
|
716
|
+
# e0.add_element(e1)
|
|
717
|
+
# e0[0] # => <bar/>
|
|
718
|
+
#
|
|
719
|
+
# With argument +element+ and hash argument +attributes+,
|
|
720
|
+
# sets attributes on the added element:
|
|
721
|
+
#
|
|
722
|
+
# e0.add_element(e1, {'bat' => '0', 'bam' => '1'})
|
|
723
|
+
# e0[1] # => <bar bat='0' bam='1'/>
|
|
724
|
+
#
|
|
725
|
+
def add_element element, attrs=nil
|
|
726
|
+
raise "First argument must be either an element name, or an Element object" if element.nil?
|
|
727
|
+
el = @elements.add(element)
|
|
728
|
+
attrs.each do |key, value|
|
|
729
|
+
el.attributes[key]=value
|
|
730
|
+
end if attrs.kind_of? Hash
|
|
731
|
+
el
|
|
732
|
+
end
|
|
733
|
+
|
|
734
|
+
# :call-seq:
|
|
735
|
+
# delete_element(index) -> removed_element or nil
|
|
736
|
+
# delete_element(element) -> removed_element or nil
|
|
737
|
+
# delete_element(xpath) -> removed_element or nil
|
|
738
|
+
#
|
|
739
|
+
# Deletes a child element.
|
|
740
|
+
#
|
|
741
|
+
# When 1-based integer argument +index+ is given,
|
|
742
|
+
# removes and returns the child element at that offset if it exists;
|
|
743
|
+
# indexing does not include text nodes;
|
|
744
|
+
# returns +nil+ if the element does not exist:
|
|
745
|
+
#
|
|
746
|
+
# d = REXML::Document.new '<a><b/>text<c/></a>'
|
|
747
|
+
# a = d.root # => <a> ... </>
|
|
748
|
+
# a.delete_element(1) # => <b/>
|
|
749
|
+
# a.delete_element(1) # => <c/>
|
|
750
|
+
# a.delete_element(1) # => nil
|
|
751
|
+
#
|
|
752
|
+
# When element argument +element+ is given,
|
|
753
|
+
# removes and returns that child element if it exists,
|
|
754
|
+
# otherwise returns +nil+:
|
|
755
|
+
#
|
|
756
|
+
# d = REXML::Document.new '<a><b/>text<c/></a>'
|
|
757
|
+
# a = d.root # => <a> ... </>
|
|
758
|
+
# c = a[2] # => <c/>
|
|
759
|
+
# a.delete_element(c) # => <c/>
|
|
760
|
+
# a.delete_element(c) # => nil
|
|
761
|
+
#
|
|
762
|
+
# When xpath argument +xpath+ is given,
|
|
763
|
+
# removes and returns the element at xpath if it exists,
|
|
764
|
+
# otherwise returns +nil+:
|
|
765
|
+
#
|
|
766
|
+
# d = REXML::Document.new '<a><b/>text<c/></a>'
|
|
767
|
+
# a = d.root # => <a> ... </>
|
|
768
|
+
# a.delete_element('//c') # => <c/>
|
|
769
|
+
# a.delete_element('//c') # => nil
|
|
770
|
+
#
|
|
771
|
+
def delete_element element
|
|
772
|
+
@elements.delete element
|
|
773
|
+
end
|
|
774
|
+
|
|
775
|
+
# :call-seq:
|
|
776
|
+
# has_elements?
|
|
777
|
+
#
|
|
778
|
+
# Returns +true+ if the element has one or more element children,
|
|
779
|
+
# +false+ otherwise:
|
|
780
|
+
#
|
|
781
|
+
# d = REXML::Document.new '<a><b/>text<c/></a>'
|
|
782
|
+
# a = d.root # => <a> ... </>
|
|
783
|
+
# a.has_elements? # => true
|
|
784
|
+
# b = a[0] # => <b/>
|
|
785
|
+
# b.has_elements? # => false
|
|
786
|
+
#
|
|
787
|
+
def has_elements?
|
|
788
|
+
!@elements.empty?
|
|
789
|
+
end
|
|
790
|
+
|
|
791
|
+
# :call-seq:
|
|
792
|
+
# each_element_with_attribute(attr_name, value = nil, max = 0, xpath = nil) {|e| ... }
|
|
793
|
+
#
|
|
794
|
+
# Calls the given block with each child element that meets given criteria.
|
|
795
|
+
#
|
|
796
|
+
# When only string argument +attr_name+ is given,
|
|
797
|
+
# calls the block with each child element that has that attribute:
|
|
798
|
+
#
|
|
799
|
+
# d = REXML::Document.new '<a><b id="1"/><c id="2"/><d id="1"/><e/></a>'
|
|
800
|
+
# a = d.root
|
|
801
|
+
# a.each_element_with_attribute('id') {|e| p e }
|
|
802
|
+
#
|
|
803
|
+
# Output:
|
|
804
|
+
#
|
|
805
|
+
# <b id='1'/>
|
|
806
|
+
# <c id='2'/>
|
|
807
|
+
# <d id='1'/>
|
|
808
|
+
#
|
|
809
|
+
# With argument +attr_name+ and string argument +value+ given,
|
|
810
|
+
# calls the block with each child element that has that attribute
|
|
811
|
+
# with that value:
|
|
812
|
+
#
|
|
813
|
+
# a.each_element_with_attribute('id', '1') {|e| p e }
|
|
814
|
+
#
|
|
815
|
+
# Output:
|
|
816
|
+
#
|
|
817
|
+
# <b id='1'/>
|
|
818
|
+
# <d id='1'/>
|
|
819
|
+
#
|
|
820
|
+
# With arguments +attr_name+, +value+, and integer argument +max+ given,
|
|
821
|
+
# calls the block with at most +max+ child elements:
|
|
822
|
+
#
|
|
823
|
+
# a.each_element_with_attribute('id', '1', 1) {|e| p e }
|
|
824
|
+
#
|
|
825
|
+
# Output:
|
|
826
|
+
#
|
|
827
|
+
# <b id='1'/>
|
|
828
|
+
#
|
|
829
|
+
# With all arguments given, including +xpath+,
|
|
830
|
+
# calls the block with only those child elements
|
|
831
|
+
# that meet the first three criteria,
|
|
832
|
+
# and also match the given +xpath+:
|
|
833
|
+
#
|
|
834
|
+
# a.each_element_with_attribute('id', '1', 2, '//d') {|e| p e }
|
|
835
|
+
#
|
|
836
|
+
# Output:
|
|
837
|
+
#
|
|
838
|
+
# <d id='1'/>
|
|
839
|
+
#
|
|
840
|
+
def each_element_with_attribute( key, value=nil, max=0, name=nil, &block ) # :yields: Element
|
|
841
|
+
each_with_something( proc {|child|
|
|
842
|
+
if value.nil?
|
|
843
|
+
child.attributes[key] != nil
|
|
844
|
+
else
|
|
845
|
+
child.attributes[key]==value
|
|
846
|
+
end
|
|
847
|
+
}, max, name, &block )
|
|
848
|
+
end
|
|
849
|
+
|
|
850
|
+
# :call-seq:
|
|
851
|
+
# each_element_with_text(text = nil, max = 0, xpath = nil) {|e| ... }
|
|
852
|
+
#
|
|
853
|
+
# Calls the given block with each child element that meets given criteria.
|
|
854
|
+
#
|
|
855
|
+
# With no arguments, calls the block with each child element that has text:
|
|
856
|
+
#
|
|
857
|
+
# d = REXML::Document.new '<a><b>b</b><c>b</c><d>d</d><e/></a>'
|
|
858
|
+
# a = d.root
|
|
859
|
+
# a.each_element_with_text {|e| p e }
|
|
860
|
+
#
|
|
861
|
+
# Output:
|
|
862
|
+
#
|
|
863
|
+
# <b> ... </>
|
|
864
|
+
# <c> ... </>
|
|
865
|
+
# <d> ... </>
|
|
866
|
+
#
|
|
867
|
+
# With the single string argument +text+,
|
|
868
|
+
# calls the block with each element that has exactly that text:
|
|
869
|
+
#
|
|
870
|
+
# a.each_element_with_text('b') {|e| p e }
|
|
871
|
+
#
|
|
872
|
+
# Output:
|
|
873
|
+
#
|
|
874
|
+
# <b> ... </>
|
|
875
|
+
# <c> ... </>
|
|
876
|
+
#
|
|
877
|
+
# With argument +text+ and integer argument +max+,
|
|
878
|
+
# calls the block with at most +max+ elements:
|
|
879
|
+
#
|
|
880
|
+
# a.each_element_with_text('b', 1) {|e| p e }
|
|
881
|
+
#
|
|
882
|
+
# Output:
|
|
883
|
+
#
|
|
884
|
+
# <b> ... </>
|
|
885
|
+
#
|
|
886
|
+
# With all arguments given, including +xpath+,
|
|
887
|
+
# calls the block with only those child elements
|
|
888
|
+
# that meet the first two criteria,
|
|
889
|
+
# and also match the given +xpath+:
|
|
890
|
+
#
|
|
891
|
+
# a.each_element_with_text('b', 2, '//c') {|e| p e }
|
|
892
|
+
#
|
|
893
|
+
# Output:
|
|
894
|
+
#
|
|
895
|
+
# <c> ... </>
|
|
896
|
+
#
|
|
897
|
+
def each_element_with_text( text=nil, max=0, name=nil, &block ) # :yields: Element
|
|
898
|
+
each_with_something( proc {|child|
|
|
899
|
+
if text.nil?
|
|
900
|
+
child.has_text?
|
|
901
|
+
else
|
|
902
|
+
child.text == text
|
|
903
|
+
end
|
|
904
|
+
}, max, name, &block )
|
|
905
|
+
end
|
|
906
|
+
|
|
907
|
+
# :call-seq:
|
|
908
|
+
# each_element {|e| ... }
|
|
909
|
+
#
|
|
910
|
+
# Calls the given block with each child element:
|
|
911
|
+
#
|
|
912
|
+
# d = REXML::Document.new '<a><b>b</b><c>b</c><d>d</d><e/></a>'
|
|
913
|
+
# a = d.root
|
|
914
|
+
# a.each_element {|e| p e }
|
|
915
|
+
#
|
|
916
|
+
# Output:
|
|
917
|
+
#
|
|
918
|
+
# <b> ... </>
|
|
919
|
+
# <c> ... </>
|
|
920
|
+
# <d> ... </>
|
|
921
|
+
# <e/>
|
|
922
|
+
#
|
|
923
|
+
def each_element( xpath=nil, &block ) # :yields: Element
|
|
924
|
+
@elements.each( xpath, &block )
|
|
925
|
+
end
|
|
926
|
+
|
|
927
|
+
# :call-seq:
|
|
928
|
+
# get_elements(xpath)
|
|
929
|
+
#
|
|
930
|
+
# Returns an array of the elements that match the given +xpath+:
|
|
931
|
+
#
|
|
932
|
+
# xml_string = <<-EOT
|
|
933
|
+
# <root>
|
|
934
|
+
# <a level='1'>
|
|
935
|
+
# <a level='2'/>
|
|
936
|
+
# </a>
|
|
937
|
+
# </root>
|
|
938
|
+
# EOT
|
|
939
|
+
# d = REXML::Document.new(xml_string)
|
|
940
|
+
# d.root.get_elements('//a') # => [<a level='1'> ... </>, <a level='2'/>]
|
|
941
|
+
#
|
|
942
|
+
def get_elements( xpath )
|
|
943
|
+
@elements.to_a( xpath )
|
|
944
|
+
end
|
|
945
|
+
|
|
946
|
+
# :call-seq:
|
|
947
|
+
# next_element
|
|
948
|
+
#
|
|
949
|
+
# Returns the next sibling that is an element if it exists,
|
|
950
|
+
# +niL+ otherwise:
|
|
951
|
+
#
|
|
952
|
+
# d = REXML::Document.new '<a><b/>text<c/></a>'
|
|
953
|
+
# d.root.elements['b'].next_element #-> <c/>
|
|
954
|
+
# d.root.elements['c'].next_element #-> nil
|
|
955
|
+
#
|
|
956
|
+
def next_element
|
|
957
|
+
element = next_sibling
|
|
958
|
+
element = element.next_sibling until element.nil? or element.kind_of? Element
|
|
959
|
+
element
|
|
960
|
+
end
|
|
961
|
+
|
|
962
|
+
# :call-seq:
|
|
963
|
+
# previous_element
|
|
964
|
+
#
|
|
965
|
+
# Returns the previous sibling that is an element if it exists,
|
|
966
|
+
# +niL+ otherwise:
|
|
967
|
+
#
|
|
968
|
+
# d = REXML::Document.new '<a><b/>text<c/></a>'
|
|
969
|
+
# d.root.elements['c'].previous_element #-> <b/>
|
|
970
|
+
# d.root.elements['b'].previous_element #-> nil
|
|
971
|
+
#
|
|
972
|
+
def previous_element
|
|
973
|
+
element = previous_sibling
|
|
974
|
+
element = element.previous_sibling until element.nil? or element.kind_of? Element
|
|
975
|
+
element
|
|
976
|
+
end
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
#################################################
|
|
980
|
+
# Text #
|
|
981
|
+
#################################################
|
|
982
|
+
|
|
983
|
+
# :call-seq:
|
|
984
|
+
# has_text? -> true or false
|
|
985
|
+
#
|
|
986
|
+
# Returns +true+ if the element has one or more text noded,
|
|
987
|
+
# +false+ otherwise:
|
|
988
|
+
#
|
|
989
|
+
# d = REXML::Document.new '<a><b/>text<c/></a>'
|
|
990
|
+
# a = d.root
|
|
991
|
+
# a.has_text? # => true
|
|
992
|
+
# b = a[0]
|
|
993
|
+
# b.has_text? # => false
|
|
994
|
+
#
|
|
995
|
+
def has_text?
|
|
996
|
+
not text().nil?
|
|
997
|
+
end
|
|
998
|
+
|
|
999
|
+
# :call-seq:
|
|
1000
|
+
# text(xpath = nil) -> text_string or nil
|
|
1001
|
+
#
|
|
1002
|
+
# Returns the text string from the first text node child
|
|
1003
|
+
# in a specified element, if it exists, +nil+ otherwise.
|
|
1004
|
+
#
|
|
1005
|
+
# With no argument, returns the text from the first text node in +self+:
|
|
1006
|
+
#
|
|
1007
|
+
# d = REXML::Document.new "<p>some text <b>this is bold!</b> more text</p>"
|
|
1008
|
+
# d.root.text.class # => String
|
|
1009
|
+
# d.root.text # => "some text "
|
|
1010
|
+
#
|
|
1011
|
+
# With argument +xpath+, returns text from the first text node
|
|
1012
|
+
# in the element that matches +xpath+:
|
|
1013
|
+
#
|
|
1014
|
+
# d.root.text(1) # => "this is bold!"
|
|
1015
|
+
#
|
|
1016
|
+
# Note that an element may have multiple text nodes,
|
|
1017
|
+
# possibly separated by other non-text children, as above.
|
|
1018
|
+
# Even so, the returned value is the string text from the first such node.
|
|
1019
|
+
#
|
|
1020
|
+
# Note also that the text note is retrieved by method get_text,
|
|
1021
|
+
# and so is always normalized text.
|
|
1022
|
+
#
|
|
1023
|
+
def text( path = nil )
|
|
1024
|
+
rv = get_text(path)
|
|
1025
|
+
rv&.value
|
|
1026
|
+
end
|
|
1027
|
+
|
|
1028
|
+
# :call-seq:
|
|
1029
|
+
# get_text(xpath = nil) -> text_node or nil
|
|
1030
|
+
#
|
|
1031
|
+
# Returns the first text node child in a specified element, if it exists,
|
|
1032
|
+
# +nil+ otherwise.
|
|
1033
|
+
#
|
|
1034
|
+
# With no argument, returns the first text node from +self+:
|
|
1035
|
+
#
|
|
1036
|
+
# d = REXML::Document.new "<p>some text <b>this is bold!</b> more text</p>"
|
|
1037
|
+
# d.root.get_text.class # => REXML::Text
|
|
1038
|
+
# d.root.get_text # => "some text "
|
|
1039
|
+
#
|
|
1040
|
+
# With argument +xpath+, returns the first text node from the element
|
|
1041
|
+
# that matches +xpath+:
|
|
1042
|
+
#
|
|
1043
|
+
# d.root.get_text(1) # => "this is bold!"
|
|
1044
|
+
#
|
|
1045
|
+
def get_text path = nil
|
|
1046
|
+
rv = nil
|
|
1047
|
+
if path
|
|
1048
|
+
element = @elements[ path ]
|
|
1049
|
+
rv = element.get_text unless element.nil?
|
|
1050
|
+
else
|
|
1051
|
+
rv = @children.find { |node| node.kind_of? Text }
|
|
1052
|
+
end
|
|
1053
|
+
rv
|
|
1054
|
+
end
|
|
1055
|
+
|
|
1056
|
+
# :call-seq:
|
|
1057
|
+
# text = string -> string
|
|
1058
|
+
# text = nil -> nil
|
|
1059
|
+
#
|
|
1060
|
+
# Adds, replaces, or removes the first text node child in the element.
|
|
1061
|
+
#
|
|
1062
|
+
# With string argument +string+,
|
|
1063
|
+
# creates a new \REXML::Text node containing that string,
|
|
1064
|
+
# honoring the current settings for whitespace and row,
|
|
1065
|
+
# then places the node as the first text child in the element;
|
|
1066
|
+
# returns +string+.
|
|
1067
|
+
#
|
|
1068
|
+
# If the element has no text child, the text node is added:
|
|
1069
|
+
#
|
|
1070
|
+
# d = REXML::Document.new '<a><b/></a>'
|
|
1071
|
+
# d.root.text = 'foo' #-> '<a><b/>foo</a>'
|
|
1072
|
+
#
|
|
1073
|
+
# If the element has a text child, it is replaced:
|
|
1074
|
+
#
|
|
1075
|
+
# d.root.text = 'bar' #-> '<a><b/>bar</a>'
|
|
1076
|
+
#
|
|
1077
|
+
# With argument +nil+, removes the first text child:
|
|
1078
|
+
#
|
|
1079
|
+
# d.root.text = nil #-> '<a><b/><c/></a>'
|
|
1080
|
+
#
|
|
1081
|
+
def text=( text )
|
|
1082
|
+
if text.kind_of? String
|
|
1083
|
+
text = Text.new( text, whitespace(), nil, raw() )
|
|
1084
|
+
elsif !text.nil? and !text.kind_of? Text
|
|
1085
|
+
text = Text.new( text.to_s, whitespace(), nil, raw() )
|
|
1086
|
+
end
|
|
1087
|
+
old_text = get_text
|
|
1088
|
+
if text.nil?
|
|
1089
|
+
old_text.remove unless old_text.nil?
|
|
1090
|
+
else
|
|
1091
|
+
if old_text.nil?
|
|
1092
|
+
self << text
|
|
1093
|
+
else
|
|
1094
|
+
old_text.replace_with( text )
|
|
1095
|
+
end
|
|
1096
|
+
end
|
|
1097
|
+
self
|
|
1098
|
+
end
|
|
1099
|
+
|
|
1100
|
+
# :call-seq:
|
|
1101
|
+
# add_text(string) -> nil
|
|
1102
|
+
# add_text(text_node) -> self
|
|
1103
|
+
#
|
|
1104
|
+
# Adds text to the element.
|
|
1105
|
+
#
|
|
1106
|
+
# When string argument +string+ is given, returns +nil+.
|
|
1107
|
+
#
|
|
1108
|
+
# If the element has no child text node,
|
|
1109
|
+
# creates a \REXML::Text object using the string,
|
|
1110
|
+
# honoring the current settings for whitespace and raw,
|
|
1111
|
+
# then adds that node to the element:
|
|
1112
|
+
#
|
|
1113
|
+
# d = REXML::Document.new('<a><b/></a>')
|
|
1114
|
+
# a = d.root
|
|
1115
|
+
# a.add_text('foo')
|
|
1116
|
+
# a.to_a # => [<b/>, "foo"]
|
|
1117
|
+
#
|
|
1118
|
+
# If the element has child text nodes,
|
|
1119
|
+
# appends the string to the _last_ text node:
|
|
1120
|
+
#
|
|
1121
|
+
# d = REXML::Document.new('<a>foo<b/>bar</a>')
|
|
1122
|
+
# a = d.root
|
|
1123
|
+
# a.add_text('baz')
|
|
1124
|
+
# a.to_a # => ["foo", <b/>, "barbaz"]
|
|
1125
|
+
# a.add_text('baz')
|
|
1126
|
+
# a.to_a # => ["foo", <b/>, "barbazbaz"]
|
|
1127
|
+
#
|
|
1128
|
+
# When text node argument +text_node+ is given,
|
|
1129
|
+
# appends the node as the last text node in the element;
|
|
1130
|
+
# returns +self+:
|
|
1131
|
+
#
|
|
1132
|
+
# d = REXML::Document.new('<a>foo<b/>bar</a>')
|
|
1133
|
+
# a = d.root
|
|
1134
|
+
# a.add_text(REXML::Text.new('baz'))
|
|
1135
|
+
# a.to_a # => ["foo", <b/>, "bar", "baz"]
|
|
1136
|
+
# a.add_text(REXML::Text.new('baz'))
|
|
1137
|
+
# a.to_a # => ["foo", <b/>, "bar", "baz", "baz"]
|
|
1138
|
+
#
|
|
1139
|
+
def add_text( text )
|
|
1140
|
+
if text.kind_of? String
|
|
1141
|
+
if @children[-1].kind_of? Text
|
|
1142
|
+
@children[-1] << text
|
|
1143
|
+
return
|
|
1144
|
+
end
|
|
1145
|
+
text = Text.new( text, whitespace(), nil, raw() )
|
|
1146
|
+
end
|
|
1147
|
+
self << text unless text.nil?
|
|
1148
|
+
self
|
|
1149
|
+
end
|
|
1150
|
+
|
|
1151
|
+
# :call-seq:
|
|
1152
|
+
# node_type -> :element
|
|
1153
|
+
#
|
|
1154
|
+
# Returns symbol <tt>:element</tt>:
|
|
1155
|
+
#
|
|
1156
|
+
# d = REXML::Document.new('<a/>')
|
|
1157
|
+
# a = d.root # => <a/>
|
|
1158
|
+
# a.node_type # => :element
|
|
1159
|
+
#
|
|
1160
|
+
def node_type
|
|
1161
|
+
:element
|
|
1162
|
+
end
|
|
1163
|
+
|
|
1164
|
+
# :call-seq:
|
|
1165
|
+
# xpath -> string_xpath
|
|
1166
|
+
#
|
|
1167
|
+
# Returns the string xpath to the element
|
|
1168
|
+
# relative to the most distant parent:
|
|
1169
|
+
#
|
|
1170
|
+
# d = REXML::Document.new('<a><b><c/></b></a>')
|
|
1171
|
+
# a = d.root # => <a> ... </>
|
|
1172
|
+
# b = a[0] # => <b> ... </>
|
|
1173
|
+
# c = b[0] # => <c/>
|
|
1174
|
+
# d.xpath # => ""
|
|
1175
|
+
# a.xpath # => "/a"
|
|
1176
|
+
# b.xpath # => "/a/b"
|
|
1177
|
+
# c.xpath # => "/a/b/c"
|
|
1178
|
+
#
|
|
1179
|
+
# If there is no parent, returns the expanded name of the element:
|
|
1180
|
+
#
|
|
1181
|
+
# e = REXML::Element.new('foo')
|
|
1182
|
+
# e.xpath # => "foo"
|
|
1183
|
+
#
|
|
1184
|
+
def xpath
|
|
1185
|
+
path_elements = []
|
|
1186
|
+
cur = self
|
|
1187
|
+
path_elements << __to_xpath_helper( self )
|
|
1188
|
+
while cur.parent
|
|
1189
|
+
cur = cur.parent
|
|
1190
|
+
path_elements << __to_xpath_helper( cur )
|
|
1191
|
+
end
|
|
1192
|
+
path_elements.reverse.join( "/" )
|
|
1193
|
+
end
|
|
1194
|
+
|
|
1195
|
+
#################################################
|
|
1196
|
+
# Attributes #
|
|
1197
|
+
#################################################
|
|
1198
|
+
|
|
1199
|
+
# :call-seq:
|
|
1200
|
+
# [index] -> object
|
|
1201
|
+
# [attr_name] -> attr_value
|
|
1202
|
+
# [attr_sym] -> attr_value
|
|
1203
|
+
#
|
|
1204
|
+
# With integer argument +index+ given,
|
|
1205
|
+
# returns the child at offset +index+, or +nil+ if none:
|
|
1206
|
+
#
|
|
1207
|
+
# d = REXML::Document.new '><root><a/>text<b/>more<c/></root>'
|
|
1208
|
+
# root = d.root
|
|
1209
|
+
# (0..root.size).each do |index|
|
|
1210
|
+
# node = root[index]
|
|
1211
|
+
# p "#{index}: #{node} (#{node.class})"
|
|
1212
|
+
# end
|
|
1213
|
+
#
|
|
1214
|
+
# Output:
|
|
1215
|
+
#
|
|
1216
|
+
# "0: <a/> (REXML::Element)"
|
|
1217
|
+
# "1: text (REXML::Text)"
|
|
1218
|
+
# "2: <b/> (REXML::Element)"
|
|
1219
|
+
# "3: more (REXML::Text)"
|
|
1220
|
+
# "4: <c/> (REXML::Element)"
|
|
1221
|
+
# "5: (NilClass)"
|
|
1222
|
+
#
|
|
1223
|
+
# With string argument +attr_name+ given,
|
|
1224
|
+
# returns the string value for the given attribute name if it exists,
|
|
1225
|
+
# otherwise +nil+:
|
|
1226
|
+
#
|
|
1227
|
+
# d = REXML::Document.new('<root attr="value"></root>')
|
|
1228
|
+
# root = d.root
|
|
1229
|
+
# root['attr'] # => "value"
|
|
1230
|
+
# root['nosuch'] # => nil
|
|
1231
|
+
#
|
|
1232
|
+
# With symbol argument +attr_sym+ given,
|
|
1233
|
+
# returns <tt>[attr_sym.to_s]</tt>:
|
|
1234
|
+
#
|
|
1235
|
+
# root[:attr] # => "value"
|
|
1236
|
+
# root[:nosuch] # => nil
|
|
1237
|
+
#
|
|
1238
|
+
def [](name_or_index)
|
|
1239
|
+
case name_or_index
|
|
1240
|
+
when String
|
|
1241
|
+
attributes[name_or_index]
|
|
1242
|
+
when Symbol
|
|
1243
|
+
attributes[name_or_index.to_s]
|
|
1244
|
+
else
|
|
1245
|
+
super
|
|
1246
|
+
end
|
|
1247
|
+
end
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
# :call-seq:
|
|
1251
|
+
# attribute(name, namespace = nil)
|
|
1252
|
+
#
|
|
1253
|
+
# Returns the string value for the given attribute name.
|
|
1254
|
+
#
|
|
1255
|
+
# With only argument +name+ given,
|
|
1256
|
+
# returns the value of the named attribute if it exists, otherwise +nil+:
|
|
1257
|
+
#
|
|
1258
|
+
# xml_string = <<-EOT
|
|
1259
|
+
# <root xmlns="ns0">
|
|
1260
|
+
# <a xmlns="ns1" attr="value"></a>
|
|
1261
|
+
# <b xmlns="ns2" attr="value"></b>
|
|
1262
|
+
# <c attr="value"/>
|
|
1263
|
+
# </root>
|
|
1264
|
+
# EOT
|
|
1265
|
+
# d = REXML::Document.new(xml_string)
|
|
1266
|
+
# root = d.root
|
|
1267
|
+
# a = root[1] # => <a xmlns='ns1' attr='value'/>
|
|
1268
|
+
# a.attribute('attr') # => attr='value'
|
|
1269
|
+
# a.attribute('nope') # => nil
|
|
1270
|
+
#
|
|
1271
|
+
# With arguments +name+ and +namespace+ given,
|
|
1272
|
+
# returns the value of the named attribute if it exists, otherwise +nil+:
|
|
1273
|
+
#
|
|
1274
|
+
# xml_string = "<root xmlns:a='a' a:x='a:x' x='x'/>"
|
|
1275
|
+
# document = REXML::Document.new(xml_string)
|
|
1276
|
+
# document.root.attribute("x") # => x='x'
|
|
1277
|
+
# document.root.attribute("x", "a") # => a:x='a:x'
|
|
1278
|
+
#
|
|
1279
|
+
def attribute( name, namespace=nil )
|
|
1280
|
+
prefix = namespaces.key(namespace) if namespace
|
|
1281
|
+
prefix = nil if prefix == 'xmlns'
|
|
1282
|
+
|
|
1283
|
+
ret_val =
|
|
1284
|
+
attributes.get_attribute( prefix ? "#{prefix}:#{name}" : name )
|
|
1285
|
+
|
|
1286
|
+
return ret_val unless ret_val.nil?
|
|
1287
|
+
return nil if prefix.nil?
|
|
1288
|
+
|
|
1289
|
+
# now check that prefix'es namespace is not the same as the
|
|
1290
|
+
# default namespace
|
|
1291
|
+
return nil unless ( namespaces[ prefix ] == namespaces[ 'xmlns' ] )
|
|
1292
|
+
|
|
1293
|
+
attributes.get_attribute( name )
|
|
1294
|
+
end
|
|
1295
|
+
|
|
1296
|
+
# :call-seq:
|
|
1297
|
+
# has_attributes? -> true or false
|
|
1298
|
+
#
|
|
1299
|
+
# Returns +true+ if the element has attributes, +false+ otherwise:
|
|
1300
|
+
#
|
|
1301
|
+
# d = REXML::Document.new('<root><a attr="val"/><b/></root>')
|
|
1302
|
+
# a, b = *d.root
|
|
1303
|
+
# a.has_attributes? # => true
|
|
1304
|
+
# b.has_attributes? # => false
|
|
1305
|
+
#
|
|
1306
|
+
def has_attributes?
|
|
1307
|
+
!@attributes.empty?
|
|
1308
|
+
end
|
|
1309
|
+
|
|
1310
|
+
# :call-seq:
|
|
1311
|
+
# add_attribute(name, value) -> value
|
|
1312
|
+
# add_attribute(attribute) -> attribute
|
|
1313
|
+
#
|
|
1314
|
+
# Adds an attribute to this element, overwriting any existing attribute
|
|
1315
|
+
# by the same name.
|
|
1316
|
+
#
|
|
1317
|
+
# With string argument +name+ and object +value+ are given,
|
|
1318
|
+
# adds the attribute created with that name and value:
|
|
1319
|
+
#
|
|
1320
|
+
# e = REXML::Element.new
|
|
1321
|
+
# e.add_attribute('attr', 'value') # => "value"
|
|
1322
|
+
# e['attr'] # => "value"
|
|
1323
|
+
# e.add_attribute('attr', 'VALUE') # => "VALUE"
|
|
1324
|
+
# e['attr'] # => "VALUE"
|
|
1325
|
+
#
|
|
1326
|
+
# With only attribute object +attribute+ given,
|
|
1327
|
+
# adds the given attribute:
|
|
1328
|
+
#
|
|
1329
|
+
# a = REXML::Attribute.new('attr', 'value')
|
|
1330
|
+
# e.add_attribute(a) # => attr='value'
|
|
1331
|
+
# e['attr'] # => "value"
|
|
1332
|
+
# a = REXML::Attribute.new('attr', 'VALUE')
|
|
1333
|
+
# e.add_attribute(a) # => attr='VALUE'
|
|
1334
|
+
# e['attr'] # => "VALUE"
|
|
1335
|
+
#
|
|
1336
|
+
def add_attribute( key, value=nil )
|
|
1337
|
+
if key.kind_of? Attribute
|
|
1338
|
+
@attributes << key
|
|
1339
|
+
else
|
|
1340
|
+
@attributes[key] = value
|
|
1341
|
+
end
|
|
1342
|
+
end
|
|
1343
|
+
|
|
1344
|
+
# :call-seq:
|
|
1345
|
+
# add_attributes(hash) -> hash
|
|
1346
|
+
# add_attributes(array)
|
|
1347
|
+
#
|
|
1348
|
+
# Adds zero or more attributes to the element;
|
|
1349
|
+
# returns the argument.
|
|
1350
|
+
#
|
|
1351
|
+
# If hash argument +hash+ is given,
|
|
1352
|
+
# each key must be a string;
|
|
1353
|
+
# adds each attribute created with the key/value pair:
|
|
1354
|
+
#
|
|
1355
|
+
# e = REXML::Element.new
|
|
1356
|
+
# h = {'foo' => 'bar', 'baz' => 'bat'}
|
|
1357
|
+
# e.add_attributes(h)
|
|
1358
|
+
#
|
|
1359
|
+
# If argument +array+ is given,
|
|
1360
|
+
# each array member must be a 2-element array <tt>[name, value];
|
|
1361
|
+
# each name must be a string:
|
|
1362
|
+
#
|
|
1363
|
+
# e = REXML::Element.new
|
|
1364
|
+
# a = [['foo' => 'bar'], ['baz' => 'bat']]
|
|
1365
|
+
# e.add_attributes(a)
|
|
1366
|
+
#
|
|
1367
|
+
def add_attributes hash
|
|
1368
|
+
if hash.kind_of? Hash
|
|
1369
|
+
hash.each_pair {|key, value| @attributes[key] = value }
|
|
1370
|
+
elsif hash.kind_of? Array
|
|
1371
|
+
hash.each { |value| @attributes[ value[0] ] = value[1] }
|
|
1372
|
+
end
|
|
1373
|
+
end
|
|
1374
|
+
|
|
1375
|
+
# :call-seq:
|
|
1376
|
+
# delete_attribute(name) -> removed_attribute or nil
|
|
1377
|
+
#
|
|
1378
|
+
# Removes a named attribute if it exists;
|
|
1379
|
+
# returns the removed attribute if found, otherwise +nil+:
|
|
1380
|
+
#
|
|
1381
|
+
# e = REXML::Element.new('foo')
|
|
1382
|
+
# e.add_attribute('bar', 'baz')
|
|
1383
|
+
# e.delete_attribute('bar') # => <bar/>
|
|
1384
|
+
# e.delete_attribute('bar') # => nil
|
|
1385
|
+
#
|
|
1386
|
+
def delete_attribute(key)
|
|
1387
|
+
attr = @attributes.get_attribute(key)
|
|
1388
|
+
attr.remove unless attr.nil?
|
|
1389
|
+
end
|
|
1390
|
+
|
|
1391
|
+
#################################################
|
|
1392
|
+
# Other Utilities #
|
|
1393
|
+
#################################################
|
|
1394
|
+
|
|
1395
|
+
# :call-seq:
|
|
1396
|
+
# cdatas -> array_of_cdata_children
|
|
1397
|
+
#
|
|
1398
|
+
# Returns a frozen array of the REXML::CData children of the element:
|
|
1399
|
+
#
|
|
1400
|
+
# xml_string = <<-EOT
|
|
1401
|
+
# <root>
|
|
1402
|
+
# <![CDATA[foo]]>
|
|
1403
|
+
# <![CDATA[bar]]>
|
|
1404
|
+
# </root>
|
|
1405
|
+
# EOT
|
|
1406
|
+
# d = REXML::Document.new(xml_string)
|
|
1407
|
+
# cds = d.root.cdatas # => ["foo", "bar"]
|
|
1408
|
+
# cds.frozen? # => true
|
|
1409
|
+
# cds.map {|cd| cd.class } # => [REXML::CData, REXML::CData]
|
|
1410
|
+
#
|
|
1411
|
+
def cdatas
|
|
1412
|
+
find_all { |child| child.kind_of? CData }.freeze
|
|
1413
|
+
end
|
|
1414
|
+
|
|
1415
|
+
# :call-seq:
|
|
1416
|
+
# comments -> array_of_comment_children
|
|
1417
|
+
#
|
|
1418
|
+
# Returns a frozen array of the REXML::Comment children of the element:
|
|
1419
|
+
#
|
|
1420
|
+
# xml_string = <<-EOT
|
|
1421
|
+
# <root>
|
|
1422
|
+
# <!--foo-->
|
|
1423
|
+
# <!--bar-->
|
|
1424
|
+
# </root>
|
|
1425
|
+
# EOT
|
|
1426
|
+
# d = REXML::Document.new(xml_string)
|
|
1427
|
+
# cs = d.root.comments
|
|
1428
|
+
# cs.frozen? # => true
|
|
1429
|
+
# cs.map {|c| c.class } # => [REXML::Comment, REXML::Comment]
|
|
1430
|
+
# cs.map {|c| c.to_s } # => ["foo", "bar"]
|
|
1431
|
+
#
|
|
1432
|
+
def comments
|
|
1433
|
+
find_all { |child| child.kind_of? Comment }.freeze
|
|
1434
|
+
end
|
|
1435
|
+
|
|
1436
|
+
# :call-seq:
|
|
1437
|
+
# instructions -> array_of_instruction_children
|
|
1438
|
+
#
|
|
1439
|
+
# Returns a frozen array of the REXML::Instruction children of the element:
|
|
1440
|
+
#
|
|
1441
|
+
# xml_string = <<-EOT
|
|
1442
|
+
# <root>
|
|
1443
|
+
# <?target0 foo?>
|
|
1444
|
+
# <?target1 bar?>
|
|
1445
|
+
# </root>
|
|
1446
|
+
# EOT
|
|
1447
|
+
# d = REXML::Document.new(xml_string)
|
|
1448
|
+
# is = d.root.instructions
|
|
1449
|
+
# is.frozen? # => true
|
|
1450
|
+
# is.map {|i| i.class } # => [REXML::Instruction, REXML::Instruction]
|
|
1451
|
+
# is.map {|i| i.to_s } # => ["<?target0 foo?>", "<?target1 bar?>"]
|
|
1452
|
+
#
|
|
1453
|
+
def instructions
|
|
1454
|
+
find_all { |child| child.kind_of? Instruction }.freeze
|
|
1455
|
+
end
|
|
1456
|
+
|
|
1457
|
+
# :call-seq:
|
|
1458
|
+
# texts -> array_of_text_children
|
|
1459
|
+
#
|
|
1460
|
+
# Returns a frozen array of the REXML::Text children of the element:
|
|
1461
|
+
#
|
|
1462
|
+
# xml_string = '<root><a/>text<b/>more<c/></root>'
|
|
1463
|
+
# d = REXML::Document.new(xml_string)
|
|
1464
|
+
# ts = d.root.texts
|
|
1465
|
+
# ts.frozen? # => true
|
|
1466
|
+
# ts.map {|t| t.class } # => [REXML::Text, REXML::Text]
|
|
1467
|
+
# ts.map {|t| t.to_s } # => ["text", "more"]
|
|
1468
|
+
#
|
|
1469
|
+
def texts
|
|
1470
|
+
find_all { |child| child.kind_of? Text }.freeze
|
|
1471
|
+
end
|
|
1472
|
+
|
|
1473
|
+
# == DEPRECATED
|
|
1474
|
+
# See REXML::Formatters
|
|
1475
|
+
#
|
|
1476
|
+
# Writes out this element, and recursively, all children.
|
|
1477
|
+
# output::
|
|
1478
|
+
# output an object which supports '<< string'; this is where the
|
|
1479
|
+
# document will be written.
|
|
1480
|
+
# indent::
|
|
1481
|
+
# An integer. If -1, no indenting will be used; otherwise, the
|
|
1482
|
+
# indentation will be this number of spaces, and children will be
|
|
1483
|
+
# indented an additional amount. Defaults to -1
|
|
1484
|
+
# transitive::
|
|
1485
|
+
# If transitive is true and indent is >= 0, then the output will be
|
|
1486
|
+
# pretty-printed in such a way that the added whitespace does not affect
|
|
1487
|
+
# the parse tree of the document
|
|
1488
|
+
# ie_hack::
|
|
1489
|
+
# This hack inserts a space before the /> on empty tags to address
|
|
1490
|
+
# a limitation of Internet Explorer. Defaults to false
|
|
1491
|
+
#
|
|
1492
|
+
# out = ''
|
|
1493
|
+
# doc.write( out ) #-> doc is written to the string 'out'
|
|
1494
|
+
# doc.write( $stdout ) #-> doc written to the console
|
|
1495
|
+
def write(output=$stdout, indent=-1, transitive=false, ie_hack=false)
|
|
1496
|
+
Kernel.warn("#{self.class.name}#write is deprecated. See REXML::Formatters", uplevel: 1)
|
|
1497
|
+
formatter = if indent > -1
|
|
1498
|
+
if transitive
|
|
1499
|
+
require_relative "formatters/transitive"
|
|
1500
|
+
REXML::Formatters::Transitive.new( indent, ie_hack )
|
|
1501
|
+
else
|
|
1502
|
+
REXML::Formatters::Pretty.new( indent, ie_hack )
|
|
1503
|
+
end
|
|
1504
|
+
else
|
|
1505
|
+
REXML::Formatters::Default.new( ie_hack )
|
|
1506
|
+
end
|
|
1507
|
+
formatter.write( self, output )
|
|
1508
|
+
end
|
|
1509
|
+
|
|
1510
|
+
private
|
|
1511
|
+
def calculate_namespaces
|
|
1512
|
+
if parent
|
|
1513
|
+
parent.namespaces.merge(attributes.namespaces)
|
|
1514
|
+
else
|
|
1515
|
+
attributes.namespaces
|
|
1516
|
+
end
|
|
1517
|
+
end
|
|
1518
|
+
|
|
1519
|
+
def __to_xpath_helper node
|
|
1520
|
+
rv = node.expanded_name.clone
|
|
1521
|
+
if node.parent
|
|
1522
|
+
results = node.parent.find_all {|n|
|
|
1523
|
+
n.kind_of?(REXML::Element) and n.expanded_name == node.expanded_name
|
|
1524
|
+
}
|
|
1525
|
+
if results.length > 1
|
|
1526
|
+
idx = results.index( node )
|
|
1527
|
+
rv << "[#{idx+1}]"
|
|
1528
|
+
end
|
|
1529
|
+
end
|
|
1530
|
+
rv
|
|
1531
|
+
end
|
|
1532
|
+
|
|
1533
|
+
# A private helper method
|
|
1534
|
+
def each_with_something( test, max=0, name=nil )
|
|
1535
|
+
num = 0
|
|
1536
|
+
@elements.each( name ){ |child|
|
|
1537
|
+
yield child if test.call(child) and num += 1
|
|
1538
|
+
return if max>0 and num == max
|
|
1539
|
+
}
|
|
1540
|
+
end
|
|
1541
|
+
end
|
|
1542
|
+
|
|
1543
|
+
########################################################################
|
|
1544
|
+
# ELEMENTS #
|
|
1545
|
+
########################################################################
|
|
1546
|
+
|
|
1547
|
+
# A class which provides filtering of children for Elements, and
|
|
1548
|
+
# XPath search support. You are expected to only encounter this class as
|
|
1549
|
+
# the <tt>element.elements</tt> object. Therefore, you are
|
|
1550
|
+
# _not_ expected to instantiate this yourself.
|
|
1551
|
+
#
|
|
1552
|
+
# xml_string = <<-EOT
|
|
1553
|
+
# <?xml version="1.0" encoding="UTF-8"?>
|
|
1554
|
+
# <bookstore>
|
|
1555
|
+
# <book category="cooking">
|
|
1556
|
+
# <title lang="en">Everyday Italian</title>
|
|
1557
|
+
# <author>Giada De Laurentiis</author>
|
|
1558
|
+
# <year>2005</year>
|
|
1559
|
+
# <price>30.00</price>
|
|
1560
|
+
# </book>
|
|
1561
|
+
# <book category="children">
|
|
1562
|
+
# <title lang="en">Harry Potter</title>
|
|
1563
|
+
# <author>J K. Rowling</author>
|
|
1564
|
+
# <year>2005</year>
|
|
1565
|
+
# <price>29.99</price>
|
|
1566
|
+
# </book>
|
|
1567
|
+
# <book category="web">
|
|
1568
|
+
# <title lang="en">XQuery Kick Start</title>
|
|
1569
|
+
# <author>James McGovern</author>
|
|
1570
|
+
# <author>Per Bothner</author>
|
|
1571
|
+
# <author>Kurt Cagle</author>
|
|
1572
|
+
# <author>James Linn</author>
|
|
1573
|
+
# <author>Vaidyanathan Nagarajan</author>
|
|
1574
|
+
# <year>2003</year>
|
|
1575
|
+
# <price>49.99</price>
|
|
1576
|
+
# </book>
|
|
1577
|
+
# <book category="web" cover="paperback">
|
|
1578
|
+
# <title lang="en">Learning XML</title>
|
|
1579
|
+
# <author>Erik T. Ray</author>
|
|
1580
|
+
# <year>2003</year>
|
|
1581
|
+
# <price>39.95</price>
|
|
1582
|
+
# </book>
|
|
1583
|
+
# </bookstore>
|
|
1584
|
+
# EOT
|
|
1585
|
+
# d = REXML::Document.new(xml_string)
|
|
1586
|
+
# elements = d.root.elements
|
|
1587
|
+
# elements # => #<REXML::Elements @element=<bookstore> ... </>>
|
|
1588
|
+
#
|
|
1589
|
+
class Elements
|
|
1590
|
+
include Enumerable
|
|
1591
|
+
# :call-seq:
|
|
1592
|
+
# new(parent) -> new_elements_object
|
|
1593
|
+
#
|
|
1594
|
+
# Returns a new \Elements object with the given +parent+.
|
|
1595
|
+
# Does _not_ assign <tt>parent.elements = self</tt>:
|
|
1596
|
+
#
|
|
1597
|
+
# d = REXML::Document.new(xml_string)
|
|
1598
|
+
# eles = REXML::Elements.new(d.root)
|
|
1599
|
+
# eles # => #<REXML::Elements @element=<bookstore> ... </>>
|
|
1600
|
+
# eles == d.root.elements # => false
|
|
1601
|
+
#
|
|
1602
|
+
def initialize parent
|
|
1603
|
+
@element = parent
|
|
1604
|
+
end
|
|
1605
|
+
|
|
1606
|
+
# :call-seq:
|
|
1607
|
+
# parent
|
|
1608
|
+
#
|
|
1609
|
+
# Returns the parent element cited in creating the \Elements object.
|
|
1610
|
+
# This element is also the default starting point for searching
|
|
1611
|
+
# in the \Elements object.
|
|
1612
|
+
#
|
|
1613
|
+
# d = REXML::Document.new(xml_string)
|
|
1614
|
+
# elements = REXML::Elements.new(d.root)
|
|
1615
|
+
# elements.parent == d.root # => true
|
|
1616
|
+
#
|
|
1617
|
+
def parent
|
|
1618
|
+
@element
|
|
1619
|
+
end
|
|
1620
|
+
|
|
1621
|
+
# :call-seq:
|
|
1622
|
+
# elements[index] -> element or nil
|
|
1623
|
+
# elements[xpath] -> element or nil
|
|
1624
|
+
# elements[n, name] -> element or nil
|
|
1625
|
+
#
|
|
1626
|
+
# Returns the first \Element object selected by the arguments,
|
|
1627
|
+
# if any found, or +nil+ if none found.
|
|
1628
|
+
#
|
|
1629
|
+
# Notes:
|
|
1630
|
+
# - The +index+ is 1-based, not 0-based, so that:
|
|
1631
|
+
# - The first element has index <tt>1</tt>
|
|
1632
|
+
# - The _nth_ element has index +n+.
|
|
1633
|
+
# - The selection ignores non-\Element nodes.
|
|
1634
|
+
#
|
|
1635
|
+
# When the single argument +index+ is given,
|
|
1636
|
+
# returns the element given by the index, if any; otherwise, +nil+:
|
|
1637
|
+
#
|
|
1638
|
+
# d = REXML::Document.new(xml_string)
|
|
1639
|
+
# eles = d.root.elements
|
|
1640
|
+
# eles # => #<REXML::Elements @element=<bookstore> ... </>>
|
|
1641
|
+
# eles[1] # => <book category='cooking'> ... </>
|
|
1642
|
+
# eles.size # => 4
|
|
1643
|
+
# eles[4] # => <book category='web' cover='paperback'> ... </>
|
|
1644
|
+
# eles[5] # => nil
|
|
1645
|
+
#
|
|
1646
|
+
# The node at this index is not an \Element, and so is not returned:
|
|
1647
|
+
#
|
|
1648
|
+
# eles = d.root.first.first # => <title lang='en'> ... </>
|
|
1649
|
+
# eles.to_a # => ["Everyday Italian"]
|
|
1650
|
+
# eles[1] # => nil
|
|
1651
|
+
#
|
|
1652
|
+
# When the single argument +xpath+ is given,
|
|
1653
|
+
# returns the first element found via that +xpath+, if any; otherwise, +nil+:
|
|
1654
|
+
#
|
|
1655
|
+
# eles = d.root.elements # => #<REXML::Elements @element=<bookstore> ... </>>
|
|
1656
|
+
# eles['/bookstore'] # => <bookstore> ... </>
|
|
1657
|
+
# eles['//book'] # => <book category='cooking'> ... </>
|
|
1658
|
+
# eles['//book [@category="children"]'] # => <book category='children'> ... </>
|
|
1659
|
+
# eles['/nosuch'] # => nil
|
|
1660
|
+
# eles['//nosuch'] # => nil
|
|
1661
|
+
# eles['//book [@category="nosuch"]'] # => nil
|
|
1662
|
+
# eles['.'] # => <bookstore> ... </>
|
|
1663
|
+
# eles['..'].class # => REXML::Document
|
|
1664
|
+
#
|
|
1665
|
+
# With arguments +n+ and +name+ given,
|
|
1666
|
+
# returns the _nth_ found element that has the given +name+,
|
|
1667
|
+
# or +nil+ if there is no such _nth_ element:
|
|
1668
|
+
#
|
|
1669
|
+
# eles = d.root.elements # => #<REXML::Elements @element=<bookstore> ... </>>
|
|
1670
|
+
# eles[1, 'book'] # => <book category='cooking'> ... </>
|
|
1671
|
+
# eles[4, 'book'] # => <book category='web' cover='paperback'> ... </>
|
|
1672
|
+
# eles[5, 'book'] # => nil
|
|
1673
|
+
#
|
|
1674
|
+
def []( index, name=nil)
|
|
1675
|
+
if index.kind_of? Integer
|
|
1676
|
+
raise "index (#{index}) must be >= 1" if index < 1
|
|
1677
|
+
name = literalize(name) if name
|
|
1678
|
+
num = 0
|
|
1679
|
+
@element.find { |child|
|
|
1680
|
+
child.kind_of? Element and
|
|
1681
|
+
(name.nil? ? true : child.has_name?( name )) and
|
|
1682
|
+
(num += 1) == index
|
|
1683
|
+
}
|
|
1684
|
+
else
|
|
1685
|
+
XPath::first( @element, index )
|
|
1686
|
+
end
|
|
1687
|
+
end
|
|
1688
|
+
|
|
1689
|
+
# :call-seq:
|
|
1690
|
+
# elements[] = index, replacement_element -> replacement_element or nil
|
|
1691
|
+
#
|
|
1692
|
+
# Replaces or adds an element.
|
|
1693
|
+
#
|
|
1694
|
+
# When <tt>eles[index]</tt> exists, replaces it with +replacement_element+
|
|
1695
|
+
# and returns +replacement_element+:
|
|
1696
|
+
#
|
|
1697
|
+
# d = REXML::Document.new(xml_string)
|
|
1698
|
+
# eles = d.root.elements # => #<REXML::Elements @element=<bookstore> ... </>>
|
|
1699
|
+
# eles[1] # => <book category='cooking'> ... </>
|
|
1700
|
+
# eles[1] = REXML::Element.new('foo')
|
|
1701
|
+
# eles[1] # => <foo/>
|
|
1702
|
+
#
|
|
1703
|
+
# Does nothing (or raises an exception)
|
|
1704
|
+
# if +replacement_element+ is not an \Element:
|
|
1705
|
+
# eles[2] # => <book category='web' cover='paperback'> ... </>
|
|
1706
|
+
# eles[2] = REXML::Text.new('bar')
|
|
1707
|
+
# eles[2] # => <book category='web' cover='paperback'> ... </>
|
|
1708
|
+
#
|
|
1709
|
+
# When <tt>eles[index]</tt> does not exist,
|
|
1710
|
+
# adds +replacement_element+ to the element and returns
|
|
1711
|
+
#
|
|
1712
|
+
# d = REXML::Document.new(xml_string)
|
|
1713
|
+
# eles = d.root.elements # => #<REXML::Elements @element=<bookstore> ... </>>
|
|
1714
|
+
# eles.size # => 4
|
|
1715
|
+
# eles[50] = REXML::Element.new('foo') # => <foo/>
|
|
1716
|
+
# eles.size # => 5
|
|
1717
|
+
# eles[5] # => <foo/>
|
|
1718
|
+
#
|
|
1719
|
+
# Does nothing (or raises an exception)
|
|
1720
|
+
# if +replacement_element+ is not an \Element:
|
|
1721
|
+
#
|
|
1722
|
+
# eles[50] = REXML::Text.new('bar') # => "bar"
|
|
1723
|
+
# eles.size # => 5
|
|
1724
|
+
#
|
|
1725
|
+
def []=( index, element )
|
|
1726
|
+
previous = self[index]
|
|
1727
|
+
if previous.nil?
|
|
1728
|
+
@element.add element
|
|
1729
|
+
else
|
|
1730
|
+
previous.replace_with element
|
|
1731
|
+
end
|
|
1732
|
+
previous
|
|
1733
|
+
end
|
|
1734
|
+
|
|
1735
|
+
# :call-seq:
|
|
1736
|
+
# empty? -> true or false
|
|
1737
|
+
#
|
|
1738
|
+
# Returns +true+ if there are no children, +false+ otherwise.
|
|
1739
|
+
#
|
|
1740
|
+
# d = REXML::Document.new('')
|
|
1741
|
+
# d.elements.empty? # => true
|
|
1742
|
+
# d = REXML::Document.new(xml_string)
|
|
1743
|
+
# d.elements.empty? # => false
|
|
1744
|
+
#
|
|
1745
|
+
def empty?
|
|
1746
|
+
@element.find{ |child| child.kind_of? Element}.nil?
|
|
1747
|
+
end
|
|
1748
|
+
|
|
1749
|
+
# :call-seq:
|
|
1750
|
+
# index(element)
|
|
1751
|
+
#
|
|
1752
|
+
# Returns the 1-based index of the given +element+, if found;
|
|
1753
|
+
# otherwise, returns -1:
|
|
1754
|
+
#
|
|
1755
|
+
# d = REXML::Document.new(xml_string)
|
|
1756
|
+
# elements = d.root.elements
|
|
1757
|
+
# ele_1, ele_2, ele_3, ele_4 = *elements
|
|
1758
|
+
# elements.index(ele_4) # => 4
|
|
1759
|
+
# elements.delete(ele_3)
|
|
1760
|
+
# elements.index(ele_4) # => 3
|
|
1761
|
+
# elements.index(ele_3) # => -1
|
|
1762
|
+
#
|
|
1763
|
+
def index element
|
|
1764
|
+
rv = 0
|
|
1765
|
+
found = @element.find do |child|
|
|
1766
|
+
child.kind_of? Element and
|
|
1767
|
+
(rv += 1) and
|
|
1768
|
+
child == element
|
|
1769
|
+
end
|
|
1770
|
+
return rv if found == element
|
|
1771
|
+
-1
|
|
1772
|
+
end
|
|
1773
|
+
|
|
1774
|
+
# :call-seq:
|
|
1775
|
+
# delete(index) -> removed_element or nil
|
|
1776
|
+
# delete(element) -> removed_element or nil
|
|
1777
|
+
# delete(xpath) -> removed_element or nil
|
|
1778
|
+
#
|
|
1779
|
+
# Removes an element; returns the removed element, or +nil+ if none removed.
|
|
1780
|
+
#
|
|
1781
|
+
# With integer argument +index+ given,
|
|
1782
|
+
# removes the child element at that offset:
|
|
1783
|
+
#
|
|
1784
|
+
# d = REXML::Document.new(xml_string)
|
|
1785
|
+
# elements = d.root.elements
|
|
1786
|
+
# elements.size # => 4
|
|
1787
|
+
# elements[2] # => <book category='children'> ... </>
|
|
1788
|
+
# elements.delete(2) # => <book category='children'> ... </>
|
|
1789
|
+
# elements.size # => 3
|
|
1790
|
+
# elements[2] # => <book category='web'> ... </>
|
|
1791
|
+
# elements.delete(50) # => nil
|
|
1792
|
+
#
|
|
1793
|
+
# With element argument +element+ given,
|
|
1794
|
+
# removes that child element:
|
|
1795
|
+
#
|
|
1796
|
+
# d = REXML::Document.new(xml_string)
|
|
1797
|
+
# elements = d.root.elements
|
|
1798
|
+
# ele_1, ele_2, ele_3, ele_4 = *elements
|
|
1799
|
+
# elements.size # => 4
|
|
1800
|
+
# elements[2] # => <book category='children'> ... </>
|
|
1801
|
+
# elements.delete(ele_2) # => <book category='children'> ... </>
|
|
1802
|
+
# elements.size # => 3
|
|
1803
|
+
# elements[2] # => <book category='web'> ... </>
|
|
1804
|
+
# elements.delete(ele_2) # => nil
|
|
1805
|
+
#
|
|
1806
|
+
# With string argument +xpath+ given,
|
|
1807
|
+
# removes the first element found via that xpath:
|
|
1808
|
+
#
|
|
1809
|
+
# d = REXML::Document.new(xml_string)
|
|
1810
|
+
# elements = d.root.elements
|
|
1811
|
+
# elements.delete('//book') # => <book category='cooking'> ... </>
|
|
1812
|
+
# elements.delete('//book [@category="children"]') # => <book category='children'> ... </>
|
|
1813
|
+
# elements.delete('//nosuch') # => nil
|
|
1814
|
+
#
|
|
1815
|
+
def delete element
|
|
1816
|
+
if element.kind_of? Element
|
|
1817
|
+
@element.delete element
|
|
1818
|
+
else
|
|
1819
|
+
el = self[element]
|
|
1820
|
+
el.remove if el
|
|
1821
|
+
end
|
|
1822
|
+
end
|
|
1823
|
+
|
|
1824
|
+
# :call-seq:
|
|
1825
|
+
# delete_all(xpath)
|
|
1826
|
+
#
|
|
1827
|
+
# Removes all elements found via the given +xpath+;
|
|
1828
|
+
# returns the array of removed elements, if any, else +nil+.
|
|
1829
|
+
#
|
|
1830
|
+
# d = REXML::Document.new(xml_string)
|
|
1831
|
+
# elements = d.root.elements
|
|
1832
|
+
# elements.size # => 4
|
|
1833
|
+
# deleted_elements = elements.delete_all('//book [@category="web"]')
|
|
1834
|
+
# deleted_elements.size # => 2
|
|
1835
|
+
# elements.size # => 2
|
|
1836
|
+
# deleted_elements = elements.delete_all('//book')
|
|
1837
|
+
# deleted_elements.size # => 2
|
|
1838
|
+
# elements.size # => 0
|
|
1839
|
+
# elements.delete_all('//book') # => []
|
|
1840
|
+
#
|
|
1841
|
+
def delete_all( xpath )
|
|
1842
|
+
rv = []
|
|
1843
|
+
XPath::each( @element, xpath) {|element|
|
|
1844
|
+
rv << element if element.kind_of? Element
|
|
1845
|
+
}
|
|
1846
|
+
rv.each do |element|
|
|
1847
|
+
@element.delete element
|
|
1848
|
+
element.remove
|
|
1849
|
+
end
|
|
1850
|
+
rv
|
|
1851
|
+
end
|
|
1852
|
+
|
|
1853
|
+
# :call-seq:
|
|
1854
|
+
# add -> new_element
|
|
1855
|
+
# add(name) -> new_element
|
|
1856
|
+
# add(element) -> element
|
|
1857
|
+
#
|
|
1858
|
+
# Adds an element; returns the element added.
|
|
1859
|
+
#
|
|
1860
|
+
# With no argument, creates and adds a new element.
|
|
1861
|
+
# The new element has:
|
|
1862
|
+
#
|
|
1863
|
+
# - No name.
|
|
1864
|
+
# - \Parent from the \Elements object.
|
|
1865
|
+
# - Context from the that parent.
|
|
1866
|
+
#
|
|
1867
|
+
# Example:
|
|
1868
|
+
#
|
|
1869
|
+
# d = REXML::Document.new(xml_string)
|
|
1870
|
+
# elements = d.root.elements
|
|
1871
|
+
# parent = elements.parent # => <bookstore> ... </>
|
|
1872
|
+
# parent.context = {raw: :all}
|
|
1873
|
+
# elements.size # => 4
|
|
1874
|
+
# new_element = elements.add # => </>
|
|
1875
|
+
# elements.size # => 5
|
|
1876
|
+
# new_element.name # => nil
|
|
1877
|
+
# new_element.parent # => <bookstore> ... </>
|
|
1878
|
+
# new_element.context # => {:raw=>:all}
|
|
1879
|
+
#
|
|
1880
|
+
# With string argument +name+, creates and adds a new element.
|
|
1881
|
+
# The new element has:
|
|
1882
|
+
#
|
|
1883
|
+
# - Name +name+.
|
|
1884
|
+
# - \Parent from the \Elements object.
|
|
1885
|
+
# - Context from the that parent.
|
|
1886
|
+
#
|
|
1887
|
+
# Example:
|
|
1888
|
+
#
|
|
1889
|
+
# d = REXML::Document.new(xml_string)
|
|
1890
|
+
# elements = d.root.elements
|
|
1891
|
+
# parent = elements.parent # => <bookstore> ... </>
|
|
1892
|
+
# parent.context = {raw: :all}
|
|
1893
|
+
# elements.size # => 4
|
|
1894
|
+
# new_element = elements.add('foo') # => <foo/>
|
|
1895
|
+
# elements.size # => 5
|
|
1896
|
+
# new_element.name # => "foo"
|
|
1897
|
+
# new_element.parent # => <bookstore> ... </>
|
|
1898
|
+
# new_element.context # => {:raw=>:all}
|
|
1899
|
+
#
|
|
1900
|
+
# With argument +element+,
|
|
1901
|
+
# creates and adds a clone of the given +element+.
|
|
1902
|
+
# The new element has name, parent, and context from the given +element+.
|
|
1903
|
+
#
|
|
1904
|
+
# d = REXML::Document.new(xml_string)
|
|
1905
|
+
# elements = d.root.elements
|
|
1906
|
+
# elements.size # => 4
|
|
1907
|
+
# e0 = REXML::Element.new('foo')
|
|
1908
|
+
# e1 = REXML::Element.new('bar', e0, {raw: :all})
|
|
1909
|
+
# element = elements.add(e1) # => <bar/>
|
|
1910
|
+
# elements.size # => 5
|
|
1911
|
+
# element.name # => "bar"
|
|
1912
|
+
# element.parent # => <bookstore> ... </>
|
|
1913
|
+
# element.context # => {:raw=>:all}
|
|
1914
|
+
#
|
|
1915
|
+
def add element=nil
|
|
1916
|
+
if element.nil?
|
|
1917
|
+
Element.new("", self, @element.context)
|
|
1918
|
+
elsif not element.kind_of?(Element)
|
|
1919
|
+
Element.new(element, self, @element.context)
|
|
1920
|
+
else
|
|
1921
|
+
@element << element
|
|
1922
|
+
element.context = @element.context
|
|
1923
|
+
element
|
|
1924
|
+
end
|
|
1925
|
+
end
|
|
1926
|
+
|
|
1927
|
+
alias :<< :add
|
|
1928
|
+
|
|
1929
|
+
# :call-seq:
|
|
1930
|
+
# each(xpath = nil) {|element| ... } -> self
|
|
1931
|
+
#
|
|
1932
|
+
# Iterates over the elements.
|
|
1933
|
+
#
|
|
1934
|
+
# With no argument, calls the block with each element:
|
|
1935
|
+
#
|
|
1936
|
+
# d = REXML::Document.new(xml_string)
|
|
1937
|
+
# elements = d.root.elements
|
|
1938
|
+
# elements.each {|element| p element }
|
|
1939
|
+
#
|
|
1940
|
+
# Output:
|
|
1941
|
+
#
|
|
1942
|
+
# <book category='cooking'> ... </>
|
|
1943
|
+
# <book category='children'> ... </>
|
|
1944
|
+
# <book category='web'> ... </>
|
|
1945
|
+
# <book category='web' cover='paperback'> ... </>
|
|
1946
|
+
#
|
|
1947
|
+
# With argument +xpath+, calls the block with each element
|
|
1948
|
+
# that matches the given +xpath+:
|
|
1949
|
+
#
|
|
1950
|
+
# elements.each('//book [@category="web"]') {|element| p element }
|
|
1951
|
+
#
|
|
1952
|
+
# Output:
|
|
1953
|
+
#
|
|
1954
|
+
# <book category='web'> ... </>
|
|
1955
|
+
# <book category='web' cover='paperback'> ... </>
|
|
1956
|
+
#
|
|
1957
|
+
def each( xpath=nil )
|
|
1958
|
+
XPath::each( @element, xpath ) {|e| yield e if e.kind_of? Element }
|
|
1959
|
+
end
|
|
1960
|
+
|
|
1961
|
+
# :call-seq:
|
|
1962
|
+
# collect(xpath = nil) {|element| ... } -> array
|
|
1963
|
+
#
|
|
1964
|
+
# Iterates over the elements; returns the array of block return values.
|
|
1965
|
+
#
|
|
1966
|
+
# With no argument, iterates over all elements:
|
|
1967
|
+
#
|
|
1968
|
+
# d = REXML::Document.new(xml_string)
|
|
1969
|
+
# elements = d.root.elements
|
|
1970
|
+
# elements.collect {|element| element.size } # => [9, 9, 17, 9]
|
|
1971
|
+
#
|
|
1972
|
+
# With argument +xpath+, iterates over elements that match
|
|
1973
|
+
# the given +xpath+:
|
|
1974
|
+
#
|
|
1975
|
+
# xpath = '//book [@category="web"]'
|
|
1976
|
+
# elements.collect(xpath) {|element| element.size } # => [17, 9]
|
|
1977
|
+
#
|
|
1978
|
+
def collect( xpath=nil )
|
|
1979
|
+
collection = []
|
|
1980
|
+
XPath::each( @element, xpath ) {|e|
|
|
1981
|
+
collection << yield(e) if e.kind_of?(Element)
|
|
1982
|
+
}
|
|
1983
|
+
collection
|
|
1984
|
+
end
|
|
1985
|
+
|
|
1986
|
+
# :call-seq:
|
|
1987
|
+
# inject(xpath = nil, initial = nil) -> object
|
|
1988
|
+
#
|
|
1989
|
+
# Calls the block with elements; returns the last block return value.
|
|
1990
|
+
#
|
|
1991
|
+
# With no argument, iterates over the elements, calling the block
|
|
1992
|
+
# <tt>elements.size - 1</tt> times.
|
|
1993
|
+
#
|
|
1994
|
+
# - The first call passes the first and second elements.
|
|
1995
|
+
# - The second call passes the first block return value and the third element.
|
|
1996
|
+
# - The third call passes the second block return value and the fourth element.
|
|
1997
|
+
# - And so on.
|
|
1998
|
+
#
|
|
1999
|
+
# In this example, the block returns the passed element,
|
|
2000
|
+
# which is then the object argument to the next call:
|
|
2001
|
+
#
|
|
2002
|
+
# d = REXML::Document.new(xml_string)
|
|
2003
|
+
# elements = d.root.elements
|
|
2004
|
+
# elements.inject do |object, element|
|
|
2005
|
+
# p [elements.index(object), elements.index(element)]
|
|
2006
|
+
# element
|
|
2007
|
+
# end
|
|
2008
|
+
#
|
|
2009
|
+
# Output:
|
|
2010
|
+
#
|
|
2011
|
+
# [1, 2]
|
|
2012
|
+
# [2, 3]
|
|
2013
|
+
# [3, 4]
|
|
2014
|
+
#
|
|
2015
|
+
# With the single argument +xpath+, calls the block only with
|
|
2016
|
+
# elements matching that xpath:
|
|
2017
|
+
#
|
|
2018
|
+
# elements.inject('//book [@category="web"]') do |object, element|
|
|
2019
|
+
# p [elements.index(object), elements.index(element)]
|
|
2020
|
+
# element
|
|
2021
|
+
# end
|
|
2022
|
+
#
|
|
2023
|
+
# Output:
|
|
2024
|
+
#
|
|
2025
|
+
# [3, 4]
|
|
2026
|
+
#
|
|
2027
|
+
# With argument +xpath+ given as +nil+
|
|
2028
|
+
# and argument +initial+ also given,
|
|
2029
|
+
# calls the block once for each element.
|
|
2030
|
+
#
|
|
2031
|
+
# - The first call passes the +initial+ and the first element.
|
|
2032
|
+
# - The second call passes the first block return value and the second element.
|
|
2033
|
+
# - The third call passes the second block return value and the third element.
|
|
2034
|
+
# - And so on.
|
|
2035
|
+
#
|
|
2036
|
+
# In this example, the first object index is <tt>-1</tt>
|
|
2037
|
+
#
|
|
2038
|
+
# elements.inject(nil, 'Initial') do |object, element|
|
|
2039
|
+
# p [elements.index(object), elements.index(element)]
|
|
2040
|
+
# element
|
|
2041
|
+
# end
|
|
2042
|
+
#
|
|
2043
|
+
# Output:
|
|
2044
|
+
#
|
|
2045
|
+
# [-1, 1]
|
|
2046
|
+
# [1, 2]
|
|
2047
|
+
# [2, 3]
|
|
2048
|
+
# [3, 4]
|
|
2049
|
+
#
|
|
2050
|
+
# In this form the passed object can be used as an accumulator:
|
|
2051
|
+
#
|
|
2052
|
+
# elements.inject(nil, 0) do |total, element|
|
|
2053
|
+
# total += element.size
|
|
2054
|
+
# end # => 44
|
|
2055
|
+
#
|
|
2056
|
+
# With both arguments +xpath+ and +initial+ are given,
|
|
2057
|
+
# calls the block only with elements matching that xpath:
|
|
2058
|
+
#
|
|
2059
|
+
# elements.inject('//book [@category="web"]', 0) do |total, element|
|
|
2060
|
+
# total += element.size
|
|
2061
|
+
# end # => 26
|
|
2062
|
+
#
|
|
2063
|
+
def inject( xpath=nil, initial=nil )
|
|
2064
|
+
first = true
|
|
2065
|
+
XPath::each( @element, xpath ) {|e|
|
|
2066
|
+
if (e.kind_of? Element)
|
|
2067
|
+
if (first and initial == nil)
|
|
2068
|
+
initial = e
|
|
2069
|
+
first = false
|
|
2070
|
+
else
|
|
2071
|
+
initial = yield( initial, e ) if e.kind_of? Element
|
|
2072
|
+
end
|
|
2073
|
+
end
|
|
2074
|
+
}
|
|
2075
|
+
initial
|
|
2076
|
+
end
|
|
2077
|
+
|
|
2078
|
+
# :call-seq:
|
|
2079
|
+
# size -> integer
|
|
2080
|
+
#
|
|
2081
|
+
# Returns the count of \Element children:
|
|
2082
|
+
#
|
|
2083
|
+
# d = REXML::Document.new '<a>sean<b/>elliott<b/>russell<b/></a>'
|
|
2084
|
+
# d.root.elements.size # => 3 # Three elements.
|
|
2085
|
+
# d.root.size # => 6 # Three elements plus three text nodes..
|
|
2086
|
+
#
|
|
2087
|
+
def size
|
|
2088
|
+
count = 0
|
|
2089
|
+
@element.each {|child| count+=1 if child.kind_of? Element }
|
|
2090
|
+
count
|
|
2091
|
+
end
|
|
2092
|
+
|
|
2093
|
+
# :call-seq:
|
|
2094
|
+
# to_a(xpath = nil) -> array_of_elements
|
|
2095
|
+
#
|
|
2096
|
+
# Returns an array of element children (not including non-element children).
|
|
2097
|
+
#
|
|
2098
|
+
# With no argument, returns an array of all element children:
|
|
2099
|
+
#
|
|
2100
|
+
# d = REXML::Document.new '<a>sean<b/>elliott<c/></a>'
|
|
2101
|
+
# elements = d.root.elements
|
|
2102
|
+
# elements.to_a # => [<b/>, <c/>] # Omits non-element children.
|
|
2103
|
+
# children = d.root.children
|
|
2104
|
+
# children # => ["sean", <b/>, "elliott", <c/>] # Includes non-element children.
|
|
2105
|
+
#
|
|
2106
|
+
# With argument +xpath+, returns an array of element children
|
|
2107
|
+
# that match the xpath:
|
|
2108
|
+
#
|
|
2109
|
+
# elements.to_a('//c') # => [<c/>]
|
|
2110
|
+
#
|
|
2111
|
+
def to_a( xpath=nil )
|
|
2112
|
+
rv = XPath.match( @element, xpath )
|
|
2113
|
+
return rv.find_all{|e| e.kind_of? Element} if xpath
|
|
2114
|
+
rv
|
|
2115
|
+
end
|
|
2116
|
+
|
|
2117
|
+
private
|
|
2118
|
+
# Private helper class. Removes quotes from quoted strings
|
|
2119
|
+
def literalize name
|
|
2120
|
+
name = name[1..-2] if name[0] == ?' or name[0] == ?" #'
|
|
2121
|
+
name
|
|
2122
|
+
end
|
|
2123
|
+
end
|
|
2124
|
+
|
|
2125
|
+
########################################################################
|
|
2126
|
+
# ATTRIBUTES #
|
|
2127
|
+
########################################################################
|
|
2128
|
+
|
|
2129
|
+
# A class that defines the set of Attributes of an Element and provides
|
|
2130
|
+
# operations for accessing elements in that set.
|
|
2131
|
+
class Attributes < Hash
|
|
2132
|
+
|
|
2133
|
+
# :call-seq:
|
|
2134
|
+
# new(element)
|
|
2135
|
+
#
|
|
2136
|
+
# Creates and returns a new \REXML::Attributes object.
|
|
2137
|
+
# The element given by argument +element+ is stored,
|
|
2138
|
+
# but its own attributes are not modified:
|
|
2139
|
+
#
|
|
2140
|
+
# ele = REXML::Element.new('foo')
|
|
2141
|
+
# attrs = REXML::Attributes.new(ele)
|
|
2142
|
+
# attrs.object_id == ele.attributes.object_id # => false
|
|
2143
|
+
#
|
|
2144
|
+
# Other instance methods in class \REXML::Attributes may refer to:
|
|
2145
|
+
#
|
|
2146
|
+
# - +element.document+.
|
|
2147
|
+
# - +element.prefix+.
|
|
2148
|
+
# - +element.expanded_name+.
|
|
2149
|
+
#
|
|
2150
|
+
def initialize element
|
|
2151
|
+
@element = element
|
|
2152
|
+
end
|
|
2153
|
+
|
|
2154
|
+
# :call-seq:
|
|
2155
|
+
# [name] -> attribute_value or nil
|
|
2156
|
+
#
|
|
2157
|
+
# Returns the value for the attribute given by +name+,
|
|
2158
|
+
# if it exists; otherwise +nil+.
|
|
2159
|
+
# The value returned is the unnormalized attribute value,
|
|
2160
|
+
# with entities expanded:
|
|
2161
|
+
#
|
|
2162
|
+
# xml_string = <<-EOT
|
|
2163
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
|
2164
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
|
2165
|
+
# </root>
|
|
2166
|
+
# EOT
|
|
2167
|
+
# d = REXML::Document.new(xml_string)
|
|
2168
|
+
# ele = d.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
|
2169
|
+
# ele.attributes['att'] # => "<"
|
|
2170
|
+
# ele.attributes['bar:att'] # => "2"
|
|
2171
|
+
# ele.attributes['nosuch'] # => nil
|
|
2172
|
+
#
|
|
2173
|
+
# Related: get_attribute (returns an \Attribute object).
|
|
2174
|
+
#
|
|
2175
|
+
def [](name)
|
|
2176
|
+
attr = get_attribute(name)
|
|
2177
|
+
attr&.value
|
|
2178
|
+
end
|
|
2179
|
+
|
|
2180
|
+
# :call-seq:
|
|
2181
|
+
# to_a -> array_of_attribute_objects
|
|
2182
|
+
#
|
|
2183
|
+
# Returns an array of \REXML::Attribute objects representing
|
|
2184
|
+
# the attributes:
|
|
2185
|
+
#
|
|
2186
|
+
# xml_string = <<-EOT
|
|
2187
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
|
2188
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
|
2189
|
+
# </root>
|
|
2190
|
+
# EOT
|
|
2191
|
+
# d = REXML::Document.new(xml_string)
|
|
2192
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
|
2193
|
+
# attrs = ele.attributes.to_a # => [foo:att='1', bar:att='2', att='<']
|
|
2194
|
+
# attrs.first.class # => REXML::Attribute
|
|
2195
|
+
#
|
|
2196
|
+
def to_a
|
|
2197
|
+
enum_for(:each_attribute).to_a
|
|
2198
|
+
end
|
|
2199
|
+
|
|
2200
|
+
# :call-seq:
|
|
2201
|
+
# length
|
|
2202
|
+
#
|
|
2203
|
+
# Returns the count of attributes:
|
|
2204
|
+
#
|
|
2205
|
+
# xml_string = <<-EOT
|
|
2206
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
|
2207
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
|
2208
|
+
# </root>
|
|
2209
|
+
# EOT
|
|
2210
|
+
# d = REXML::Document.new(xml_string)
|
|
2211
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
|
2212
|
+
# ele.attributes.length # => 3
|
|
2213
|
+
#
|
|
2214
|
+
def length
|
|
2215
|
+
c = 0
|
|
2216
|
+
each_attribute { c+=1 }
|
|
2217
|
+
c
|
|
2218
|
+
end
|
|
2219
|
+
alias :size :length
|
|
2220
|
+
|
|
2221
|
+
# :call-seq:
|
|
2222
|
+
# each_attribute {|attr| ... }
|
|
2223
|
+
#
|
|
2224
|
+
# Calls the given block with each \REXML::Attribute object:
|
|
2225
|
+
#
|
|
2226
|
+
# xml_string = <<-EOT
|
|
2227
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
|
2228
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
|
2229
|
+
# </root>
|
|
2230
|
+
# EOT
|
|
2231
|
+
# d = REXML::Document.new(xml_string)
|
|
2232
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
|
2233
|
+
# ele.attributes.each_attribute do |attr|
|
|
2234
|
+
# p [attr.class, attr]
|
|
2235
|
+
# end
|
|
2236
|
+
#
|
|
2237
|
+
# Output:
|
|
2238
|
+
#
|
|
2239
|
+
# [REXML::Attribute, foo:att='1']
|
|
2240
|
+
# [REXML::Attribute, bar:att='2']
|
|
2241
|
+
# [REXML::Attribute, att='<']
|
|
2242
|
+
#
|
|
2243
|
+
def each_attribute # :yields: attribute
|
|
2244
|
+
return to_enum(__method__) unless block_given?
|
|
2245
|
+
each_value do |val|
|
|
2246
|
+
if val.kind_of? Attribute
|
|
2247
|
+
yield val
|
|
2248
|
+
else
|
|
2249
|
+
val.each_value { |atr| yield atr }
|
|
2250
|
+
end
|
|
2251
|
+
end
|
|
2252
|
+
end
|
|
2253
|
+
|
|
2254
|
+
# :call-seq:
|
|
2255
|
+
# each {|expanded_name, value| ... }
|
|
2256
|
+
#
|
|
2257
|
+
# Calls the given block with each expanded-name/value pair:
|
|
2258
|
+
#
|
|
2259
|
+
# xml_string = <<-EOT
|
|
2260
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
|
2261
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
|
2262
|
+
# </root>
|
|
2263
|
+
# EOT
|
|
2264
|
+
# d = REXML::Document.new(xml_string)
|
|
2265
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
|
2266
|
+
# ele.attributes.each do |expanded_name, value|
|
|
2267
|
+
# p [expanded_name, value]
|
|
2268
|
+
# end
|
|
2269
|
+
#
|
|
2270
|
+
# Output:
|
|
2271
|
+
#
|
|
2272
|
+
# ["foo:att", "1"]
|
|
2273
|
+
# ["bar:att", "2"]
|
|
2274
|
+
# ["att", "<"]
|
|
2275
|
+
#
|
|
2276
|
+
def each
|
|
2277
|
+
return to_enum(__method__) unless block_given?
|
|
2278
|
+
each_attribute do |attr|
|
|
2279
|
+
yield [attr.expanded_name, attr.value]
|
|
2280
|
+
end
|
|
2281
|
+
end
|
|
2282
|
+
|
|
2283
|
+
# :call-seq:
|
|
2284
|
+
# get_attribute(name) -> attribute_object or nil
|
|
2285
|
+
#
|
|
2286
|
+
# Returns the \REXML::Attribute object for the given +name+:
|
|
2287
|
+
#
|
|
2288
|
+
# xml_string = <<-EOT
|
|
2289
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
|
2290
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
|
2291
|
+
# </root>
|
|
2292
|
+
# EOT
|
|
2293
|
+
# d = REXML::Document.new(xml_string)
|
|
2294
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
|
2295
|
+
# attrs = ele.attributes
|
|
2296
|
+
# attrs.get_attribute('foo:att') # => foo:att='1'
|
|
2297
|
+
# attrs.get_attribute('foo:att').class # => REXML::Attribute
|
|
2298
|
+
# attrs.get_attribute('bar:att') # => bar:att='2'
|
|
2299
|
+
# attrs.get_attribute('att') # => att='<'
|
|
2300
|
+
# attrs.get_attribute('nosuch') # => nil
|
|
2301
|
+
#
|
|
2302
|
+
def get_attribute( name )
|
|
2303
|
+
attr = fetch( name, nil )
|
|
2304
|
+
if attr.nil?
|
|
2305
|
+
return nil if name.nil?
|
|
2306
|
+
# Look for prefix
|
|
2307
|
+
name =~ Namespace::NAMESPLIT
|
|
2308
|
+
prefix, n = $1, $2
|
|
2309
|
+
if prefix
|
|
2310
|
+
attr = fetch( n, nil )
|
|
2311
|
+
# check prefix
|
|
2312
|
+
if attr == nil
|
|
2313
|
+
elsif attr.kind_of? Attribute
|
|
2314
|
+
return attr if prefix == attr.prefix
|
|
2315
|
+
else
|
|
2316
|
+
attr = attr[ prefix ]
|
|
2317
|
+
return attr
|
|
2318
|
+
end
|
|
2319
|
+
end
|
|
2320
|
+
doctype = @element.document&.doctype
|
|
2321
|
+
if doctype
|
|
2322
|
+
expn = @element.expanded_name
|
|
2323
|
+
expn = doctype.name if expn.size == 0
|
|
2324
|
+
attr_val = doctype.attribute_of(expn, name)
|
|
2325
|
+
return Attribute.new( name, attr_val ) if attr_val
|
|
2326
|
+
end
|
|
2327
|
+
return nil
|
|
2328
|
+
end
|
|
2329
|
+
if attr.kind_of? Hash
|
|
2330
|
+
attr = attr[ @element.prefix ]
|
|
2331
|
+
end
|
|
2332
|
+
attr
|
|
2333
|
+
end
|
|
2334
|
+
|
|
2335
|
+
# :call-seq:
|
|
2336
|
+
# [name] = value -> value
|
|
2337
|
+
#
|
|
2338
|
+
# When +value+ is non-+nil+,
|
|
2339
|
+
# assigns that to the attribute for the given +name+,
|
|
2340
|
+
# overwriting the previous value if it exists:
|
|
2341
|
+
#
|
|
2342
|
+
# xml_string = <<-EOT
|
|
2343
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
|
2344
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
|
2345
|
+
# </root>
|
|
2346
|
+
# EOT
|
|
2347
|
+
# d = REXML::Document.new(xml_string)
|
|
2348
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
|
2349
|
+
# attrs = ele.attributes
|
|
2350
|
+
# attrs['foo:att'] = '2' # => "2"
|
|
2351
|
+
# attrs['baz:att'] = '3' # => "3"
|
|
2352
|
+
#
|
|
2353
|
+
# When +value+ is +nil+, deletes the attribute if it exists:
|
|
2354
|
+
#
|
|
2355
|
+
# attrs['baz:att'] = nil
|
|
2356
|
+
# attrs.include?('baz:att') # => false
|
|
2357
|
+
#
|
|
2358
|
+
def []=( name, value )
|
|
2359
|
+
if value.nil? # Delete the named attribute
|
|
2360
|
+
attr = get_attribute(name)
|
|
2361
|
+
delete attr
|
|
2362
|
+
return
|
|
2363
|
+
end
|
|
2364
|
+
|
|
2365
|
+
unless value.kind_of? Attribute
|
|
2366
|
+
doctype = @element.document&.doctype
|
|
2367
|
+
if doctype
|
|
2368
|
+
value = Text::normalize( value, doctype )
|
|
2369
|
+
else
|
|
2370
|
+
value = Text::normalize( value, nil )
|
|
2371
|
+
end
|
|
2372
|
+
value = Attribute.new(name, value)
|
|
2373
|
+
end
|
|
2374
|
+
value.element = @element
|
|
2375
|
+
old_attr = fetch(value.name, nil)
|
|
2376
|
+
if old_attr.nil?
|
|
2377
|
+
store(value.name, value)
|
|
2378
|
+
elsif old_attr.kind_of? Hash
|
|
2379
|
+
old_attr[value.prefix] = value
|
|
2380
|
+
elsif old_attr.prefix != value.prefix
|
|
2381
|
+
store value.name, {old_attr.prefix => old_attr,
|
|
2382
|
+
value.prefix => value}
|
|
2383
|
+
else
|
|
2384
|
+
store value.name, value
|
|
2385
|
+
end
|
|
2386
|
+
@element
|
|
2387
|
+
end
|
|
2388
|
+
|
|
2389
|
+
# :call-seq:
|
|
2390
|
+
# prefixes -> array_of_prefix_strings
|
|
2391
|
+
#
|
|
2392
|
+
# Returns an array of prefix strings in the attributes.
|
|
2393
|
+
# The array does not include the default
|
|
2394
|
+
# namespace declaration, if one exists.
|
|
2395
|
+
#
|
|
2396
|
+
# xml_string = '<a xmlns="foo" xmlns:x="bar" xmlns:y="twee" z="glorp"/>'
|
|
2397
|
+
# d = REXML::Document.new(xml_string)
|
|
2398
|
+
# d.root.attributes.prefixes # => ["x", "y"]
|
|
2399
|
+
#
|
|
2400
|
+
def prefixes
|
|
2401
|
+
ns = []
|
|
2402
|
+
each_attribute do |attribute|
|
|
2403
|
+
ns << attribute.name if attribute.prefix == 'xmlns'
|
|
2404
|
+
end
|
|
2405
|
+
doctype = @element.document&.doctype
|
|
2406
|
+
if doctype
|
|
2407
|
+
expn = @element.expanded_name
|
|
2408
|
+
expn = doctype.name if expn.size == 0
|
|
2409
|
+
doctype.attributes_of(expn).each {
|
|
2410
|
+
|attribute|
|
|
2411
|
+
ns << attribute.name if attribute.prefix == 'xmlns'
|
|
2412
|
+
}
|
|
2413
|
+
end
|
|
2414
|
+
ns
|
|
2415
|
+
end
|
|
2416
|
+
|
|
2417
|
+
# :call-seq:
|
|
2418
|
+
# namespaces
|
|
2419
|
+
#
|
|
2420
|
+
# Returns a hash of name/value pairs for the namespaces:
|
|
2421
|
+
#
|
|
2422
|
+
# xml_string = '<a xmlns="foo" xmlns:x="bar" xmlns:y="twee" z="glorp"/>'
|
|
2423
|
+
# d = REXML::Document.new(xml_string)
|
|
2424
|
+
# d.root.attributes.namespaces # => {"xmlns"=>"foo", "x"=>"bar", "y"=>"twee"}
|
|
2425
|
+
#
|
|
2426
|
+
def namespaces
|
|
2427
|
+
namespaces = {}
|
|
2428
|
+
each_attribute do |attribute|
|
|
2429
|
+
namespaces[attribute.name] = attribute.value if attribute.prefix == 'xmlns' or attribute.name == 'xmlns'
|
|
2430
|
+
end
|
|
2431
|
+
doctype = @element.document&.doctype
|
|
2432
|
+
if doctype
|
|
2433
|
+
expn = @element.expanded_name
|
|
2434
|
+
expn = doctype.name if expn.size == 0
|
|
2435
|
+
doctype.attributes_of(expn).each {
|
|
2436
|
+
|attribute|
|
|
2437
|
+
namespaces[attribute.name] = attribute.value if attribute.prefix == 'xmlns' or attribute.name == 'xmlns'
|
|
2438
|
+
}
|
|
2439
|
+
end
|
|
2440
|
+
namespaces
|
|
2441
|
+
end
|
|
2442
|
+
|
|
2443
|
+
# :call-seq:
|
|
2444
|
+
# delete(name) -> element
|
|
2445
|
+
# delete(attribute) -> element
|
|
2446
|
+
#
|
|
2447
|
+
# Removes a specified attribute if it exists;
|
|
2448
|
+
# returns the attributes' element.
|
|
2449
|
+
#
|
|
2450
|
+
# When string argument +name+ is given,
|
|
2451
|
+
# removes the attribute of that name if it exists:
|
|
2452
|
+
#
|
|
2453
|
+
# xml_string = <<-EOT
|
|
2454
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
|
2455
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
|
2456
|
+
# </root>
|
|
2457
|
+
# EOT
|
|
2458
|
+
# d = REXML::Document.new(xml_string)
|
|
2459
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
|
2460
|
+
# attrs = ele.attributes
|
|
2461
|
+
# attrs.delete('foo:att') # => <ele bar:att='2' att='<'/>
|
|
2462
|
+
# attrs.delete('foo:att') # => <ele bar:att='2' att='<'/>
|
|
2463
|
+
#
|
|
2464
|
+
# When attribute argument +attribute+ is given,
|
|
2465
|
+
# removes that attribute if it exists:
|
|
2466
|
+
#
|
|
2467
|
+
# attr = REXML::Attribute.new('bar:att', '2')
|
|
2468
|
+
# attrs.delete(attr) # => <ele att='<'/> # => <ele att='<'/>
|
|
2469
|
+
# attrs.delete(attr) # => <ele att='<'/> # => <ele/>
|
|
2470
|
+
#
|
|
2471
|
+
def delete( attribute )
|
|
2472
|
+
name = nil
|
|
2473
|
+
prefix = nil
|
|
2474
|
+
if attribute.kind_of? Attribute
|
|
2475
|
+
name = attribute.name
|
|
2476
|
+
prefix = attribute.prefix
|
|
2477
|
+
else
|
|
2478
|
+
attribute =~ Namespace::NAMESPLIT
|
|
2479
|
+
prefix, name = $1, $2
|
|
2480
|
+
prefix = '' unless prefix
|
|
2481
|
+
end
|
|
2482
|
+
old = fetch(name, nil)
|
|
2483
|
+
if old.kind_of? Hash # the supplied attribute is one of many
|
|
2484
|
+
old.delete(prefix)
|
|
2485
|
+
if old.size == 1
|
|
2486
|
+
repl = nil
|
|
2487
|
+
old.each_value{|v| repl = v}
|
|
2488
|
+
store name, repl
|
|
2489
|
+
end
|
|
2490
|
+
elsif old # the supplied attribute is a top-level one
|
|
2491
|
+
super(name)
|
|
2492
|
+
end
|
|
2493
|
+
@element
|
|
2494
|
+
end
|
|
2495
|
+
|
|
2496
|
+
# :call-seq:
|
|
2497
|
+
# add(attribute) -> attribute
|
|
2498
|
+
#
|
|
2499
|
+
# Adds attribute +attribute+, replacing the previous
|
|
2500
|
+
# attribute of the same name if it exists;
|
|
2501
|
+
# returns +attribute+:
|
|
2502
|
+
#
|
|
2503
|
+
# xml_string = <<-EOT
|
|
2504
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
|
2505
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
|
2506
|
+
# </root>
|
|
2507
|
+
# EOT
|
|
2508
|
+
# d = REXML::Document.new(xml_string)
|
|
2509
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
|
2510
|
+
# attrs = ele.attributes
|
|
2511
|
+
# attrs # => {"att"=>{"foo"=>foo:att='1', "bar"=>bar:att='2', ""=>att='<'}}
|
|
2512
|
+
# attrs.add(REXML::Attribute.new('foo:att', '2')) # => foo:att='2'
|
|
2513
|
+
# attrs.add(REXML::Attribute.new('baz', '3')) # => baz='3'
|
|
2514
|
+
# attrs.include?('baz') # => true
|
|
2515
|
+
#
|
|
2516
|
+
def add( attribute )
|
|
2517
|
+
self[attribute.name] = attribute
|
|
2518
|
+
end
|
|
2519
|
+
|
|
2520
|
+
alias :<< :add
|
|
2521
|
+
|
|
2522
|
+
# :call-seq:
|
|
2523
|
+
# delete_all(name) -> array_of_removed_attributes
|
|
2524
|
+
#
|
|
2525
|
+
# Removes all attributes matching the given +name+;
|
|
2526
|
+
# returns an array of the removed attributes:
|
|
2527
|
+
#
|
|
2528
|
+
# xml_string = <<-EOT
|
|
2529
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
|
2530
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
|
2531
|
+
# </root>
|
|
2532
|
+
# EOT
|
|
2533
|
+
# d = REXML::Document.new(xml_string)
|
|
2534
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
|
2535
|
+
# attrs = ele.attributes
|
|
2536
|
+
# attrs.delete_all('att') # => [att='<']
|
|
2537
|
+
#
|
|
2538
|
+
def delete_all( name )
|
|
2539
|
+
rv = []
|
|
2540
|
+
each_attribute { |attribute|
|
|
2541
|
+
rv << attribute if attribute.expanded_name == name
|
|
2542
|
+
}
|
|
2543
|
+
rv.each{ |attr| attr.remove }
|
|
2544
|
+
rv
|
|
2545
|
+
end
|
|
2546
|
+
|
|
2547
|
+
# :call-seq:
|
|
2548
|
+
# get_attribute_ns(namespace, name)
|
|
2549
|
+
#
|
|
2550
|
+
# Returns the \REXML::Attribute object among the attributes
|
|
2551
|
+
# that matches the given +namespace+ and +name+:
|
|
2552
|
+
#
|
|
2553
|
+
# xml_string = <<-EOT
|
|
2554
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
|
2555
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
|
2556
|
+
# </root>
|
|
2557
|
+
# EOT
|
|
2558
|
+
# d = REXML::Document.new(xml_string)
|
|
2559
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
|
2560
|
+
# attrs = ele.attributes
|
|
2561
|
+
# attrs.get_attribute_ns('http://foo', 'att') # => foo:att='1'
|
|
2562
|
+
# attrs.get_attribute_ns('http://foo', 'nosuch') # => nil
|
|
2563
|
+
#
|
|
2564
|
+
def get_attribute_ns(namespace, name)
|
|
2565
|
+
result = nil
|
|
2566
|
+
each_attribute() { |attribute|
|
|
2567
|
+
if name == attribute.name &&
|
|
2568
|
+
namespace == attribute.namespace() &&
|
|
2569
|
+
( !namespace.empty? || !attribute.fully_expanded_name.index(':') )
|
|
2570
|
+
# foo will match xmlns:foo, but only if foo isn't also an attribute
|
|
2571
|
+
result = attribute if !result or !namespace.empty? or
|
|
2572
|
+
!attribute.fully_expanded_name.index(':')
|
|
2573
|
+
end
|
|
2574
|
+
}
|
|
2575
|
+
result
|
|
2576
|
+
end
|
|
2577
|
+
end
|
|
2578
|
+
end
|