fablicop 1.10.1 → 1.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +59 -0
- data/README.md +11 -0
- data/config/.base_rubocop.yml +3 -0
- data/fablicop.gemspec +1 -1
- data/lib/fablicop/version.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/bin/byebug +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/fablicop +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/htmldiff +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/ldiff +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/racc +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/rake +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/rspec +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/rubocop +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/ruby-parse +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/ruby-rewrite +29 -0
- data/vendor/bundle/ruby/3.2.0/cache/activesupport-7.0.5.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/ast-2.4.2.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/byebug-11.1.3.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/concurrent-ruby-1.2.2.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/diff-lcs-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/i18n-1.14.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/minitest-5.18.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/parallel-1.23.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/parser-3.2.2.3.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/racc-1.7.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rack-3.0.7.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rainbow-3.1.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rake-13.0.6.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/regexp_parser-2.8.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rexml-3.2.5.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rspec-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rspec-core-3.12.2.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rspec-expectations-3.12.3.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rspec-mocks-3.12.5.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rspec-support-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rubocop-1.52.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rubocop-ast-1.29.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rubocop-capybara-2.18.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rubocop-factory_bot-2.23.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rubocop-rails-2.19.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rubocop-rspec-2.22.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.13.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/tzinfo-2.0.6.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/unicode-display_width-2.4.2.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +42 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.0/gem_make.out +20 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.0/mkmf.log +57 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.0/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/CHANGELOG.md +494 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/README.rdoc +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/actionable_error.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/all.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/array_inquirer.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/backtrace_cleaner.rb +131 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/benchmarkable.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/builder.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/cache/file_store.rb +202 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/cache/mem_cache_store.rb +324 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/cache/memory_store.rb +203 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/cache/null_store.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/cache/redis_cache_store.rb +474 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/cache/strategy/local_cache.rb +186 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/cache/strategy/local_cache_middleware.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/cache.rb +1030 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/callbacks.rb +961 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/code_generator.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/concern.rb +215 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/concurrency/share_lock.rb +226 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/configurable.rb +149 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/configuration_file.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/array/access.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/array/conversions.rb +214 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/array/deprecated_conversions.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/array/extract.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/array/extract_options.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/array/grouping.rb +109 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/array/inquiry.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/array.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/benchmark.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/big_decimal.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/class/attribute.rb +131 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/class/attribute_accessors.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/class/subclasses.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date/acts_like.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date/blank.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date/calculations.rb +161 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date/conversions.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date/deprecated_conversions.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date/zones.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date_and_time/calculations.rb +364 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date_and_time/compatibility.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date_and_time/zones.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date_time/acts_like.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date_time/blank.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date_time/calculations.rb +215 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date_time/compatibility.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date_time/conversions.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date_time/deprecated_conversions.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date_time.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/digest/uuid.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/digest.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/enumerable.rb +329 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/file/atomic.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/file.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/hash/conversions.rb +262 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/hash/deep_merge.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/hash/deep_transform_values.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/hash/except.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/hash/keys.rb +143 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/hash/reverse_merge.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/hash/slice.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/hash.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/integer/inflections.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/integer/multiple.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/integer/time.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/integer.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/kernel/concern.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/kernel/reporting.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/kernel/singleton_class.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/kernel.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/load_error.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/module/aliasing.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/module/anonymous.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/module/attr_internal.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/module/attribute_accessors.rb +208 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +157 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/module/concerning.rb +140 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/module/delegation.rb +324 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/module/deprecation.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/module/introspection.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/module/redefine_method.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/module/remove_method.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/module.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/name_error.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/numeric/bytes.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/numeric/conversions.rb +143 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/numeric/deprecated_conversions.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/numeric/time.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/numeric.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/object/acts_like.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/object/blank.rb +155 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/object/conversions.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/object/deep_dup.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/object/duplicable.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/object/inclusion.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/object/instance_variables.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/object/json.rb +244 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/object/to_param.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/object/to_query.rb +89 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/object/try.rb +158 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/object/with_options.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/object.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/pathname/existence.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/pathname.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/range/compare_range.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/range/conversions.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/range/deprecated_conversions.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/range/each.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/range/include_time_with_zone.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/range/overlaps.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/range.rb +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/regexp.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/securerandom.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/string/access.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/string/behavior.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/string/conversions.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/string/exclude.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/string/filters.rb +145 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/string/indent.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/string/inflections.rb +293 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/string/inquiry.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/string/multibyte.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/string/output_safety.rb +371 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/string/starts_ends_with.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/string/strip.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/string/zones.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/string.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/symbol/starts_ends_with.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/symbol.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/time/acts_like.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/time/calculations.rb +368 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/time/conversions.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/time/deprecated_conversions.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/time/zones.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/time.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/uri.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/current_attributes/test_helper.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/current_attributes.rb +226 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/dependencies/autoload.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/dependencies/interlock.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/dependencies/require_dependency.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/dependencies.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/deprecation/behaviors.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/deprecation/constant_accessor.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/deprecation/disallowed.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/deprecation/instance_delegator.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/deprecation/method_wrappers.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/deprecation/proxy_wrappers.rb +177 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/deprecation/reporting.rb +157 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/deprecation.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/descendants_tracker.rb +218 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/digest.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/duration/iso8601_parser.rb +123 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/duration/iso8601_serializer.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/duration.rb +514 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/encrypted_configuration.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/encrypted_file.rb +129 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/environment_inquirer.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/error_reporter.rb +117 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/evented_file_update_checker.rb +168 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/execution_context/test_helper.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/execution_context.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/execution_wrapper.rb +151 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/executor/test_helper.rb +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/executor.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/file_update_checker.rb +162 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/fork_tracker.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/gem_version.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/gzip.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/hash_with_indifferent_access.rb +425 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/html_safe_translation.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/i18n.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/i18n_railtie.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/inflections.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/inflector/inflections.rb +271 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/inflector/methods.rb +377 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/inflector/transliterate.rb +147 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/inflector.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/isolated_execution_state.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/json/decoding.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/json/encoding.rb +138 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/json.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/key_generator.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/lazy_load_hooks.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/locale/en.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/locale/en.yml +139 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/log_subscriber/test_helper.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/log_subscriber.rb +152 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/logger.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/logger_silence.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/logger_thread_safe_level.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/message_encryptor.rb +230 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/message_verifier.rb +237 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/messages/metadata.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/messages/rotation_configuration.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/messages/rotator.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/multibyte/chars.rb +176 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/multibyte/unicode.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/multibyte.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/notifications/fanout.rb +285 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/notifications/instrumenter.rb +172 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/notifications.rb +280 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/number_helper/number_converter.rb +181 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/number_helper/number_to_currency_converter.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/number_helper/number_to_delimited_converter.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/number_helper/number_to_human_converter.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/number_helper/number_to_human_size_converter.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/number_helper/number_to_percentage_converter.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/number_helper/number_to_phone_converter.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/number_helper/number_to_rounded_converter.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/number_helper/rounding_helper.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/number_helper.rb +396 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/option_merger.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/ordered_hash.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/ordered_options.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/parameter_filter.rb +142 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/per_thread_registry.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/proxy_object.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/rails.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/railtie.rb +152 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/reloader.rb +130 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/rescuable.rb +174 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/ruby_features.rb +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/secure_compare_rotator.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/security_utils.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/string_inquirer.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/subscriber.rb +163 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/tagged_logging.rb +113 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/test_case.rb +155 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/assertions.rb +265 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/autorun.rb +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/constant_lookup.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/declarative.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/deprecation.rb +89 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/file_fixtures.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/isolation.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/method_call_assertions.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/parallelization/server.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/parallelization/worker.rb +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/parallelization.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/parallelize_executor.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/setup_and_teardown.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/stream.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/tagged_logging.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/testing/time_helpers.rb +246 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/time.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/time_with_zone.rb +625 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/values/time_zone.rb +601 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/version.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/xml_mini/jdom.rb +182 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/xml_mini/libxml.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/xml_mini/libxmlsax.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/xml_mini/nokogirisax.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/xml_mini/rexml.rb +137 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/xml_mini.rb +202 -0
- data/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support.rb +124 -0
- data/vendor/bundle/ruby/3.2.0/gems/ast-2.4.2/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/ast-2.4.2/README.YARD.md +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/ast-2.4.2/lib/ast/node.rb +268 -0
- data/vendor/bundle/ruby/3.2.0/gems/ast-2.4.2/lib/ast/processor/mixin.rb +288 -0
- data/vendor/bundle/ruby/3.2.0/gems/ast-2.4.2/lib/ast/processor.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/ast-2.4.2/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/ast-2.4.2/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/CHANGELOG.md +934 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/CONTRIBUTING.md +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/GUIDE.md +1806 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/LICENSE +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/README.md +199 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/exe/byebug +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug/Makefile +269 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug/breakpoint.c +517 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug/byebug.c +900 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug/byebug.h +145 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug/context.c +686 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug/extconf.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug/locker.c +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug/threads.c +230 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/attacher.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/breakpoint.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/command.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/command_list.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/break.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/catch.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/condition.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/continue.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/debug.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/delete.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/disable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/disable/display.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/disable.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/display.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/down.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/edit.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/enable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/enable/display.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/enable.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/finish.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/frame.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/help.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/history.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/info/breakpoints.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/info/display.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/info/file.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/info/line.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/info/program.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/interrupt.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/irb.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/kill.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/list.rb +159 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/method.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/next.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/pry.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/quit.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/restart.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/save.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/set.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/show.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/skip.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/source.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/step.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/thread/current.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/thread/list.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/thread/resume.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/thread/stop.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/thread/switch.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/thread.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/tracevar.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/undisplay.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/untracevar.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/up.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/var/all.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/var/args.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/var/const.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/var/global.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/var/instance.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/var/local.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/var.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands/where.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/commands.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/context.rb +157 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/core.rb +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/errors.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/frame.rb +185 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/helpers/bin.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/helpers/eval.rb +126 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/helpers/file.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/helpers/frame.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/helpers/parse.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/helpers/path.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/helpers/string.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/helpers/thread.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/helpers/toggle.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/helpers/var.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/history.rb +130 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/interface.rb +146 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/interfaces/local_interface.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/interfaces/remote_interface.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/interfaces/script_interface.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/interfaces/test_interface.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/option_setter.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/printers/base.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/printers/plain.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/printers/texts/base.yml +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/printers/texts/plain.yml +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/processors/command_processor.rb +173 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/processors/control_processor.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/processors/post_mortem_processor.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/processors/script_processor.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/remote/client.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/remote/server.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/remote.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/runner.rb +198 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/setting.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/autoirb.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/autolist.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/autopry.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/autosave.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/basename.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/callstyle.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/fullpath.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/histfile.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/histsize.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/linetrace.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/listsize.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/post_mortem.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/savefile.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/stack_on_error.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/settings/width.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/source_file_formatter.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/subcommands.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/version.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/CHANGELOG.md +561 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/Gemfile +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/README.md +405 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/Rakefile +319 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/ConcurrentRubyService.java +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +175 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +248 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +113 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +189 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +292 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/agent.rb +588 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/array.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/async.rb +449 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atom.rb +222 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb +144 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb +167 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb +135 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb +109 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/java_count_down_latch.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/locals.rb +189 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/lock_local_var.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb +131 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb +255 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb +379 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/semaphore.rb +163 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic_reference/atomic_direct_update.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomics.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb +160 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb +148 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/map/truffleruby_map_backend.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb +160 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/logging.rb +116 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concurrent_ruby.jar +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/configuration.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/constants.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/dataflow.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/delay.rb +199 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/errors.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/exchanger.rb +353 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb +131 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb +220 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb +140 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb +366 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/timer_set.rb +172 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executors.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/future.rb +141 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/hash.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/immutable_struct.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/ivar.rb +208 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/map.rb +350 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/maybe.rb +229 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/mutable_struct.rb +239 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/mvar.rb +242 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/options.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/promise.rb +580 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/promises.rb +2168 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/re_include.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/scheduled_task.rb +331 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/set.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/settable_struct.rb +139 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/condition.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/full_memory_barrier.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/jruby_lockable_object.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/lock.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb +89 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/object.rb +151 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization/volatile.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/synchronization.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util/cheap_lockable.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util/striped64.rb +246 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/timer_task.rb +311 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/tuple.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/tvar.rb +222 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/engine.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/native_integer.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/processor_counter.rb +110 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/version.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent-ruby.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/.rspec +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/Contributing.md +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/History.md +400 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/License.md +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/Manifest.txt +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/README.rdoc +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/Rakefile +121 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/bin/htmldiff +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/bin/ldiff +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/callbacks.rb +325 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/change.rb +174 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/htmldiff.rb +150 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/hunk.rb +358 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/internals.rb +308 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/ldiff.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs.rb +739 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/change_spec.rb +89 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/diff_spec.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-c +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-e +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-f +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-u +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2 +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-c +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-d +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-e +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-f +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-u +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef2 +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef2 +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/issues_spec.rb +154 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/ldiff_spec.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/patch_spec.rb +416 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/spec_helper.rb +374 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/spec/traverse_sequences_spec.rb +137 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/README.md +123 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/base.rb +304 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/cache.rb +113 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/cache_file.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/cascade.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/chain.rb +130 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/fallbacks.rb +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/flatten.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/gettext.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/interpolation_compiler.rb +123 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/key_value.rb +204 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/lazy_loadable.rb +184 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/memoize.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/metadata.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/pluralization.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/simple.rb +113 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend/transliterator.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/backend.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/config.rb +165 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/exceptions.rb +157 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/gettext/helpers.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/gettext.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/interpolate/ruby.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/locale/fallbacks.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/locale/tag/parents.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/locale.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/middleware.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/tests/basics.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/tests/defaults.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/tests/interpolation.rb +163 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/tests/link.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/tests/localization/date.rb +122 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/tests/localization/date_time.rb +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/tests/localization/procs.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/tests/localization/time.rb +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/tests/procs.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/tests.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/utils.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n/version.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/i18n-1.14.1/lib/i18n.rb +435 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/.autotest +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/History.rdoc +1504 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/Manifest.txt +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/README.rdoc +831 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/Rakefile +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/design_rationale.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/hoe/minitest.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/minitest/assertions.rb +858 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/minitest/benchmark.rb +455 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/minitest/expectations.rb +321 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/minitest/mock.rb +327 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/minitest/parallel.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/minitest/spec.rb +349 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/minitest/test.rb +256 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/minitest/test_task.rb +305 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/minitest/unit.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/lib/minitest.rb +1078 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/test/minitest/metametameta.rb +136 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/test/minitest/test_minitest_assertions.rb +1701 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/test/minitest/test_minitest_mock.rb +1146 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/test/minitest/test_minitest_reporter.rb +312 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/test/minitest/test_minitest_spec.rb +1146 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/test/minitest/test_minitest_test.rb +1272 -0
- data/vendor/bundle/ruby/3.2.0/gems/minitest-5.18.0/test/minitest/test_minitest_test_task.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/parallel-1.23.0/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/parallel-1.23.0/lib/parallel/version.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/parallel-1.23.0/lib/parallel.rb +652 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/bin/ruby-parse +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/bin/ruby-rewrite +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/gauntlet_parser.rb +123 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/all.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ast/node.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ast/processor.rb +291 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/base.rb +291 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/builders/default.rb +2311 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/clobbering_error.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/color.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/context.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/current.rb +128 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/current_arg_stack.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/deprecation.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/diagnostic/engine.rb +104 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/diagnostic.rb +163 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/lexer/dedenter.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/lexer/explanation.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/lexer/literal.rb +269 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/lexer/stack_state.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/lexer-F0.rb +12870 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/lexer-F1.rb +14814 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/lexer-strings.rb +5424 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/macruby.rb +9634 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/max_numparam_stack.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/messages.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/meta.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/rewriter.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby18.rb +9272 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby19.rb +9558 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby20.rb +10229 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby21.rb +10203 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby22.rb +10302 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby23.rb +10322 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby24.rb +10454 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby25.rb +10374 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby26.rb +10352 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby27.rb +11947 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby28.rb +8047 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby30.rb +12243 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby31.rb +12716 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby32.rb +12704 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/ruby33.rb +12704 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/rubymotion.rb +9515 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/runner/ruby_parse.rb +157 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/runner/ruby_rewrite.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/runner.rb +293 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/buffer.rb +364 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/comment/associator.rb +233 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/comment.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/collection.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/condition.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/constant.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/definition.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/for.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/heredoc.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/index.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/keyword.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/method_definition.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/objc_kwarg.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/operator.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/rescue_body.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/send.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/ternary.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map/variable.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/map.rb +186 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/range.rb +326 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/rewriter/action.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/rewriter.rb +513 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/tree_rewriter/action.rb +242 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/source/tree_rewriter.rb +431 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/static_environment.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/syntax_error.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/tree_rewriter.rb +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/variables_stack.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser/version.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/lib/parser.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.2.2.3/parser.gemspec +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/COPYING +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/ChangeLog +846 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/README.ja.rdoc +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/README.rdoc +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/TODO +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/bin/racc +320 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/doc/en/NEWS.en.rdoc +282 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/doc/en/grammar.en.rdoc +226 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/doc/en/grammar2.en.rdoc +219 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/doc/ja/NEWS.ja.rdoc +307 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/doc/ja/command.ja.html +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/doc/ja/debug.ja.rdoc +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/doc/ja/grammar.ja.rdoc +348 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/doc/ja/index.ja.html +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/doc/ja/parser.ja.rdoc +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/doc/ja/usage.ja.html +414 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/ext/racc/MANIFEST +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/ext/racc/cparse/Makefile +269 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/ext/racc/cparse/cparse.c +861 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/ext/racc/cparse/extconf.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/compat.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/debugflags.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/exception.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/grammar.rb +1114 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/grammarfileparser.rb +561 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/info.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/iset.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/logfilegenerator.rb +212 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/parser-text.rb +658 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/parser.rb +632 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/parserfilegenerator.rb +470 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/sourcetext.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/state.rb +972 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/statetransitiontable.rb +311 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc/static.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.0/lib/racc.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/CHANGELOG.md +860 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/CONTRIBUTING.md +142 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/README.md +309 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/SPEC.rdoc +340 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/auth/abstract/handler.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/auth/abstract/request.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/auth/basic.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/auth/digest/md5.rb +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/auth/digest/nonce.rb +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/auth/digest/params.rb +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/auth/digest/request.rb +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/auth/digest.rb +256 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/body_proxy.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/builder.rb +277 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/cascade.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/chunked.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/common_logger.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/conditional_get.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/config.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/constants.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/content_length.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/content_type.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/deflater.rb +158 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/directory.rb +205 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/etag.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/events.rb +157 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/file.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/files.rb +216 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/head.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/headers.rb +154 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/lint.rb +907 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/lock.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/logger.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/media_type.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/method_override.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/mime.rb +693 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/mock.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/mock_request.rb +166 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/mock_response.rb +126 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/multipart/generator.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/multipart/parser.rb +434 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/multipart/uploaded_file.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/multipart.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/null_logger.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/query_parser.rb +253 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/recursive.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/reloader.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/request.rb +777 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/response.rb +393 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/rewindable_input.rb +113 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/runtime.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/sendfile.rb +167 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/show_exceptions.rb +403 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/show_status.rb +123 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/static.rb +187 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/tempfile_reaper.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/urlmap.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/utils.rb +654 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack/version.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rack-3.0.7/lib/rack.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/Changelog.md +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/README.markdown +227 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/color.rb +150 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/ext/string.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/global.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/null_presenter.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/presenter.rb +144 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/string_utils.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/version.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/wrapper.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/x11_color_names.rb +153 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/History.rdoc +2403 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/README.rdoc +155 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/exe/rake +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb +831 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/file_utils.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/testtask.rb +189 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/rake.gemspec +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/CHANGELOG.md +691 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/Gemfile +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/LICENSE +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/README.md +506 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/Rakefile +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/error.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/base.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/alternation.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/anchor.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/backreference.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/character_set/intersection.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/character_set/range.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/character_set.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/character_type.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/conditional.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/escape_sequence.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/free_space.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/group.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/keep.rb +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/literal.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/posix_class.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/root.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/classes/unicode_property.rb +122 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/methods/construct.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/methods/human_name.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/methods/match.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/methods/match_length.rb +176 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/methods/options.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/methods/parts.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/methods/printing.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/methods/strfregexp.rb +114 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/methods/tests.rb +143 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/methods/traverse.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/quantifier.rb +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/sequence.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/sequence_operation.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/shared.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression/subexpression.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/expression.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/lexer.rb +169 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/parser.rb +595 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/scanner/char_type.rl +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/scanner/errors/premature_end_error.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/scanner/errors/scanner_error.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/scanner/errors/validation_error.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/scanner/properties/long.csv +633 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/scanner/properties/short.csv +248 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/scanner/property.rl +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/scanner/scanner.rl +820 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/scanner.rb +2496 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/any.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/base.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token/anchor.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token/assertion.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token/backreference.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token/character_set.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token/character_type.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token/conditional.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token/escape.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token/group.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token/keep.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token/meta.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token/posix_class.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token/quantifier.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token/unicode_property.rb +733 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token/virtual.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/token.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/version_lookup.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions/1.8.6.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions/1.9.1.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions/1.9.3.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions/2.0.0.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions/2.2.0.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions/2.3.0.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions/2.4.0.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions/2.4.1.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions/2.5.0.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions/2.6.0.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions/2.6.2.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions/2.6.3.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions/3.1.0.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions/3.2.0.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax/versions.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/syntax.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/token.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser/version.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/lib/regexp_parser.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.8.1/regexp_parser.gemspec +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/NEWS.md +178 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/README.md +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/doc/rexml/context.rdoc +143 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/child.rdoc +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/document.rdoc +276 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/element.rdoc +602 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/node.rdoc +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/parent.rdoc +267 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/child_toc.rdoc +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/document_toc.rdoc +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/element_toc.rdoc +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/master_toc.rdoc +135 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/node_toc.rdoc +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/parent_toc.rdoc +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/attlistdecl.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/attribute.rb +205 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/cdata.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/child.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/comment.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/doctype.rb +311 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/document.rb +451 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/dtd/attlistdecl.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/dtd/dtd.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/dtd/elementdecl.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/dtd/entitydecl.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/dtd/notationdecl.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/element.rb +2599 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/encoding.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/entity.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/formatters/default.rb +116 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/formatters/pretty.rb +142 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/formatters/transitive.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/functions.rb +447 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/instruction.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/light/node.rb +188 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/namespace.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/node.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/output.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/parent.rb +166 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/parseexception.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb +694 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/parsers/lightparser.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/parsers/pullparser.rb +197 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/parsers/sax2parser.rb +273 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/parsers/streamparser.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/parsers/treeparser.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/parsers/ultralightparser.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/parsers/xpathparser.rb +689 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/quickpath.rb +266 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/rexml.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/sax2listener.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/security.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/source.rb +298 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/streamlistener.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/text.rb +424 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/undefinednamespaceexception.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/validation/relaxng.rb +539 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/validation/validation.rb +144 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/validation/validationexception.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/xmldecl.rb +130 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/xmltokens.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/xpath.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml/xpath_parser.rb +974 -0
- data/vendor/bundle/ruby/3.2.0/gems/rexml-3.2.5/lib/rexml.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-3.12.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-3.12.0/README.md +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-3.12.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-3.12.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/.document +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/.yardopts +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/Changelog.md +2375 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/LICENSE.md +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/README.md +384 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/exe/rspec +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/bisect/fork_runner.rb +138 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/bisect/utilities.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/configuration.rb +2385 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/configuration_options.rb +233 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/did_you_mean.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/drb.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb +666 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb +905 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/console_codes.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/exception_presenter.rb +525 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/helpers.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/html_printer.rb +412 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/formatters.rb +279 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/hooks.rb +646 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/memoized_helpers.rb +580 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/notifications.rb +521 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/option_parser.rb +323 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/ordering.rb +169 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/pending.rb +157 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/project_initializer/.rspec +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/project_initializer/spec/spec_helper.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/rake_task.rb +188 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb +265 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb +212 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/world.rb +287 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core.rb +212 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/.document +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/.yardopts +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/Changelog.md +1309 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/README.md +320 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/configuration.rb +230 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb +163 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/failure_aggregator.rb +229 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb +182 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/all.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/base_matcher.rb +198 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/be.rb +191 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/change.rb +450 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/compound.rb +290 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/contain_exactly.rb +310 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/count_expectation.rb +169 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/has.rb +167 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/include.rb +213 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/output.rb +207 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/raise_error.rb +271 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/respond_to.rb +200 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/throw_symbol.rb +138 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in/yield.rb +375 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/built_in.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/dsl.rb +545 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/matcher_protocol.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers.rb +1044 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/.document +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/.yardopts +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/Changelog.md +1262 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/README.md +463 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/proxy.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/recorder.rb +295 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/argument_list_matcher.rb +117 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/argument_matchers.rb +322 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/error_generator.rb +390 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/matchers/receive.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/message_expectation.rb +820 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/method_double.rb +309 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/method_reference.rb +214 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/proxy.rb +520 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/verifying_double.rb +123 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/verifying_message_expectation.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/verifying_proxy.rb +221 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.12.5/lib/rspec/mocks.rb +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/Changelog.md +364 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/LICENSE.md +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/README.md +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/encoded_string.rb +161 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/method_signature_verifier.rb +438 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/object_formatter.rb +275 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/reentrant_mutex.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/ruby_features.rb +198 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/source/node.rb +110 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/source/token.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/source.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/deprecation_helpers.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/diff_helpers.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/in_sub_process.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/shell_out.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/stderr_splitter.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/string_matcher.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/spec.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/with_keywords_when_needed.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support.rb +154 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/README.md +250 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/assets/logo.png +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/assets/output.html.erb +261 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/config/default.yml +5566 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/config/obsoletion.yml +233 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/exe/rubocop +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/arguments_env.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/arguments_file.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/ast_aliases.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cache_config.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cached_data.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cli/command/auto_generate_config.rb +154 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cli/command/base.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cli/command/execute_runner.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cli/command/init_dotfile.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cli/command/show_cops.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cli/command/show_docs_url.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cli/command/suggest_extensions.rb +126 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cli/command/version.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cli/command.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cli/environment.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cli.rb +200 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/comment_config.rb +216 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config.rb +330 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_finder.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_loader.rb +259 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_loader_resolver.rb +280 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_obsoletion/changed_enforced_styles.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_obsoletion/changed_parameter.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_obsoletion/cop_rule.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_obsoletion/extracted_cop.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_obsoletion/parameter_rule.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_obsoletion/removed_cop.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_obsoletion/renamed_cop.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_obsoletion/rule.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_obsoletion/split_cop.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_obsoletion.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_regeneration.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_store.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/config_validator.rb +272 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/autocorrect_logic.rb +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/badge.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/base.rb +486 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/bundler/duplicated_gem.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/bundler/gem_comment.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/bundler/gem_filename.rb +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/bundler/gem_version.rb +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/bundler/insecure_protocol_source.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/bundler/ordered_gems.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/commissioner.rb +182 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/cop.rb +166 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/corrector.rb +138 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/alignment_corrector.rb +136 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/condition_corrector.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/each_to_for_corrector.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/empty_line_corrector.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/for_to_each_corrector.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/if_then_corrector.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/line_break_corrector.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +113 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/parentheses_corrector.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/percent_literal_corrector.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/punctuation_corrector.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/require_library_corrector.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/space_corrector.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/string_literal_corrector.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/correctors/unused_arg_corrector.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/documentation.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/exclude_limit.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/force.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/gemspec/dependency_version.rb +154 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/gemspec/development_dependencies.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/gemspec/duplicated_assignment.rb +89 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/gemspec/ordered_dependencies.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/gemspec/require_mfa.rb +145 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/gemspec/required_ruby_version.rb +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/generator/configuration_injector.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/generator/require_file_injector.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/generator.rb +217 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/ignored_node.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/cop_description.rb +122 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/create_empty_file.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/empty_line_between_expect_offense_and_correction.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/example_description.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/example_heredoc_delimiter.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/inherit_deprecated_cop_class.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/lambda_or_proc.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/location_expression.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/location_line_equality_comparison.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/method_name_end_with.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/method_name_equal.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/node_destructuring.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/node_matcher_directive.rb +147 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/numblock_handler.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/processed_source_buffer_name.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/redundant_context_config_parameter.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/redundant_described_class_as_subject.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/redundant_let_rubocop_config_new.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/redundant_method_dispatch_node.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/redundant_source_range.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/single_line_comparison.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/style_detected_api_use.rb +148 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/undefined_config.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs/useless_restrict_on_send.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/internal_affairs.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/access_modifier_indentation.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/argument_alignment.rb +158 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/array_alignment.rb +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/assignment_indentation.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/begin_end_alignment.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/block_alignment.rb +240 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/block_end_newline.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/case_indentation.rb +219 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/class_structure.rb +339 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +123 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +193 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/comment_indentation.rb +168 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/condition_position.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/def_end_alignment.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/dot_position.rb +143 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/else_alignment.rb +156 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_comment.rb +151 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +181 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb +136 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_line_between_defs.rb +273 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_lines.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +211 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb +139 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/end_alignment.rb +198 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/end_of_line.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/extra_spacing.rb +191 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/first_argument_indentation.rb +287 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/first_array_element_indentation.rb +180 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/first_array_element_line_break.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/first_hash_element_indentation.rb +239 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/first_hash_element_line_break.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/first_method_argument_line_break.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/first_parameter_indentation.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/hash_alignment.rb +396 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +311 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/heredoc_indentation.rb +162 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/indentation_consistency.rb +205 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/indentation_style.rb +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/indentation_width.rb +389 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/initial_indentation.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/leading_comment_space.rb +121 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/leading_empty_lines.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/line_continuation_leading_space.rb +136 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/line_continuation_spacing.rb +140 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb +141 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/line_length.rb +276 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/multiline_array_line_breaks.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/multiline_assignment_layout.rb +117 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/multiline_block_layout.rb +161 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +131 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +248 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +128 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/multiline_operation_indentation.rb +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/parameter_alignment.rb +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/redundant_line_break.rb +138 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +211 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/single_line_block_chain.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_after_colon.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_after_comma.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_after_method_name.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_after_not.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_after_semicolon.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_around_block_parameters.rb +162 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +89 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_around_keyword.rb +268 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_around_method_call_operator.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_around_operators.rb +258 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_before_block_braces.rb +154 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_before_brackets.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_before_comma.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_before_comment.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_before_first_arg.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_before_semicolon.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_in_lambda_literal.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +224 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_inside_block_braces.rb +263 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +208 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_inside_parens.rb +176 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_inside_range_literal.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +143 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/trailing_empty_lines.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/layout/trailing_whitespace.rb +131 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/legacy/corrections_proxy.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/legacy/corrector.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/ambiguous_assignment.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/ambiguous_block_association.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/ambiguous_operator.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/ambiguous_operator_precedence.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/ambiguous_range.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/assignment_in_condition.rb +109 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/boolean_symbol.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/constant_definition_in_block.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/constant_resolution.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/debugger.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/deprecated_class_methods.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/deprecated_constants.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb +154 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +110 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/duplicate_branch.rb +153 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/duplicate_case_condition.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/duplicate_elsif_condition.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/duplicate_hash_key.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/duplicate_magic_comment.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/duplicate_match_pattern.rb +122 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/duplicate_methods.rb +268 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/duplicate_require.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/duplicate_rescue_exception.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/each_with_object_argument.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/else_layout.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/empty_block.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/empty_class.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/empty_conditional_body.rb +177 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/empty_ensure.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/empty_file.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/empty_in_pattern.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/empty_interpolation.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/empty_when.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/ensure_return.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/erb_new_arguments.rb +161 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/flip_flop.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/float_comparison.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/float_out_of_range.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/format_parameter_mismatch.rb +201 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/hash_compare_by_identity.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/heredoc_method_call_position.rb +152 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/identity_comparison.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/ineffective_access_modifier.rb +121 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/inherit_exception.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/interpolation_check.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/lambda_without_literal_block.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/literal_as_condition.rb +164 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/literal_in_interpolation.rb +173 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/loop.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/missing_super.rb +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/mixed_regexp_capture_types.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/multiple_comparison.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/nested_method_definition.rb +144 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/nested_percent_literal.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/next_without_accumulator.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/non_atomic_file_operation.rb +162 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/non_deterministic_require_order.rb +185 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/number_conversion.rb +191 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/numbered_parameter_assignment.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/or_assignment_to_constant.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/ordered_magic_comments.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb +128 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/percent_string_array.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/percent_symbol_array.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/raise_exception.rb +91 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/rand_one.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb +330 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/redundant_dir_glob_sort.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/redundant_require_statement.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/redundant_safe_navigation.rb +91 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/redundant_splat_expansion.rb +209 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/redundant_string_coercion.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/redundant_with_index.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/redundant_with_object.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/refinement_import_methods.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/regexp_as_condition.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/require_range_parentheses.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/require_relative_self_path.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/rescue_exception.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/rescue_type.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/return_in_void_context.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/safe_navigation_chain.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/safe_navigation_consistency.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/script_permission.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/self_assignment.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/send_with_mixin_argument.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/shadowed_argument.rb +176 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/shadowed_exception.rb +165 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/struct_new_override.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/suppressed_exception.rb +132 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/symbol_conversion.rb +179 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/syntax.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/to_enum_arguments.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/to_json.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/top_level_return_with_argument.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/triple_quotes.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/unexpected_block_arity.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/unified_integer.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb +204 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/unreachable_code.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/unreachable_loop.rb +202 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/unused_block_argument.rb +172 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/unused_method_argument.rb +121 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/uri_escape_unescape.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/uri_regexp.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/useless_access_modifier.rb +295 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/useless_assignment.rb +183 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/useless_else_without_rescue.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/useless_method_definition.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/useless_rescue.rb +89 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/useless_ruby2_keywords.rb +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/useless_setter_call.rb +173 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/useless_times.rb +114 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/lint/void.rb +211 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/message_annotator.rb +130 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/abc_size.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/block_length.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/block_nesting.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/class_length.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/collection_literal_length.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/method_length.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/module_length.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/parameter_lists.rb +147 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/perceived_complexity.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +140 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/utils/code_length_calculator.rb +182 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/utils/iterating_block.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb +143 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/migration/department_name.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/alignment.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/allowed_identifiers.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/allowed_methods.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/allowed_pattern.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/allowed_receivers.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/annotation_comment.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/array_min_size.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/auto_corrector.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/check_line_breakable.rb +227 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/code_length.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/comments_help.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/configurable_enforced_style.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/configurable_formatting.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/configurable_max.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/configurable_numbering.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/def_node.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/documentation_comment.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/empty_parameter.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/end_keyword_alignment.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/enforce_superclass.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/first_element_line_break.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/frozen_string_literal.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/gem_declaration.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/gemspec_help.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/hash_alignment_styles.rb +156 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb +226 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/hash_transform_method.rb +192 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/heredoc.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/interpolation.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/line_length_help.rb +110 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/match_range.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/method_complexity.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/method_preference.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/min_branches_count.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/multiline_element_indentation.rb +109 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +227 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/negative_conditional.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/nil_methods.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/ordered_gem_node.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/parentheses.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/percent_array.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/percent_literal.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/preceding_following_alignment.rb +183 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/preferred_delimiters.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/range_help.rb +149 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/rational_literal.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/require_library.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/rescue_node.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/safe_assignment.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/space_after_punctuation.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/statement_modifier.rb +109 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/string_help.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/string_literals_help.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/surrounding_space.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/symbol_help.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/target_ruby_version.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/trailing_body.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/trailing_comma.rb +209 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/uncommunicative_name.rb +104 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/unused_argument.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/mixin/visibility_help.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/accessor_method_name.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/ascii_identifiers.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/block_forwarding.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/block_parameter_name.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/class_and_module_camel_case.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/constant_name.rb +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/file_name.rb +247 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/inclusive_language.rb +289 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +295 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/method_name.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/method_parameter_name.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/predicate_name.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/variable_name.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/naming/variable_number.rb +156 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/offense.rb +239 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/registry.rb +315 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/security/compound_hash.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/security/eval.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/security/io_methods.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/security/json_load.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/security/open.rb +89 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/security/yaml_load.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/severity.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/access_modifier_declarations.rb +225 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/accessor_grouping.rb +180 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/alias.rb +156 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/and_or.rb +158 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/arguments_forwarding.rb +155 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/array_coercion.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/array_intersect.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/array_join.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/ascii_comments.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/attr.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/auto_resource_cleanup.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/bare_percent_literals.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/begin_block.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/bisected_attr_accessor.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/block_comments.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/block_delimiters.rb +471 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/case_equality.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/case_like_if.rb +280 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/character_literal.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/class_and_module_children.rb +186 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/class_check.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/class_equality_comparison.rb +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/class_methods.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/class_methods_definitions.rb +158 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/class_vars.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/collection_compact.rb +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/collection_methods.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/colon_method_call.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/combinable_loops.rb +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/command_literal.rb +181 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/comment_annotation.rb +130 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/commented_keyword.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/comparable_clamp.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/concat_array_literals.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/conditional_assignment.rb +661 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/constant_visibility.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/copyright.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/data_inheritance.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/date_time.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/def_with_parentheses.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/dir.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/dir_empty.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/document_dynamic_eval_definition.rb +169 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/documentation.rb +198 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/documentation_method.rb +132 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/double_cop_disable_directive.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/double_negation.rb +159 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/each_for_simple_loop.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/each_with_object.rb +139 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/empty_block_parameter.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/empty_case_condition.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/empty_else.rb +204 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/empty_heredoc.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/empty_lambda_parameter.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/empty_literal.rb +138 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/empty_method.rb +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/encoding.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/end_block.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/endless_method.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/env_home.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/eval_with_location.rb +237 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/even_odd.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/exact_regexp_match.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/expand_path_arguments.rb +196 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/explicit_block_argument.rb +153 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/exponential_notation.rb +116 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/fetch_env_var.rb +132 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/file_empty.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/file_read.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/file_write.rb +136 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/float_division.rb +151 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/for.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/format_string.rb +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/format_string_token.rb +228 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/frozen_string_literal_comment.rb +218 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/global_std_stream.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/guard_clause.rb +277 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/hash_as_last_array_item.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/hash_conversion.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/hash_each_methods.rb +123 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/hash_except.rb +188 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/hash_like_case.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/hash_syntax.rb +279 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/hash_transform_keys.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/hash_transform_values.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/identical_conditional_branches.rb +225 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/if_inside_else.rb +156 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/if_unless_modifier.rb +295 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb +163 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/if_with_semicolon.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/implicit_runtime_error.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/in_pattern_then.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/infinite_loop.rb +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/inverse_methods.rb +196 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/invertible_unless_condition.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/ip_addresses.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/keyword_parameters_order.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/lambda.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/lambda_call.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/line_end_concatenation.rb +137 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/magic_comment_format.rb +307 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/map_compact_with_conditional_block.rb +136 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/map_to_hash.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/map_to_set.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb +225 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +248 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/method_called_on_do_end_block.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/method_def_parentheses.rb +180 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/min_max.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/min_max_comparison.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/missing_else.rb +187 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/missing_respond_to_missing.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/mixin_grouping.rb +135 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/mixin_usage.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/module_function.rb +170 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/multiline_block_chain.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/multiline_if_modifier.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/multiline_if_then.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/multiline_in_pattern_then.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/multiline_memoization.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/multiline_method_signature.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/multiline_ternary_operator.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/multiline_when_then.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/multiple_comparison.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/mutable_constant.rb +247 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/negated_if.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/negated_if_else_condition.rb +135 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/negated_unless.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/negated_while.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/nested_file_dirname.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/nested_modifier.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/nested_parenthesized_calls.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/nested_ternary_operator.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/next.rb +233 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/nil_comparison.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/nil_lambda.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/non_nil_check.rb +158 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/not.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/numbered_parameters.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/numbered_parameters_limit.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/numeric_literal_prefix.rb +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/numeric_literals.rb +129 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/numeric_predicate.rb +177 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/object_then.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/one_line_conditional.rb +123 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/open_struct_use.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/operator_method_call.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/option_hash.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/optional_arguments.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/optional_boolean_parameter.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/or_assignment.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/parallel_assignment.rb +300 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/parentheses_around_condition.rb +128 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/percent_literal_delimiters.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/percent_q_literals.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/perl_backrefs.rb +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/preferred_hash_methods.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/proc.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/quoted_symbols.rb +124 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/raise_args.rb +155 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/random_with_offset.rb +153 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_argument.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_array_constructor.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_assignment.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_begin.rb +192 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_capital_w.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_condition.rb +270 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_conditional.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_constant_base.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_each.rb +116 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_exception.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_fetch_block.rb +121 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_file_extension_in_require.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_filter_chain.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_freeze.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_heredoc_delimiter_quotes.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_initialize.rb +156 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_interpolation.rb +138 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_line_continuation.rb +183 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_parentheses.rb +242 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_percent_q.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_regexp_character_class.rb +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_regexp_constructor.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_regexp_escape.rb +135 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_return.rb +178 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_self.rb +203 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_self_assignment.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_self_assignment_branch.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_sort.rb +208 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_sort_by.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/redundant_string_escape.rb +183 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/regexp_literal.rb +231 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/require_order.rb +139 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/rescue_modifier.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/rescue_standard_error.rb +126 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/return_nil.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/safe_navigation.rb +326 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/sample.rb +145 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/select_by_regexp.rb +162 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/self_assignment.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/semicolon.rb +167 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/send.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/signal_exception.rb +218 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/single_argument_dig.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/single_line_block_params.rb +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/single_line_methods.rb +145 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/slicing_with_range.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/sole_nested_conditional.rb +250 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/special_global_vars.rb +260 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/static_class.rb +128 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/stderr_puts.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/string_chars.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/string_concatenation.rb +178 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/string_hash_keys.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/string_literals_in_interpolation.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/string_methods.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/strip.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/struct_inheritance.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/swap_values.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/symbol_array.rb +113 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/symbol_literal.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/symbol_proc.rb +210 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/ternary_parentheses.rb +219 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/top_level_method_definition.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/trailing_body_on_class.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/trailing_body_on_module.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/trailing_comma_in_block_args.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/trailing_method_end_statement.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/trailing_underscore_variable.rb +152 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/trivial_accessors.rb +254 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/unless_else.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/unless_logical_operators.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/unpack_first.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/variable_interpolation.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/when_then.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/while_until_do.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/while_until_modifier.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/word_array.rb +155 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/yoda_condition.rb +179 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/yoda_expression.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/style/zero_length_predicate.rb +146 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/team.rb +266 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/util.rb +203 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/utils/format_string.rb +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/variable_force/assignment.rb +128 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/variable_force/branch.rb +331 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/variable_force/reference.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/variable_force/scope.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/variable_force/variable.rb +116 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/variable_force/variable_table.rb +131 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cop/variable_force.rb +439 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/cops_documentation_generator.rb +329 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/core_ext/string.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/directive_comment.rb +144 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/error.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/ext/comment.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/ext/processed_source.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/ext/range.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/ext/regexp_node.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/ext/regexp_parser.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/feature_loader.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/file_finder.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/file_patterns.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/auto_gen_config_formatter.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/base_formatter.rb +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/clang_style_formatter.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/disabled_config_formatter.rb +267 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/emacs_style_formatter.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/formatter_set.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/git_hub_actions_formatter.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/html_formatter.rb +132 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/json_formatter.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/junit_formatter.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/markdown_formatter.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/offense_count_formatter.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/pacman_formatter.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/progress_formatter.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/simple_text_formatter.rb +172 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/tap_formatter.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter/worst_offenders_formatter.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/formatter.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/lockfile.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/magic_comment.rb +298 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/name_similarity.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/options.rb +631 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/path_util.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/platform.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/rake_task.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/remote_config.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/result_cache.rb +237 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/rspec/cop_helper.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/rspec/expect_offense.rb +335 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/rspec/parallel_formatter.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/rspec/shared_contexts.rb +178 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/rspec/support.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/runner.rb +496 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/cache.rb +155 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/cli.rb +147 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/client_command/base.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/client_command/exec.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/client_command/restart.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/client_command/start.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/client_command/status.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/client_command/stop.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/client_command.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/core.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/errors.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/helper.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/server_command/base.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/server_command/exec.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/server_command/stop.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/server_command.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server/socket_reader.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/server.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/string_interpreter.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/target_finder.rb +206 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/target_ruby.rb +272 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/util.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/version.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/warning.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop/yaml_duplication_checker.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-1.52.1/lib/rubocop.rb +757 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/README.md +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/builder.rb +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/ext/range.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/ext/range_min_max.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/alias_node.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/and_asgn_node.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/and_node.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/arg_node.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/args_node.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/array_node.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/asgn_node.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/block_node.rb +149 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/break_node.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/case_match_node.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/case_node.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/casgn_node.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/class_node.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/const_node.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/csend_node.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/def_node.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/defined_node.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/dstr_node.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/float_node.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/for_node.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/forward_args_node.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/hash_node.rb +122 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/if_node.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/in_pattern_node.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/index_node.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/indexasgn_node.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/int_node.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/keyword_splat_node.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/lambda_node.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/mixin/collection_node.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/mixin/descendence.rb +117 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +288 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +219 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/mixin/numeric_node.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/module_node.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/next_node.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/op_asgn_node.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/or_asgn_node.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/or_node.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/pair_node.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/procarg0_node.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/range_node.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/regexp_node.rb +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/resbody_node.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/rescue_node.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/return_node.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/self_class_node.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/send_node.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/str_node.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/super_node.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/until_node.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/when_node.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/while_node.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node/yield_node.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node.rb +676 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/builder.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/comment.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/compiler/binding.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/compiler/debug.rb +168 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb +146 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb +420 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/compiler/subcompiler.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/compiler.rb +104 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/lexer.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/lexer.rex +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/lexer.rex.rb +185 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/method_definer.rb +145 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/node.rb +264 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/parser.racc.rb +470 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/parser.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/parser.y +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/sets.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern/with_meta.rb +110 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/node_pattern.rb +126 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/processed_source.rb +314 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/rubocop_compatibility.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/sexp.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/token.rb +130 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/traversal.rb +182 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast/version.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop/ast.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-ast-1.29.0/lib/rubocop-ast.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/CHANGELOG.md +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/CODE_OF_CONDUCT.md +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/README.md +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/config/default.yml +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/rubocop/capybara/config_formatter.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/rubocop/capybara/description_extractor.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/rubocop/capybara/version.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/current_path_expectation.rb +148 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/match_style.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/mixin/capybara_help.rb +131 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/mixin/css_selector.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/negation_matcher.rb +104 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/specific_actions.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/specific_finders.rb +126 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/specific_matcher.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara/visibility_matcher.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/rubocop/cop/capybara_cops.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-capybara-2.18.0/lib/rubocop-capybara.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/CHANGELOG.md +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/CODE_OF_CONDUCT.md +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/README.md +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/config/default.yml +110 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/cop/factory_bot/association_style.rb +196 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/cop/factory_bot/attribute_defined_statically.rb +126 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/cop/factory_bot/consistent_parentheses_style.rb +129 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/cop/factory_bot/create_list.rb +343 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/cop/factory_bot/factory_association_with_strategy.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/cop/factory_bot/factory_class_name.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/cop/factory_bot/factory_name_style.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/cop/factory_bot/mixin/configurable_explicit_only.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/cop/factory_bot/redundant_factory_option.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/cop/factory_bot/syntax_methods.rb +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/cop/factory_bot_cops.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/factory_bot/config_formatter.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/factory_bot/description_extractor.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/factory_bot/factory_bot.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/factory_bot/language.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop/factory_bot/version.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-factory_bot-2.23.1/lib/rubocop-factory_bot.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/README.md +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/config/default.yml +1160 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/config/obsoletion.yml +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/mixin/active_record_helper.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/mixin/active_record_migrations_helper.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/mixin/class_send_node_helper.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/mixin/enforce_superclass.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/mixin/index_method.rb +165 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/mixin/migrations_helper.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/mixin/target_rails_version.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/action_controller_flash_before_render.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/action_controller_test_case.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/action_filter.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/action_order.rb +116 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/active_record_aliases.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/active_record_callbacks_order.rb +143 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/active_record_override.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/active_support_aliases.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/active_support_on_load.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/add_column_index.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/after_commit_override.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/application_controller.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/application_job.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/application_mailer.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/application_record.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/arel_star.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/assert_not.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/attribute_default_block_value.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/belongs_to.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/blank.rb +168 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/bulk_change_table.rb +294 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/compact_blank.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/content_tag.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/create_table_with_timestamps.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/date.rb +166 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/default_scope.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/delegate.rb +136 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/delegate_allow_blank.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/deprecated_active_model_errors_methods.rb +168 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/dot_separated_keys.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/duplicate_association.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/duplicate_scope.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/duration_arithmetic.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/dynamic_find_by.rb +136 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/eager_evaluation_log_message.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/enum_hash.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/enum_uniqueness.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/environment_comparison.rb +116 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/environment_variable_access.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/exit.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/expanded_date_range.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/file_path.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/find_by.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/find_by_id.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/find_each.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/freeze_time.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/has_and_belongs_to_many.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/has_many_or_has_one_dependent.rb +143 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/helper_instance_variable.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/http_positional_arguments.rb +146 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/http_status.rb +164 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/i18n_lazy_lookup.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/i18n_locale_assignment.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/i18n_locale_texts.rb +110 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/ignored_columns_assignment.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/ignored_skip_action_filter_option.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/index_by.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/index_with.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/inquiry.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/inverse_of.rb +252 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/lexically_scoped_action_filter.rb +205 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/link_to_blank.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/mailer_name.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/match_route.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/migration_class_name.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/negate_include.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/not_null_column.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/order_by_id.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/output.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/output_safety.rb +104 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/pick.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/pluck.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/pluck_id.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/pluck_in_where.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/pluralization_grammar.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/presence.rb +152 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/present.rb +156 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/rake_environment.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/read_write_attribute.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/redundant_allow_nil.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/redundant_foreign_key.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/redundant_presence_validation_on_belongs_to.rb +257 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/redundant_receiver_in_with_options.rb +138 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/redundant_travel_back.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/reflection_class_name.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/refute_methods.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/relative_date_constant.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/render_inline.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/render_plain_text.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/request_referer.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/require_dependency.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/response_parsed_body.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/reversible_migration.rb +326 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/reversible_migration_method_definition.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/root_join_chain.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/root_pathname_methods.rb +238 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/root_public_path.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/safe_navigation.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/safe_navigation_with_blank.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/save_bang.rb +342 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/schema_comment.rb +104 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/scope_args.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/short_i18n.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/skips_model_validations.rb +124 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/squished_sql_heredocs.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/strip_heredoc.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/table_name_assignment.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/three_state_boolean_column.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/time_zone.rb +254 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/time_zone_assignment.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/to_formatted_s.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/to_s_with_argument.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/top_level_hash_with_indifferent_access.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/transaction_exit_statement.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/uniq_before_pluck.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/unique_validation_without_index.rb +172 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/unknown_env.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/unused_ignored_columns.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/validation.rb +140 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/where_equals.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/where_exists.rb +138 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/where_missing.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/where_not.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails/where_not_with_multiple_conditions.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/cop/rails_cops.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/rails/inject.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/rails/schema_loader/schema.rb +191 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/rails/schema_loader.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/rails/version.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop/rails.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rails-2.19.1/lib/rubocop-rails.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/CHANGELOG.md +878 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/CODE_OF_CONDUCT.md +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/README.md +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/config/default.yml +1103 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/config/obsoletion.yml +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/align_left_let_brace.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/align_right_let_brace.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/any_instance.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/around_block.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/base.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/be.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/be_empty.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/be_eq.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/be_eql.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/be_nil.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/before_after_all.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/capybara/current_path_expectation.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/capybara/feature_methods.rb +104 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/capybara/match_style.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/capybara/negation_matcher.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/capybara/specific_actions.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/capybara/specific_finders.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/capybara/specific_matcher.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/capybara/visibility_matcher.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/change_by_zero.rb +158 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/class_check.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/contain_exactly.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/context_method.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/context_wording.rb +117 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/describe_class.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/describe_method.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/describe_symbol.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/described_class.rb +209 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/described_class_module_wrapping.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/dialect.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/duplicated_metadata.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/empty_example_group.rb +184 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/empty_hook.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/empty_line_after_example.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/empty_line_after_example_group.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/empty_line_after_final_let.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/empty_line_after_hook.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/empty_line_after_subject.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/example_length.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/example_without_description.rb +89 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/example_wording.rb +150 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/excessive_docstring_spacing.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/expect_actual.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/expect_change.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/expect_in_hook.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/expect_output.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/factory_bot/attribute_defined_statically.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/factory_bot/consistent_parentheses_style.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/factory_bot/create_list.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/factory_bot/factory_class_name.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/factory_bot/factory_name_style.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/factory_bot/syntax_methods.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/file_path.rb +173 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/focus.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/hook_argument.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/hooks_before_examples.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/identical_equality_assertion.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/implicit_block_expectation.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/implicit_expect.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/implicit_subject.rb +167 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/indexed_let.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/instance_spy.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/instance_variable.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/it_behaves_like.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/iterated_expectation.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/leading_subject.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/leaky_constant_declaration.rb +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/let_before_examples.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/let_setup.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/match_array.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/message_chain.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/message_expectation.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/message_spies.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/missing_example_group_argument.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/mixin/comments_help.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/mixin/empty_line_separation.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/mixin/final_end_location.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/mixin/inside_example_group.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/mixin/location_help.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/mixin/metadata.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/mixin/namespace.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/mixin/skip_or_pending.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/mixin/top_level_group.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/mixin/variable.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/multiple_describes.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/multiple_expectations.rb +144 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb +148 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/multiple_subjects.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/named_subject.rb +153 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/nested_groups.rb +162 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/no_expectation_example.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/not_to_not.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/overwriting_setup.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/pending.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/pending_without_reason.rb +159 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/predicate_matcher.rb +337 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/rails/avoid_setup_hook.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/rails/have_http_status.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/rails/http_status.rb +203 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/rails/inferred_spec_type.rb +145 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/rails/minitest_assertions.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/rails/travel_around.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/receive_counts.rb +89 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/receive_never.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/redundant_around.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/repeated_description.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/repeated_example.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/repeated_example_group_body.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/repeated_example_group_description.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/repeated_include_example.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/return_from_stub.rb +169 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/scattered_let.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/scattered_setup.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/shared_context.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/shared_examples.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/single_argument_message_chain.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/skip_block_inside_example.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/sort_metadata.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/stubbed_mock.rb +174 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/subject_declaration.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/subject_stub.rb +155 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/unspecified_exception.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/variable_definition.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/variable_name.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/verified_double_reference.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/verified_doubles.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/void_expect.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec/yield.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/cop/rspec_cops.rb +126 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/align_let_brace.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/concept.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/config_formatter.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/corrector/move_node.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/description_extractor.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/example.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/example_group.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/hook.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/inject.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/language/node_pattern.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/language.rb +217 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/node.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/shared_contexts/default_rspec_language_config_context.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/version.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec/wording.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop/rspec.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-rspec-2.22.0/lib/rubocop-rspec.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/README.md +131 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/Rakefile +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/base.rb +234 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/calculators/length.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/bar.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/percentage.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/rate.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/time.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/molecule.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/string.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/output.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/progress.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/time.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/timer.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/.yardopts +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/CHANGES.md +1026 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/LICENSE +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/README.md +406 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/annual_rules.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/country.rb +208 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/country_timezone.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_source.rb +446 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_sources/country_info.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_sources/data_timezone_info.rb +91 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_sources/linked_timezone_info.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_sources/posix_time_zone_parser.rb +177 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_sources/ruby_data_source.rb +141 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_sources/timezone_info.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_sources/transitions_data_timezone_info.rb +214 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_sources/zoneinfo_data_source.rb +592 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_sources/zoneinfo_reader.rb +482 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_sources.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/data_timezone.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/datetime_with_offset.rb +153 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/country_definer.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/country_index_definition.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definer.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_definition.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format1/timezone_index_definition.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format1.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format2/country_definer.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format2/country_index_definer.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format2/country_index_definition.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format2/timezone_definer.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format2/timezone_definition.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format2/timezone_index_definer.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format2/timezone_index_definition.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/format2.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/info_timezone.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/linked_timezone.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/offset_timezone_period.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/ruby_core_support.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/string_deduper.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/time_with_offset.rb +154 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/timestamp.rb +552 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/timestamp_with_offset.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/timezone.rb +1160 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/timezone_offset.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/timezone_period.rb +179 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/timezone_proxy.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/timezone_transition.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/transition_rule.rb +455 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/transitions_timezone_period.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/version.rb +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo/with_offset.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/tzinfo-2.0.6/lib/tzinfo.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.4.2/CHANGELOG.md +192 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.4.2/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.4.2/README.md +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.4.2/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.4.2/lib/unicode/display_width/constants.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.4.2/lib/unicode/display_width/index.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.4.2/lib/unicode/display_width/no_string_ext.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.4.2/lib/unicode/display_width/string_ext.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.4.2/lib/unicode/display_width.rb +123 -0
- data/vendor/bundle/ruby/3.2.0/specifications/activesupport-7.0.5.gemspec +30 -0
- data/vendor/bundle/ruby/3.2.0/specifications/ast-2.4.2.gemspec +30 -0
- data/vendor/bundle/ruby/3.2.0/specifications/byebug-11.1.3.gemspec +31 -0
- data/vendor/bundle/ruby/3.2.0/specifications/concurrent-ruby-1.2.2.gemspec +24 -0
- data/vendor/bundle/ruby/3.2.0/specifications/diff-lcs-1.5.0.gemspec +37 -0
- data/vendor/bundle/ruby/3.2.0/specifications/i18n-1.14.1.gemspec +26 -0
- data/vendor/bundle/ruby/3.2.0/specifications/minitest-5.18.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.2.0/specifications/parallel-1.23.0.gemspec +21 -0
- data/vendor/bundle/ruby/3.2.0/specifications/parser-3.2.2.3.gemspec +37 -0
- data/vendor/bundle/ruby/3.2.0/specifications/racc-1.7.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rack-3.0.7.gemspec +31 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rainbow-3.1.1.gemspec +25 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rake-13.0.6.gemspec +26 -0
- data/vendor/bundle/ruby/3.2.0/specifications/regexp_parser-2.8.1.gemspec +23 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rexml-3.2.5.gemspec +30 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rspec-3.12.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rspec-core-3.12.2.gemspec +39 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rspec-expectations-3.12.3.gemspec +33 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rspec-mocks-3.12.5.gemspec +33 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rspec-support-3.12.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rubocop-1.52.1.gemspec +38 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rubocop-ast-1.29.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rubocop-capybara-2.18.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rubocop-factory_bot-2.23.1.gemspec +27 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rubocop-rails-2.19.1.gemspec +30 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rubocop-rspec-2.22.0.gemspec +30 -0
- data/vendor/bundle/ruby/3.2.0/specifications/ruby-progressbar-1.13.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.2.0/specifications/tzinfo-2.0.6.gemspec +30 -0
- data/vendor/bundle/ruby/3.2.0/specifications/unicode-display_width-2.4.2.gemspec +29 -0
- metadata +2725 -9
- data/.github/workflows/changelog.yml +0 -29
- data/CHANGELOG.md +0 -146
@@ -0,0 +1,2599 @@
|
|
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 implementation note about namespaces:
|
11
|
+
# As we parse, when we find namespaces we put them in a hash and assign
|
12
|
+
# them a unique ID. We then convert the namespace prefix for the node
|
13
|
+
# to the unique ID. This makes namespace lookup much faster for the
|
14
|
+
# cost of extra memory use. We save the namespace prefix for the
|
15
|
+
# context node and convert it back when we write it.
|
16
|
+
@@namespaces = {}
|
17
|
+
|
18
|
+
# An \REXML::Element object represents an XML element.
|
19
|
+
#
|
20
|
+
# An element:
|
21
|
+
#
|
22
|
+
# - Has a name (string).
|
23
|
+
# - May have a parent (another element).
|
24
|
+
# - Has zero or more children
|
25
|
+
# (other elements, text, CDATA, processing instructions, and comments).
|
26
|
+
# - Has zero or more siblings
|
27
|
+
# (other elements, text, CDATA, processing instructions, and comments).
|
28
|
+
# - Has zero or more named attributes.
|
29
|
+
#
|
30
|
+
# == In a Hurry?
|
31
|
+
#
|
32
|
+
# If you're somewhat familiar with XML
|
33
|
+
# and have a particular task in mind,
|
34
|
+
# you may want to see the
|
35
|
+
# {tasks pages}[../doc/rexml/tasks/tocs/master_toc_rdoc.html],
|
36
|
+
# and in particular, the
|
37
|
+
# {tasks page for elements}[../doc/rexml/tasks/tocs/element_toc_rdoc.html].
|
38
|
+
#
|
39
|
+
# === Name
|
40
|
+
#
|
41
|
+
# An element has a name, which is initially set when the element is created:
|
42
|
+
#
|
43
|
+
# e = REXML::Element.new('foo')
|
44
|
+
# e.name # => "foo"
|
45
|
+
#
|
46
|
+
# The name may be changed:
|
47
|
+
#
|
48
|
+
# e.name = 'bar'
|
49
|
+
# e.name # => "bar"
|
50
|
+
#
|
51
|
+
#
|
52
|
+
# === \Parent
|
53
|
+
#
|
54
|
+
# An element may have a parent.
|
55
|
+
#
|
56
|
+
# Its parent may be assigned explicitly when the element is created:
|
57
|
+
#
|
58
|
+
# e0 = REXML::Element.new('foo')
|
59
|
+
# e1 = REXML::Element.new('bar', e0)
|
60
|
+
# e1.parent # => <foo> ... </>
|
61
|
+
#
|
62
|
+
# Note: the representation of an element always shows the element's name.
|
63
|
+
# If the element has children, the representation indicates that
|
64
|
+
# by including an ellipsis (<tt>...</tt>).
|
65
|
+
#
|
66
|
+
# The parent may be assigned explicitly at any time:
|
67
|
+
#
|
68
|
+
# e2 = REXML::Element.new('baz')
|
69
|
+
# e1.parent = e2
|
70
|
+
# e1.parent # => <baz/>
|
71
|
+
#
|
72
|
+
# When an element is added as a child, its parent is set automatically:
|
73
|
+
#
|
74
|
+
# e1.add_element(e0)
|
75
|
+
# e0.parent # => <bar> ... </>
|
76
|
+
#
|
77
|
+
# For an element that has no parent, method +parent+ returns +nil+.
|
78
|
+
#
|
79
|
+
# === Children
|
80
|
+
#
|
81
|
+
# An element has zero or more children.
|
82
|
+
# The children are an ordered collection
|
83
|
+
# of all objects whose parent is the element itself.
|
84
|
+
#
|
85
|
+
# The children may include any combination of elements, text, comments,
|
86
|
+
# processing instructions, and CDATA.
|
87
|
+
# (This example keeps things clean by controlling whitespace
|
88
|
+
# via a +context+ setting.)
|
89
|
+
#
|
90
|
+
# xml_string = <<-EOT
|
91
|
+
# <root>
|
92
|
+
# <ele_0/>
|
93
|
+
# text 0
|
94
|
+
# <!--comment 0-->
|
95
|
+
# <?target_0 pi_0?>
|
96
|
+
# <![CDATA[cdata 0]]>
|
97
|
+
# <ele_1/>
|
98
|
+
# text 1
|
99
|
+
# <!--comment 1-->
|
100
|
+
# <?target_0 pi_1?>
|
101
|
+
# <![CDATA[cdata 1]]>
|
102
|
+
# </root>
|
103
|
+
# EOT
|
104
|
+
# context = {ignore_whitespace_nodes: :all, compress_whitespace: :all}
|
105
|
+
# d = REXML::Document.new(xml_string, context)
|
106
|
+
# root = d.root
|
107
|
+
# root.children.size # => 10
|
108
|
+
# root.each {|child| p "#{child.class}: #{child}" }
|
109
|
+
#
|
110
|
+
# Output:
|
111
|
+
#
|
112
|
+
# "REXML::Element: <ele_0/>"
|
113
|
+
# "REXML::Text: \n text 0\n "
|
114
|
+
# "REXML::Comment: comment 0"
|
115
|
+
# "REXML::Instruction: <?target_0 pi_0?>"
|
116
|
+
# "REXML::CData: cdata 0"
|
117
|
+
# "REXML::Element: <ele_1/>"
|
118
|
+
# "REXML::Text: \n text 1\n "
|
119
|
+
# "REXML::Comment: comment 1"
|
120
|
+
# "REXML::Instruction: <?target_0 pi_1?>"
|
121
|
+
# "REXML::CData: cdata 1"
|
122
|
+
#
|
123
|
+
# A child may be added using inherited methods
|
124
|
+
# Parent#insert_before or Parent#insert_after:
|
125
|
+
#
|
126
|
+
# xml_string = '<root><a/><c/><d/></root>'
|
127
|
+
# d = REXML::Document.new(xml_string)
|
128
|
+
# root = d.root
|
129
|
+
# c = d.root[1] # => <c/>
|
130
|
+
# root.insert_before(c, REXML::Element.new('b'))
|
131
|
+
# root.to_a # => [<a/>, <b/>, <c/>, <d/>]
|
132
|
+
#
|
133
|
+
# A child may be replaced using Parent#replace_child:
|
134
|
+
#
|
135
|
+
# root.replace_child(c, REXML::Element.new('x'))
|
136
|
+
# root.to_a # => [<a/>, <b/>, <x/>, <d/>]
|
137
|
+
#
|
138
|
+
# A child may be removed using Parent#delete:
|
139
|
+
#
|
140
|
+
# x = root[2] # => <x/>
|
141
|
+
# root.delete(x)
|
142
|
+
# root.to_a # => [<a/>, <b/>, <d/>]
|
143
|
+
#
|
144
|
+
# === Siblings
|
145
|
+
#
|
146
|
+
# An element has zero or more siblings,
|
147
|
+
# which are the other children of the element's parent.
|
148
|
+
#
|
149
|
+
# In the example above, element +ele_1+ is between a CDATA sibling
|
150
|
+
# and a text sibling:
|
151
|
+
#
|
152
|
+
# ele_1 = root[5] # => <ele_1/>
|
153
|
+
# ele_1.previous_sibling # => "cdata 0"
|
154
|
+
# ele_1.next_sibling # => "\n text 1\n "
|
155
|
+
#
|
156
|
+
# === \Attributes
|
157
|
+
#
|
158
|
+
# An element has zero or more named attributes.
|
159
|
+
#
|
160
|
+
# A new element has no attributes:
|
161
|
+
#
|
162
|
+
# e = REXML::Element.new('foo')
|
163
|
+
# e.attributes # => {}
|
164
|
+
#
|
165
|
+
# Attributes may be added:
|
166
|
+
#
|
167
|
+
# e.add_attribute('bar', 'baz')
|
168
|
+
# e.add_attribute('bat', 'bam')
|
169
|
+
# e.attributes.size # => 2
|
170
|
+
# e['bar'] # => "baz"
|
171
|
+
# e['bat'] # => "bam"
|
172
|
+
#
|
173
|
+
# An existing attribute may be modified:
|
174
|
+
#
|
175
|
+
# e.add_attribute('bar', 'bad')
|
176
|
+
# e.attributes.size # => 2
|
177
|
+
# e['bar'] # => "bad"
|
178
|
+
#
|
179
|
+
# An existing attribute may be deleted:
|
180
|
+
#
|
181
|
+
# e.delete_attribute('bar')
|
182
|
+
# e.attributes.size # => 1
|
183
|
+
# e['bar'] # => nil
|
184
|
+
#
|
185
|
+
# == What's Here
|
186
|
+
#
|
187
|
+
# To begin with, what's elsewhere?
|
188
|
+
#
|
189
|
+
# \Class \REXML::Element inherits from its ancestor classes:
|
190
|
+
#
|
191
|
+
# - REXML::Child
|
192
|
+
# - REXML::Parent
|
193
|
+
#
|
194
|
+
# \REXML::Element itself and its ancestors also include modules:
|
195
|
+
#
|
196
|
+
# - {Enumerable}[https://docs.ruby-lang.org/en/master/Enumerable.html]
|
197
|
+
# - REXML::Namespace
|
198
|
+
# - REXML::Node
|
199
|
+
# - REXML::XMLTokens
|
200
|
+
#
|
201
|
+
# === Methods for Creating an \Element
|
202
|
+
#
|
203
|
+
# ::new:: Returns a new empty element.
|
204
|
+
# #clone:: Returns a clone of another element.
|
205
|
+
#
|
206
|
+
# === Methods for Attributes
|
207
|
+
#
|
208
|
+
# {[attribute_name]}[#method-i-5B-5D]:: Returns an attribute value.
|
209
|
+
# #add_attribute:: Adds a new attribute.
|
210
|
+
# #add_attributes:: Adds multiple new attributes.
|
211
|
+
# #attribute:: Returns the attribute value for a given name and optional namespace.
|
212
|
+
# #delete_attribute:: Removes an attribute.
|
213
|
+
#
|
214
|
+
# === Methods for Children
|
215
|
+
#
|
216
|
+
# {[index]}[#method-i-5B-5D]:: Returns the child at the given offset.
|
217
|
+
# #add_element:: Adds an element as the last child.
|
218
|
+
# #delete_element:: Deletes a child element.
|
219
|
+
# #each_element:: Calls the given block with each child element.
|
220
|
+
# #each_element_with_attribute:: Calls the given block with each child element
|
221
|
+
# that meets given criteria,
|
222
|
+
# which can include the attribute name.
|
223
|
+
# #each_element_with_text:: Calls the given block with each child element
|
224
|
+
# that meets given criteria,
|
225
|
+
# which can include text.
|
226
|
+
# #get_elements:: Returns an array of element children that match a given xpath.
|
227
|
+
#
|
228
|
+
# === Methods for \Text Children
|
229
|
+
#
|
230
|
+
# #add_text:: Adds a text node to the element.
|
231
|
+
# #get_text:: Returns a text node that meets specified criteria.
|
232
|
+
# #text:: Returns the text string from the first node that meets specified criteria.
|
233
|
+
# #texts:: Returns an array of the text children of the element.
|
234
|
+
# #text=:: Adds, removes, or replaces the first text child of the element
|
235
|
+
#
|
236
|
+
# === Methods for Other Children
|
237
|
+
#
|
238
|
+
# #cdatas:: Returns an array of the cdata children of the element.
|
239
|
+
# #comments:: Returns an array of the comment children of the element.
|
240
|
+
# #instructions:: Returns an array of the instruction children of the element.
|
241
|
+
#
|
242
|
+
# === Methods for Namespaces
|
243
|
+
#
|
244
|
+
# #add_namespace:: Adds a namespace to the element.
|
245
|
+
# #delete_namespace:: Removes a namespace from the element.
|
246
|
+
# #namespace:: Returns the string namespace URI for the element.
|
247
|
+
# #namespaces:: Returns a hash of all defined namespaces in the element.
|
248
|
+
# #prefixes:: Returns an array of the string prefixes (names)
|
249
|
+
# of all defined namespaces in the element
|
250
|
+
#
|
251
|
+
# === Methods for Querying
|
252
|
+
#
|
253
|
+
# #document:: Returns the document, if any, that the element belongs to.
|
254
|
+
# #root:: Returns the most distant element (not document) ancestor of the element.
|
255
|
+
# #root_node:: Returns the most distant ancestor of the element.
|
256
|
+
# #xpath:: Returns the string xpath to the element
|
257
|
+
# relative to the most distant parent
|
258
|
+
# #has_attributes?:: Returns whether the element has attributes.
|
259
|
+
# #has_elements?:: Returns whether the element has elements.
|
260
|
+
# #has_text?:: Returns whether the element has text.
|
261
|
+
# #next_element:: Returns the next sibling that is an element.
|
262
|
+
# #previous_element:: Returns the previous sibling that is an element.
|
263
|
+
# #raw:: Returns whether raw mode is set for the element.
|
264
|
+
# #whitespace:: Returns whether whitespace is respected for the element.
|
265
|
+
# #ignore_whitespace_nodes:: Returns whether whitespace nodes
|
266
|
+
# are to be ignored for the element.
|
267
|
+
# #node_type:: Returns symbol <tt>:element</tt>.
|
268
|
+
#
|
269
|
+
# === One More Method
|
270
|
+
#
|
271
|
+
# #inspect:: Returns a string representation of the element.
|
272
|
+
#
|
273
|
+
# === Accessors
|
274
|
+
#
|
275
|
+
# #elements:: Returns the REXML::Elements object for the element.
|
276
|
+
# #attributes:: Returns the REXML::Attributes object for the element.
|
277
|
+
# #context:: Returns or sets the context hash for the element.
|
278
|
+
#
|
279
|
+
class Element < Parent
|
280
|
+
include Namespace
|
281
|
+
|
282
|
+
UNDEFINED = "UNDEFINED"; # The default name
|
283
|
+
|
284
|
+
# Mechanisms for accessing attributes and child elements of this
|
285
|
+
# element.
|
286
|
+
attr_reader :attributes, :elements
|
287
|
+
# The context holds information about the processing environment, such as
|
288
|
+
# whitespace handling.
|
289
|
+
attr_accessor :context
|
290
|
+
|
291
|
+
# :call-seq:
|
292
|
+
# Element.new(name = 'UNDEFINED', parent = nil, context = nil) -> new_element
|
293
|
+
# Element.new(element, parent = nil, context = nil) -> new_element
|
294
|
+
#
|
295
|
+
# Returns a new \REXML::Element object.
|
296
|
+
#
|
297
|
+
# When no arguments are given,
|
298
|
+
# returns an element with name <tt>'UNDEFINED'</tt>:
|
299
|
+
#
|
300
|
+
# e = REXML::Element.new # => <UNDEFINED/>
|
301
|
+
# e.class # => REXML::Element
|
302
|
+
# e.name # => "UNDEFINED"
|
303
|
+
#
|
304
|
+
# When only argument +name+ is given,
|
305
|
+
# returns an element of the given name:
|
306
|
+
#
|
307
|
+
# REXML::Element.new('foo') # => <foo/>
|
308
|
+
#
|
309
|
+
# When only argument +element+ is given, it must be an \REXML::Element object;
|
310
|
+
# returns a shallow copy of the given element:
|
311
|
+
#
|
312
|
+
# e0 = REXML::Element.new('foo')
|
313
|
+
# e1 = REXML::Element.new(e0) # => <foo/>
|
314
|
+
#
|
315
|
+
# When argument +parent+ is also given, it must be an REXML::Parent object:
|
316
|
+
#
|
317
|
+
# e = REXML::Element.new('foo', REXML::Parent.new)
|
318
|
+
# e.parent # => #<REXML::Parent @parent=nil, @children=[<foo/>]>
|
319
|
+
#
|
320
|
+
# When argument +context+ is also given, it must be a hash
|
321
|
+
# representing the context for the element;
|
322
|
+
# see {Element Context}[../doc/rexml/context_rdoc.html]:
|
323
|
+
#
|
324
|
+
# e = REXML::Element.new('foo', nil, {raw: :all})
|
325
|
+
# e.context # => {:raw=>:all}
|
326
|
+
#
|
327
|
+
def initialize( arg = UNDEFINED, parent=nil, context=nil )
|
328
|
+
super(parent)
|
329
|
+
|
330
|
+
@elements = Elements.new(self)
|
331
|
+
@attributes = Attributes.new(self)
|
332
|
+
@context = context
|
333
|
+
|
334
|
+
if arg.kind_of? String
|
335
|
+
self.name = arg
|
336
|
+
elsif arg.kind_of? Element
|
337
|
+
self.name = arg.expanded_name
|
338
|
+
arg.attributes.each_attribute{ |attribute|
|
339
|
+
@attributes << Attribute.new( attribute )
|
340
|
+
}
|
341
|
+
@context = arg.context
|
342
|
+
end
|
343
|
+
end
|
344
|
+
|
345
|
+
# :call-seq:
|
346
|
+
# inspect -> string
|
347
|
+
#
|
348
|
+
# Returns a string representation of the element.
|
349
|
+
#
|
350
|
+
# For an element with no attributes and no children, shows the element name:
|
351
|
+
#
|
352
|
+
# REXML::Element.new.inspect # => "<UNDEFINED/>"
|
353
|
+
#
|
354
|
+
# Shows attributes, if any:
|
355
|
+
#
|
356
|
+
# e = REXML::Element.new('foo')
|
357
|
+
# e.add_attributes({'bar' => 0, 'baz' => 1})
|
358
|
+
# e.inspect # => "<foo bar='0' baz='1'/>"
|
359
|
+
#
|
360
|
+
# Shows an ellipsis (<tt>...</tt>), if there are child elements:
|
361
|
+
#
|
362
|
+
# e.add_element(REXML::Element.new('bar'))
|
363
|
+
# e.add_element(REXML::Element.new('baz'))
|
364
|
+
# e.inspect # => "<foo bar='0' baz='1'> ... </>"
|
365
|
+
#
|
366
|
+
def inspect
|
367
|
+
rv = "<#@expanded_name"
|
368
|
+
|
369
|
+
@attributes.each_attribute do |attr|
|
370
|
+
rv << " "
|
371
|
+
attr.write( rv, 0 )
|
372
|
+
end
|
373
|
+
|
374
|
+
if children.size > 0
|
375
|
+
rv << "> ... </>"
|
376
|
+
else
|
377
|
+
rv << "/>"
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# :call-seq:
|
382
|
+
# clone -> new_element
|
383
|
+
#
|
384
|
+
# Returns a shallow copy of the element, containing the name and attributes,
|
385
|
+
# but not the parent or children:
|
386
|
+
#
|
387
|
+
# e = REXML::Element.new('foo')
|
388
|
+
# e.add_attributes({'bar' => 0, 'baz' => 1})
|
389
|
+
# e.clone # => <foo bar='0' baz='1'/>
|
390
|
+
#
|
391
|
+
def clone
|
392
|
+
self.class.new self
|
393
|
+
end
|
394
|
+
|
395
|
+
# :call-seq:
|
396
|
+
# root_node -> document or element
|
397
|
+
#
|
398
|
+
# Returns the most distant ancestor of +self+.
|
399
|
+
#
|
400
|
+
# When the element is part of a document,
|
401
|
+
# returns the root node of the document.
|
402
|
+
# Note that the root node is different from the document element;
|
403
|
+
# in this example +a+ is document element and the root node is its parent:
|
404
|
+
#
|
405
|
+
# d = REXML::Document.new('<a><b><c/></b></a>')
|
406
|
+
# top_element = d.first # => <a> ... </>
|
407
|
+
# child = top_element.first # => <b> ... </>
|
408
|
+
# d.root_node == d # => true
|
409
|
+
# top_element.root_node == d # => true
|
410
|
+
# child.root_node == d # => true
|
411
|
+
#
|
412
|
+
# When the element is not part of a document, but does have ancestor elements,
|
413
|
+
# returns the most distant ancestor element:
|
414
|
+
#
|
415
|
+
# e0 = REXML::Element.new('foo')
|
416
|
+
# e1 = REXML::Element.new('bar')
|
417
|
+
# e1.parent = e0
|
418
|
+
# e2 = REXML::Element.new('baz')
|
419
|
+
# e2.parent = e1
|
420
|
+
# e2.root_node == e0 # => true
|
421
|
+
#
|
422
|
+
# When the element has no ancestor elements,
|
423
|
+
# returns +self+:
|
424
|
+
#
|
425
|
+
# e = REXML::Element.new('foo')
|
426
|
+
# e.root_node == e # => true
|
427
|
+
#
|
428
|
+
# Related: #root, #document.
|
429
|
+
#
|
430
|
+
def root_node
|
431
|
+
parent.nil? ? self : parent.root_node
|
432
|
+
end
|
433
|
+
|
434
|
+
# :call-seq:
|
435
|
+
# root -> element
|
436
|
+
#
|
437
|
+
# Returns the most distant _element_ (not document) ancestor of the element:
|
438
|
+
#
|
439
|
+
# d = REXML::Document.new('<a><b><c/></b></a>')
|
440
|
+
# top_element = d.first
|
441
|
+
# child = top_element.first
|
442
|
+
# top_element.root == top_element # => true
|
443
|
+
# child.root == top_element # => true
|
444
|
+
#
|
445
|
+
# For a document, returns the topmost element:
|
446
|
+
#
|
447
|
+
# d.root == top_element # => true
|
448
|
+
#
|
449
|
+
# Related: #root_node, #document.
|
450
|
+
#
|
451
|
+
def root
|
452
|
+
return elements[1] if self.kind_of? Document
|
453
|
+
return self if parent.kind_of? Document or parent.nil?
|
454
|
+
return parent.root
|
455
|
+
end
|
456
|
+
|
457
|
+
# :call-seq:
|
458
|
+
# document -> document or nil
|
459
|
+
#
|
460
|
+
# If the element is part of a document, returns that document:
|
461
|
+
#
|
462
|
+
# d = REXML::Document.new('<a><b><c/></b></a>')
|
463
|
+
# top_element = d.first
|
464
|
+
# child = top_element.first
|
465
|
+
# top_element.document == d # => true
|
466
|
+
# child.document == d # => true
|
467
|
+
#
|
468
|
+
# If the element is not part of a document, returns +nil+:
|
469
|
+
#
|
470
|
+
# REXML::Element.new.document # => nil
|
471
|
+
#
|
472
|
+
# For a document, returns +self+:
|
473
|
+
#
|
474
|
+
# d.document == d # => true
|
475
|
+
#
|
476
|
+
# Related: #root, #root_node.
|
477
|
+
#
|
478
|
+
def document
|
479
|
+
rt = root
|
480
|
+
rt.parent if rt
|
481
|
+
end
|
482
|
+
|
483
|
+
# :call-seq:
|
484
|
+
# whitespace
|
485
|
+
#
|
486
|
+
# Returns +true+ if whitespace is respected for this element,
|
487
|
+
# +false+ otherwise.
|
488
|
+
#
|
489
|
+
# See {Element Context}[../doc/rexml/context_rdoc.html].
|
490
|
+
#
|
491
|
+
# The evaluation is tested against the element's +expanded_name+,
|
492
|
+
# and so is namespace-sensitive.
|
493
|
+
def whitespace
|
494
|
+
@whitespace = nil
|
495
|
+
if @context
|
496
|
+
if @context[:respect_whitespace]
|
497
|
+
@whitespace = (@context[:respect_whitespace] == :all or
|
498
|
+
@context[:respect_whitespace].include? expanded_name)
|
499
|
+
end
|
500
|
+
@whitespace = false if (@context[:compress_whitespace] and
|
501
|
+
(@context[:compress_whitespace] == :all or
|
502
|
+
@context[:compress_whitespace].include? expanded_name)
|
503
|
+
)
|
504
|
+
end
|
505
|
+
@whitespace = true unless @whitespace == false
|
506
|
+
@whitespace
|
507
|
+
end
|
508
|
+
|
509
|
+
# :call-seq:
|
510
|
+
# ignore_whitespace_nodes
|
511
|
+
#
|
512
|
+
# Returns +true+ if whitespace nodes are ignored for the element.
|
513
|
+
#
|
514
|
+
# See {Element Context}[../doc/rexml/context_rdoc.html].
|
515
|
+
#
|
516
|
+
def ignore_whitespace_nodes
|
517
|
+
@ignore_whitespace_nodes = false
|
518
|
+
if @context
|
519
|
+
if @context[:ignore_whitespace_nodes]
|
520
|
+
@ignore_whitespace_nodes =
|
521
|
+
(@context[:ignore_whitespace_nodes] == :all or
|
522
|
+
@context[:ignore_whitespace_nodes].include? expanded_name)
|
523
|
+
end
|
524
|
+
end
|
525
|
+
end
|
526
|
+
|
527
|
+
# :call-seq:
|
528
|
+
# raw
|
529
|
+
#
|
530
|
+
# Returns +true+ if raw mode is set for the element.
|
531
|
+
#
|
532
|
+
# See {Element Context}[../doc/rexml/context_rdoc.html].
|
533
|
+
#
|
534
|
+
# The evaluation is tested against +expanded_name+, and so is namespace
|
535
|
+
# sensitive.
|
536
|
+
def raw
|
537
|
+
@raw = (@context and @context[:raw] and
|
538
|
+
(@context[:raw] == :all or
|
539
|
+
@context[:raw].include? expanded_name))
|
540
|
+
@raw
|
541
|
+
end
|
542
|
+
|
543
|
+
#once :whitespace, :raw, :ignore_whitespace_nodes
|
544
|
+
|
545
|
+
#################################################
|
546
|
+
# Namespaces #
|
547
|
+
#################################################
|
548
|
+
|
549
|
+
# :call-seq:
|
550
|
+
# prefixes -> array_of_namespace_prefixes
|
551
|
+
#
|
552
|
+
# Returns an array of the string prefixes (names) of all defined namespaces
|
553
|
+
# in the element and its ancestors:
|
554
|
+
#
|
555
|
+
# xml_string = <<-EOT
|
556
|
+
# <root>
|
557
|
+
# <a xmlns:x='1' xmlns:y='2'>
|
558
|
+
# <b/>
|
559
|
+
# <c xmlns:z='3'/>
|
560
|
+
# </a>
|
561
|
+
# </root>
|
562
|
+
# EOT
|
563
|
+
# d = REXML::Document.new(xml_string, {compress_whitespace: :all})
|
564
|
+
# d.elements['//a'].prefixes # => ["x", "y"]
|
565
|
+
# d.elements['//b'].prefixes # => ["x", "y"]
|
566
|
+
# d.elements['//c'].prefixes # => ["x", "y", "z"]
|
567
|
+
#
|
568
|
+
def prefixes
|
569
|
+
prefixes = []
|
570
|
+
prefixes = parent.prefixes if parent
|
571
|
+
prefixes |= attributes.prefixes
|
572
|
+
return prefixes
|
573
|
+
end
|
574
|
+
|
575
|
+
# :call-seq:
|
576
|
+
# namespaces -> array_of_namespace_names
|
577
|
+
#
|
578
|
+
# Returns a hash of all defined namespaces
|
579
|
+
# in the element and its ancestors:
|
580
|
+
#
|
581
|
+
# xml_string = <<-EOT
|
582
|
+
# <root>
|
583
|
+
# <a xmlns:x='1' xmlns:y='2'>
|
584
|
+
# <b/>
|
585
|
+
# <c xmlns:z='3'/>
|
586
|
+
# </a>
|
587
|
+
# </root>
|
588
|
+
# EOT
|
589
|
+
# d = REXML::Document.new(xml_string)
|
590
|
+
# d.elements['//a'].namespaces # => {"x"=>"1", "y"=>"2"}
|
591
|
+
# d.elements['//b'].namespaces # => {"x"=>"1", "y"=>"2"}
|
592
|
+
# d.elements['//c'].namespaces # => {"x"=>"1", "y"=>"2", "z"=>"3"}
|
593
|
+
#
|
594
|
+
def namespaces
|
595
|
+
namespaces = {}
|
596
|
+
namespaces = parent.namespaces if parent
|
597
|
+
namespaces = namespaces.merge( attributes.namespaces )
|
598
|
+
return namespaces
|
599
|
+
end
|
600
|
+
|
601
|
+
# :call-seq:
|
602
|
+
# namespace(prefix = nil) -> string_uri or nil
|
603
|
+
#
|
604
|
+
# Returns the string namespace URI for the element,
|
605
|
+
# possibly deriving from one of its ancestors.
|
606
|
+
#
|
607
|
+
# xml_string = <<-EOT
|
608
|
+
# <root>
|
609
|
+
# <a xmlns='1' xmlns:y='2'>
|
610
|
+
# <b/>
|
611
|
+
# <c xmlns:z='3'/>
|
612
|
+
# </a>
|
613
|
+
# </root>
|
614
|
+
# EOT
|
615
|
+
# d = REXML::Document.new(xml_string)
|
616
|
+
# b = d.elements['//b']
|
617
|
+
# b.namespace # => "1"
|
618
|
+
# b.namespace('y') # => "2"
|
619
|
+
# b.namespace('nosuch') # => nil
|
620
|
+
#
|
621
|
+
def namespace(prefix=nil)
|
622
|
+
if prefix.nil?
|
623
|
+
prefix = prefix()
|
624
|
+
end
|
625
|
+
if prefix == ''
|
626
|
+
prefix = "xmlns"
|
627
|
+
else
|
628
|
+
prefix = "xmlns:#{prefix}" unless prefix[0,5] == 'xmlns'
|
629
|
+
end
|
630
|
+
ns = attributes[ prefix ]
|
631
|
+
ns = parent.namespace(prefix) if ns.nil? and parent
|
632
|
+
ns = '' if ns.nil? and prefix == 'xmlns'
|
633
|
+
return ns
|
634
|
+
end
|
635
|
+
|
636
|
+
# :call-seq:
|
637
|
+
# add_namespace(prefix, uri = nil) -> self
|
638
|
+
#
|
639
|
+
# Adds a namespace to the element; returns +self+.
|
640
|
+
#
|
641
|
+
# With the single argument +prefix+,
|
642
|
+
# adds a namespace using the given +prefix+ and the namespace URI:
|
643
|
+
#
|
644
|
+
# e = REXML::Element.new('foo')
|
645
|
+
# e.add_namespace('bar')
|
646
|
+
# e.namespaces # => {"xmlns"=>"bar"}
|
647
|
+
#
|
648
|
+
# With both arguments +prefix+ and +uri+ given,
|
649
|
+
# adds a namespace using both arguments:
|
650
|
+
#
|
651
|
+
# e.add_namespace('baz', 'bat')
|
652
|
+
# e.namespaces # => {"xmlns"=>"bar", "baz"=>"bat"}
|
653
|
+
#
|
654
|
+
def add_namespace( prefix, uri=nil )
|
655
|
+
unless uri
|
656
|
+
@attributes["xmlns"] = prefix
|
657
|
+
else
|
658
|
+
prefix = "xmlns:#{prefix}" unless prefix =~ /^xmlns:/
|
659
|
+
@attributes[ prefix ] = uri
|
660
|
+
end
|
661
|
+
self
|
662
|
+
end
|
663
|
+
|
664
|
+
# :call-seq:
|
665
|
+
# delete_namespace(namespace = 'xmlns') -> self
|
666
|
+
#
|
667
|
+
# Removes a namespace from the element.
|
668
|
+
#
|
669
|
+
# With no argument, removes the default namespace:
|
670
|
+
#
|
671
|
+
# d = REXML::Document.new "<a xmlns:foo='bar' xmlns='twiddle'/>"
|
672
|
+
# d.to_s # => "<a xmlns:foo='bar' xmlns='twiddle'/>"
|
673
|
+
# d.root.delete_namespace # => <a xmlns:foo='bar'/>
|
674
|
+
# d.to_s # => "<a xmlns:foo='bar'/>"
|
675
|
+
#
|
676
|
+
# With argument +namespace+, removes the specified namespace:
|
677
|
+
#
|
678
|
+
# d.root.delete_namespace('foo')
|
679
|
+
# d.to_s # => "<a/>"
|
680
|
+
#
|
681
|
+
# Does nothing if no such namespace is found:
|
682
|
+
#
|
683
|
+
# d.root.delete_namespace('nosuch')
|
684
|
+
# d.to_s # => "<a/>"
|
685
|
+
#
|
686
|
+
def delete_namespace namespace="xmlns"
|
687
|
+
namespace = "xmlns:#{namespace}" unless namespace == 'xmlns'
|
688
|
+
attribute = attributes.get_attribute(namespace)
|
689
|
+
attribute.remove unless attribute.nil?
|
690
|
+
self
|
691
|
+
end
|
692
|
+
|
693
|
+
#################################################
|
694
|
+
# Elements #
|
695
|
+
#################################################
|
696
|
+
|
697
|
+
# :call-seq:
|
698
|
+
# add_element(name, attributes = nil) -> new_element
|
699
|
+
# add_element(element, attributes = nil) -> element
|
700
|
+
#
|
701
|
+
# Adds a child element, optionally setting attributes
|
702
|
+
# on the added element; returns the added element.
|
703
|
+
#
|
704
|
+
# With string argument +name+, creates a new element with that name
|
705
|
+
# and adds the new element as a child:
|
706
|
+
#
|
707
|
+
# e0 = REXML::Element.new('foo')
|
708
|
+
# e0.add_element('bar')
|
709
|
+
# e0[0] # => <bar/>
|
710
|
+
#
|
711
|
+
#
|
712
|
+
# With argument +name+ and hash argument +attributes+,
|
713
|
+
# sets attributes on the new element:
|
714
|
+
#
|
715
|
+
# e0.add_element('baz', {'bat' => '0', 'bam' => '1'})
|
716
|
+
# e0[1] # => <baz bat='0' bam='1'/>
|
717
|
+
#
|
718
|
+
# With element argument +element+, adds that element as a child:
|
719
|
+
#
|
720
|
+
# e0 = REXML::Element.new('foo')
|
721
|
+
# e1 = REXML::Element.new('bar')
|
722
|
+
# e0.add_element(e1)
|
723
|
+
# e0[0] # => <bar/>
|
724
|
+
#
|
725
|
+
# With argument +element+ and hash argument +attributes+,
|
726
|
+
# sets attributes on the added element:
|
727
|
+
#
|
728
|
+
# e0.add_element(e1, {'bat' => '0', 'bam' => '1'})
|
729
|
+
# e0[1] # => <bar bat='0' bam='1'/>
|
730
|
+
#
|
731
|
+
def add_element element, attrs=nil
|
732
|
+
raise "First argument must be either an element name, or an Element object" if element.nil?
|
733
|
+
el = @elements.add(element)
|
734
|
+
attrs.each do |key, value|
|
735
|
+
el.attributes[key]=value
|
736
|
+
end if attrs.kind_of? Hash
|
737
|
+
el
|
738
|
+
end
|
739
|
+
|
740
|
+
# :call-seq:
|
741
|
+
# delete_element(index) -> removed_element or nil
|
742
|
+
# delete_element(element) -> removed_element or nil
|
743
|
+
# delete_element(xpath) -> removed_element or nil
|
744
|
+
#
|
745
|
+
# Deletes a child element.
|
746
|
+
#
|
747
|
+
# When 1-based integer argument +index+ is given,
|
748
|
+
# removes and returns the child element at that offset if it exists;
|
749
|
+
# indexing does not include text nodes;
|
750
|
+
# returns +nil+ if the element does not exist:
|
751
|
+
#
|
752
|
+
# d = REXML::Document.new '<a><b/>text<c/></a>'
|
753
|
+
# a = d.root # => <a> ... </>
|
754
|
+
# a.delete_element(1) # => <b/>
|
755
|
+
# a.delete_element(1) # => <c/>
|
756
|
+
# a.delete_element(1) # => nil
|
757
|
+
#
|
758
|
+
# When element argument +element+ is given,
|
759
|
+
# removes and returns that child element if it exists,
|
760
|
+
# otherwise returns +nil+:
|
761
|
+
#
|
762
|
+
# d = REXML::Document.new '<a><b/>text<c/></a>'
|
763
|
+
# a = d.root # => <a> ... </>
|
764
|
+
# c = a[2] # => <c/>
|
765
|
+
# a.delete_element(c) # => <c/>
|
766
|
+
# a.delete_element(c) # => nil
|
767
|
+
#
|
768
|
+
# When xpath argument +xpath+ is given,
|
769
|
+
# removes and returns the element at xpath if it exists,
|
770
|
+
# otherwise returns +nil+:
|
771
|
+
#
|
772
|
+
# d = REXML::Document.new '<a><b/>text<c/></a>'
|
773
|
+
# a = d.root # => <a> ... </>
|
774
|
+
# a.delete_element('//c') # => <c/>
|
775
|
+
# a.delete_element('//c') # => nil
|
776
|
+
#
|
777
|
+
def delete_element element
|
778
|
+
@elements.delete element
|
779
|
+
end
|
780
|
+
|
781
|
+
# :call-seq:
|
782
|
+
# has_elements?
|
783
|
+
#
|
784
|
+
# Returns +true+ if the element has one or more element children,
|
785
|
+
# +false+ otherwise:
|
786
|
+
#
|
787
|
+
# d = REXML::Document.new '<a><b/>text<c/></a>'
|
788
|
+
# a = d.root # => <a> ... </>
|
789
|
+
# a.has_elements? # => true
|
790
|
+
# b = a[0] # => <b/>
|
791
|
+
# b.has_elements? # => false
|
792
|
+
#
|
793
|
+
def has_elements?
|
794
|
+
!@elements.empty?
|
795
|
+
end
|
796
|
+
|
797
|
+
# :call-seq:
|
798
|
+
# each_element_with_attribute(attr_name, value = nil, max = 0, xpath = nil) {|e| ... }
|
799
|
+
#
|
800
|
+
# Calls the given block with each child element that meets given criteria.
|
801
|
+
#
|
802
|
+
# When only string argument +attr_name+ is given,
|
803
|
+
# calls the block with each child element that has that attribute:
|
804
|
+
#
|
805
|
+
# d = REXML::Document.new '<a><b id="1"/><c id="2"/><d id="1"/><e/></a>'
|
806
|
+
# a = d.root
|
807
|
+
# a.each_element_with_attribute('id') {|e| p e }
|
808
|
+
#
|
809
|
+
# Output:
|
810
|
+
#
|
811
|
+
# <b id='1'/>
|
812
|
+
# <c id='2'/>
|
813
|
+
# <d id='1'/>
|
814
|
+
#
|
815
|
+
# With argument +attr_name+ and string argument +value+ given,
|
816
|
+
# calls the block with each child element that has that attribute
|
817
|
+
# with that value:
|
818
|
+
#
|
819
|
+
# a.each_element_with_attribute('id', '1') {|e| p e }
|
820
|
+
#
|
821
|
+
# Output:
|
822
|
+
#
|
823
|
+
# <b id='1'/>
|
824
|
+
# <d id='1'/>
|
825
|
+
#
|
826
|
+
# With arguments +attr_name+, +value+, and integer argument +max+ given,
|
827
|
+
# calls the block with at most +max+ child elements:
|
828
|
+
#
|
829
|
+
# a.each_element_with_attribute('id', '1', 1) {|e| p e }
|
830
|
+
#
|
831
|
+
# Output:
|
832
|
+
#
|
833
|
+
# <b id='1'/>
|
834
|
+
#
|
835
|
+
# With all arguments given, including +xpath+,
|
836
|
+
# calls the block with only those child elements
|
837
|
+
# that meet the first three criteria,
|
838
|
+
# and also match the given +xpath+:
|
839
|
+
#
|
840
|
+
# a.each_element_with_attribute('id', '1', 2, '//d') {|e| p e }
|
841
|
+
#
|
842
|
+
# Output:
|
843
|
+
#
|
844
|
+
# <d id='1'/>
|
845
|
+
#
|
846
|
+
def each_element_with_attribute( key, value=nil, max=0, name=nil, &block ) # :yields: Element
|
847
|
+
each_with_something( proc {|child|
|
848
|
+
if value.nil?
|
849
|
+
child.attributes[key] != nil
|
850
|
+
else
|
851
|
+
child.attributes[key]==value
|
852
|
+
end
|
853
|
+
}, max, name, &block )
|
854
|
+
end
|
855
|
+
|
856
|
+
# :call-seq:
|
857
|
+
# each_element_with_text(text = nil, max = 0, xpath = nil) {|e| ... }
|
858
|
+
#
|
859
|
+
# Calls the given block with each child element that meets given criteria.
|
860
|
+
#
|
861
|
+
# With no arguments, calls the block with each child element that has text:
|
862
|
+
#
|
863
|
+
# d = REXML::Document.new '<a><b>b</b><c>b</c><d>d</d><e/></a>'
|
864
|
+
# a = d.root
|
865
|
+
# a.each_element_with_text {|e| p e }
|
866
|
+
#
|
867
|
+
# Output:
|
868
|
+
#
|
869
|
+
# <b> ... </>
|
870
|
+
# <c> ... </>
|
871
|
+
# <d> ... </>
|
872
|
+
#
|
873
|
+
# With the single string argument +text+,
|
874
|
+
# calls the block with each element that has exactly that text:
|
875
|
+
#
|
876
|
+
# a.each_element_with_text('b') {|e| p e }
|
877
|
+
#
|
878
|
+
# Output:
|
879
|
+
#
|
880
|
+
# <b> ... </>
|
881
|
+
# <c> ... </>
|
882
|
+
#
|
883
|
+
# With argument +text+ and integer argument +max+,
|
884
|
+
# calls the block with at most +max+ elements:
|
885
|
+
#
|
886
|
+
# a.each_element_with_text('b', 1) {|e| p e }
|
887
|
+
#
|
888
|
+
# Output:
|
889
|
+
#
|
890
|
+
# <b> ... </>
|
891
|
+
#
|
892
|
+
# With all arguments given, including +xpath+,
|
893
|
+
# calls the block with only those child elements
|
894
|
+
# that meet the first two criteria,
|
895
|
+
# and also match the given +xpath+:
|
896
|
+
#
|
897
|
+
# a.each_element_with_text('b', 2, '//c') {|e| p e }
|
898
|
+
#
|
899
|
+
# Output:
|
900
|
+
#
|
901
|
+
# <c> ... </>
|
902
|
+
#
|
903
|
+
def each_element_with_text( text=nil, max=0, name=nil, &block ) # :yields: Element
|
904
|
+
each_with_something( proc {|child|
|
905
|
+
if text.nil?
|
906
|
+
child.has_text?
|
907
|
+
else
|
908
|
+
child.text == text
|
909
|
+
end
|
910
|
+
}, max, name, &block )
|
911
|
+
end
|
912
|
+
|
913
|
+
# :call-seq:
|
914
|
+
# each_element {|e| ... }
|
915
|
+
#
|
916
|
+
# Calls the given block with each child element:
|
917
|
+
#
|
918
|
+
# d = REXML::Document.new '<a><b>b</b><c>b</c><d>d</d><e/></a>'
|
919
|
+
# a = d.root
|
920
|
+
# a.each_element {|e| p e }
|
921
|
+
#
|
922
|
+
# Output:
|
923
|
+
#
|
924
|
+
# <b> ... </>
|
925
|
+
# <c> ... </>
|
926
|
+
# <d> ... </>
|
927
|
+
# <e/>
|
928
|
+
#
|
929
|
+
def each_element( xpath=nil, &block ) # :yields: Element
|
930
|
+
@elements.each( xpath, &block )
|
931
|
+
end
|
932
|
+
|
933
|
+
# :call-seq:
|
934
|
+
# get_elements(xpath)
|
935
|
+
#
|
936
|
+
# Returns an array of the elements that match the given +xpath+:
|
937
|
+
#
|
938
|
+
# xml_string = <<-EOT
|
939
|
+
# <root>
|
940
|
+
# <a level='1'>
|
941
|
+
# <a level='2'/>
|
942
|
+
# </a>
|
943
|
+
# </root>
|
944
|
+
# EOT
|
945
|
+
# d = REXML::Document.new(xml_string)
|
946
|
+
# d.root.get_elements('//a') # => [<a level='1'> ... </>, <a level='2'/>]
|
947
|
+
#
|
948
|
+
def get_elements( xpath )
|
949
|
+
@elements.to_a( xpath )
|
950
|
+
end
|
951
|
+
|
952
|
+
# :call-seq:
|
953
|
+
# next_element
|
954
|
+
#
|
955
|
+
# Returns the next sibling that is an element if it exists,
|
956
|
+
# +niL+ otherwise:
|
957
|
+
#
|
958
|
+
# d = REXML::Document.new '<a><b/>text<c/></a>'
|
959
|
+
# d.root.elements['b'].next_element #-> <c/>
|
960
|
+
# d.root.elements['c'].next_element #-> nil
|
961
|
+
#
|
962
|
+
def next_element
|
963
|
+
element = next_sibling
|
964
|
+
element = element.next_sibling until element.nil? or element.kind_of? Element
|
965
|
+
return element
|
966
|
+
end
|
967
|
+
|
968
|
+
# :call-seq:
|
969
|
+
# previous_element
|
970
|
+
#
|
971
|
+
# Returns the previous sibling that is an element if it exists,
|
972
|
+
# +niL+ otherwise:
|
973
|
+
#
|
974
|
+
# d = REXML::Document.new '<a><b/>text<c/></a>'
|
975
|
+
# d.root.elements['c'].previous_element #-> <b/>
|
976
|
+
# d.root.elements['b'].previous_element #-> nil
|
977
|
+
#
|
978
|
+
def previous_element
|
979
|
+
element = previous_sibling
|
980
|
+
element = element.previous_sibling until element.nil? or element.kind_of? Element
|
981
|
+
return element
|
982
|
+
end
|
983
|
+
|
984
|
+
|
985
|
+
#################################################
|
986
|
+
# Text #
|
987
|
+
#################################################
|
988
|
+
|
989
|
+
# :call-seq:
|
990
|
+
# has_text? -> true or false
|
991
|
+
#
|
992
|
+
# Returns +true if the element has one or more text noded,
|
993
|
+
# +false+ otherwise:
|
994
|
+
#
|
995
|
+
# d = REXML::Document.new '<a><b/>text<c/></a>'
|
996
|
+
# a = d.root
|
997
|
+
# a.has_text? # => true
|
998
|
+
# b = a[0]
|
999
|
+
# b.has_text? # => false
|
1000
|
+
#
|
1001
|
+
def has_text?
|
1002
|
+
not text().nil?
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
# :call-seq:
|
1006
|
+
# text(xpath = nil) -> text_string or nil
|
1007
|
+
#
|
1008
|
+
# Returns the text string from the first text node child
|
1009
|
+
# in a specified element, if it exists, # +nil+ otherwise.
|
1010
|
+
#
|
1011
|
+
# With no argument, returns the text from the first text node in +self+:
|
1012
|
+
#
|
1013
|
+
# d = REXML::Document.new "<p>some text <b>this is bold!</b> more text</p>"
|
1014
|
+
# d.root.text.class # => String
|
1015
|
+
# d.root.text # => "some text "
|
1016
|
+
#
|
1017
|
+
# With argument +xpath+, returns text from the the first text node
|
1018
|
+
# in the element that matches +xpath+:
|
1019
|
+
#
|
1020
|
+
# d.root.text(1) # => "this is bold!"
|
1021
|
+
#
|
1022
|
+
# Note that an element may have multiple text nodes,
|
1023
|
+
# possibly separated by other non-text children, as above.
|
1024
|
+
# Even so, the returned value is the string text from the first such node.
|
1025
|
+
#
|
1026
|
+
# Note also that the text note is retrieved by method get_text,
|
1027
|
+
# and so is always normalized text.
|
1028
|
+
#
|
1029
|
+
def text( path = nil )
|
1030
|
+
rv = get_text(path)
|
1031
|
+
return rv.value unless rv.nil?
|
1032
|
+
nil
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
# :call-seq:
|
1036
|
+
# get_text(xpath = nil) -> text_node or nil
|
1037
|
+
#
|
1038
|
+
# Returns the first text node child in a specified element, if it exists,
|
1039
|
+
# +nil+ otherwise.
|
1040
|
+
#
|
1041
|
+
# With no argument, returns the first text node from +self+:
|
1042
|
+
#
|
1043
|
+
# d = REXML::Document.new "<p>some text <b>this is bold!</b> more text</p>"
|
1044
|
+
# d.root.get_text.class # => REXML::Text
|
1045
|
+
# d.root.get_text # => "some text "
|
1046
|
+
#
|
1047
|
+
# With argument +xpath+, returns the first text node from the element
|
1048
|
+
# that matches +xpath+:
|
1049
|
+
#
|
1050
|
+
# d.root.get_text(1) # => "this is bold!"
|
1051
|
+
#
|
1052
|
+
def get_text path = nil
|
1053
|
+
rv = nil
|
1054
|
+
if path
|
1055
|
+
element = @elements[ path ]
|
1056
|
+
rv = element.get_text unless element.nil?
|
1057
|
+
else
|
1058
|
+
rv = @children.find { |node| node.kind_of? Text }
|
1059
|
+
end
|
1060
|
+
return rv
|
1061
|
+
end
|
1062
|
+
|
1063
|
+
# :call-seq:
|
1064
|
+
# text = string -> string
|
1065
|
+
# text = nil -> nil
|
1066
|
+
#
|
1067
|
+
# Adds, replaces, or removes the first text node child in the element.
|
1068
|
+
#
|
1069
|
+
# With string argument +string+,
|
1070
|
+
# creates a new \REXML::Text node containing that string,
|
1071
|
+
# honoring the current settings for whitespace and row,
|
1072
|
+
# then places the node as the first text child in the element;
|
1073
|
+
# returns +string+.
|
1074
|
+
#
|
1075
|
+
# If the element has no text child, the text node is added:
|
1076
|
+
#
|
1077
|
+
# d = REXML::Document.new '<a><b/></a>'
|
1078
|
+
# d.root.text = 'foo' #-> '<a><b/>foo</a>'
|
1079
|
+
#
|
1080
|
+
# If the element has a text child, it is replaced:
|
1081
|
+
#
|
1082
|
+
# d.root.text = 'bar' #-> '<a><b/>bar</a>'
|
1083
|
+
#
|
1084
|
+
# With argument +nil+, removes the first text child:
|
1085
|
+
#
|
1086
|
+
# d.root.text = nil #-> '<a><b/><c/></a>'
|
1087
|
+
#
|
1088
|
+
def text=( text )
|
1089
|
+
if text.kind_of? String
|
1090
|
+
text = Text.new( text, whitespace(), nil, raw() )
|
1091
|
+
elsif !text.nil? and !text.kind_of? Text
|
1092
|
+
text = Text.new( text.to_s, whitespace(), nil, raw() )
|
1093
|
+
end
|
1094
|
+
old_text = get_text
|
1095
|
+
if text.nil?
|
1096
|
+
old_text.remove unless old_text.nil?
|
1097
|
+
else
|
1098
|
+
if old_text.nil?
|
1099
|
+
self << text
|
1100
|
+
else
|
1101
|
+
old_text.replace_with( text )
|
1102
|
+
end
|
1103
|
+
end
|
1104
|
+
return self
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
# :call-seq:
|
1108
|
+
# add_text(string) -> nil
|
1109
|
+
# add_text(text_node) -> self
|
1110
|
+
#
|
1111
|
+
# Adds text to the element.
|
1112
|
+
#
|
1113
|
+
# When string argument +string+ is given, returns +nil+.
|
1114
|
+
#
|
1115
|
+
# If the element has no child text node,
|
1116
|
+
# creates a \REXML::Text object using the string,
|
1117
|
+
# honoring the current settings for whitespace and raw,
|
1118
|
+
# then adds that node to the element:
|
1119
|
+
#
|
1120
|
+
# d = REXML::Document.new('<a><b/></a>')
|
1121
|
+
# a = d.root
|
1122
|
+
# a.add_text('foo')
|
1123
|
+
# a.to_a # => [<b/>, "foo"]
|
1124
|
+
#
|
1125
|
+
# If the element has child text nodes,
|
1126
|
+
# appends the string to the _last_ text node:
|
1127
|
+
#
|
1128
|
+
# d = REXML::Document.new('<a>foo<b/>bar</a>')
|
1129
|
+
# a = d.root
|
1130
|
+
# a.add_text('baz')
|
1131
|
+
# a.to_a # => ["foo", <b/>, "barbaz"]
|
1132
|
+
# a.add_text('baz')
|
1133
|
+
# a.to_a # => ["foo", <b/>, "barbazbaz"]
|
1134
|
+
#
|
1135
|
+
# When text node argument +text_node+ is given,
|
1136
|
+
# appends the node as the last text node in the element;
|
1137
|
+
# returns +self+:
|
1138
|
+
#
|
1139
|
+
# d = REXML::Document.new('<a>foo<b/>bar</a>')
|
1140
|
+
# a = d.root
|
1141
|
+
# a.add_text(REXML::Text.new('baz'))
|
1142
|
+
# a.to_a # => ["foo", <b/>, "bar", "baz"]
|
1143
|
+
# a.add_text(REXML::Text.new('baz'))
|
1144
|
+
# a.to_a # => ["foo", <b/>, "bar", "baz", "baz"]
|
1145
|
+
#
|
1146
|
+
def add_text( text )
|
1147
|
+
if text.kind_of? String
|
1148
|
+
if @children[-1].kind_of? Text
|
1149
|
+
@children[-1] << text
|
1150
|
+
return
|
1151
|
+
end
|
1152
|
+
text = Text.new( text, whitespace(), nil, raw() )
|
1153
|
+
end
|
1154
|
+
self << text unless text.nil?
|
1155
|
+
return self
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
# :call-seq:
|
1159
|
+
# node_type -> :element
|
1160
|
+
#
|
1161
|
+
# Returns symbol <tt>:element</tt>:
|
1162
|
+
#
|
1163
|
+
# d = REXML::Document.new('<a/>')
|
1164
|
+
# a = d.root # => <a/>
|
1165
|
+
# a.node_type # => :element
|
1166
|
+
#
|
1167
|
+
def node_type
|
1168
|
+
:element
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
# :call-seq:
|
1172
|
+
# xpath -> string_xpath
|
1173
|
+
#
|
1174
|
+
# Returns the string xpath to the element
|
1175
|
+
# relative to the most distant parent:
|
1176
|
+
#
|
1177
|
+
# d = REXML::Document.new('<a><b><c/></b></a>')
|
1178
|
+
# a = d.root # => <a> ... </>
|
1179
|
+
# b = a[0] # => <b> ... </>
|
1180
|
+
# c = b[0] # => <c/>
|
1181
|
+
# d.xpath # => ""
|
1182
|
+
# a.xpath # => "/a"
|
1183
|
+
# b.xpath # => "/a/b"
|
1184
|
+
# c.xpath # => "/a/b/c"
|
1185
|
+
#
|
1186
|
+
# If there is no parent, returns the expanded name of the element:
|
1187
|
+
#
|
1188
|
+
# e = REXML::Element.new('foo')
|
1189
|
+
# e.xpath # => "foo"
|
1190
|
+
#
|
1191
|
+
def xpath
|
1192
|
+
path_elements = []
|
1193
|
+
cur = self
|
1194
|
+
path_elements << __to_xpath_helper( self )
|
1195
|
+
while cur.parent
|
1196
|
+
cur = cur.parent
|
1197
|
+
path_elements << __to_xpath_helper( cur )
|
1198
|
+
end
|
1199
|
+
return path_elements.reverse.join( "/" )
|
1200
|
+
end
|
1201
|
+
|
1202
|
+
#################################################
|
1203
|
+
# Attributes #
|
1204
|
+
#################################################
|
1205
|
+
|
1206
|
+
# :call-seq:
|
1207
|
+
# [index] -> object
|
1208
|
+
# [attr_name] -> attr_value
|
1209
|
+
# [attr_sym] -> attr_value
|
1210
|
+
#
|
1211
|
+
# With integer argument +index+ given,
|
1212
|
+
# returns the child at offset +index+, or +nil+ if none:
|
1213
|
+
#
|
1214
|
+
# d = REXML::Document.new '><root><a/>text<b/>more<c/></root>'
|
1215
|
+
# root = d.root
|
1216
|
+
# (0..root.size).each do |index|
|
1217
|
+
# node = root[index]
|
1218
|
+
# p "#{index}: #{node} (#{node.class})"
|
1219
|
+
# end
|
1220
|
+
#
|
1221
|
+
# Output:
|
1222
|
+
#
|
1223
|
+
# "0: <a/> (REXML::Element)"
|
1224
|
+
# "1: text (REXML::Text)"
|
1225
|
+
# "2: <b/> (REXML::Element)"
|
1226
|
+
# "3: more (REXML::Text)"
|
1227
|
+
# "4: <c/> (REXML::Element)"
|
1228
|
+
# "5: (NilClass)"
|
1229
|
+
#
|
1230
|
+
# With string argument +attr_name+ given,
|
1231
|
+
# returns the string value for the given attribute name if it exists,
|
1232
|
+
# otherwise +nil+:
|
1233
|
+
#
|
1234
|
+
# d = REXML::Document.new('<root attr="value"></root>')
|
1235
|
+
# root = d.root
|
1236
|
+
# root['attr'] # => "value"
|
1237
|
+
# root['nosuch'] # => nil
|
1238
|
+
#
|
1239
|
+
# With symbol argument +attr_sym+ given,
|
1240
|
+
# returns <tt>[attr_sym.to_s]</tt>:
|
1241
|
+
#
|
1242
|
+
# root[:attr] # => "value"
|
1243
|
+
# root[:nosuch] # => nil
|
1244
|
+
#
|
1245
|
+
def [](name_or_index)
|
1246
|
+
case name_or_index
|
1247
|
+
when String
|
1248
|
+
attributes[name_or_index]
|
1249
|
+
when Symbol
|
1250
|
+
attributes[name_or_index.to_s]
|
1251
|
+
else
|
1252
|
+
super
|
1253
|
+
end
|
1254
|
+
end
|
1255
|
+
|
1256
|
+
|
1257
|
+
# :call-seq:
|
1258
|
+
# attribute(name, namespace = nil)
|
1259
|
+
#
|
1260
|
+
# Returns the string value for the given attribute name.
|
1261
|
+
#
|
1262
|
+
# With only argument +name+ given,
|
1263
|
+
# returns the value of the named attribute if it exists, otherwise +nil+:
|
1264
|
+
#
|
1265
|
+
# xml_string = <<-EOT
|
1266
|
+
# <root xmlns="ns0">
|
1267
|
+
# <a xmlns="ns1" attr="value"></a>
|
1268
|
+
# <b xmlns="ns2" attr="value"></b>
|
1269
|
+
# <c attr="value"/>
|
1270
|
+
# </root>
|
1271
|
+
# EOT
|
1272
|
+
# d = REXML::Document.new(xml_string)
|
1273
|
+
# root = d.root
|
1274
|
+
# a = root[1] # => <a xmlns='ns1' attr='value'/>
|
1275
|
+
# a.attribute('attr') # => attr='value'
|
1276
|
+
# a.attribute('nope') # => nil
|
1277
|
+
#
|
1278
|
+
# With arguments +name+ and +namespace+ given,
|
1279
|
+
# returns the value of the named attribute if it exists, otherwise +nil+:
|
1280
|
+
#
|
1281
|
+
# xml_string = "<root xmlns:a='a' a:x='a:x' x='x'/>"
|
1282
|
+
# document = REXML::Document.new(xml_string)
|
1283
|
+
# document.root.attribute("x") # => x='x'
|
1284
|
+
# document.root.attribute("x", "a") # => a:x='a:x'
|
1285
|
+
#
|
1286
|
+
def attribute( name, namespace=nil )
|
1287
|
+
prefix = nil
|
1288
|
+
if namespaces.respond_to? :key
|
1289
|
+
prefix = namespaces.key(namespace) if namespace
|
1290
|
+
else
|
1291
|
+
prefix = namespaces.index(namespace) if namespace
|
1292
|
+
end
|
1293
|
+
prefix = nil if prefix == 'xmlns'
|
1294
|
+
|
1295
|
+
ret_val =
|
1296
|
+
attributes.get_attribute( "#{prefix ? prefix + ':' : ''}#{name}" )
|
1297
|
+
|
1298
|
+
return ret_val unless ret_val.nil?
|
1299
|
+
return nil if prefix.nil?
|
1300
|
+
|
1301
|
+
# now check that prefix'es namespace is not the same as the
|
1302
|
+
# default namespace
|
1303
|
+
return nil unless ( namespaces[ prefix ] == namespaces[ 'xmlns' ] )
|
1304
|
+
|
1305
|
+
attributes.get_attribute( name )
|
1306
|
+
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
# :call-seq:
|
1310
|
+
# has_attributes? -> true or false
|
1311
|
+
#
|
1312
|
+
# Returns +true+ if the element has attributes, +false+ otherwise:
|
1313
|
+
#
|
1314
|
+
# d = REXML::Document.new('<root><a attr="val"/><b/></root>')
|
1315
|
+
# a, b = *d.root
|
1316
|
+
# a.has_attributes? # => true
|
1317
|
+
# b.has_attributes? # => false
|
1318
|
+
#
|
1319
|
+
def has_attributes?
|
1320
|
+
return !@attributes.empty?
|
1321
|
+
end
|
1322
|
+
|
1323
|
+
# :call-seq:
|
1324
|
+
# add_attribute(name, value) -> value
|
1325
|
+
# add_attribute(attribute) -> attribute
|
1326
|
+
#
|
1327
|
+
# Adds an attribute to this element, overwriting any existing attribute
|
1328
|
+
# by the same name.
|
1329
|
+
#
|
1330
|
+
# With string argument +name+ and object +value+ are given,
|
1331
|
+
# adds the attribute created with that name and value:
|
1332
|
+
#
|
1333
|
+
# e = REXML::Element.new
|
1334
|
+
# e.add_attribute('attr', 'value') # => "value"
|
1335
|
+
# e['attr'] # => "value"
|
1336
|
+
# e.add_attribute('attr', 'VALUE') # => "VALUE"
|
1337
|
+
# e['attr'] # => "VALUE"
|
1338
|
+
#
|
1339
|
+
# With only attribute object +attribute+ given,
|
1340
|
+
# adds the given attribute:
|
1341
|
+
#
|
1342
|
+
# a = REXML::Attribute.new('attr', 'value')
|
1343
|
+
# e.add_attribute(a) # => attr='value'
|
1344
|
+
# e['attr'] # => "value"
|
1345
|
+
# a = REXML::Attribute.new('attr', 'VALUE')
|
1346
|
+
# e.add_attribute(a) # => attr='VALUE'
|
1347
|
+
# e['attr'] # => "VALUE"
|
1348
|
+
#
|
1349
|
+
def add_attribute( key, value=nil )
|
1350
|
+
if key.kind_of? Attribute
|
1351
|
+
@attributes << key
|
1352
|
+
else
|
1353
|
+
@attributes[key] = value
|
1354
|
+
end
|
1355
|
+
end
|
1356
|
+
|
1357
|
+
# :call-seq:
|
1358
|
+
# add_attributes(hash) -> hash
|
1359
|
+
# add_attributes(array)
|
1360
|
+
#
|
1361
|
+
# Adds zero or more attributes to the element;
|
1362
|
+
# returns the argument.
|
1363
|
+
#
|
1364
|
+
# If hash argument +hash+ is given,
|
1365
|
+
# each key must be a string;
|
1366
|
+
# adds each attribute created with the key/value pair:
|
1367
|
+
#
|
1368
|
+
# e = REXML::Element.new
|
1369
|
+
# h = {'foo' => 'bar', 'baz' => 'bat'}
|
1370
|
+
# e.add_attributes(h)
|
1371
|
+
#
|
1372
|
+
# If argument +array+ is given,
|
1373
|
+
# each array member must be a 2-element array <tt>[name, value];
|
1374
|
+
# each name must be a string:
|
1375
|
+
#
|
1376
|
+
# e = REXML::Element.new
|
1377
|
+
# a = [['foo' => 'bar'], ['baz' => 'bat']]
|
1378
|
+
# e.add_attributes(a)
|
1379
|
+
#
|
1380
|
+
def add_attributes hash
|
1381
|
+
if hash.kind_of? Hash
|
1382
|
+
hash.each_pair {|key, value| @attributes[key] = value }
|
1383
|
+
elsif hash.kind_of? Array
|
1384
|
+
hash.each { |value| @attributes[ value[0] ] = value[1] }
|
1385
|
+
end
|
1386
|
+
end
|
1387
|
+
|
1388
|
+
# :call-seq:
|
1389
|
+
# delete_attribute(name) -> removed_attribute or nil
|
1390
|
+
#
|
1391
|
+
# Removes a named attribute if it exists;
|
1392
|
+
# returns the removed attribute if found, otherwise +nil+:
|
1393
|
+
#
|
1394
|
+
# e = REXML::Element.new('foo')
|
1395
|
+
# e.add_attribute('bar', 'baz')
|
1396
|
+
# e.delete_attribute('bar') # => <bar/>
|
1397
|
+
# e.delete_attribute('bar') # => nil
|
1398
|
+
#
|
1399
|
+
def delete_attribute(key)
|
1400
|
+
attr = @attributes.get_attribute(key)
|
1401
|
+
attr.remove unless attr.nil?
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
#################################################
|
1405
|
+
# Other Utilities #
|
1406
|
+
#################################################
|
1407
|
+
|
1408
|
+
# :call-seq:
|
1409
|
+
# cdatas -> array_of_cdata_children
|
1410
|
+
#
|
1411
|
+
# Returns a frozen array of the REXML::CData children of the element:
|
1412
|
+
#
|
1413
|
+
# xml_string = <<-EOT
|
1414
|
+
# <root>
|
1415
|
+
# <![CDATA[foo]]>
|
1416
|
+
# <![CDATA[bar]]>
|
1417
|
+
# </root>
|
1418
|
+
# EOT
|
1419
|
+
# d = REXML::Document.new(xml_string)
|
1420
|
+
# cds = d.root.cdatas # => ["foo", "bar"]
|
1421
|
+
# cds.frozen? # => true
|
1422
|
+
# cds.map {|cd| cd.class } # => [REXML::CData, REXML::CData]
|
1423
|
+
#
|
1424
|
+
def cdatas
|
1425
|
+
find_all { |child| child.kind_of? CData }.freeze
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
# :call-seq:
|
1429
|
+
# comments -> array_of_comment_children
|
1430
|
+
#
|
1431
|
+
# Returns a frozen array of the REXML::Comment children of the element:
|
1432
|
+
#
|
1433
|
+
# xml_string = <<-EOT
|
1434
|
+
# <root>
|
1435
|
+
# <!--foo-->
|
1436
|
+
# <!--bar-->
|
1437
|
+
# </root>
|
1438
|
+
# EOT
|
1439
|
+
# d = REXML::Document.new(xml_string)
|
1440
|
+
# cs = d.root.comments
|
1441
|
+
# cs.frozen? # => true
|
1442
|
+
# cs.map {|c| c.class } # => [REXML::Comment, REXML::Comment]
|
1443
|
+
# cs.map {|c| c.to_s } # => ["foo", "bar"]
|
1444
|
+
#
|
1445
|
+
def comments
|
1446
|
+
find_all { |child| child.kind_of? Comment }.freeze
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
# :call-seq:
|
1450
|
+
# instructions -> array_of_instruction_children
|
1451
|
+
#
|
1452
|
+
# Returns a frozen array of the REXML::Instruction children of the element:
|
1453
|
+
#
|
1454
|
+
# xml_string = <<-EOT
|
1455
|
+
# <root>
|
1456
|
+
# <?target0 foo?>
|
1457
|
+
# <?target1 bar?>
|
1458
|
+
# </root>
|
1459
|
+
# EOT
|
1460
|
+
# d = REXML::Document.new(xml_string)
|
1461
|
+
# is = d.root.instructions
|
1462
|
+
# is.frozen? # => true
|
1463
|
+
# is.map {|i| i.class } # => [REXML::Instruction, REXML::Instruction]
|
1464
|
+
# is.map {|i| i.to_s } # => ["<?target0 foo?>", "<?target1 bar?>"]
|
1465
|
+
#
|
1466
|
+
def instructions
|
1467
|
+
find_all { |child| child.kind_of? Instruction }.freeze
|
1468
|
+
end
|
1469
|
+
|
1470
|
+
# :call-seq:
|
1471
|
+
# texts -> array_of_text_children
|
1472
|
+
#
|
1473
|
+
# Returns a frozen array of the REXML::Text children of the element:
|
1474
|
+
#
|
1475
|
+
# xml_string = '<root><a/>text<b/>more<c/></root>'
|
1476
|
+
# d = REXML::Document.new(xml_string)
|
1477
|
+
# ts = d.root.texts
|
1478
|
+
# ts.frozen? # => true
|
1479
|
+
# ts.map {|t| t.class } # => [REXML::Text, REXML::Text]
|
1480
|
+
# ts.map {|t| t.to_s } # => ["text", "more"]
|
1481
|
+
#
|
1482
|
+
def texts
|
1483
|
+
find_all { |child| child.kind_of? Text }.freeze
|
1484
|
+
end
|
1485
|
+
|
1486
|
+
# == DEPRECATED
|
1487
|
+
# See REXML::Formatters
|
1488
|
+
#
|
1489
|
+
# Writes out this element, and recursively, all children.
|
1490
|
+
# output::
|
1491
|
+
# output an object which supports '<< string'; this is where the
|
1492
|
+
# document will be written.
|
1493
|
+
# indent::
|
1494
|
+
# An integer. If -1, no indenting will be used; otherwise, the
|
1495
|
+
# indentation will be this number of spaces, and children will be
|
1496
|
+
# indented an additional amount. Defaults to -1
|
1497
|
+
# transitive::
|
1498
|
+
# If transitive is true and indent is >= 0, then the output will be
|
1499
|
+
# pretty-printed in such a way that the added whitespace does not affect
|
1500
|
+
# the parse tree of the document
|
1501
|
+
# ie_hack::
|
1502
|
+
# This hack inserts a space before the /> on empty tags to address
|
1503
|
+
# a limitation of Internet Explorer. Defaults to false
|
1504
|
+
#
|
1505
|
+
# out = ''
|
1506
|
+
# doc.write( out ) #-> doc is written to the string 'out'
|
1507
|
+
# doc.write( $stdout ) #-> doc written to the console
|
1508
|
+
def write(output=$stdout, indent=-1, transitive=false, ie_hack=false)
|
1509
|
+
Kernel.warn("#{self.class.name}.write is deprecated. See REXML::Formatters", uplevel: 1)
|
1510
|
+
formatter = if indent > -1
|
1511
|
+
if transitive
|
1512
|
+
require_relative "formatters/transitive"
|
1513
|
+
REXML::Formatters::Transitive.new( indent, ie_hack )
|
1514
|
+
else
|
1515
|
+
REXML::Formatters::Pretty.new( indent, ie_hack )
|
1516
|
+
end
|
1517
|
+
else
|
1518
|
+
REXML::Formatters::Default.new( ie_hack )
|
1519
|
+
end
|
1520
|
+
formatter.write( self, output )
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
|
1524
|
+
private
|
1525
|
+
def __to_xpath_helper node
|
1526
|
+
rv = node.expanded_name.clone
|
1527
|
+
if node.parent
|
1528
|
+
results = node.parent.find_all {|n|
|
1529
|
+
n.kind_of?(REXML::Element) and n.expanded_name == node.expanded_name
|
1530
|
+
}
|
1531
|
+
if results.length > 1
|
1532
|
+
idx = results.index( node )
|
1533
|
+
rv << "[#{idx+1}]"
|
1534
|
+
end
|
1535
|
+
end
|
1536
|
+
rv
|
1537
|
+
end
|
1538
|
+
|
1539
|
+
# A private helper method
|
1540
|
+
def each_with_something( test, max=0, name=nil )
|
1541
|
+
num = 0
|
1542
|
+
@elements.each( name ){ |child|
|
1543
|
+
yield child if test.call(child) and num += 1
|
1544
|
+
return if max>0 and num == max
|
1545
|
+
}
|
1546
|
+
end
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
########################################################################
|
1550
|
+
# ELEMENTS #
|
1551
|
+
########################################################################
|
1552
|
+
|
1553
|
+
# A class which provides filtering of children for Elements, and
|
1554
|
+
# XPath search support. You are expected to only encounter this class as
|
1555
|
+
# the <tt>element.elements</tt> object. Therefore, you are
|
1556
|
+
# _not_ expected to instantiate this yourself.
|
1557
|
+
#
|
1558
|
+
# xml_string = <<-EOT
|
1559
|
+
# <?xml version="1.0" encoding="UTF-8"?>
|
1560
|
+
# <bookstore>
|
1561
|
+
# <book category="cooking">
|
1562
|
+
# <title lang="en">Everyday Italian</title>
|
1563
|
+
# <author>Giada De Laurentiis</author>
|
1564
|
+
# <year>2005</year>
|
1565
|
+
# <price>30.00</price>
|
1566
|
+
# </book>
|
1567
|
+
# <book category="children">
|
1568
|
+
# <title lang="en">Harry Potter</title>
|
1569
|
+
# <author>J K. Rowling</author>
|
1570
|
+
# <year>2005</year>
|
1571
|
+
# <price>29.99</price>
|
1572
|
+
# </book>
|
1573
|
+
# <book category="web">
|
1574
|
+
# <title lang="en">XQuery Kick Start</title>
|
1575
|
+
# <author>James McGovern</author>
|
1576
|
+
# <author>Per Bothner</author>
|
1577
|
+
# <author>Kurt Cagle</author>
|
1578
|
+
# <author>James Linn</author>
|
1579
|
+
# <author>Vaidyanathan Nagarajan</author>
|
1580
|
+
# <year>2003</year>
|
1581
|
+
# <price>49.99</price>
|
1582
|
+
# </book>
|
1583
|
+
# <book category="web" cover="paperback">
|
1584
|
+
# <title lang="en">Learning XML</title>
|
1585
|
+
# <author>Erik T. Ray</author>
|
1586
|
+
# <year>2003</year>
|
1587
|
+
# <price>39.95</price>
|
1588
|
+
# </book>
|
1589
|
+
# </bookstore>
|
1590
|
+
# EOT
|
1591
|
+
# d = REXML::Document.new(xml_string)
|
1592
|
+
# elements = d.root.elements
|
1593
|
+
# elements # => #<REXML::Elements @element=<bookstore> ... </>>
|
1594
|
+
#
|
1595
|
+
class Elements
|
1596
|
+
include Enumerable
|
1597
|
+
# :call-seq:
|
1598
|
+
# new(parent) -> new_elements_object
|
1599
|
+
#
|
1600
|
+
# Returns a new \Elements object with the given +parent+.
|
1601
|
+
# Does _not_ assign <tt>parent.elements = self</tt>:
|
1602
|
+
#
|
1603
|
+
# d = REXML::Document.new(xml_string)
|
1604
|
+
# eles = REXML::Elements.new(d.root)
|
1605
|
+
# eles # => #<REXML::Elements @element=<bookstore> ... </>>
|
1606
|
+
# eles == d.root.elements # => false
|
1607
|
+
#
|
1608
|
+
def initialize parent
|
1609
|
+
@element = parent
|
1610
|
+
end
|
1611
|
+
|
1612
|
+
# :call-seq:
|
1613
|
+
# parent
|
1614
|
+
#
|
1615
|
+
# Returns the parent element cited in creating the \Elements object.
|
1616
|
+
# This element is also the default starting point for searching
|
1617
|
+
# in the \Elements object.
|
1618
|
+
#
|
1619
|
+
# d = REXML::Document.new(xml_string)
|
1620
|
+
# elements = REXML::Elements.new(d.root)
|
1621
|
+
# elements.parent == d.root # => true
|
1622
|
+
#
|
1623
|
+
def parent
|
1624
|
+
@element
|
1625
|
+
end
|
1626
|
+
|
1627
|
+
# :call-seq:
|
1628
|
+
# elements[index] -> element or nil
|
1629
|
+
# elements[xpath] -> element or nil
|
1630
|
+
# elements[n, name] -> element or nil
|
1631
|
+
#
|
1632
|
+
# Returns the first \Element object selected by the arguments,
|
1633
|
+
# if any found, or +nil+ if none found.
|
1634
|
+
#
|
1635
|
+
# Notes:
|
1636
|
+
# - The +index+ is 1-based, not 0-based, so that:
|
1637
|
+
# - The first element has index <tt>1</tt>
|
1638
|
+
# - The _nth_ element has index +n+.
|
1639
|
+
# - The selection ignores non-\Element nodes.
|
1640
|
+
#
|
1641
|
+
# When the single argument +index+ is given,
|
1642
|
+
# returns the element given by the index, if any; otherwise, +nil+:
|
1643
|
+
#
|
1644
|
+
# d = REXML::Document.new(xml_string)
|
1645
|
+
# eles = d.root.elements
|
1646
|
+
# eles # => #<REXML::Elements @element=<bookstore> ... </>>
|
1647
|
+
# eles[1] # => <book category='cooking'> ... </>
|
1648
|
+
# eles.size # => 4
|
1649
|
+
# eles[4] # => <book category='web' cover='paperback'> ... </>
|
1650
|
+
# eles[5] # => nil
|
1651
|
+
#
|
1652
|
+
# The node at this index is not an \Element, and so is not returned:
|
1653
|
+
#
|
1654
|
+
# eles = d.root.first.first # => <title lang='en'> ... </>
|
1655
|
+
# eles.to_a # => ["Everyday Italian"]
|
1656
|
+
# eles[1] # => nil
|
1657
|
+
#
|
1658
|
+
# When the single argument +xpath+ is given,
|
1659
|
+
# returns the first element found via that +xpath+, if any; otherwise, +nil+:
|
1660
|
+
#
|
1661
|
+
# eles = d.root.elements # => #<REXML::Elements @element=<bookstore> ... </>>
|
1662
|
+
# eles['/bookstore'] # => <bookstore> ... </>
|
1663
|
+
# eles['//book'] # => <book category='cooking'> ... </>
|
1664
|
+
# eles['//book [@category="children"]'] # => <book category='children'> ... </>
|
1665
|
+
# eles['/nosuch'] # => nil
|
1666
|
+
# eles['//nosuch'] # => nil
|
1667
|
+
# eles['//book [@category="nosuch"]'] # => nil
|
1668
|
+
# eles['.'] # => <bookstore> ... </>
|
1669
|
+
# eles['..'].class # => REXML::Document
|
1670
|
+
#
|
1671
|
+
# With arguments +n+ and +name+ given,
|
1672
|
+
# returns the _nth_ found element that has the given +name+,
|
1673
|
+
# or +nil+ if there is no such _nth_ element:
|
1674
|
+
#
|
1675
|
+
# eles = d.root.elements # => #<REXML::Elements @element=<bookstore> ... </>>
|
1676
|
+
# eles[1, 'book'] # => <book category='cooking'> ... </>
|
1677
|
+
# eles[4, 'book'] # => <book category='web' cover='paperback'> ... </>
|
1678
|
+
# eles[5, 'book'] # => nil
|
1679
|
+
#
|
1680
|
+
def []( index, name=nil)
|
1681
|
+
if index.kind_of? Integer
|
1682
|
+
raise "index (#{index}) must be >= 1" if index < 1
|
1683
|
+
name = literalize(name) if name
|
1684
|
+
num = 0
|
1685
|
+
@element.find { |child|
|
1686
|
+
child.kind_of? Element and
|
1687
|
+
(name.nil? ? true : child.has_name?( name )) and
|
1688
|
+
(num += 1) == index
|
1689
|
+
}
|
1690
|
+
else
|
1691
|
+
return XPath::first( @element, index )
|
1692
|
+
#{ |element|
|
1693
|
+
# return element if element.kind_of? Element
|
1694
|
+
#}
|
1695
|
+
#return nil
|
1696
|
+
end
|
1697
|
+
end
|
1698
|
+
|
1699
|
+
# :call-seq:
|
1700
|
+
# elements[] = index, replacement_element -> replacement_element or nil
|
1701
|
+
#
|
1702
|
+
# Replaces or adds an element.
|
1703
|
+
#
|
1704
|
+
# When <tt>eles[index]</tt> exists, replaces it with +replacement_element+
|
1705
|
+
# and returns +replacement_element+:
|
1706
|
+
#
|
1707
|
+
# d = REXML::Document.new(xml_string)
|
1708
|
+
# eles = d.root.elements # => #<REXML::Elements @element=<bookstore> ... </>>
|
1709
|
+
# eles[1] # => <book category='cooking'> ... </>
|
1710
|
+
# eles[1] = REXML::Element.new('foo')
|
1711
|
+
# eles[1] # => <foo/>
|
1712
|
+
#
|
1713
|
+
# Does nothing (or raises an exception)
|
1714
|
+
# if +replacement_element+ is not an \Element:
|
1715
|
+
# eles[2] # => <book category='web' cover='paperback'> ... </>
|
1716
|
+
# eles[2] = REXML::Text.new('bar')
|
1717
|
+
# eles[2] # => <book category='web' cover='paperback'> ... </>
|
1718
|
+
#
|
1719
|
+
# When <tt>eles[index]</tt> does not exist,
|
1720
|
+
# adds +replacement_element+ to the element and returns
|
1721
|
+
#
|
1722
|
+
# d = REXML::Document.new(xml_string)
|
1723
|
+
# eles = d.root.elements # => #<REXML::Elements @element=<bookstore> ... </>>
|
1724
|
+
# eles.size # => 4
|
1725
|
+
# eles[50] = REXML::Element.new('foo') # => <foo/>
|
1726
|
+
# eles.size # => 5
|
1727
|
+
# eles[5] # => <foo/>
|
1728
|
+
#
|
1729
|
+
# Does nothing (or raises an exception)
|
1730
|
+
# if +replacement_element+ is not an \Element:
|
1731
|
+
#
|
1732
|
+
# eles[50] = REXML::Text.new('bar') # => "bar"
|
1733
|
+
# eles.size # => 5
|
1734
|
+
#
|
1735
|
+
def []=( index, element )
|
1736
|
+
previous = self[index]
|
1737
|
+
if previous.nil?
|
1738
|
+
@element.add element
|
1739
|
+
else
|
1740
|
+
previous.replace_with element
|
1741
|
+
end
|
1742
|
+
return previous
|
1743
|
+
end
|
1744
|
+
|
1745
|
+
# :call-seq:
|
1746
|
+
# empty? -> true or false
|
1747
|
+
#
|
1748
|
+
# Returns +true+ if there are no children, +false+ otherwise.
|
1749
|
+
#
|
1750
|
+
# d = REXML::Document.new('')
|
1751
|
+
# d.elements.empty? # => true
|
1752
|
+
# d = REXML::Document.new(xml_string)
|
1753
|
+
# d.elements.empty? # => false
|
1754
|
+
#
|
1755
|
+
def empty?
|
1756
|
+
@element.find{ |child| child.kind_of? Element}.nil?
|
1757
|
+
end
|
1758
|
+
|
1759
|
+
# :call-seq:
|
1760
|
+
# index(element)
|
1761
|
+
#
|
1762
|
+
# Returns the 1-based index of the given +element+, if found;
|
1763
|
+
# otherwise, returns -1:
|
1764
|
+
#
|
1765
|
+
# d = REXML::Document.new(xml_string)
|
1766
|
+
# elements = d.root.elements
|
1767
|
+
# ele_1, ele_2, ele_3, ele_4 = *elements
|
1768
|
+
# elements.index(ele_4) # => 4
|
1769
|
+
# elements.delete(ele_3)
|
1770
|
+
# elements.index(ele_4) # => 3
|
1771
|
+
# elements.index(ele_3) # => -1
|
1772
|
+
#
|
1773
|
+
def index element
|
1774
|
+
rv = 0
|
1775
|
+
found = @element.find do |child|
|
1776
|
+
child.kind_of? Element and
|
1777
|
+
(rv += 1) and
|
1778
|
+
child == element
|
1779
|
+
end
|
1780
|
+
return rv if found == element
|
1781
|
+
return -1
|
1782
|
+
end
|
1783
|
+
|
1784
|
+
# :call-seq:
|
1785
|
+
# delete(index) -> removed_element or nil
|
1786
|
+
# delete(element) -> removed_element or nil
|
1787
|
+
# delete(xpath) -> removed_element or nil
|
1788
|
+
#
|
1789
|
+
# Removes an element; returns the removed element, or +nil+ if none removed.
|
1790
|
+
#
|
1791
|
+
# With integer argument +index+ given,
|
1792
|
+
# removes the child element at that offset:
|
1793
|
+
#
|
1794
|
+
# d = REXML::Document.new(xml_string)
|
1795
|
+
# elements = d.root.elements
|
1796
|
+
# elements.size # => 4
|
1797
|
+
# elements[2] # => <book category='children'> ... </>
|
1798
|
+
# elements.delete(2) # => <book category='children'> ... </>
|
1799
|
+
# elements.size # => 3
|
1800
|
+
# elements[2] # => <book category='web'> ... </>
|
1801
|
+
# elements.delete(50) # => nil
|
1802
|
+
#
|
1803
|
+
# With element argument +element+ given,
|
1804
|
+
# removes that child element:
|
1805
|
+
#
|
1806
|
+
# d = REXML::Document.new(xml_string)
|
1807
|
+
# elements = d.root.elements
|
1808
|
+
# ele_1, ele_2, ele_3, ele_4 = *elements
|
1809
|
+
# elements.size # => 4
|
1810
|
+
# elements[2] # => <book category='children'> ... </>
|
1811
|
+
# elements.delete(ele_2) # => <book category='children'> ... </>
|
1812
|
+
# elements.size # => 3
|
1813
|
+
# elements[2] # => <book category='web'> ... </>
|
1814
|
+
# elements.delete(ele_2) # => nil
|
1815
|
+
#
|
1816
|
+
# With string argument +xpath+ given,
|
1817
|
+
# removes the first element found via that xpath:
|
1818
|
+
#
|
1819
|
+
# d = REXML::Document.new(xml_string)
|
1820
|
+
# elements = d.root.elements
|
1821
|
+
# elements.delete('//book') # => <book category='cooking'> ... </>
|
1822
|
+
# elements.delete('//book [@category="children"]') # => <book category='children'> ... </>
|
1823
|
+
# elements.delete('//nosuch') # => nil
|
1824
|
+
#
|
1825
|
+
def delete element
|
1826
|
+
if element.kind_of? Element
|
1827
|
+
@element.delete element
|
1828
|
+
else
|
1829
|
+
el = self[element]
|
1830
|
+
el.remove if el
|
1831
|
+
end
|
1832
|
+
end
|
1833
|
+
|
1834
|
+
# :call-seq:
|
1835
|
+
# delete_all(xpath)
|
1836
|
+
#
|
1837
|
+
# Removes all elements found via the given +xpath+;
|
1838
|
+
# returns the array of removed elements, if any, else +nil+.
|
1839
|
+
#
|
1840
|
+
# d = REXML::Document.new(xml_string)
|
1841
|
+
# elements = d.root.elements
|
1842
|
+
# elements.size # => 4
|
1843
|
+
# deleted_elements = elements.delete_all('//book [@category="web"]')
|
1844
|
+
# deleted_elements.size # => 2
|
1845
|
+
# elements.size # => 2
|
1846
|
+
# deleted_elements = elements.delete_all('//book')
|
1847
|
+
# deleted_elements.size # => 2
|
1848
|
+
# elements.size # => 0
|
1849
|
+
# elements.delete_all('//book') # => []
|
1850
|
+
#
|
1851
|
+
def delete_all( xpath )
|
1852
|
+
rv = []
|
1853
|
+
XPath::each( @element, xpath) {|element|
|
1854
|
+
rv << element if element.kind_of? Element
|
1855
|
+
}
|
1856
|
+
rv.each do |element|
|
1857
|
+
@element.delete element
|
1858
|
+
element.remove
|
1859
|
+
end
|
1860
|
+
return rv
|
1861
|
+
end
|
1862
|
+
|
1863
|
+
# :call-seq:
|
1864
|
+
# add -> new_element
|
1865
|
+
# add(name) -> new_element
|
1866
|
+
# add(element) -> element
|
1867
|
+
#
|
1868
|
+
# Adds an element; returns the element added.
|
1869
|
+
#
|
1870
|
+
# With no argument, creates and adds a new element.
|
1871
|
+
# The new element has:
|
1872
|
+
#
|
1873
|
+
# - No name.
|
1874
|
+
# - \Parent from the \Elements object.
|
1875
|
+
# - Context from the that parent.
|
1876
|
+
#
|
1877
|
+
# Example:
|
1878
|
+
#
|
1879
|
+
# d = REXML::Document.new(xml_string)
|
1880
|
+
# elements = d.root.elements
|
1881
|
+
# parent = elements.parent # => <bookstore> ... </>
|
1882
|
+
# parent.context = {raw: :all}
|
1883
|
+
# elements.size # => 4
|
1884
|
+
# new_element = elements.add # => </>
|
1885
|
+
# elements.size # => 5
|
1886
|
+
# new_element.name # => nil
|
1887
|
+
# new_element.parent # => <bookstore> ... </>
|
1888
|
+
# new_element.context # => {:raw=>:all}
|
1889
|
+
#
|
1890
|
+
# With string argument +name+, creates and adds a new element.
|
1891
|
+
# The new element has:
|
1892
|
+
#
|
1893
|
+
# - Name +name+.
|
1894
|
+
# - \Parent from the \Elements object.
|
1895
|
+
# - Context from the that parent.
|
1896
|
+
#
|
1897
|
+
# Example:
|
1898
|
+
#
|
1899
|
+
# d = REXML::Document.new(xml_string)
|
1900
|
+
# elements = d.root.elements
|
1901
|
+
# parent = elements.parent # => <bookstore> ... </>
|
1902
|
+
# parent.context = {raw: :all}
|
1903
|
+
# elements.size # => 4
|
1904
|
+
# new_element = elements.add('foo') # => <foo/>
|
1905
|
+
# elements.size # => 5
|
1906
|
+
# new_element.name # => "foo"
|
1907
|
+
# new_element.parent # => <bookstore> ... </>
|
1908
|
+
# new_element.context # => {:raw=>:all}
|
1909
|
+
#
|
1910
|
+
# With argument +element+,
|
1911
|
+
# creates and adds a clone of the given +element+.
|
1912
|
+
# The new element has name, parent, and context from the given +element+.
|
1913
|
+
#
|
1914
|
+
# d = REXML::Document.new(xml_string)
|
1915
|
+
# elements = d.root.elements
|
1916
|
+
# elements.size # => 4
|
1917
|
+
# e0 = REXML::Element.new('foo')
|
1918
|
+
# e1 = REXML::Element.new('bar', e0, {raw: :all})
|
1919
|
+
# element = elements.add(e1) # => <bar/>
|
1920
|
+
# elements.size # => 5
|
1921
|
+
# element.name # => "bar"
|
1922
|
+
# element.parent # => <bookstore> ... </>
|
1923
|
+
# element.context # => {:raw=>:all}
|
1924
|
+
#
|
1925
|
+
def add element=nil
|
1926
|
+
if element.nil?
|
1927
|
+
Element.new("", self, @element.context)
|
1928
|
+
elsif not element.kind_of?(Element)
|
1929
|
+
Element.new(element, self, @element.context)
|
1930
|
+
else
|
1931
|
+
@element << element
|
1932
|
+
element.context = @element.context
|
1933
|
+
element
|
1934
|
+
end
|
1935
|
+
end
|
1936
|
+
|
1937
|
+
alias :<< :add
|
1938
|
+
|
1939
|
+
# :call-seq:
|
1940
|
+
# each(xpath = nil) {|element| ... } -> self
|
1941
|
+
#
|
1942
|
+
# Iterates over the elements.
|
1943
|
+
#
|
1944
|
+
# With no argument, calls the block with each element:
|
1945
|
+
#
|
1946
|
+
# d = REXML::Document.new(xml_string)
|
1947
|
+
# elements = d.root.elements
|
1948
|
+
# elements.each {|element| p element }
|
1949
|
+
#
|
1950
|
+
# Output:
|
1951
|
+
#
|
1952
|
+
# <book category='cooking'> ... </>
|
1953
|
+
# <book category='children'> ... </>
|
1954
|
+
# <book category='web'> ... </>
|
1955
|
+
# <book category='web' cover='paperback'> ... </>
|
1956
|
+
#
|
1957
|
+
# With argument +xpath+, calls the block with each element
|
1958
|
+
# that matches the given +xpath+:
|
1959
|
+
#
|
1960
|
+
# elements.each('//book [@category="web"]') {|element| p element }
|
1961
|
+
#
|
1962
|
+
# Output:
|
1963
|
+
#
|
1964
|
+
# <book category='web'> ... </>
|
1965
|
+
# <book category='web' cover='paperback'> ... </>
|
1966
|
+
#
|
1967
|
+
def each( xpath=nil )
|
1968
|
+
XPath::each( @element, xpath ) {|e| yield e if e.kind_of? Element }
|
1969
|
+
end
|
1970
|
+
|
1971
|
+
# :call-seq:
|
1972
|
+
# collect(xpath = nil) {|element| ... } -> array
|
1973
|
+
#
|
1974
|
+
# Iterates over the elements; returns the array of block return values.
|
1975
|
+
#
|
1976
|
+
# With no argument, iterates over all elements:
|
1977
|
+
#
|
1978
|
+
# d = REXML::Document.new(xml_string)
|
1979
|
+
# elements = d.root.elements
|
1980
|
+
# elements.collect {|element| element.size } # => [9, 9, 17, 9]
|
1981
|
+
#
|
1982
|
+
# With argument +xpath+, iterates over elements that match
|
1983
|
+
# the given +xpath+:
|
1984
|
+
#
|
1985
|
+
# xpath = '//book [@category="web"]'
|
1986
|
+
# elements.collect(xpath) {|element| element.size } # => [17, 9]
|
1987
|
+
#
|
1988
|
+
def collect( xpath=nil )
|
1989
|
+
collection = []
|
1990
|
+
XPath::each( @element, xpath ) {|e|
|
1991
|
+
collection << yield(e) if e.kind_of?(Element)
|
1992
|
+
}
|
1993
|
+
collection
|
1994
|
+
end
|
1995
|
+
|
1996
|
+
# :call-seq:
|
1997
|
+
# inject(xpath = nil, initial = nil) -> object
|
1998
|
+
#
|
1999
|
+
# Calls the block with elements; returns the last block return value.
|
2000
|
+
#
|
2001
|
+
# With no argument, iterates over the elements, calling the block
|
2002
|
+
# <tt>elements.size - 1</tt> times.
|
2003
|
+
#
|
2004
|
+
# - The first call passes the first and second elements.
|
2005
|
+
# - The second call passes the first block return value and the third element.
|
2006
|
+
# - The third call passes the second block return value and the fourth element.
|
2007
|
+
# - And so on.
|
2008
|
+
#
|
2009
|
+
# In this example, the block returns the passed element,
|
2010
|
+
# which is then the object argument to the next call:
|
2011
|
+
#
|
2012
|
+
# d = REXML::Document.new(xml_string)
|
2013
|
+
# elements = d.root.elements
|
2014
|
+
# elements.inject do |object, element|
|
2015
|
+
# p [elements.index(object), elements.index(element)]
|
2016
|
+
# element
|
2017
|
+
# end
|
2018
|
+
#
|
2019
|
+
# Output:
|
2020
|
+
#
|
2021
|
+
# [1, 2]
|
2022
|
+
# [2, 3]
|
2023
|
+
# [3, 4]
|
2024
|
+
#
|
2025
|
+
# With the single argument +xpath+, calls the block only with
|
2026
|
+
# elements matching that xpath:
|
2027
|
+
#
|
2028
|
+
# elements.inject('//book [@category="web"]') do |object, element|
|
2029
|
+
# p [elements.index(object), elements.index(element)]
|
2030
|
+
# element
|
2031
|
+
# end
|
2032
|
+
#
|
2033
|
+
# Output:
|
2034
|
+
#
|
2035
|
+
# [3, 4]
|
2036
|
+
#
|
2037
|
+
# With argument +xpath+ given as +nil+
|
2038
|
+
# and argument +initial+ also given,
|
2039
|
+
# calls the block once for each element.
|
2040
|
+
#
|
2041
|
+
# - The first call passes the +initial+ and the first element.
|
2042
|
+
# - The second call passes the first block return value and the second element.
|
2043
|
+
# - The third call passes the second block return value and the third element.
|
2044
|
+
# - And so on.
|
2045
|
+
#
|
2046
|
+
# In this example, the first object index is <tt>-1</tt>
|
2047
|
+
#
|
2048
|
+
# elements.inject(nil, 'Initial') do |object, element|
|
2049
|
+
# p [elements.index(object), elements.index(element)]
|
2050
|
+
# element
|
2051
|
+
# end
|
2052
|
+
#
|
2053
|
+
# Output:
|
2054
|
+
#
|
2055
|
+
# [-1, 1]
|
2056
|
+
# [1, 2]
|
2057
|
+
# [2, 3]
|
2058
|
+
# [3, 4]
|
2059
|
+
#
|
2060
|
+
# In this form the passed object can be used as an accumulator:
|
2061
|
+
#
|
2062
|
+
# elements.inject(nil, 0) do |total, element|
|
2063
|
+
# total += element.size
|
2064
|
+
# end # => 44
|
2065
|
+
#
|
2066
|
+
# With both arguments +xpath+ and +initial+ are given,
|
2067
|
+
# calls the block only with elements matching that xpath:
|
2068
|
+
#
|
2069
|
+
# elements.inject('//book [@category="web"]', 0) do |total, element|
|
2070
|
+
# total += element.size
|
2071
|
+
# end # => 26
|
2072
|
+
#
|
2073
|
+
def inject( xpath=nil, initial=nil )
|
2074
|
+
first = true
|
2075
|
+
XPath::each( @element, xpath ) {|e|
|
2076
|
+
if (e.kind_of? Element)
|
2077
|
+
if (first and initial == nil)
|
2078
|
+
initial = e
|
2079
|
+
first = false
|
2080
|
+
else
|
2081
|
+
initial = yield( initial, e ) if e.kind_of? Element
|
2082
|
+
end
|
2083
|
+
end
|
2084
|
+
}
|
2085
|
+
initial
|
2086
|
+
end
|
2087
|
+
|
2088
|
+
# :call-seq:
|
2089
|
+
# size -> integer
|
2090
|
+
#
|
2091
|
+
# Returns the count of \Element children:
|
2092
|
+
#
|
2093
|
+
# d = REXML::Document.new '<a>sean<b/>elliott<b/>russell<b/></a>'
|
2094
|
+
# d.root.elements.size # => 3 # Three elements.
|
2095
|
+
# d.root.size # => 6 # Three elements plus three text nodes..
|
2096
|
+
#
|
2097
|
+
def size
|
2098
|
+
count = 0
|
2099
|
+
@element.each {|child| count+=1 if child.kind_of? Element }
|
2100
|
+
count
|
2101
|
+
end
|
2102
|
+
|
2103
|
+
# :call-seq:
|
2104
|
+
# to_a(xpath = nil) -> array_of_elements
|
2105
|
+
#
|
2106
|
+
# Returns an array of element children (not including non-element children).
|
2107
|
+
#
|
2108
|
+
# With no argument, returns an array of all element children:
|
2109
|
+
#
|
2110
|
+
# d = REXML::Document.new '<a>sean<b/>elliott<c/></a>'
|
2111
|
+
# elements = d.root.elements
|
2112
|
+
# elements.to_a # => [<b/>, <c/>] # Omits non-element children.
|
2113
|
+
# children = d.root.children
|
2114
|
+
# children # => ["sean", <b/>, "elliott", <c/>] # Includes non-element children.
|
2115
|
+
#
|
2116
|
+
# With argument +xpath+, returns an array of element children
|
2117
|
+
# that match the xpath:
|
2118
|
+
#
|
2119
|
+
# elements.to_a('//c') # => [<c/>]
|
2120
|
+
#
|
2121
|
+
def to_a( xpath=nil )
|
2122
|
+
rv = XPath.match( @element, xpath )
|
2123
|
+
return rv.find_all{|e| e.kind_of? Element} if xpath
|
2124
|
+
rv
|
2125
|
+
end
|
2126
|
+
|
2127
|
+
private
|
2128
|
+
# Private helper class. Removes quotes from quoted strings
|
2129
|
+
def literalize name
|
2130
|
+
name = name[1..-2] if name[0] == ?' or name[0] == ?" #'
|
2131
|
+
name
|
2132
|
+
end
|
2133
|
+
end
|
2134
|
+
|
2135
|
+
########################################################################
|
2136
|
+
# ATTRIBUTES #
|
2137
|
+
########################################################################
|
2138
|
+
|
2139
|
+
# A class that defines the set of Attributes of an Element and provides
|
2140
|
+
# operations for accessing elements in that set.
|
2141
|
+
class Attributes < Hash
|
2142
|
+
|
2143
|
+
# :call-seq:
|
2144
|
+
# new(element)
|
2145
|
+
#
|
2146
|
+
# Creates and returns a new \REXML::Attributes object.
|
2147
|
+
# The element given by argument +element+ is stored,
|
2148
|
+
# but its own attributes are not modified:
|
2149
|
+
#
|
2150
|
+
# ele = REXML::Element.new('foo')
|
2151
|
+
# attrs = REXML::Attributes.new(ele)
|
2152
|
+
# attrs.object_id == ele.attributes.object_id # => false
|
2153
|
+
#
|
2154
|
+
# Other instance methods in class \REXML::Attributes may refer to:
|
2155
|
+
#
|
2156
|
+
# - +element.document+.
|
2157
|
+
# - +element.prefix+.
|
2158
|
+
# - +element.expanded_name+.
|
2159
|
+
#
|
2160
|
+
def initialize element
|
2161
|
+
@element = element
|
2162
|
+
end
|
2163
|
+
|
2164
|
+
# :call-seq:
|
2165
|
+
# [name] -> attribute_value or nil
|
2166
|
+
#
|
2167
|
+
# Returns the value for the attribute given by +name+,
|
2168
|
+
# if it exists; otherwise +nil+.
|
2169
|
+
# The value returned is the unnormalized attribute value,
|
2170
|
+
# with entities expanded:
|
2171
|
+
#
|
2172
|
+
# xml_string = <<-EOT
|
2173
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
2174
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
2175
|
+
# </root>
|
2176
|
+
# EOT
|
2177
|
+
# d = REXML::Document.new(xml_string)
|
2178
|
+
# ele = d.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
2179
|
+
# ele.attributes['att'] # => "<"
|
2180
|
+
# ele.attributes['bar:att'] # => "2"
|
2181
|
+
# ele.attributes['nosuch'] # => nil
|
2182
|
+
#
|
2183
|
+
# Related: get_attribute (returns an \Attribute object).
|
2184
|
+
#
|
2185
|
+
def [](name)
|
2186
|
+
attr = get_attribute(name)
|
2187
|
+
return attr.value unless attr.nil?
|
2188
|
+
return nil
|
2189
|
+
end
|
2190
|
+
|
2191
|
+
# :call-seq:
|
2192
|
+
# to_a -> array_of_attribute_objects
|
2193
|
+
#
|
2194
|
+
# Returns an array of \REXML::Attribute objects representing
|
2195
|
+
# the attributes:
|
2196
|
+
#
|
2197
|
+
# xml_string = <<-EOT
|
2198
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
2199
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
2200
|
+
# </root>
|
2201
|
+
# EOT
|
2202
|
+
# d = REXML::Document.new(xml_string)
|
2203
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
2204
|
+
# attrs = ele.attributes.to_a # => [foo:att='1', bar:att='2', att='<']
|
2205
|
+
# attrs.first.class # => REXML::Attribute
|
2206
|
+
#
|
2207
|
+
def to_a
|
2208
|
+
enum_for(:each_attribute).to_a
|
2209
|
+
end
|
2210
|
+
|
2211
|
+
# :call-seq:
|
2212
|
+
# length
|
2213
|
+
#
|
2214
|
+
# Returns the count of attributes:
|
2215
|
+
#
|
2216
|
+
# xml_string = <<-EOT
|
2217
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
2218
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
2219
|
+
# </root>
|
2220
|
+
# EOT
|
2221
|
+
# d = REXML::Document.new(xml_string)
|
2222
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
2223
|
+
# ele.attributes.length # => 3
|
2224
|
+
#
|
2225
|
+
def length
|
2226
|
+
c = 0
|
2227
|
+
each_attribute { c+=1 }
|
2228
|
+
c
|
2229
|
+
end
|
2230
|
+
alias :size :length
|
2231
|
+
|
2232
|
+
# :call-seq:
|
2233
|
+
# each_attribute {|attr| ... }
|
2234
|
+
#
|
2235
|
+
# Calls the given block with each \REXML::Attribute object:
|
2236
|
+
#
|
2237
|
+
# xml_string = <<-EOT
|
2238
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
2239
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
2240
|
+
# </root>
|
2241
|
+
# EOT
|
2242
|
+
# d = REXML::Document.new(xml_string)
|
2243
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
2244
|
+
# ele.attributes.each_attribute do |attr|
|
2245
|
+
# p [attr.class, attr]
|
2246
|
+
# end
|
2247
|
+
#
|
2248
|
+
# Output:
|
2249
|
+
#
|
2250
|
+
# [REXML::Attribute, foo:att='1']
|
2251
|
+
# [REXML::Attribute, bar:att='2']
|
2252
|
+
# [REXML::Attribute, att='<']
|
2253
|
+
#
|
2254
|
+
def each_attribute # :yields: attribute
|
2255
|
+
return to_enum(__method__) unless block_given?
|
2256
|
+
each_value do |val|
|
2257
|
+
if val.kind_of? Attribute
|
2258
|
+
yield val
|
2259
|
+
else
|
2260
|
+
val.each_value { |atr| yield atr }
|
2261
|
+
end
|
2262
|
+
end
|
2263
|
+
end
|
2264
|
+
|
2265
|
+
# :call-seq:
|
2266
|
+
# each {|expanded_name, value| ... }
|
2267
|
+
#
|
2268
|
+
# Calls the given block with each expanded-name/value pair:
|
2269
|
+
#
|
2270
|
+
# xml_string = <<-EOT
|
2271
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
2272
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
2273
|
+
# </root>
|
2274
|
+
# EOT
|
2275
|
+
# d = REXML::Document.new(xml_string)
|
2276
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
2277
|
+
# ele.attributes.each do |expanded_name, value|
|
2278
|
+
# p [expanded_name, value]
|
2279
|
+
# end
|
2280
|
+
#
|
2281
|
+
# Output:
|
2282
|
+
#
|
2283
|
+
# ["foo:att", "1"]
|
2284
|
+
# ["bar:att", "2"]
|
2285
|
+
# ["att", "<"]
|
2286
|
+
#
|
2287
|
+
def each
|
2288
|
+
return to_enum(__method__) unless block_given?
|
2289
|
+
each_attribute do |attr|
|
2290
|
+
yield [attr.expanded_name, attr.value]
|
2291
|
+
end
|
2292
|
+
end
|
2293
|
+
|
2294
|
+
# :call-seq:
|
2295
|
+
# get_attribute(name) -> attribute_object or nil
|
2296
|
+
#
|
2297
|
+
# Returns the \REXML::Attribute object for the given +name+:
|
2298
|
+
#
|
2299
|
+
# xml_string = <<-EOT
|
2300
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
2301
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
2302
|
+
# </root>
|
2303
|
+
# EOT
|
2304
|
+
# d = REXML::Document.new(xml_string)
|
2305
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
2306
|
+
# attrs = ele.attributes
|
2307
|
+
# attrs.get_attribute('foo:att') # => foo:att='1'
|
2308
|
+
# attrs.get_attribute('foo:att').class # => REXML::Attribute
|
2309
|
+
# attrs.get_attribute('bar:att') # => bar:att='2'
|
2310
|
+
# attrs.get_attribute('att') # => att='<'
|
2311
|
+
# attrs.get_attribute('nosuch') # => nil
|
2312
|
+
#
|
2313
|
+
def get_attribute( name )
|
2314
|
+
attr = fetch( name, nil )
|
2315
|
+
if attr.nil?
|
2316
|
+
return nil if name.nil?
|
2317
|
+
# Look for prefix
|
2318
|
+
name =~ Namespace::NAMESPLIT
|
2319
|
+
prefix, n = $1, $2
|
2320
|
+
if prefix
|
2321
|
+
attr = fetch( n, nil )
|
2322
|
+
# check prefix
|
2323
|
+
if attr == nil
|
2324
|
+
elsif attr.kind_of? Attribute
|
2325
|
+
return attr if prefix == attr.prefix
|
2326
|
+
else
|
2327
|
+
attr = attr[ prefix ]
|
2328
|
+
return attr
|
2329
|
+
end
|
2330
|
+
end
|
2331
|
+
element_document = @element.document
|
2332
|
+
if element_document and element_document.doctype
|
2333
|
+
expn = @element.expanded_name
|
2334
|
+
expn = element_document.doctype.name if expn.size == 0
|
2335
|
+
attr_val = element_document.doctype.attribute_of(expn, name)
|
2336
|
+
return Attribute.new( name, attr_val ) if attr_val
|
2337
|
+
end
|
2338
|
+
return nil
|
2339
|
+
end
|
2340
|
+
if attr.kind_of? Hash
|
2341
|
+
attr = attr[ @element.prefix ]
|
2342
|
+
end
|
2343
|
+
return attr
|
2344
|
+
end
|
2345
|
+
|
2346
|
+
# :call-seq:
|
2347
|
+
# [name] = value -> value
|
2348
|
+
#
|
2349
|
+
# When +value+ is non-+nil+,
|
2350
|
+
# assigns that to the attribute for the given +name+,
|
2351
|
+
# overwriting the previous value if it exists:
|
2352
|
+
#
|
2353
|
+
# xml_string = <<-EOT
|
2354
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
2355
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
2356
|
+
# </root>
|
2357
|
+
# EOT
|
2358
|
+
# d = REXML::Document.new(xml_string)
|
2359
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
2360
|
+
# attrs = ele.attributes
|
2361
|
+
# attrs['foo:att'] = '2' # => "2"
|
2362
|
+
# attrs['baz:att'] = '3' # => "3"
|
2363
|
+
#
|
2364
|
+
# When +value+ is +nil+, deletes the attribute if it exists:
|
2365
|
+
#
|
2366
|
+
# attrs['baz:att'] = nil
|
2367
|
+
# attrs.include?('baz:att') # => false
|
2368
|
+
#
|
2369
|
+
def []=( name, value )
|
2370
|
+
if value.nil? # Delete the named attribute
|
2371
|
+
attr = get_attribute(name)
|
2372
|
+
delete attr
|
2373
|
+
return
|
2374
|
+
end
|
2375
|
+
|
2376
|
+
unless value.kind_of? Attribute
|
2377
|
+
if @element.document and @element.document.doctype
|
2378
|
+
value = Text::normalize( value, @element.document.doctype )
|
2379
|
+
else
|
2380
|
+
value = Text::normalize( value, nil )
|
2381
|
+
end
|
2382
|
+
value = Attribute.new(name, value)
|
2383
|
+
end
|
2384
|
+
value.element = @element
|
2385
|
+
old_attr = fetch(value.name, nil)
|
2386
|
+
if old_attr.nil?
|
2387
|
+
store(value.name, value)
|
2388
|
+
elsif old_attr.kind_of? Hash
|
2389
|
+
old_attr[value.prefix] = value
|
2390
|
+
elsif old_attr.prefix != value.prefix
|
2391
|
+
# Check for conflicting namespaces
|
2392
|
+
if value.prefix != "xmlns" and old_attr.prefix != "xmlns"
|
2393
|
+
old_namespace = old_attr.namespace
|
2394
|
+
new_namespace = value.namespace
|
2395
|
+
if old_namespace == new_namespace
|
2396
|
+
raise ParseException.new(
|
2397
|
+
"Namespace conflict in adding attribute \"#{value.name}\": "+
|
2398
|
+
"Prefix \"#{old_attr.prefix}\" = \"#{old_namespace}\" and "+
|
2399
|
+
"prefix \"#{value.prefix}\" = \"#{new_namespace}\"")
|
2400
|
+
end
|
2401
|
+
end
|
2402
|
+
store value.name, {old_attr.prefix => old_attr,
|
2403
|
+
value.prefix => value}
|
2404
|
+
else
|
2405
|
+
store value.name, value
|
2406
|
+
end
|
2407
|
+
return @element
|
2408
|
+
end
|
2409
|
+
|
2410
|
+
# :call-seq:
|
2411
|
+
# prefixes -> array_of_prefix_strings
|
2412
|
+
#
|
2413
|
+
# Returns an array of prefix strings in the attributes.
|
2414
|
+
# The array does not include the default
|
2415
|
+
# namespace declaration, if one exists.
|
2416
|
+
#
|
2417
|
+
# xml_string = '<a xmlns="foo" xmlns:x="bar" xmlns:y="twee" z="glorp"/>'
|
2418
|
+
# d = REXML::Document.new(xml_string)
|
2419
|
+
# d.root.attributes.prefixes # => ["x", "y"]
|
2420
|
+
#
|
2421
|
+
def prefixes
|
2422
|
+
ns = []
|
2423
|
+
each_attribute do |attribute|
|
2424
|
+
ns << attribute.name if attribute.prefix == 'xmlns'
|
2425
|
+
end
|
2426
|
+
if @element.document and @element.document.doctype
|
2427
|
+
expn = @element.expanded_name
|
2428
|
+
expn = @element.document.doctype.name if expn.size == 0
|
2429
|
+
@element.document.doctype.attributes_of(expn).each {
|
2430
|
+
|attribute|
|
2431
|
+
ns << attribute.name if attribute.prefix == 'xmlns'
|
2432
|
+
}
|
2433
|
+
end
|
2434
|
+
ns
|
2435
|
+
end
|
2436
|
+
|
2437
|
+
# :call-seq:
|
2438
|
+
# namespaces
|
2439
|
+
#
|
2440
|
+
# Returns a hash of name/value pairs for the namespaces:
|
2441
|
+
#
|
2442
|
+
# xml_string = '<a xmlns="foo" xmlns:x="bar" xmlns:y="twee" z="glorp"/>'
|
2443
|
+
# d = REXML::Document.new(xml_string)
|
2444
|
+
# d.root.attributes.namespaces # => {"xmlns"=>"foo", "x"=>"bar", "y"=>"twee"}
|
2445
|
+
#
|
2446
|
+
def namespaces
|
2447
|
+
namespaces = {}
|
2448
|
+
each_attribute do |attribute|
|
2449
|
+
namespaces[attribute.name] = attribute.value if attribute.prefix == 'xmlns' or attribute.name == 'xmlns'
|
2450
|
+
end
|
2451
|
+
if @element.document and @element.document.doctype
|
2452
|
+
expn = @element.expanded_name
|
2453
|
+
expn = @element.document.doctype.name if expn.size == 0
|
2454
|
+
@element.document.doctype.attributes_of(expn).each {
|
2455
|
+
|attribute|
|
2456
|
+
namespaces[attribute.name] = attribute.value if attribute.prefix == 'xmlns' or attribute.name == 'xmlns'
|
2457
|
+
}
|
2458
|
+
end
|
2459
|
+
namespaces
|
2460
|
+
end
|
2461
|
+
|
2462
|
+
# :call-seq:
|
2463
|
+
# delete(name) -> element
|
2464
|
+
# delete(attribute) -> element
|
2465
|
+
#
|
2466
|
+
# Removes a specified attribute if it exists;
|
2467
|
+
# returns the attributes' element.
|
2468
|
+
#
|
2469
|
+
# When string argument +name+ is given,
|
2470
|
+
# removes the attribute of that name if it exists:
|
2471
|
+
#
|
2472
|
+
# xml_string = <<-EOT
|
2473
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
2474
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
2475
|
+
# </root>
|
2476
|
+
# EOT
|
2477
|
+
# d = REXML::Document.new(xml_string)
|
2478
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
2479
|
+
# attrs = ele.attributes
|
2480
|
+
# attrs.delete('foo:att') # => <ele bar:att='2' att='<'/>
|
2481
|
+
# attrs.delete('foo:att') # => <ele bar:att='2' att='<'/>
|
2482
|
+
#
|
2483
|
+
# When attribute argument +attribute+ is given,
|
2484
|
+
# removes that attribute if it exists:
|
2485
|
+
#
|
2486
|
+
# attr = REXML::Attribute.new('bar:att', '2')
|
2487
|
+
# attrs.delete(attr) # => <ele att='<'/> # => <ele att='<'/>
|
2488
|
+
# attrs.delete(attr) # => <ele att='<'/> # => <ele/>
|
2489
|
+
#
|
2490
|
+
def delete( attribute )
|
2491
|
+
name = nil
|
2492
|
+
prefix = nil
|
2493
|
+
if attribute.kind_of? Attribute
|
2494
|
+
name = attribute.name
|
2495
|
+
prefix = attribute.prefix
|
2496
|
+
else
|
2497
|
+
attribute =~ Namespace::NAMESPLIT
|
2498
|
+
prefix, name = $1, $2
|
2499
|
+
prefix = '' unless prefix
|
2500
|
+
end
|
2501
|
+
old = fetch(name, nil)
|
2502
|
+
if old.kind_of? Hash # the supplied attribute is one of many
|
2503
|
+
old.delete(prefix)
|
2504
|
+
if old.size == 1
|
2505
|
+
repl = nil
|
2506
|
+
old.each_value{|v| repl = v}
|
2507
|
+
store name, repl
|
2508
|
+
end
|
2509
|
+
elsif old.nil?
|
2510
|
+
return @element
|
2511
|
+
else # the supplied attribute is a top-level one
|
2512
|
+
super(name)
|
2513
|
+
end
|
2514
|
+
@element
|
2515
|
+
end
|
2516
|
+
|
2517
|
+
# :call-seq:
|
2518
|
+
# add(attribute) -> attribute
|
2519
|
+
#
|
2520
|
+
# Adds attribute +attribute+, replacing the previous
|
2521
|
+
# attribute of the same name if it exists;
|
2522
|
+
# returns +attribute+:
|
2523
|
+
#
|
2524
|
+
# xml_string = <<-EOT
|
2525
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
2526
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
2527
|
+
# </root>
|
2528
|
+
# EOT
|
2529
|
+
# d = REXML::Document.new(xml_string)
|
2530
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
2531
|
+
# attrs = ele.attributes
|
2532
|
+
# attrs # => {"att"=>{"foo"=>foo:att='1', "bar"=>bar:att='2', ""=>att='<'}}
|
2533
|
+
# attrs.add(REXML::Attribute.new('foo:att', '2')) # => foo:att='2'
|
2534
|
+
# attrs.add(REXML::Attribute.new('baz', '3')) # => baz='3'
|
2535
|
+
# attrs.include?('baz') # => true
|
2536
|
+
#
|
2537
|
+
def add( attribute )
|
2538
|
+
self[attribute.name] = attribute
|
2539
|
+
end
|
2540
|
+
|
2541
|
+
alias :<< :add
|
2542
|
+
|
2543
|
+
# :call-seq:
|
2544
|
+
# delete_all(name) -> array_of_removed_attributes
|
2545
|
+
#
|
2546
|
+
# Removes all attributes matching the given +name+;
|
2547
|
+
# returns an array of the removed attributes:
|
2548
|
+
#
|
2549
|
+
# xml_string = <<-EOT
|
2550
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
2551
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
2552
|
+
# </root>
|
2553
|
+
# EOT
|
2554
|
+
# d = REXML::Document.new(xml_string)
|
2555
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
2556
|
+
# attrs = ele.attributes
|
2557
|
+
# attrs.delete_all('att') # => [att='<']
|
2558
|
+
#
|
2559
|
+
def delete_all( name )
|
2560
|
+
rv = []
|
2561
|
+
each_attribute { |attribute|
|
2562
|
+
rv << attribute if attribute.expanded_name == name
|
2563
|
+
}
|
2564
|
+
rv.each{ |attr| attr.remove }
|
2565
|
+
return rv
|
2566
|
+
end
|
2567
|
+
|
2568
|
+
# :call-seq:
|
2569
|
+
# get_attribute_ns(namespace, name)
|
2570
|
+
#
|
2571
|
+
# Returns the \REXML::Attribute object among the attributes
|
2572
|
+
# that matches the given +namespace+ and +name+:
|
2573
|
+
#
|
2574
|
+
# xml_string = <<-EOT
|
2575
|
+
# <root xmlns:foo="http://foo" xmlns:bar="http://bar">
|
2576
|
+
# <ele foo:att='1' bar:att='2' att='<'/>
|
2577
|
+
# </root>
|
2578
|
+
# EOT
|
2579
|
+
# d = REXML::Document.new(xml_string)
|
2580
|
+
# ele = d.root.elements['//ele'] # => <a foo:att='1' bar:att='2' att='<'/>
|
2581
|
+
# attrs = ele.attributes
|
2582
|
+
# attrs.get_attribute_ns('http://foo', 'att') # => foo:att='1'
|
2583
|
+
# attrs.get_attribute_ns('http://foo', 'nosuch') # => nil
|
2584
|
+
#
|
2585
|
+
def get_attribute_ns(namespace, name)
|
2586
|
+
result = nil
|
2587
|
+
each_attribute() { |attribute|
|
2588
|
+
if name == attribute.name &&
|
2589
|
+
namespace == attribute.namespace() &&
|
2590
|
+
( !namespace.empty? || !attribute.fully_expanded_name.index(':') )
|
2591
|
+
# foo will match xmlns:foo, but only if foo isn't also an attribute
|
2592
|
+
result = attribute if !result or !namespace.empty? or
|
2593
|
+
!attribute.fully_expanded_name.index(':')
|
2594
|
+
end
|
2595
|
+
}
|
2596
|
+
result
|
2597
|
+
end
|
2598
|
+
end
|
2599
|
+
end
|