databox 2.0.1 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +6 -1
- data/Gemfile.lock +92 -0
- data/README.md +76 -57
- data/Rakefile +7 -7
- data/databox.gemspec +38 -27
- data/docs/ApiResponse.md +20 -0
- data/docs/DefaultApi.md +410 -0
- data/docs/PushData.md +30 -0
- data/docs/PushDataAttribute.md +20 -0
- data/docs/State.md +15 -0
- data/git_push.sh +57 -0
- data/lib/databox/api/default_api.rb +348 -0
- data/lib/databox/api_client.rb +394 -0
- data/lib/databox/api_error.rb +58 -0
- data/lib/databox/configuration.rb +295 -5
- data/lib/databox/models/api_response.rb +223 -0
- data/lib/databox/models/push_data.rb +270 -0
- data/lib/databox/models/push_data_attribute.rb +223 -0
- data/lib/databox/models/state.rb +40 -0
- data/lib/databox/version.rb +13 -1
- data/lib/databox.rb +39 -21
- data/spec/api/default_api_spec.rb +92 -0
- data/spec/models/api_response_spec.rb +42 -0
- data/spec/models/push_data_attribute_spec.rb +42 -0
- data/spec/models/push_data_spec.rb +72 -0
- data/spec/models/state_spec.rb +30 -0
- data/spec/spec_helper.rb +104 -8
- data/vendor/bundle/ruby/3.3.0/bin/byebug +29 -0
- data/vendor/bundle/ruby/3.3.0/bin/coderay +29 -0
- data/vendor/bundle/ruby/3.3.0/bin/htmldiff +29 -0
- data/vendor/bundle/ruby/3.3.0/bin/ldiff +29 -0
- data/vendor/bundle/ruby/3.3.0/bin/pry +29 -0
- data/vendor/bundle/ruby/3.3.0/bin/racc +29 -0
- data/vendor/bundle/ruby/3.3.0/bin/rake +29 -0
- data/vendor/bundle/ruby/3.3.0/bin/rspec +29 -0
- data/vendor/bundle/ruby/3.3.0/bin/rubocop +29 -0
- data/vendor/bundle/ruby/3.3.0/bin/ruby-parse +29 -0
- data/vendor/bundle/ruby/3.3.0/bin/ruby-rewrite +29 -0
- data/vendor/bundle/ruby/3.3.0/cache/ast-2.4.2.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/byebug-11.1.3.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/coderay-1.1.3.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/diff-lcs-1.5.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/ethon-0.16.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/ffi-1.17.0-x86_64-linux-gnu.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/jaro_winkler-1.5.6.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/method_source-1.1.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/parallel-1.25.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/parser-3.3.4.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/pry-0.14.2.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/pry-byebug-3.10.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/racc-1.8.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/rainbow-3.1.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/rake-13.0.6.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/rspec-3.13.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/rspec-core-3.13.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/rspec-expectations-3.13.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/rspec-mocks-3.13.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/rspec-support-3.13.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/rubocop-0.66.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/ruby-progressbar-1.13.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/typhoeus-1.4.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/unicode-display_width-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +42 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem_make.out +29 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.0/gem_make.out +18 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.0/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/README.YARD.md +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/lib/ast/node.rb +268 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/lib/ast/processor/mixin.rb +288 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/lib/ast/processor.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/CHANGELOG.md +934 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/CONTRIBUTING.md +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/GUIDE.md +1806 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/LICENSE +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/README.md +199 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/exe/byebug +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug/Makefile +269 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug/breakpoint.c +517 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug/byebug.c +900 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug/byebug.h +145 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug/context.c +686 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug/extconf.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug/locker.c +96 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug/threads.c +230 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/attacher.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/breakpoint.rb +111 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/command.rb +111 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/command_list.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/break.rb +112 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/catch.rb +78 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/condition.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/continue.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/debug.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/delete.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/disable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/disable/display.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/disable.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/display.rb +66 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/down.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/edit.rb +69 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/enable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/enable/display.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/enable.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/finish.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/frame.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/help.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/history.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info/breakpoints.rb +65 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info/display.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info/file.rb +80 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info/line.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info/program.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/interrupt.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/irb.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/kill.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/list.rb +159 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/method.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/next.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/pry.rb +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/quit.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/restart.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/save.rb +72 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/set.rb +79 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/show.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/skip.rb +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/source.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/step.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/thread/current.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/thread/list.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/thread/resume.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/thread/stop.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/thread/switch.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/thread.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/tracevar.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/undisplay.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/untracevar.rb +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/up.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/var/all.rb +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/var/args.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/var/const.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/var/global.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/var/instance.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/var/local.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/var.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands/where.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/commands.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/context.rb +157 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/core.rb +115 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/errors.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/frame.rb +185 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/bin.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/eval.rb +126 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/file.rb +63 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/frame.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/parse.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/path.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/string.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/thread.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/toggle.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/var.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/history.rb +130 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/interface.rb +146 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/interfaces/local_interface.rb +63 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/interfaces/remote_interface.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/interfaces/script_interface.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/interfaces/test_interface.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/option_setter.rb +95 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/printers/base.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/printers/plain.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/printers/texts/base.yml +115 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/printers/texts/plain.yml +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/processors/command_processor.rb +173 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/processors/control_processor.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/processors/post_mortem_processor.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/processors/script_processor.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/remote/client.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/remote/server.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/remote.rb +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/runner.rb +198 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/setting.rb +79 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/autoirb.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/autolist.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/autopry.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/autosave.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/basename.rb +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/callstyle.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/fullpath.rb +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/histfile.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/histsize.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/linetrace.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/listsize.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/post_mortem.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/savefile.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/stack_on_error.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/settings/width.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/source_file_formatter.rb +71 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/subcommands.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/version.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/MIT-LICENSE +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/README_INDEX.rdoc +123 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/bin/coderay +215 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/duo.rb +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/count.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/debug.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/debug_lint.rb +63 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/div.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/encoder.rb +190 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/html/numbering.rb +108 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/html/output.rb +164 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/html.rb +333 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/json.rb +83 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/lint.rb +59 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/null.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/page.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/span.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/statistic.rb +95 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/terminal.rb +195 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/text.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/encoders.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/helpers/file_type.rb +151 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/helpers/plugin.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/helpers/plugin_host.rb +221 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/c.rb +189 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/cpp.rb +217 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/css.rb +196 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/debug.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/diff.rb +221 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/go.rb +208 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/groovy.rb +268 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/html.rb +275 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/java.rb +174 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/java_script.rb +236 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/json.rb +98 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/lua.rb +280 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/php.rb +527 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/python.rb +287 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/raydebug.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby/string_state.rb +79 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby.rb +477 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/sass.rb +232 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/scanner.rb +337 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/sql.rb +169 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/taskpaper.rb +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/text.rb +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/scanners.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/styles/_map.rb +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/styles/alpha.rb +153 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/styles/style.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/styles.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/token_kinds.rb +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/tokens.rb +164 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay/version.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/lib/coderay.rb +284 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/.rspec +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/Contributing.md +121 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/History.md +431 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/License.md +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/Manifest.txt +59 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/README.rdoc +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/Rakefile +130 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/bin/htmldiff +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/bin/ldiff +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/lib/diff/lcs/backports.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/lib/diff/lcs/callbacks.rb +327 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/lib/diff/lcs/change.rb +174 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/lib/diff/lcs/htmldiff.rb +158 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/lib/diff/lcs/hunk.rb +363 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/lib/diff/lcs/internals.rb +308 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/lib/diff/lcs/ldiff.rb +173 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/lib/diff/lcs.rb +741 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/change_spec.rb +89 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/diff_spec.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef-c +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef-e +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef-f +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef-u +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef2 +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef2-c +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef2-d +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef2-e +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef2-f +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/ldiff/output.diff.chef2-u +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/new-chef +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/new-chef2 +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/old-chef +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/fixtures/old-chef2 +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/issues_spec.rb +160 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/ldiff_spec.rb +89 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/patch_spec.rb +416 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/sdiff_spec.rb +216 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/spec_helper.rb +376 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/traverse_balanced_spec.rb +312 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/spec/traverse_sequences_spec.rb +137 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/.github/workflows/ruby.yml +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/.gitignore +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/.rspec +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/CHANGELOG.md +375 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/Gemfile +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/Guardfile +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/README.md +118 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/Rakefile +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/ethon.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curl.rb +90 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/classes.rb +65 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/codes.rb +122 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/constants.rb +80 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/form_options.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/functions.rb +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/infos.rb +151 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/messages.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/options.rb +503 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/settings.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/callbacks.rb +149 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/debug_info.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/features.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/form.rb +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/header.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/actionable.rb +157 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/custom.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/delete.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/get.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/head.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/options.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/patch.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/post.rb +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/postable.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/put.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/putable.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/informations.rb +116 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/mirror.rb +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/operations.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/options.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/params.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/queryable.rb +154 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb +136 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/util.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy.rb +315 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/ethon_error.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/global_init.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/invalid_option.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/invalid_value.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/multi_add.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/multi_fdset.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/multi_remove.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/multi_timeout.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/select.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/libc.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/loggable.rb +59 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/multi/operations.rb +228 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/multi/options.rb +117 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/multi/stack.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/multi.rb +126 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/version.rb +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon.rb +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/benchmarks.rb +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/memory_leaks.rb +114 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/support/memory_test_helpers.rb +76 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/support/os_memory_leak_tracker.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/support/ruby_object_leak_tracker.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/curl_spec.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/callbacks_spec.rb +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/debug_info_spec.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/features_spec.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/form_spec.rb +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/header_spec.rb +79 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/custom_spec.rb +177 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/delete_spec.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/get_spec.rb +126 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/head_spec.rb +80 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/options_spec.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/patch_spec.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/post_spec.rb +317 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/put_spec.rb +168 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http_spec.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/informations_spec.rb +126 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/mirror_spec.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/operations_spec.rb +271 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/options_spec.rb +193 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/queryable_spec.rb +235 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/response_callbacks_spec.rb +152 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/util_spec.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy_spec.rb +203 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/libc_spec.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi/operations_spec.rb +298 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi/options_spec.rb +182 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi/stack_spec.rb +80 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi_spec.rb +152 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/spec_helper.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/support/localhost_server.rb +95 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/support/server.rb +115 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/CHANGELOG.md +456 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/COPYING +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/Gemfile +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/LICENSE +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/LICENSE.SPECS +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/README.md +137 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/Rakefile +206 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/ffi.gemspec +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/2.5/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/2.6/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/2.7/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/3.0/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/3.1/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/3.2/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/3.3/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/abstract_memory.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/autopointer.rb +180 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/buffer.rb +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/callback.rb +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/compat.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/data_converter.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/dynamic_library.rb +118 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/enum.rb +302 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/errno.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/ffi.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/function.rb +71 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/io.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/library.rb +576 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/library_path.rb +109 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/managedstruct.rb +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/memorypointer.rb +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/aarch64-darwin/types.conf +130 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/aarch64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/aarch64-freebsd12/types.conf +181 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/aarch64-linux/types.conf +175 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/aarch64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/aarch64-windows/types.conf +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/arm-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/arm-freebsd12/types.conf +152 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/arm-linux/types.conf +132 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/hppa1.1-linux/types.conf +178 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/hppa2.0-linux/types.conf +178 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/i386-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/i386-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/i386-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/i386-freebsd12/types.conf +152 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/i386-gnu/types.conf +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/i386-linux/types.conf +103 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/i386-netbsd/types.conf +126 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/i386-openbsd/types.conf +128 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/i386-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/i386-windows/types.conf +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/ia64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/loongarch64-linux/types.conf +141 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/mips-linux/types.conf +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/mips64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/mips64el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/mipsel-linux/types.conf +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/mipsisa32r6-linux/types.conf +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/mipsisa32r6el-linux/types.conf +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/mipsisa64r6-linux/types.conf +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/mipsisa64r6el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/powerpc-aix/types.conf +180 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/powerpc-linux/types.conf +130 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/powerpc-openbsd/types.conf +156 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/powerpc64le-linux/types.conf +100 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/riscv64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/s390-linux/types.conf +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/s390x-linux/types.conf +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/sparc-linux/types.conf +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/sparc-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/sparcv9-linux/types.conf +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/sparcv9-openbsd/types.conf +156 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/sw_64-linux/types.conf +141 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/x86_64-darwin/types.conf +130 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/x86_64-dragonflybsd/types.conf +130 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/x86_64-freebsd12/types.conf +158 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/x86_64-haiku/types.conf +117 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/x86_64-linux/types.conf +132 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/x86_64-msys/types.conf +119 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/x86_64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform/x86_64-windows/types.conf +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/platform.rb +187 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/pointer.rb +167 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/struct.rb +317 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/struct_by_reference.rb +72 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/struct_layout.rb +96 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/struct_layout_builder.rb +227 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/tools/const_generator.rb +232 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/tools/generator.rb +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/tools/generator_task.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/tools/struct_generator.rb +195 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/tools/types_generator.rb +137 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/types.rb +222 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/union.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/variadic.rb +80 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi/version.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/lib/ffi.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/rakelib/ffi_gem_helper.rb +65 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/samples/getlogin.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/samples/getpid.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/samples/gettimeofday.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/samples/hello.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/samples/hello_ractor.rb +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/samples/inotify.rb +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/samples/pty.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/samples/qsort.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/samples/qsort_ractor.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/abstract_memory.rbs +165 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/buffer.rbs +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/data_converter.rbs +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/dynamic_library.rbs +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/enum.rbs +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/function.rbs +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/library.rbs +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/native_type.rbs +86 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/pointer.rbs +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct.rbs +76 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_by_value.rbs +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_layout.rbs +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/struct_layout_builder.rbs +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi/type.rbs +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-x86_64-linux-gnu/sig/ffi.rbs +26 -0
- data/{LICENSE.txt → vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/LICENSE.txt} +1 -1
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile +269 -0
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.c +97 -0
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/codepoints.c +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/codepoints.h +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/extconf.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/jaro.c +121 -0
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/jaro.h +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/jaro_winkler.c +77 -0
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/jaro_winkler_pure.rb +135 -0
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/version.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/.gemtest +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/.yardopts +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/CHANGELOG.md +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/Gemfile +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/LICENSE +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/README.markdown +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/Rakefile +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/lib/method_source/code_helpers.rb +154 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/lib/method_source/source_location.rb +138 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/lib/method_source/version.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/lib/method_source.rb +177 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/method_source.gemspec +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/spec/method_source/code_helpers_spec.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/spec/method_source_spec.rb +157 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/spec/spec_helper.rb +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/parallel-1.25.1/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/parallel-1.25.1/lib/parallel/version.rb +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/parallel-1.25.1/lib/parallel.rb +699 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/bin/ruby-parse +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/bin/ruby-rewrite +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/gauntlet_parser.rb +123 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/all.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ast/node.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ast/processor.rb +293 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/base.rb +291 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/builders/default.rb +2338 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/clobbering_error.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/color.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/context.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/current.rb +137 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/current_arg_stack.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/deprecation.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/diagnostic/engine.rb +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/diagnostic.rb +163 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/lexer/dedenter.rb +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/lexer/explanation.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/lexer/literal.rb +284 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/lexer/stack_state.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/lexer-F0.rb +12922 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/lexer-F1.rb +14875 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/lexer-strings.rb +5424 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/macruby.rb +9634 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/max_numparam_stack.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/messages.rb +125 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/meta.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/rewriter.rb +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby18.rb +9272 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby19.rb +9558 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby20.rb +10229 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby21.rb +10203 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby22.rb +10302 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby23.rb +10322 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby24.rb +10454 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby25.rb +10374 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby26.rb +10352 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby27.rb +11947 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby28.rb +8047 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby30.rb +12243 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby31.rb +12716 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby32.rb +12704 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby33.rb +12589 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/ruby34.rb +12589 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/rubymotion.rb +9515 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/runner/ruby_parse.rb +157 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/runner/ruby_rewrite.rb +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/runner.rb +298 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/buffer.rb +369 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/comment/associator.rb +233 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/comment.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/collection.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/condition.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/constant.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/definition.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/for.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/heredoc.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/index.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/keyword.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/method_definition.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/objc_kwarg.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/operator.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/rescue_body.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/send.rb +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/ternary.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map/variable.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/map.rb +186 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/range.rb +326 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/rewriter/action.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/rewriter.rb +513 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/tree_rewriter/action.rb +243 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/source/tree_rewriter.rb +431 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/static_environment.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/syntax_error.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/tree_rewriter.rb +133 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/unknown_encoding_in_magic_comment_error.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/variables_stack.rb +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser/version.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/lib/parser.rb +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.0/parser.gemspec +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/CHANGELOG.md +1141 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/LICENSE +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/README.md +466 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/bin/pry +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/basic_object.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/block_command.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/class_command.rb +194 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/cli.rb +207 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/code/code_file.rb +114 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/code/code_range.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/code/loc.rb +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/code.rb +357 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/code_object.rb +197 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/color_printer.rb +66 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/command.rb +520 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/command_set.rb +418 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/command_state.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/amend_line.rb +103 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/bang.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/bang_pry.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/cat/abstract_formatter.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/cat/exception_formatter.rb +90 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/cat/file_formatter.rb +77 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/cat/input_expression_formatter.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/cat.rb +70 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/cd.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/change_inspector.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/change_prompt.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/clear_screen.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/code_collector.rb +182 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/disable_pry.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/easter_eggs.rb +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/edit/exception_patcher.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/edit/file_and_line_locator.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/edit.rb +223 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/exit.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/exit_all.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/exit_program.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/find_method.rb +199 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/fix_indent.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/help.rb +171 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/hist.rb +182 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/import_set.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/jump_to.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/list_inspectors.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ls/constants.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ls/formatter.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ls/globals.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ls/grep.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ls/instance_vars.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ls/interrogatable.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ls/jruby_hacks.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ls/local_names.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ls/local_vars.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ls/ls_entity.rb +65 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ls/methods.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ls/methods_helper.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ls/self_methods.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ls.rb +135 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/nesting.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/play.rb +113 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/pry_backtrace.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/pry_version.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/raise_up.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/reload_code.rb +74 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/reset.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/ri.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/save_file.rb +63 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/shell_command.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/shell_mode.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/show_doc.rb +93 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/show_info.rb +234 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/show_input.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/show_source.rb +118 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/stat.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/switch_to.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/toggle_color.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/watch_expression/expression.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/watch_expression.rb +110 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/whereami.rb +205 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/commands/wtf.rb +95 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/config/attributable.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/config/lazy_value.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/config/memoized_value.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/config/value.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/config.rb +314 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/control_d_handler.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/core_extensions.rb +144 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/editor.rb +157 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/exception_handler.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/exceptions.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/forwardable.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/helpers/base_helpers.rb +71 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/helpers/command_helpers.rb +146 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/helpers/documentation_helpers.rb +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/helpers/options_helpers.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/helpers/platform.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/helpers/table.rb +121 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/helpers/text.rb +118 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/helpers.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/history.rb +153 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/hooks.rb +180 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/indent.rb +412 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/input_completer.rb +283 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/input_lock.rb +129 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/inspector.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/last_exception.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/method/disowned.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/method/patcher.rb +131 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/method/weird_method_locator.rb +222 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/method.rb +600 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/object_path.rb +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/output.rb +136 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/pager.rb +249 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/prompt.rb +214 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/pry_class.rb +396 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/pry_instance.rb +701 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/repl.rb +256 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/repl_file_loader.rb +79 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/ring.rb +89 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/slop/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/slop/commands.rb +190 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/slop/option.rb +210 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/slop.rb +672 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/syntax_highlighter.rb +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/system_command_handler.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/testable/evalable.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/testable/mockable.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/testable/pry_tester.rb +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/testable/utility.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/testable/variables.rb +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/testable.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/version.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/warning.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/wrapped_module/candidate.rb +139 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/wrapped_module.rb +382 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry.rb +145 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/CHANGELOG.md +230 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/README.md +189 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/byebug/processors/pry_processor.rb +158 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry/byebug/breakpoints.rb +167 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/base.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/cli.rb +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/backtrace.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/breakpoint.rb +137 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/continue.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/exit_all.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/frame.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/next.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/step.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/up.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/control_d_handler.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/helpers/breakpoints.rb +82 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/helpers/location.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/helpers/multiline.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/helpers/navigation.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_remote_ext.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/version.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug.rb +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/COPYING +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/ChangeLog +846 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/README.ja.rdoc +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/README.rdoc +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/TODO +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/bin/racc +320 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/doc/en/grammar.en.rdoc +218 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/doc/en/grammar2.en.rdoc +219 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/doc/ja/command.ja.html +99 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/doc/ja/debug.ja.rdoc +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/doc/ja/grammar.ja.rdoc +348 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/doc/ja/index.ja.html +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/doc/ja/parser.ja.rdoc +125 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/doc/ja/usage.ja.html +414 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/ext/racc/cparse/Makefile +269 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/ext/racc/cparse/cparse.c +840 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/ext/racc/cparse/extconf.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/compat.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/debugflags.rb +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/exception.rb +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/grammar.rb +1191 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/grammarfileparser.rb +667 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/info.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/iset.rb +92 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/logfilegenerator.rb +212 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/parser-text.rb +644 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/parser.rb +630 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/parserfilegenerator.rb +473 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/sourcetext.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/state.rb +976 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/statetransitiontable.rb +311 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc/static.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.0/lib/racc.rb +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/Changelog.md +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/README.markdown +227 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/color.rb +150 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/ext/string.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/global.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/null_presenter.rb +100 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/presenter.rb +144 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/string_utils.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/version.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/wrapper.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow/x11_color_names.rb +153 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/lib/rainbow.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/History.rdoc +2403 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/README.rdoc +155 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/exe/rake +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/application.rb +831 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/file_utils.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/testtask.rb +189 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.0.6/rake.gemspec +100 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.0/README.md +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/.document +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/.yardopts +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/Changelog.md +2400 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/LICENSE.md +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/README.md +389 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/exe/rspec +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/fork_runner.rb +138 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/bisect/utilities.rb +69 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb +2413 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/configuration_options.rb +238 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/did_you_mean.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/drb.rb +120 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb +666 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/example_group.rb +905 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/console_codes.rb +76 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb +546 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/helpers.rb +118 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/html_printer.rb +412 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/json_formatter.rb +103 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters.rb +279 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb +646 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/memoized_helpers.rb +580 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/notifications.rb +523 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/option_parser.rb +323 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/ordering.rb +208 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/pending.rb +157 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/project_initializer/.rspec +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +98 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/rake_task.rb +188 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/reporter.rb +265 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb +216 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core/world.rb +287 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/lib/rspec/core.rb +212 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/.document +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/.yardopts +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/Changelog.md +1333 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/README.md +326 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/expectations/configuration.rb +230 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/expectations/expectation_target.rb +163 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/expectations/failure_aggregator.rb +229 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/expectations/handler.rb +182 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/all.rb +86 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/base_matcher.rb +239 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/be.rb +191 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/change.rb +450 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/compound.rb +290 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/contain_exactly.rb +310 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/count_expectation.rb +169 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/eq.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/eql.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/has.rb +167 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/include.rb +213 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/output.rb +207 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/raise_error.rb +275 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/respond_to.rb +200 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/throw_symbol.rb +138 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in/yield.rb +375 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/built_in.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/dsl.rb +545 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/matcher_delegator.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/matcher_protocol.rb +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers/multi_matcher_diff.rb +82 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.1/lib/rspec/matchers.rb +1044 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/.document +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/.yardopts +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/Changelog.md +1292 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/README.md +465 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/any_instance/proxy.rb +125 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/any_instance/recorder.rb +297 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/argument_list_matcher.rb +117 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/argument_matchers.rb +366 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/error_generator.rb +390 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/matchers/receive.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/message_expectation.rb +820 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/method_double.rb +316 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/method_reference.rb +214 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/proxy.rb +517 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/verifying_double.rb +123 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/verifying_message_expectation.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/verifying_proxy.rb +221 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/lib/rspec/mocks.rb +133 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/Changelog.md +397 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/LICENSE.md +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/README.md +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/caller_filter.rb +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/comparable_version.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/differ.rb +217 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/directory_maker.rb +65 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/encoded_string.rb +163 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/fuzzy_matcher.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/hunk_generator.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/matcher_definition.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/method_signature_verifier.rb +442 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/mutex.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/object_formatter.rb +277 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/recursive_const_methods.rb +78 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/reentrant_mutex.rb +80 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/ruby_features.rb +221 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/source/location.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/source/node.rb +112 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/source/token.rb +96 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/source.rb +87 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/spec/deprecation_helpers.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/spec/diff_helpers.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/spec/formatting_support.rb +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/spec/in_sub_process.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/spec/library_wide_checks.rb +152 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/spec/shell_out.rb +110 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/spec/stderr_splitter.rb +77 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/spec/string_matcher.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/spec/with_isolated_directory.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/spec/with_isolated_stderr.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/spec.rb +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/version.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/warnings.rb +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support/with_keywords_when_needed.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/lib/rspec/support.rb +162 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/README.md +221 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/assets/logo.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/assets/output.html.erb +261 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/bin/console +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/bin/setup +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/config/default.yml +4408 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/exe/rubocop +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/builder.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/and_node.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/args_node.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/array_node.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/block_node.rb +115 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/break_node.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/case_node.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/def_node.rb +71 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/defined_node.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/for_node.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/hash_node.rb +109 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/if_node.rb +175 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +251 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/or_node.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/pair_node.rb +63 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/range_node.rb +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/regexp_node.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/resbody_node.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/retry_node.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/send_node.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/str_node.rb +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/super_node.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/until_node.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/when_node.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/while_node.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/yield_node.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node.rb +642 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/sexp.rb +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/traversal.rb +183 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cached_data.rb +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cli.rb +307 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/comment_config.rb +200 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/config.rb +716 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/config_loader.rb +214 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/config_loader_resolver.rb +198 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/config_store.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/autocorrect_logic.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/badge.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/gem_comment.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/commissioner.rb +119 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/cop.rb +244 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/corrector.rb +172 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/alignment_corrector.rb +120 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/condition_corrector.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/space_corrector.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/unused_arg_corrector.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/force.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/ordered_dependencies.rb +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator/configuration_injector.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator.rb +217 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/ignored_node.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/node_destructuring.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/access_modifier_indentation.rb +109 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_array.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_hash.rb +315 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_parameters.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/block_alignment.rb +244 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/block_end_newline.rb +63 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/case_indentation.rb +161 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/class_structure.rb +340 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/comment_indentation.rb +144 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/condition_position.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/dot_position.rb +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/else_alignment.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_comment.rb +160 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +142 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_between_defs.rb +151 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines.rb +76 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +146 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +63 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/end_alignment.rb +189 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/end_of_line.rb +87 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/extra_spacing.rb +246 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_method_argument_line_break.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_parameter_indentation.rb +244 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_array.rb +167 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_assignment.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_hash.rb +184 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_heredoc.rb +294 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indentation_consistency.rb +201 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indentation_width.rb +364 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/leading_blank_lines.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/leading_comment_space.rb +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_block_layout.rb +124 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +122 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +222 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_operation_indentation.rb +114 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +175 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_not.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_block_parameters.rb +165 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_keyword.rb +232 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_operators.rb +163 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_block_braces.rb +119 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_comment.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_first_arg.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_in_lambda_literal.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +228 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_block_braces.rb +229 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +207 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +151 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/tab.rb +87 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/trailing_blank_lines.rb +113 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/trailing_whitespace.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_operator.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/assignment_in_condition.rb +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/boolean_symbol.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/debugger.rb +79 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicate_methods.rb +241 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicated_key.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/else_layout.rb +66 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_when.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/end_in_method.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ensure_return.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/erb_new_arguments.rb +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/flip_flop.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +190 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/handle_exceptions.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/inherit_exception.rb +80 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/literal_as_condition.rb +138 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +82 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/loop.rb +63 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/multiple_compare.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/number_conversion.rb +59 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/percent_string_array.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rand_one.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rescue_type.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_chain.rb +69 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/script_permission.rb +70 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +59 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/syntax.rb +59 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/to_json.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unified_integer.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_cop_disable_directive.rb +263 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_cop_enable_directive.rb +116 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_require_statement.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_splat_expansion.rb +167 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unused_block_argument.rb +149 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unused_method_argument.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_access_modifier.rb +240 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_assignment.rb +133 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_setter_call.rb +165 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/void.rb +170 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/message_annotator.rb +119 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/abc_size.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/block_length.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/class_length.rb +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/line_length.rb +204 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/method_length.rb +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/module_length.rb +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/perceived_complexity.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/alignment.rb +74 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_hash_indentation.rb +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_min_size.rb +59 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/classish_length.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/code_length.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +98 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_formatting.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/def_node.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/documentation_comment.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/hash_alignment.rb +143 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/heredoc.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/match_range.rb +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/method_complexity.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/method_preference.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/parentheses.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/percent_array.rb +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/range_help.rb +117 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/rescue_node.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/safe_mode.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/statement_modifier.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/string_help.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/surrounding_space.rb +144 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/target_rails_version.rb +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/target_ruby_version.rb +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/too_many_lines.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/trailing_comma.rb +216 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/uncommunicative_name.rb +106 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/class_and_module_camel_case.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/constant_name.rb +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/file_name.rb +205 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/method_name.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/predicate_name.rb +108 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/uncommunicative_block_param_name.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/uncommunicative_method_param_name.rb +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/variable_name.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/variable_number.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/offense.rb +194 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/caller.rb +69 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/case_when_splat.rb +177 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/casecmp.rb +108 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/chain_array_allocation.rb +78 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/compare_with_block.rb +122 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/count.rb +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/detect.rb +110 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/double_start_end_with.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/end_with.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/fixed_size.rb +97 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/flat_map.rb +78 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/inefficient_hash_search.rb +99 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/lstrip_rstrip.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/open_struct.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/range_include.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_block_call.rb +93 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_match.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_merge.rb +183 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_sort_by.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/regexp_match.rb +265 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/reverse_each.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/sample.rb +145 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/size.rb +77 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/start_with.rb +59 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/string_replacement.rb +173 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/times_map.rb +71 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/unfreeze_string.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/unneeded_sort.rb +165 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/uri_default_parser.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/action_filter.rb +117 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/active_record_aliases.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/active_support_aliases.rb +69 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/application_job.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/application_record.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/assert_not.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/belongs_to.rb +120 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/blank.rb +158 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/bulk_change_table.rb +289 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/create_table_with_timestamps.rb +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/date.rb +156 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/delegate.rb +135 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/delegate_allow_blank.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/dynamic_find_by.rb +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/enum_uniqueness.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/environment_comparison.rb +66 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/exit.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/file_path.rb +108 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/find_by.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/find_each.rb +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/has_and_belongs_to_many.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/has_many_or_has_one_dependent.rb +106 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/http_positional_arguments.rb +117 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/http_status.rb +186 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/ignored_skip_action_filter_option.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/inverse_of.rb +246 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/lexically_scoped_action_filter.rb +149 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/link_to_blank.rb +90 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/not_null_column.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/output.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/output_safety.rb +99 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/pluralization_grammar.rb +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/presence.rb +124 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/present.rb +149 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/read_write_attribute.rb +74 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/redundant_receiver_in_with_options.rb +135 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/reflection_class_name.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/refute_methods.rb +76 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/relative_date_constant.rb +93 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/request_referer.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/reversible_migration.rb +286 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/safe_navigation.rb +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/save_bang.rb +316 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/scope_args.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/skips_model_validations.rb +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/time_zone.rb +231 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/uniq_before_pluck.rb +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/unknown_env.rb +63 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/validation.rb +106 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/registry.rb +190 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/eval.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/json_load.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/open.rb +71 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/yaml_load.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/severity.rb +77 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/access_modifier_declarations.rb +111 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/alias.rb +141 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/and_or.rb +146 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/array_join.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ascii_comments.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/attr.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/block_comments.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/block_delimiters.rb +315 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +190 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/case_equality.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/character_literal.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_and_module_children.rb +153 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_check.rb +59 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_methods.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_vars.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/collection_methods.rb +77 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/colon_method_call.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/command_literal.rb +187 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/comment_annotation.rb +97 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/commented_keyword.rb +87 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/conditional_assignment.rb +698 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/constant_visibility.rb +66 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/copyright.rb +95 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/date_time.rb +77 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/dir.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/documentation.rb +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/documentation_method.rb +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/double_negation.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/each_with_object.rb +110 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_else.rb +175 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_literal.rb +123 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_method.rb +115 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/encoding.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/end_block.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/eval_with_location.rb +148 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/even_odd.rb +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/for.rb +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/format_string.rb +123 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/format_string_token.rb +170 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +180 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/guard_clause.rb +92 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/hash_syntax.rb +214 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_inside_else.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_unless_modifier.rb +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_with_semicolon.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/infinite_loop.rb +127 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/inverse_methods.rb +167 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ip_addresses.rb +76 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/lambda.rb +129 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/lambda_call.rb +93 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/line_end_concatenation.rb +121 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +368 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +77 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_def_parentheses.rb +158 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_missing_super.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/min_max.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/missing_else.rb +180 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mixin_grouping.rb +150 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mixin_usage.rb +80 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/module_function.rb +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mutable_constant.rb +174 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/negated_if.rb +99 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/negated_while.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_modifier.rb +89 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/next.rb +244 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nil_comparison.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/non_nil_check.rb +124 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/not.rb +82 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_literals.rb +110 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_predicate.rb +145 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/one_line_conditional.rb +99 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/option_hash.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/optional_arguments.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/or_assignment.rb +90 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/parentheses_around_condition.rb +103 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/proc.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/raise_args.rb +145 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/random_with_offset.rb +161 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_begin.rb +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_conditional.rb +97 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_exception.rb +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_parentheses.rb +222 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_return.rb +169 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_self.rb +154 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/regexp_literal.rb +228 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/rescue_modifier.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/return_nil.rb +89 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/safe_navigation.rb +253 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/self_assignment.rb +97 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/semicolon.rb +90 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/send.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/signal_exception.rb +211 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/single_line_methods.rb +76 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/special_global_vars.rb +213 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +86 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/stderr_puts.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_hash_keys.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_methods.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/struct_inheritance.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_array.rb +119 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_proc.rb +130 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ternary_parentheses.rb +194 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +92 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_method_end_statement.rb +93 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +161 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unless_else.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_capital_w.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_condition.rb +112 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_interpolation.rb +98 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_percent_q.rb +112 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unpack_first.rb +65 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/variable_interpolation.rb +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/when_then.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/while_until_do.rb +59 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/word_array.rb +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/yoda_condition.rb +140 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/team.rb +190 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/util.rb +129 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/assignment.rb +96 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/branch.rb +322 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/reference.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/scope.rb +109 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/variable.rb +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force.rb +464 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/core_ext/string.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/error.rb +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/file_finder.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/base_formatter.rb +123 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/clang_style_formatter.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/disabled_config_formatter.rb +219 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/emacs_style_formatter.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/formatter_set.rb +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/html_formatter.rb +141 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/json_formatter.rb +80 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/simple_text_formatter.rb +126 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/tap_formatter.rb +71 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/magic_comment.rb +210 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/name_similarity.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/node_pattern.rb +584 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/options.rb +441 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/path_util.rb +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/platform.rb +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/processed_source.rb +210 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/rake_task.rb +79 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/remote_config.rb +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/result_cache.rb +191 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/rspec/cop_helper.rb +95 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/rspec/expect_offense.rb +237 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/rspec/shared_contexts.rb +96 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/rspec/shared_examples.rb +59 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/rspec/support.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/runner.rb +353 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/string_interpreter.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/string_util.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/target_finder.rb +187 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/token.rb +114 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/version.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/warning.rb +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop/yaml_duplication_checker.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-0.66.0/lib/rubocop.rb +654 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/README.md +131 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/Rakefile +2 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/base.rb +234 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/calculators/length.rb +98 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/bar.rb +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/percentage.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/rate.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/time.rb +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/molecule.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/string.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/output.rb +71 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/progress.rb +108 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb +71 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/time.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/timer.rb +78 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/.github/workflows/ci.yml +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/.github/workflows/experimental.yml +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/.gitignore +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/.rspec +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/CHANGELOG.md +410 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/CONTRIBUTING.md +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/Gemfile +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/Guardfile +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/LICENSE +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/README.md +588 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/Rakefile +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/UPGRADE.md +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/rack/typhoeus/middleware/params_decoder/helper.rb +76 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/rack/typhoeus/middleware/params_decoder.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/rack/typhoeus.rb +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/adapters/faraday.rb +180 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/cache/dalli.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/cache/rails.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/cache/redis.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/config.rb +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/easy_factory.rb +206 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/errors/no_stub.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/errors/typhoeus_error.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/errors.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/expectation.rb +217 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/addable.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/before.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/block_connection.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/cacheable.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/memoizable.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/queueable.rb +83 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/runnable.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/stubbable.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra.rb +95 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/pool.rb +70 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/railtie.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/actions.rb +125 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/before.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/block_connection.rb +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/cacheable.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/callbacks.rb +151 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/marshal.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/memoizable.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/operations.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/responseable.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/streamable.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/stubbable.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request.rb +223 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/header.rb +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/informations.rb +305 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/status.rb +106 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/version.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus.rb +143 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/perf/profile.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/perf/vs_nethttp.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/rack/typhoeus/middleware/params_decoder/helper_spec.rb +156 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/rack/typhoeus/middleware/params_decoder_spec.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/spec_helper.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/support/localhost_server.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/support/memory_cache.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/support/server.rb +116 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/adapters/faraday_spec.rb +339 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/cache/dalli_spec.rb +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/cache/redis_spec.rb +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/config_spec.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/easy_factory_spec.rb +143 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/errors/no_stub_spec.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/expectation_spec.rb +280 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/addable_spec.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/before_spec.rb +98 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/block_connection_spec.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/cacheable_spec.rb +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/memoizable_spec.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/queueable_spec.rb +98 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/runnable_spec.rb +137 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/stubbable_spec.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra_spec.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/pool_spec.rb +137 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/actions_spec.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/before_spec.rb +93 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/block_connection_spec.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/cacheable_spec.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/callbacks_spec.rb +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/marshal_spec.rb +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/memoizable_spec.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/operations_spec.rb +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/responseable_spec.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/stubbable_spec.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request_spec.rb +256 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/response/header_spec.rb +147 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/response/informations_spec.rb +323 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/response/status_spec.rb +256 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/response_spec.rb +100 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus_spec.rb +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/typhoeus.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-1.5.0/CHANGELOG.md +121 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-1.5.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-1.5.0/README.md +124 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-1.5.0/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/constants.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/index.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/no_string_ext.rb +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/string_ext.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ast-2.4.2.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/byebug-11.1.3.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/coderay-1.1.3.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/diff-lcs-1.5.1.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ethon-0.16.0.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ffi-1.17.0-x86_64-linux-gnu.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/jaro_winkler-1.5.6.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/method_source-1.1.0.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/parallel-1.25.1.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/parser-3.3.4.0.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/pry-0.14.2.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/pry-byebug-3.10.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/racc-1.8.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rainbow-3.1.1.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rake-13.0.6.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-3.13.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-core-3.13.0.gemspec +39 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-expectations-3.13.1.gemspec +33 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-mocks-3.13.1.gemspec +33 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-support-3.13.1.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-0.66.0.gemspec +38 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ruby-progressbar-1.13.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/typhoeus-1.4.1.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/unicode-display_width-1.5.0.gemspec +29 -0
- metadata +2011 -84
- data/.env +0 -1
- data/.gitignore +0 -20
- data/.pryrc +0 -7
- data/.rspec +0 -2
- data/.ruby-gemset +0 -1
- data/.ruby-version +0 -1
- data/.travis.yml +0 -4
- data/CHANGELOG.md +0 -27
- data/Guardfile +0 -9
- data/example.rb +0 -18
- data/lib/databox/client.rb +0 -71
- data/spec/databox/client_spec.rb +0 -53
- data/spec/databox_spec.rb +0 -22
@@ -0,0 +1,2338 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Parser
|
4
|
+
|
5
|
+
##
|
6
|
+
# Default AST builder. Uses {AST::Node}s.
|
7
|
+
#
|
8
|
+
class Builders::Default
|
9
|
+
class << self
|
10
|
+
##
|
11
|
+
# AST compatibility attribute; since `-> {}` is not semantically
|
12
|
+
# equivalent to `lambda {}`, all new code should set this attribute
|
13
|
+
# to true.
|
14
|
+
#
|
15
|
+
# If set to false (the default), `-> {}` is emitted as
|
16
|
+
# `s(:block, s(:send, nil, :lambda), s(:args), nil)`.
|
17
|
+
#
|
18
|
+
# If set to true, `-> {}` is emitted as
|
19
|
+
# `s(:block, s(:lambda), s(:args), nil)`.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
attr_accessor :emit_lambda
|
23
|
+
end
|
24
|
+
|
25
|
+
@emit_lambda = false
|
26
|
+
|
27
|
+
class << self
|
28
|
+
##
|
29
|
+
# AST compatibility attribute; block arguments of `m { |a| }` are
|
30
|
+
# not semantically equivalent to block arguments of `m { |a,| }` or `m { |a, b| }`,
|
31
|
+
# all new code should set this attribute to true.
|
32
|
+
#
|
33
|
+
# If set to false (the default), arguments of `m { |a| }` are emitted as
|
34
|
+
# `s(:args, s(:arg, :a))`.
|
35
|
+
#
|
36
|
+
# If set to true, arguments of `m { |a| }` are emitted as
|
37
|
+
# `s(:args, s(:procarg0, :a)).
|
38
|
+
#
|
39
|
+
# @return [Boolean]
|
40
|
+
attr_accessor :emit_procarg0
|
41
|
+
end
|
42
|
+
|
43
|
+
@emit_procarg0 = false
|
44
|
+
|
45
|
+
class << self
|
46
|
+
##
|
47
|
+
# AST compatibility attribute; locations of `__ENCODING__` are not the same
|
48
|
+
# as locations of `Encoding::UTF_8` causing problems during rewriting,
|
49
|
+
# all new code should set this attribute to true.
|
50
|
+
#
|
51
|
+
# If set to false (the default), `__ENCODING__` is emitted as
|
52
|
+
# ` s(:const, s(:const, nil, :Encoding), :UTF_8)`.
|
53
|
+
#
|
54
|
+
# If set to true, `__ENCODING__` is emitted as
|
55
|
+
# `s(:__ENCODING__)`.
|
56
|
+
#
|
57
|
+
# @return [Boolean]
|
58
|
+
attr_accessor :emit_encoding
|
59
|
+
end
|
60
|
+
|
61
|
+
@emit_encoding = false
|
62
|
+
|
63
|
+
class << self
|
64
|
+
##
|
65
|
+
# AST compatibility attribute; indexed assignment, `x[] = 1`, is not
|
66
|
+
# semantically equivalent to calling the method directly, `x.[]=(1)`.
|
67
|
+
# Specifically, in the former case, the expression's value is always 1,
|
68
|
+
# and in the latter case, the expression's value is the return value
|
69
|
+
# of the `[]=` method.
|
70
|
+
#
|
71
|
+
# If set to false (the default), `self[1]` is emitted as
|
72
|
+
# `s(:send, s(:self), :[], s(:int, 1))`, and `self[1] = 2` is
|
73
|
+
# emitted as `s(:send, s(:self), :[]=, s(:int, 1), s(:int, 2))`.
|
74
|
+
#
|
75
|
+
# If set to true, `self[1]` is emitted as
|
76
|
+
# `s(:index, s(:self), s(:int, 1))`, and `self[1] = 2` is
|
77
|
+
# emitted as `s(:indexasgn, s(:self), s(:int, 1), s(:int, 2))`.
|
78
|
+
#
|
79
|
+
# @return [Boolean]
|
80
|
+
attr_accessor :emit_index
|
81
|
+
end
|
82
|
+
|
83
|
+
@emit_index = false
|
84
|
+
|
85
|
+
class << self
|
86
|
+
##
|
87
|
+
# AST compatibility attribute; causes a single non-mlhs
|
88
|
+
# block argument to be wrapped in s(:procarg0).
|
89
|
+
#
|
90
|
+
# If set to false (the default), block arguments `|a|` are emitted as
|
91
|
+
# `s(:args, s(:procarg0, :a))`
|
92
|
+
#
|
93
|
+
# If set to true, block arguments `|a|` are emitted as
|
94
|
+
# `s(:args, s(:procarg0, s(:arg, :a))`
|
95
|
+
#
|
96
|
+
# @return [Boolean]
|
97
|
+
attr_accessor :emit_arg_inside_procarg0
|
98
|
+
end
|
99
|
+
|
100
|
+
@emit_arg_inside_procarg0 = false
|
101
|
+
|
102
|
+
class << self
|
103
|
+
##
|
104
|
+
# AST compatibility attribute; arguments forwarding initially
|
105
|
+
# didn't have support for leading arguments
|
106
|
+
# (i.e. `def m(a, ...); end` was a syntax error). However, Ruby 3.0
|
107
|
+
# added support for any number of arguments in front of the `...`.
|
108
|
+
#
|
109
|
+
# If set to false (the default):
|
110
|
+
# 1. `def m(...) end` is emitted as
|
111
|
+
# s(:def, :m, s(:forward_args), nil)
|
112
|
+
# 2. `def m(a, b, ...) end` is emitted as
|
113
|
+
# s(:def, :m,
|
114
|
+
# s(:args, s(:arg, :a), s(:arg, :b), s(:forward_arg)))
|
115
|
+
#
|
116
|
+
# If set to true it uses a single format:
|
117
|
+
# 1. `def m(...) end` is emitted as
|
118
|
+
# s(:def, :m, s(:args, s(:forward_arg)))
|
119
|
+
# 2. `def m(a, b, ...) end` is emitted as
|
120
|
+
# s(:def, :m, s(:args, s(:arg, :a), s(:arg, :b), s(:forward_arg)))
|
121
|
+
#
|
122
|
+
# It does't matter that much on 2.7 (because there can't be any leading arguments),
|
123
|
+
# but on 3.0 it should be better enabled to use a single AST format.
|
124
|
+
#
|
125
|
+
# @return [Boolean]
|
126
|
+
attr_accessor :emit_forward_arg
|
127
|
+
end
|
128
|
+
|
129
|
+
@emit_forward_arg = false
|
130
|
+
|
131
|
+
class << self
|
132
|
+
##
|
133
|
+
# AST compatibility attribute; Starting from Ruby 2.7 keyword arguments
|
134
|
+
# of method calls that are passed explicitly as a hash (i.e. with curly braces)
|
135
|
+
# are treated as positional arguments and Ruby 2.7 emits a warning on such method
|
136
|
+
# call. Ruby 3.0 given an ArgumentError.
|
137
|
+
#
|
138
|
+
# If set to false (the default) the last hash argument is emitted as `hash`:
|
139
|
+
#
|
140
|
+
# ```
|
141
|
+
# (send nil :foo
|
142
|
+
# (hash
|
143
|
+
# (pair
|
144
|
+
# (sym :bar)
|
145
|
+
# (int 42))))
|
146
|
+
# ```
|
147
|
+
#
|
148
|
+
# If set to true it is emitted as `kwargs`:
|
149
|
+
#
|
150
|
+
# ```
|
151
|
+
# (send nil :foo
|
152
|
+
# (kwargs
|
153
|
+
# (pair
|
154
|
+
# (sym :bar)
|
155
|
+
# (int 42))))
|
156
|
+
# ```
|
157
|
+
#
|
158
|
+
# Note that `kwargs` node is just a replacement for `hash` argument,
|
159
|
+
# so if there's are multiple arguments (or a `kwsplat`) all of them
|
160
|
+
# are wrapped into `kwargs` instead of `hash`:
|
161
|
+
#
|
162
|
+
# ```
|
163
|
+
# (send nil :foo
|
164
|
+
# (kwargs
|
165
|
+
# (pair
|
166
|
+
# (sym :a)
|
167
|
+
# (int 42))
|
168
|
+
# (kwsplat
|
169
|
+
# (send nil :b))
|
170
|
+
# (pair
|
171
|
+
# (sym :c)
|
172
|
+
# (int 10))))
|
173
|
+
# ```
|
174
|
+
attr_accessor :emit_kwargs
|
175
|
+
end
|
176
|
+
|
177
|
+
@emit_kwargs = false
|
178
|
+
|
179
|
+
class << self
|
180
|
+
##
|
181
|
+
# AST compatibility attribute; Starting from 3.0 Ruby returns
|
182
|
+
# true/false from single-line pattern matching with `in` keyword.
|
183
|
+
#
|
184
|
+
# Before 3.0 there was an exception if given value doesn't match pattern.
|
185
|
+
#
|
186
|
+
# NOTE: This attribute affects only Ruby 2.7 grammar.
|
187
|
+
# 3.0 grammar always emits `match_pattern`/`match_pattern_p`
|
188
|
+
#
|
189
|
+
# If compatibility attribute set to false `foo in bar` is emitted as `in_match`:
|
190
|
+
#
|
191
|
+
# ```
|
192
|
+
# (in-match
|
193
|
+
# (send nil :foo)
|
194
|
+
# (match-var :bar))
|
195
|
+
# ```
|
196
|
+
#
|
197
|
+
# If set to true it's emitted as `match_pattern_p`:
|
198
|
+
# ```
|
199
|
+
# (match-pattern-p
|
200
|
+
# (send nil :foo)
|
201
|
+
# (match-var :bar))
|
202
|
+
# ```
|
203
|
+
attr_accessor :emit_match_pattern
|
204
|
+
end
|
205
|
+
|
206
|
+
@emit_match_pattern = false
|
207
|
+
|
208
|
+
class << self
|
209
|
+
##
|
210
|
+
# @api private
|
211
|
+
def modernize
|
212
|
+
@emit_lambda = true
|
213
|
+
@emit_procarg0 = true
|
214
|
+
@emit_encoding = true
|
215
|
+
@emit_index = true
|
216
|
+
@emit_arg_inside_procarg0 = true
|
217
|
+
@emit_forward_arg = true
|
218
|
+
@emit_kwargs = true
|
219
|
+
@emit_match_pattern = true
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
##
|
224
|
+
# @api private
|
225
|
+
attr_accessor :parser
|
226
|
+
|
227
|
+
##
|
228
|
+
# If set to true (the default), `__FILE__` and `__LINE__` are transformed to
|
229
|
+
# literal nodes. For example, `s(:str, "lib/foo.rb")` and `s(:int, 10)`.
|
230
|
+
#
|
231
|
+
# If set to false, `__FILE__` and `__LINE__` are emitted as-is,
|
232
|
+
# i.e. as `s(:__FILE__)` and `s(:__LINE__)` nodes.
|
233
|
+
#
|
234
|
+
# Source maps are identical in both cases.
|
235
|
+
#
|
236
|
+
# @return [Boolean]
|
237
|
+
attr_accessor :emit_file_line_as_literals
|
238
|
+
|
239
|
+
##
|
240
|
+
# Initializes attributes:
|
241
|
+
#
|
242
|
+
# * `emit_file_line_as_literals`: `true`
|
243
|
+
def initialize
|
244
|
+
@emit_file_line_as_literals = true
|
245
|
+
end
|
246
|
+
|
247
|
+
# @!parse private
|
248
|
+
|
249
|
+
#
|
250
|
+
# Literals
|
251
|
+
#
|
252
|
+
|
253
|
+
# Singletons
|
254
|
+
|
255
|
+
def nil(nil_t)
|
256
|
+
n0(:nil,
|
257
|
+
token_map(nil_t))
|
258
|
+
end
|
259
|
+
|
260
|
+
def true(true_t)
|
261
|
+
n0(:true,
|
262
|
+
token_map(true_t))
|
263
|
+
end
|
264
|
+
|
265
|
+
def false(false_t)
|
266
|
+
n0(:false,
|
267
|
+
token_map(false_t))
|
268
|
+
end
|
269
|
+
|
270
|
+
# Numerics
|
271
|
+
|
272
|
+
def integer(integer_t)
|
273
|
+
numeric(:int, integer_t)
|
274
|
+
end
|
275
|
+
|
276
|
+
def float(float_t)
|
277
|
+
numeric(:float, float_t)
|
278
|
+
end
|
279
|
+
|
280
|
+
def rational(rational_t)
|
281
|
+
numeric(:rational, rational_t)
|
282
|
+
end
|
283
|
+
|
284
|
+
def complex(complex_t)
|
285
|
+
numeric(:complex, complex_t)
|
286
|
+
end
|
287
|
+
|
288
|
+
def numeric(kind, token)
|
289
|
+
n(kind, [ value(token) ],
|
290
|
+
Source::Map::Operator.new(nil, loc(token)))
|
291
|
+
end
|
292
|
+
private :numeric
|
293
|
+
|
294
|
+
def unary_num(unary_t, numeric)
|
295
|
+
value, = *numeric
|
296
|
+
operator_loc = loc(unary_t)
|
297
|
+
|
298
|
+
case value(unary_t)
|
299
|
+
when '+'
|
300
|
+
value = +value
|
301
|
+
when '-'
|
302
|
+
value = -value
|
303
|
+
end
|
304
|
+
|
305
|
+
numeric.updated(nil, [ value ],
|
306
|
+
:location =>
|
307
|
+
Source::Map::Operator.new(
|
308
|
+
operator_loc,
|
309
|
+
operator_loc.join(numeric.loc.expression)))
|
310
|
+
end
|
311
|
+
|
312
|
+
def __LINE__(__LINE__t)
|
313
|
+
n0(:__LINE__,
|
314
|
+
token_map(__LINE__t))
|
315
|
+
end
|
316
|
+
|
317
|
+
# Strings
|
318
|
+
|
319
|
+
def string(string_t)
|
320
|
+
n(:str, [ string_value(string_t) ],
|
321
|
+
delimited_string_map(string_t))
|
322
|
+
end
|
323
|
+
|
324
|
+
def string_internal(string_t)
|
325
|
+
n(:str, [ string_value(string_t) ],
|
326
|
+
unquoted_map(string_t))
|
327
|
+
end
|
328
|
+
|
329
|
+
def string_compose(begin_t, parts, end_t)
|
330
|
+
if collapse_string_parts?(parts)
|
331
|
+
if begin_t.nil? && end_t.nil?
|
332
|
+
parts.first
|
333
|
+
else
|
334
|
+
n(:str, parts.first.children,
|
335
|
+
string_map(begin_t, parts, end_t))
|
336
|
+
end
|
337
|
+
else
|
338
|
+
n(:dstr, [ *parts ],
|
339
|
+
string_map(begin_t, parts, end_t))
|
340
|
+
end
|
341
|
+
end
|
342
|
+
|
343
|
+
def character(char_t)
|
344
|
+
n(:str, [ string_value(char_t) ],
|
345
|
+
prefix_string_map(char_t))
|
346
|
+
end
|
347
|
+
|
348
|
+
def __FILE__(__FILE__t)
|
349
|
+
n0(:__FILE__,
|
350
|
+
token_map(__FILE__t))
|
351
|
+
end
|
352
|
+
|
353
|
+
# Symbols
|
354
|
+
|
355
|
+
def symbol(symbol_t)
|
356
|
+
n(:sym, [ string_value(symbol_t).to_sym ],
|
357
|
+
prefix_string_map(symbol_t))
|
358
|
+
end
|
359
|
+
|
360
|
+
def symbol_internal(symbol_t)
|
361
|
+
n(:sym, [ string_value(symbol_t).to_sym ],
|
362
|
+
unquoted_map(symbol_t))
|
363
|
+
end
|
364
|
+
|
365
|
+
def symbol_compose(begin_t, parts, end_t)
|
366
|
+
if collapse_string_parts?(parts)
|
367
|
+
str = parts.first
|
368
|
+
|
369
|
+
n(:sym, [ str.children.first.to_sym ],
|
370
|
+
collection_map(begin_t, str.loc.expression, end_t))
|
371
|
+
elsif @parser.version == 18 && parts.empty?
|
372
|
+
diagnostic :error, :empty_symbol, nil, loc(begin_t).join(loc(end_t))
|
373
|
+
else
|
374
|
+
n(:dsym, [ *parts ],
|
375
|
+
collection_map(begin_t, parts, end_t))
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
# Executable strings
|
380
|
+
|
381
|
+
def xstring_compose(begin_t, parts, end_t)
|
382
|
+
n(:xstr, [ *parts ],
|
383
|
+
string_map(begin_t, parts, end_t))
|
384
|
+
end
|
385
|
+
|
386
|
+
# Indented (interpolated, noninterpolated, executable) strings
|
387
|
+
|
388
|
+
def dedent_string(node, dedent_level)
|
389
|
+
if !dedent_level.nil?
|
390
|
+
dedenter = Lexer::Dedenter.new(dedent_level)
|
391
|
+
|
392
|
+
case node.type
|
393
|
+
when :str
|
394
|
+
str = node.children.first
|
395
|
+
dedenter.dedent(str)
|
396
|
+
when :dstr, :xstr
|
397
|
+
children = node.children.map do |str_node|
|
398
|
+
if str_node.type == :str
|
399
|
+
str = str_node.children.first
|
400
|
+
dedenter.dedent(str)
|
401
|
+
next nil if str.empty?
|
402
|
+
else
|
403
|
+
dedenter.interrupt
|
404
|
+
end
|
405
|
+
str_node
|
406
|
+
end
|
407
|
+
|
408
|
+
node = node.updated(nil, children.compact)
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
412
|
+
node
|
413
|
+
end
|
414
|
+
|
415
|
+
# Regular expressions
|
416
|
+
|
417
|
+
def regexp_options(regopt_t)
|
418
|
+
options = value(regopt_t).
|
419
|
+
each_char.sort.uniq.
|
420
|
+
map(&:to_sym)
|
421
|
+
|
422
|
+
n(:regopt, options,
|
423
|
+
token_map(regopt_t))
|
424
|
+
end
|
425
|
+
|
426
|
+
def regexp_compose(begin_t, parts, end_t, options)
|
427
|
+
begin
|
428
|
+
static_regexp(parts, options)
|
429
|
+
rescue RegexpError => e
|
430
|
+
diagnostic :error, :invalid_regexp, { :message => e.message },
|
431
|
+
loc(begin_t).join(loc(end_t))
|
432
|
+
end
|
433
|
+
|
434
|
+
n(:regexp, (parts << options),
|
435
|
+
regexp_map(begin_t, end_t, options))
|
436
|
+
end
|
437
|
+
|
438
|
+
# Arrays
|
439
|
+
|
440
|
+
def array(begin_t, elements, end_t)
|
441
|
+
n(:array, elements,
|
442
|
+
collection_map(begin_t, elements, end_t))
|
443
|
+
end
|
444
|
+
|
445
|
+
def splat(star_t, arg=nil)
|
446
|
+
if arg.nil?
|
447
|
+
n0(:splat,
|
448
|
+
unary_op_map(star_t))
|
449
|
+
else
|
450
|
+
n(:splat, [ arg ],
|
451
|
+
unary_op_map(star_t, arg))
|
452
|
+
end
|
453
|
+
end
|
454
|
+
|
455
|
+
def word(parts)
|
456
|
+
if collapse_string_parts?(parts)
|
457
|
+
parts.first
|
458
|
+
else
|
459
|
+
n(:dstr, [ *parts ],
|
460
|
+
collection_map(nil, parts, nil))
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
def words_compose(begin_t, parts, end_t)
|
465
|
+
n(:array, [ *parts ],
|
466
|
+
collection_map(begin_t, parts, end_t))
|
467
|
+
end
|
468
|
+
|
469
|
+
def symbols_compose(begin_t, parts, end_t)
|
470
|
+
parts = parts.map do |part|
|
471
|
+
case part.type
|
472
|
+
when :str
|
473
|
+
value, = *part
|
474
|
+
part.updated(:sym, [ value.to_sym ])
|
475
|
+
when :dstr
|
476
|
+
part.updated(:dsym)
|
477
|
+
else
|
478
|
+
part
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
n(:array, [ *parts ],
|
483
|
+
collection_map(begin_t, parts, end_t))
|
484
|
+
end
|
485
|
+
|
486
|
+
# Hashes
|
487
|
+
|
488
|
+
def pair(key, assoc_t, value)
|
489
|
+
n(:pair, [ key, value ],
|
490
|
+
binary_op_map(key, assoc_t, value))
|
491
|
+
end
|
492
|
+
|
493
|
+
def pair_list_18(list)
|
494
|
+
if list.size % 2 != 0
|
495
|
+
diagnostic :error, :odd_hash, nil, list.last.loc.expression
|
496
|
+
else
|
497
|
+
list.
|
498
|
+
each_slice(2).map do |key, value|
|
499
|
+
n(:pair, [ key, value ],
|
500
|
+
binary_op_map(key, nil, value))
|
501
|
+
end
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
505
|
+
def pair_keyword(key_t, value)
|
506
|
+
key_map, pair_map = pair_keyword_map(key_t, value)
|
507
|
+
|
508
|
+
key = n(:sym, [ value(key_t).to_sym ], key_map)
|
509
|
+
|
510
|
+
n(:pair, [ key, value ], pair_map)
|
511
|
+
end
|
512
|
+
|
513
|
+
def pair_quoted(begin_t, parts, end_t, value)
|
514
|
+
end_t, pair_map = pair_quoted_map(begin_t, end_t, value)
|
515
|
+
|
516
|
+
key = symbol_compose(begin_t, parts, end_t)
|
517
|
+
|
518
|
+
n(:pair, [ key, value ], pair_map)
|
519
|
+
end
|
520
|
+
|
521
|
+
def pair_label(key_t)
|
522
|
+
key_l = loc(key_t)
|
523
|
+
value_l = key_l.adjust(end_pos: -1)
|
524
|
+
|
525
|
+
label = value(key_t)
|
526
|
+
value =
|
527
|
+
if label =~ /\A[[:lower:]]/
|
528
|
+
n(:ident, [ label.to_sym ], Source::Map::Variable.new(value_l))
|
529
|
+
else
|
530
|
+
n(:const, [ nil, label.to_sym ], Source::Map::Constant.new(nil, value_l, value_l))
|
531
|
+
end
|
532
|
+
pair_keyword(key_t, accessible(value))
|
533
|
+
end
|
534
|
+
|
535
|
+
def kwsplat(dstar_t, arg)
|
536
|
+
n(:kwsplat, [ arg ],
|
537
|
+
unary_op_map(dstar_t, arg))
|
538
|
+
end
|
539
|
+
|
540
|
+
def associate(begin_t, pairs, end_t)
|
541
|
+
key_set = Set.new
|
542
|
+
|
543
|
+
pairs.each do |pair|
|
544
|
+
next unless pair.type.eql?(:pair)
|
545
|
+
|
546
|
+
key, = *pair
|
547
|
+
|
548
|
+
case key.type
|
549
|
+
when :sym, :str, :int, :float
|
550
|
+
when :rational, :complex, :regexp
|
551
|
+
next unless @parser.version >= 31
|
552
|
+
else
|
553
|
+
next
|
554
|
+
end
|
555
|
+
|
556
|
+
unless key_set.add?(key)
|
557
|
+
diagnostic :warning, :duplicate_hash_key, nil, key.loc.expression
|
558
|
+
end
|
559
|
+
end
|
560
|
+
|
561
|
+
n(:hash, [ *pairs ],
|
562
|
+
collection_map(begin_t, pairs, end_t))
|
563
|
+
end
|
564
|
+
|
565
|
+
# Ranges
|
566
|
+
|
567
|
+
def range_inclusive(lhs, dot2_t, rhs)
|
568
|
+
n(:irange, [ lhs, rhs ],
|
569
|
+
range_map(lhs, dot2_t, rhs))
|
570
|
+
end
|
571
|
+
|
572
|
+
def range_exclusive(lhs, dot3_t, rhs)
|
573
|
+
n(:erange, [ lhs, rhs ],
|
574
|
+
range_map(lhs, dot3_t, rhs))
|
575
|
+
end
|
576
|
+
|
577
|
+
#
|
578
|
+
# Access
|
579
|
+
#
|
580
|
+
|
581
|
+
def self(token)
|
582
|
+
n0(:self,
|
583
|
+
token_map(token))
|
584
|
+
end
|
585
|
+
|
586
|
+
def ident(token)
|
587
|
+
n(:ident, [ value(token).to_sym ],
|
588
|
+
variable_map(token))
|
589
|
+
end
|
590
|
+
|
591
|
+
def ivar(token)
|
592
|
+
n(:ivar, [ value(token).to_sym ],
|
593
|
+
variable_map(token))
|
594
|
+
end
|
595
|
+
|
596
|
+
def gvar(token)
|
597
|
+
gvar_name = value(token)
|
598
|
+
|
599
|
+
if gvar_name.start_with?('$0') && gvar_name.length > 2
|
600
|
+
diagnostic :error, :gvar_name, { :name => gvar_name }, loc(token)
|
601
|
+
end
|
602
|
+
|
603
|
+
n(:gvar, [ gvar_name.to_sym ],
|
604
|
+
variable_map(token))
|
605
|
+
end
|
606
|
+
|
607
|
+
def cvar(token)
|
608
|
+
n(:cvar, [ value(token).to_sym ],
|
609
|
+
variable_map(token))
|
610
|
+
end
|
611
|
+
|
612
|
+
def back_ref(token)
|
613
|
+
n(:back_ref, [ value(token).to_sym ],
|
614
|
+
token_map(token))
|
615
|
+
end
|
616
|
+
|
617
|
+
def nth_ref(token)
|
618
|
+
n(:nth_ref, [ value(token) ],
|
619
|
+
token_map(token))
|
620
|
+
end
|
621
|
+
|
622
|
+
def accessible(node)
|
623
|
+
case node.type
|
624
|
+
when :__FILE__
|
625
|
+
if @emit_file_line_as_literals
|
626
|
+
n(:str, [ node.loc.expression.source_buffer.name ],
|
627
|
+
node.loc.dup)
|
628
|
+
else
|
629
|
+
node
|
630
|
+
end
|
631
|
+
|
632
|
+
when :__LINE__
|
633
|
+
if @emit_file_line_as_literals
|
634
|
+
n(:int, [ node.loc.expression.line ],
|
635
|
+
node.loc.dup)
|
636
|
+
else
|
637
|
+
node
|
638
|
+
end
|
639
|
+
|
640
|
+
when :__ENCODING__
|
641
|
+
if !self.class.emit_encoding
|
642
|
+
n(:const, [ n(:const, [ nil, :Encoding], nil), :UTF_8 ],
|
643
|
+
node.loc.dup)
|
644
|
+
else
|
645
|
+
node
|
646
|
+
end
|
647
|
+
|
648
|
+
when :ident
|
649
|
+
name, = *node
|
650
|
+
|
651
|
+
if %w[? !].any? { |c| name.to_s.end_with?(c) }
|
652
|
+
diagnostic :error, :invalid_id_to_get,
|
653
|
+
{ :identifier => name.to_s }, node.loc.expression
|
654
|
+
end
|
655
|
+
|
656
|
+
# Numbered parameters are not declared anywhere,
|
657
|
+
# so they take precedence over method calls in numblock contexts
|
658
|
+
if @parser.version >= 27 && @parser.try_declare_numparam(node)
|
659
|
+
return node.updated(:lvar)
|
660
|
+
end
|
661
|
+
|
662
|
+
unless @parser.static_env.declared?(name)
|
663
|
+
if @parser.version == 33 &&
|
664
|
+
name == :it &&
|
665
|
+
@parser.context.in_block &&
|
666
|
+
!@parser.max_numparam_stack.has_ordinary_params?
|
667
|
+
diagnostic :warning, :ambiguous_it_call, nil, node.loc.expression
|
668
|
+
end
|
669
|
+
|
670
|
+
return n(:send, [ nil, name ],
|
671
|
+
var_send_map(node))
|
672
|
+
end
|
673
|
+
|
674
|
+
if name.to_s == parser.current_arg_stack.top
|
675
|
+
diagnostic :error, :circular_argument_reference,
|
676
|
+
{ :var_name => name.to_s }, node.loc.expression
|
677
|
+
end
|
678
|
+
|
679
|
+
node.updated(:lvar)
|
680
|
+
|
681
|
+
else
|
682
|
+
node
|
683
|
+
end
|
684
|
+
end
|
685
|
+
|
686
|
+
def const(name_t)
|
687
|
+
n(:const, [ nil, value(name_t).to_sym ],
|
688
|
+
constant_map(nil, nil, name_t))
|
689
|
+
end
|
690
|
+
|
691
|
+
def const_global(t_colon3, name_t)
|
692
|
+
cbase = n0(:cbase, token_map(t_colon3))
|
693
|
+
|
694
|
+
n(:const, [ cbase, value(name_t).to_sym ],
|
695
|
+
constant_map(cbase, t_colon3, name_t))
|
696
|
+
end
|
697
|
+
|
698
|
+
def const_fetch(scope, t_colon2, name_t)
|
699
|
+
n(:const, [ scope, value(name_t).to_sym ],
|
700
|
+
constant_map(scope, t_colon2, name_t))
|
701
|
+
end
|
702
|
+
|
703
|
+
def __ENCODING__(__ENCODING__t)
|
704
|
+
n0(:__ENCODING__,
|
705
|
+
token_map(__ENCODING__t))
|
706
|
+
end
|
707
|
+
|
708
|
+
#
|
709
|
+
# Assignment
|
710
|
+
#
|
711
|
+
|
712
|
+
def assignable(node)
|
713
|
+
case node.type
|
714
|
+
when :cvar
|
715
|
+
node.updated(:cvasgn)
|
716
|
+
|
717
|
+
when :ivar
|
718
|
+
node.updated(:ivasgn)
|
719
|
+
|
720
|
+
when :gvar
|
721
|
+
node.updated(:gvasgn)
|
722
|
+
|
723
|
+
when :const
|
724
|
+
if @parser.context.in_def
|
725
|
+
diagnostic :error, :dynamic_const, nil, node.loc.expression
|
726
|
+
end
|
727
|
+
|
728
|
+
node.updated(:casgn)
|
729
|
+
|
730
|
+
when :ident
|
731
|
+
name, = *node
|
732
|
+
|
733
|
+
var_name = node.children[0].to_s
|
734
|
+
name_loc = node.loc.expression
|
735
|
+
|
736
|
+
check_assignment_to_numparam(var_name, name_loc)
|
737
|
+
check_reserved_for_numparam(var_name, name_loc)
|
738
|
+
|
739
|
+
@parser.static_env.declare(name)
|
740
|
+
|
741
|
+
node.updated(:lvasgn)
|
742
|
+
|
743
|
+
when :match_var
|
744
|
+
name, = *node
|
745
|
+
|
746
|
+
var_name = node.children[0].to_s
|
747
|
+
name_loc = node.loc.expression
|
748
|
+
|
749
|
+
check_assignment_to_numparam(var_name, name_loc)
|
750
|
+
check_reserved_for_numparam(var_name, name_loc)
|
751
|
+
|
752
|
+
node
|
753
|
+
|
754
|
+
when :nil, :self, :true, :false,
|
755
|
+
:__FILE__, :__LINE__, :__ENCODING__
|
756
|
+
diagnostic :error, :invalid_assignment, nil, node.loc.expression
|
757
|
+
|
758
|
+
when :back_ref, :nth_ref
|
759
|
+
diagnostic :error, :backref_assignment, nil, node.loc.expression
|
760
|
+
end
|
761
|
+
end
|
762
|
+
|
763
|
+
def const_op_assignable(node)
|
764
|
+
node.updated(:casgn)
|
765
|
+
end
|
766
|
+
|
767
|
+
def assign(lhs, eql_t, rhs)
|
768
|
+
(lhs << rhs).updated(nil, nil,
|
769
|
+
:location => lhs.loc.
|
770
|
+
with_operator(loc(eql_t)).
|
771
|
+
with_expression(join_exprs(lhs, rhs)))
|
772
|
+
end
|
773
|
+
|
774
|
+
def op_assign(lhs, op_t, rhs)
|
775
|
+
case lhs.type
|
776
|
+
when :gvasgn, :ivasgn, :lvasgn, :cvasgn, :casgn, :send, :csend, :index
|
777
|
+
operator = value(op_t)[0..-1].to_sym
|
778
|
+
source_map = lhs.loc.
|
779
|
+
with_operator(loc(op_t)).
|
780
|
+
with_expression(join_exprs(lhs, rhs))
|
781
|
+
|
782
|
+
if lhs.type == :index
|
783
|
+
lhs = lhs.updated(:indexasgn)
|
784
|
+
end
|
785
|
+
|
786
|
+
case operator
|
787
|
+
when :'&&'
|
788
|
+
n(:and_asgn, [ lhs, rhs ], source_map)
|
789
|
+
when :'||'
|
790
|
+
n(:or_asgn, [ lhs, rhs ], source_map)
|
791
|
+
else
|
792
|
+
n(:op_asgn, [ lhs, operator, rhs ], source_map)
|
793
|
+
end
|
794
|
+
|
795
|
+
when :back_ref, :nth_ref
|
796
|
+
diagnostic :error, :backref_assignment, nil, lhs.loc.expression
|
797
|
+
end
|
798
|
+
end
|
799
|
+
|
800
|
+
def multi_lhs(begin_t, items, end_t)
|
801
|
+
n(:mlhs, [ *items ],
|
802
|
+
collection_map(begin_t, items, end_t))
|
803
|
+
end
|
804
|
+
|
805
|
+
def multi_assign(lhs, eql_t, rhs)
|
806
|
+
n(:masgn, [ lhs, rhs ],
|
807
|
+
binary_op_map(lhs, eql_t, rhs))
|
808
|
+
end
|
809
|
+
|
810
|
+
#
|
811
|
+
# Class and module definition
|
812
|
+
#
|
813
|
+
|
814
|
+
def def_class(class_t, name,
|
815
|
+
lt_t, superclass,
|
816
|
+
body, end_t)
|
817
|
+
n(:class, [ name, superclass, body ],
|
818
|
+
module_definition_map(class_t, name, lt_t, end_t))
|
819
|
+
end
|
820
|
+
|
821
|
+
def def_sclass(class_t, lshft_t, expr,
|
822
|
+
body, end_t)
|
823
|
+
n(:sclass, [ expr, body ],
|
824
|
+
module_definition_map(class_t, nil, lshft_t, end_t))
|
825
|
+
end
|
826
|
+
|
827
|
+
def def_module(module_t, name,
|
828
|
+
body, end_t)
|
829
|
+
n(:module, [ name, body ],
|
830
|
+
module_definition_map(module_t, name, nil, end_t))
|
831
|
+
end
|
832
|
+
|
833
|
+
#
|
834
|
+
# Method (un)definition
|
835
|
+
#
|
836
|
+
|
837
|
+
def def_method(def_t, name_t, args,
|
838
|
+
body, end_t)
|
839
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
840
|
+
|
841
|
+
n(:def, [ value(name_t).to_sym, args, body ],
|
842
|
+
definition_map(def_t, nil, name_t, end_t))
|
843
|
+
end
|
844
|
+
|
845
|
+
def def_endless_method(def_t, name_t, args,
|
846
|
+
assignment_t, body)
|
847
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
848
|
+
|
849
|
+
n(:def, [ value(name_t).to_sym, args, body ],
|
850
|
+
endless_definition_map(def_t, nil, name_t, assignment_t, body))
|
851
|
+
end
|
852
|
+
|
853
|
+
def def_singleton(def_t, definee, dot_t,
|
854
|
+
name_t, args,
|
855
|
+
body, end_t)
|
856
|
+
validate_definee(definee)
|
857
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
858
|
+
|
859
|
+
n(:defs, [ definee, value(name_t).to_sym, args, body ],
|
860
|
+
definition_map(def_t, dot_t, name_t, end_t))
|
861
|
+
end
|
862
|
+
|
863
|
+
def def_endless_singleton(def_t, definee, dot_t,
|
864
|
+
name_t, args,
|
865
|
+
assignment_t, body)
|
866
|
+
validate_definee(definee)
|
867
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
868
|
+
|
869
|
+
n(:defs, [ definee, value(name_t).to_sym, args, body ],
|
870
|
+
endless_definition_map(def_t, dot_t, name_t, assignment_t, body))
|
871
|
+
end
|
872
|
+
|
873
|
+
def undef_method(undef_t, names)
|
874
|
+
n(:undef, [ *names ],
|
875
|
+
keyword_map(undef_t, nil, names, nil))
|
876
|
+
end
|
877
|
+
|
878
|
+
def alias(alias_t, to, from)
|
879
|
+
n(:alias, [ to, from ],
|
880
|
+
keyword_map(alias_t, nil, [to, from], nil))
|
881
|
+
end
|
882
|
+
|
883
|
+
#
|
884
|
+
# Formal arguments
|
885
|
+
#
|
886
|
+
|
887
|
+
def args(begin_t, args, end_t, check_args=true)
|
888
|
+
args = check_duplicate_args(args) if check_args
|
889
|
+
validate_no_forward_arg_after_restarg(args)
|
890
|
+
|
891
|
+
map = collection_map(begin_t, args, end_t)
|
892
|
+
if !self.class.emit_forward_arg && args.length == 1 && args[0].type == :forward_arg
|
893
|
+
n(:forward_args, [], map)
|
894
|
+
else
|
895
|
+
n(:args, args, map)
|
896
|
+
end
|
897
|
+
end
|
898
|
+
|
899
|
+
def numargs(max_numparam)
|
900
|
+
n(:numargs, [ max_numparam ], nil)
|
901
|
+
end
|
902
|
+
|
903
|
+
def forward_only_args(begin_t, dots_t, end_t)
|
904
|
+
if self.class.emit_forward_arg
|
905
|
+
arg = forward_arg(dots_t)
|
906
|
+
n(:args, [ arg ],
|
907
|
+
collection_map(begin_t, [ arg ], end_t))
|
908
|
+
else
|
909
|
+
n(:forward_args, [], collection_map(begin_t, token_map(dots_t), end_t))
|
910
|
+
end
|
911
|
+
end
|
912
|
+
|
913
|
+
def forward_arg(dots_t)
|
914
|
+
n(:forward_arg, [], token_map(dots_t))
|
915
|
+
end
|
916
|
+
|
917
|
+
def arg(name_t)
|
918
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
919
|
+
|
920
|
+
n(:arg, [ value(name_t).to_sym ],
|
921
|
+
variable_map(name_t))
|
922
|
+
end
|
923
|
+
|
924
|
+
def optarg(name_t, eql_t, value)
|
925
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
926
|
+
|
927
|
+
n(:optarg, [ value(name_t).to_sym, value ],
|
928
|
+
variable_map(name_t).
|
929
|
+
with_operator(loc(eql_t)).
|
930
|
+
with_expression(loc(name_t).join(value.loc.expression)))
|
931
|
+
end
|
932
|
+
|
933
|
+
def restarg(star_t, name_t=nil)
|
934
|
+
if name_t
|
935
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
936
|
+
n(:restarg, [ value(name_t).to_sym ],
|
937
|
+
arg_prefix_map(star_t, name_t))
|
938
|
+
else
|
939
|
+
n0(:restarg,
|
940
|
+
arg_prefix_map(star_t))
|
941
|
+
end
|
942
|
+
end
|
943
|
+
|
944
|
+
def kwarg(name_t)
|
945
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
946
|
+
|
947
|
+
n(:kwarg, [ value(name_t).to_sym ],
|
948
|
+
kwarg_map(name_t))
|
949
|
+
end
|
950
|
+
|
951
|
+
def kwoptarg(name_t, value)
|
952
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
953
|
+
|
954
|
+
n(:kwoptarg, [ value(name_t).to_sym, value ],
|
955
|
+
kwarg_map(name_t, value))
|
956
|
+
end
|
957
|
+
|
958
|
+
def kwrestarg(dstar_t, name_t=nil)
|
959
|
+
if name_t
|
960
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
961
|
+
|
962
|
+
n(:kwrestarg, [ value(name_t).to_sym ],
|
963
|
+
arg_prefix_map(dstar_t, name_t))
|
964
|
+
else
|
965
|
+
n0(:kwrestarg,
|
966
|
+
arg_prefix_map(dstar_t))
|
967
|
+
end
|
968
|
+
end
|
969
|
+
|
970
|
+
def kwnilarg(dstar_t, nil_t)
|
971
|
+
n0(:kwnilarg,
|
972
|
+
arg_prefix_map(dstar_t, nil_t))
|
973
|
+
end
|
974
|
+
|
975
|
+
def shadowarg(name_t)
|
976
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
977
|
+
|
978
|
+
n(:shadowarg, [ value(name_t).to_sym ],
|
979
|
+
variable_map(name_t))
|
980
|
+
end
|
981
|
+
|
982
|
+
def blockarg(amper_t, name_t)
|
983
|
+
if !name_t.nil?
|
984
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
985
|
+
end
|
986
|
+
|
987
|
+
arg_name = name_t ? value(name_t).to_sym : nil
|
988
|
+
n(:blockarg, [ arg_name ],
|
989
|
+
arg_prefix_map(amper_t, name_t))
|
990
|
+
end
|
991
|
+
|
992
|
+
def procarg0(arg)
|
993
|
+
if self.class.emit_procarg0
|
994
|
+
if arg.type == :arg && self.class.emit_arg_inside_procarg0
|
995
|
+
n(:procarg0, [ arg ],
|
996
|
+
Source::Map::Collection.new(nil, nil, arg.location.expression))
|
997
|
+
else
|
998
|
+
arg.updated(:procarg0)
|
999
|
+
end
|
1000
|
+
else
|
1001
|
+
arg
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
# Ruby 1.8 block arguments
|
1006
|
+
|
1007
|
+
def arg_expr(expr)
|
1008
|
+
if expr.type == :lvasgn
|
1009
|
+
expr.updated(:arg)
|
1010
|
+
else
|
1011
|
+
n(:arg_expr, [ expr ],
|
1012
|
+
expr.loc.dup)
|
1013
|
+
end
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
def restarg_expr(star_t, expr=nil)
|
1017
|
+
if expr.nil?
|
1018
|
+
n0(:restarg, token_map(star_t))
|
1019
|
+
elsif expr.type == :lvasgn
|
1020
|
+
expr.updated(:restarg)
|
1021
|
+
else
|
1022
|
+
n(:restarg_expr, [ expr ],
|
1023
|
+
expr.loc.dup)
|
1024
|
+
end
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
def blockarg_expr(amper_t, expr)
|
1028
|
+
if expr.type == :lvasgn
|
1029
|
+
expr.updated(:blockarg)
|
1030
|
+
else
|
1031
|
+
n(:blockarg_expr, [ expr ],
|
1032
|
+
expr.loc.dup)
|
1033
|
+
end
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
# MacRuby Objective-C arguments
|
1037
|
+
|
1038
|
+
def objc_kwarg(kwname_t, assoc_t, name_t)
|
1039
|
+
kwname_l = loc(kwname_t)
|
1040
|
+
if assoc_t.nil? # a: b, not a => b
|
1041
|
+
kwname_l = kwname_l.resize(kwname_l.size - 1)
|
1042
|
+
operator_l = kwname_l.end.resize(1)
|
1043
|
+
else
|
1044
|
+
operator_l = loc(assoc_t)
|
1045
|
+
end
|
1046
|
+
|
1047
|
+
n(:objc_kwarg, [ value(kwname_t).to_sym, value(name_t).to_sym ],
|
1048
|
+
Source::Map::ObjcKwarg.new(kwname_l, operator_l, loc(name_t),
|
1049
|
+
kwname_l.join(loc(name_t))))
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
def objc_restarg(star_t, name=nil)
|
1053
|
+
if name.nil?
|
1054
|
+
n0(:restarg, arg_prefix_map(star_t))
|
1055
|
+
elsif name.type == :arg # regular restarg
|
1056
|
+
name.updated(:restarg, nil,
|
1057
|
+
{ :location => name.loc.with_operator(loc(star_t)) })
|
1058
|
+
else # restarg with objc_kwarg inside
|
1059
|
+
n(:objc_restarg, [ name ],
|
1060
|
+
unary_op_map(star_t, name))
|
1061
|
+
end
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
#
|
1065
|
+
# Method calls
|
1066
|
+
#
|
1067
|
+
|
1068
|
+
def call_type_for_dot(dot_t)
|
1069
|
+
if !dot_t.nil? && value(dot_t) == :anddot
|
1070
|
+
:csend
|
1071
|
+
else
|
1072
|
+
# This case is a bit tricky. ruby23.y returns the token tDOT with
|
1073
|
+
# the value :dot, and the token :tANDDOT with the value :anddot.
|
1074
|
+
#
|
1075
|
+
# But, ruby{18..22}.y (which unconditionally expect tDOT) just
|
1076
|
+
# return "." there, since they are to be kept close to the corresponding
|
1077
|
+
# Ruby MRI grammars.
|
1078
|
+
#
|
1079
|
+
# Thankfully, we don't have to care.
|
1080
|
+
:send
|
1081
|
+
end
|
1082
|
+
end
|
1083
|
+
|
1084
|
+
def forwarded_args(dots_t)
|
1085
|
+
n(:forwarded_args, [], token_map(dots_t))
|
1086
|
+
end
|
1087
|
+
|
1088
|
+
def forwarded_restarg(star_t)
|
1089
|
+
n(:forwarded_restarg, [], token_map(star_t))
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
def forwarded_kwrestarg(dstar_t)
|
1093
|
+
n(:forwarded_kwrestarg, [], token_map(dstar_t))
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
def call_method(receiver, dot_t, selector_t,
|
1097
|
+
lparen_t=nil, args=[], rparen_t=nil)
|
1098
|
+
type = call_type_for_dot(dot_t)
|
1099
|
+
|
1100
|
+
if self.class.emit_kwargs
|
1101
|
+
rewrite_hash_args_to_kwargs(args)
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
if selector_t.nil?
|
1105
|
+
n(type, [ receiver, :call, *args ],
|
1106
|
+
send_map(receiver, dot_t, nil, lparen_t, args, rparen_t))
|
1107
|
+
else
|
1108
|
+
n(type, [ receiver, value(selector_t).to_sym, *args ],
|
1109
|
+
send_map(receiver, dot_t, selector_t, lparen_t, args, rparen_t))
|
1110
|
+
end
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
def call_lambda(lambda_t)
|
1114
|
+
if self.class.emit_lambda
|
1115
|
+
n0(:lambda, expr_map(loc(lambda_t)))
|
1116
|
+
else
|
1117
|
+
n(:send, [ nil, :lambda ],
|
1118
|
+
send_map(nil, nil, lambda_t))
|
1119
|
+
end
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
def block(method_call, begin_t, args, body, end_t)
|
1123
|
+
_receiver, _selector, *call_args = *method_call
|
1124
|
+
|
1125
|
+
if method_call.type == :yield
|
1126
|
+
diagnostic :error, :block_given_to_yield, nil, method_call.loc.keyword, [loc(begin_t)]
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
last_arg = call_args.last
|
1130
|
+
if last_arg && (last_arg.type == :block_pass || last_arg.type == :forwarded_args)
|
1131
|
+
diagnostic :error, :block_and_blockarg, nil, last_arg.loc.expression, [loc(begin_t)]
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
if args.type == :numargs
|
1135
|
+
block_type = :numblock
|
1136
|
+
args = args.children[0]
|
1137
|
+
else
|
1138
|
+
block_type = :block
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
if [:send, :csend, :index, :super, :zsuper, :lambda].include?(method_call.type)
|
1142
|
+
n(block_type, [ method_call, args, body ],
|
1143
|
+
block_map(method_call.loc.expression, begin_t, end_t))
|
1144
|
+
else
|
1145
|
+
# Code like "return foo 1 do end" is reduced in a weird sequence.
|
1146
|
+
# Here, method_call is actually (return).
|
1147
|
+
actual_send, = *method_call
|
1148
|
+
block =
|
1149
|
+
n(block_type, [ actual_send, args, body ],
|
1150
|
+
block_map(actual_send.loc.expression, begin_t, end_t))
|
1151
|
+
|
1152
|
+
n(method_call.type, [ block ],
|
1153
|
+
method_call.loc.with_expression(join_exprs(method_call, block)))
|
1154
|
+
end
|
1155
|
+
end
|
1156
|
+
|
1157
|
+
def block_pass(amper_t, arg)
|
1158
|
+
n(:block_pass, [ arg ],
|
1159
|
+
unary_op_map(amper_t, arg))
|
1160
|
+
end
|
1161
|
+
|
1162
|
+
def objc_varargs(pair, rest_of_varargs)
|
1163
|
+
value, first_vararg = *pair
|
1164
|
+
vararg_array = array(nil, [ first_vararg, *rest_of_varargs ], nil).
|
1165
|
+
updated(:objc_varargs)
|
1166
|
+
pair.updated(nil, [ value, vararg_array ],
|
1167
|
+
{ :location => pair.loc.with_expression(
|
1168
|
+
pair.loc.expression.join(vararg_array.loc.expression)) })
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
def attr_asgn(receiver, dot_t, selector_t)
|
1172
|
+
method_name = (value(selector_t) + '=').to_sym
|
1173
|
+
type = call_type_for_dot(dot_t)
|
1174
|
+
|
1175
|
+
# Incomplete method call.
|
1176
|
+
n(type, [ receiver, method_name ],
|
1177
|
+
send_map(receiver, dot_t, selector_t))
|
1178
|
+
end
|
1179
|
+
|
1180
|
+
def index(receiver, lbrack_t, indexes, rbrack_t)
|
1181
|
+
if self.class.emit_kwargs
|
1182
|
+
rewrite_hash_args_to_kwargs(indexes)
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
if self.class.emit_index
|
1186
|
+
n(:index, [ receiver, *indexes ],
|
1187
|
+
index_map(receiver, lbrack_t, rbrack_t))
|
1188
|
+
else
|
1189
|
+
n(:send, [ receiver, :[], *indexes ],
|
1190
|
+
send_index_map(receiver, lbrack_t, rbrack_t))
|
1191
|
+
end
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
def index_asgn(receiver, lbrack_t, indexes, rbrack_t)
|
1195
|
+
if self.class.emit_index
|
1196
|
+
n(:indexasgn, [ receiver, *indexes ],
|
1197
|
+
index_map(receiver, lbrack_t, rbrack_t))
|
1198
|
+
else
|
1199
|
+
# Incomplete method call.
|
1200
|
+
n(:send, [ receiver, :[]=, *indexes ],
|
1201
|
+
send_index_map(receiver, lbrack_t, rbrack_t))
|
1202
|
+
end
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
def binary_op(receiver, operator_t, arg)
|
1206
|
+
source_map = send_binary_op_map(receiver, operator_t, arg)
|
1207
|
+
|
1208
|
+
if @parser.version == 18
|
1209
|
+
operator = value(operator_t)
|
1210
|
+
|
1211
|
+
if operator == '!='
|
1212
|
+
method_call = n(:send, [ receiver, :==, arg ], source_map)
|
1213
|
+
elsif operator == '!~'
|
1214
|
+
method_call = n(:send, [ receiver, :=~, arg ], source_map)
|
1215
|
+
end
|
1216
|
+
|
1217
|
+
if %w(!= !~).include?(operator)
|
1218
|
+
return n(:not, [ method_call ],
|
1219
|
+
expr_map(source_map.expression))
|
1220
|
+
end
|
1221
|
+
end
|
1222
|
+
|
1223
|
+
n(:send, [ receiver, value(operator_t).to_sym, arg ],
|
1224
|
+
source_map)
|
1225
|
+
end
|
1226
|
+
|
1227
|
+
def match_op(receiver, match_t, arg)
|
1228
|
+
source_map = send_binary_op_map(receiver, match_t, arg)
|
1229
|
+
|
1230
|
+
if (regexp = static_regexp_node(receiver))
|
1231
|
+
regexp.names.each do |name|
|
1232
|
+
@parser.static_env.declare(name)
|
1233
|
+
end
|
1234
|
+
|
1235
|
+
n(:match_with_lvasgn, [ receiver, arg ],
|
1236
|
+
source_map)
|
1237
|
+
else
|
1238
|
+
n(:send, [ receiver, :=~, arg ],
|
1239
|
+
source_map)
|
1240
|
+
end
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
def unary_op(op_t, receiver)
|
1244
|
+
case value(op_t)
|
1245
|
+
when '+', '-'
|
1246
|
+
method = value(op_t) + '@'
|
1247
|
+
else
|
1248
|
+
method = value(op_t)
|
1249
|
+
end
|
1250
|
+
|
1251
|
+
n(:send, [ receiver, method.to_sym ],
|
1252
|
+
send_unary_op_map(op_t, receiver))
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
def not_op(not_t, begin_t=nil, receiver=nil, end_t=nil)
|
1256
|
+
if @parser.version == 18
|
1257
|
+
n(:not, [ check_condition(receiver) ],
|
1258
|
+
unary_op_map(not_t, receiver))
|
1259
|
+
else
|
1260
|
+
if receiver.nil?
|
1261
|
+
nil_node = n0(:begin, collection_map(begin_t, nil, end_t))
|
1262
|
+
|
1263
|
+
n(:send, [
|
1264
|
+
nil_node, :'!'
|
1265
|
+
], send_unary_op_map(not_t, nil_node))
|
1266
|
+
else
|
1267
|
+
n(:send, [ check_condition(receiver), :'!' ],
|
1268
|
+
send_map(nil, nil, not_t, begin_t, [receiver], end_t))
|
1269
|
+
end
|
1270
|
+
end
|
1271
|
+
end
|
1272
|
+
|
1273
|
+
#
|
1274
|
+
# Control flow
|
1275
|
+
#
|
1276
|
+
|
1277
|
+
# Logical operations: and, or
|
1278
|
+
|
1279
|
+
def logical_op(type, lhs, op_t, rhs)
|
1280
|
+
n(type, [ lhs, rhs ],
|
1281
|
+
binary_op_map(lhs, op_t, rhs))
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
# Conditionals
|
1285
|
+
|
1286
|
+
def condition(cond_t, cond, then_t,
|
1287
|
+
if_true, else_t, if_false, end_t)
|
1288
|
+
n(:if, [ check_condition(cond), if_true, if_false ],
|
1289
|
+
condition_map(cond_t, cond, then_t, if_true, else_t, if_false, end_t))
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
def condition_mod(if_true, if_false, cond_t, cond)
|
1293
|
+
n(:if, [ check_condition(cond), if_true, if_false ],
|
1294
|
+
keyword_mod_map(if_true || if_false, cond_t, cond))
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
def ternary(cond, question_t, if_true, colon_t, if_false)
|
1298
|
+
n(:if, [ check_condition(cond), if_true, if_false ],
|
1299
|
+
ternary_map(cond, question_t, if_true, colon_t, if_false))
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
# Case matching
|
1303
|
+
|
1304
|
+
def when(when_t, patterns, then_t, body)
|
1305
|
+
children = patterns << body
|
1306
|
+
n(:when, children,
|
1307
|
+
keyword_map(when_t, then_t, children, nil))
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
def case(case_t, expr, when_bodies, else_t, else_body, end_t)
|
1311
|
+
n(:case, [ expr, *(when_bodies << else_body)],
|
1312
|
+
condition_map(case_t, expr, nil, nil, else_t, else_body, end_t))
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
# Loops
|
1316
|
+
|
1317
|
+
def loop(type, keyword_t, cond, do_t, body, end_t)
|
1318
|
+
n(type, [ check_condition(cond), body ],
|
1319
|
+
keyword_map(keyword_t, do_t, nil, end_t))
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
def loop_mod(type, body, keyword_t, cond)
|
1323
|
+
if body.type == :kwbegin
|
1324
|
+
type = :"#{type}_post"
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
n(type, [ check_condition(cond), body ],
|
1328
|
+
keyword_mod_map(body, keyword_t, cond))
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
def for(for_t, iterator, in_t, iteratee,
|
1332
|
+
do_t, body, end_t)
|
1333
|
+
n(:for, [ iterator, iteratee, body ],
|
1334
|
+
for_map(for_t, in_t, do_t, end_t))
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
# Keywords
|
1338
|
+
|
1339
|
+
def keyword_cmd(type, keyword_t, lparen_t=nil, args=[], rparen_t=nil)
|
1340
|
+
if type == :yield && args.count > 0
|
1341
|
+
last_arg = args.last
|
1342
|
+
if last_arg.type == :block_pass
|
1343
|
+
diagnostic :error, :block_given_to_yield, nil, loc(keyword_t), [last_arg.loc.expression]
|
1344
|
+
end
|
1345
|
+
end
|
1346
|
+
|
1347
|
+
if %i[yield super].include?(type) && self.class.emit_kwargs
|
1348
|
+
rewrite_hash_args_to_kwargs(args)
|
1349
|
+
end
|
1350
|
+
|
1351
|
+
n(type, args,
|
1352
|
+
keyword_map(keyword_t, lparen_t, args, rparen_t))
|
1353
|
+
end
|
1354
|
+
|
1355
|
+
# BEGIN, END
|
1356
|
+
|
1357
|
+
def preexe(preexe_t, lbrace_t, compstmt, rbrace_t)
|
1358
|
+
n(:preexe, [ compstmt ],
|
1359
|
+
keyword_map(preexe_t, lbrace_t, [], rbrace_t))
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
def postexe(postexe_t, lbrace_t, compstmt, rbrace_t)
|
1363
|
+
n(:postexe, [ compstmt ],
|
1364
|
+
keyword_map(postexe_t, lbrace_t, [], rbrace_t))
|
1365
|
+
end
|
1366
|
+
|
1367
|
+
# Exception handling
|
1368
|
+
|
1369
|
+
def rescue_body(rescue_t,
|
1370
|
+
exc_list, assoc_t, exc_var,
|
1371
|
+
then_t, compound_stmt)
|
1372
|
+
n(:resbody, [ exc_list, exc_var, compound_stmt ],
|
1373
|
+
rescue_body_map(rescue_t, exc_list, assoc_t,
|
1374
|
+
exc_var, then_t, compound_stmt))
|
1375
|
+
end
|
1376
|
+
|
1377
|
+
def begin_body(compound_stmt, rescue_bodies=[],
|
1378
|
+
else_t=nil, else_=nil,
|
1379
|
+
ensure_t=nil, ensure_=nil)
|
1380
|
+
if rescue_bodies.any?
|
1381
|
+
if else_t
|
1382
|
+
compound_stmt =
|
1383
|
+
n(:rescue,
|
1384
|
+
[ compound_stmt, *(rescue_bodies + [ else_ ]) ],
|
1385
|
+
eh_keyword_map(compound_stmt, nil, rescue_bodies, else_t, else_))
|
1386
|
+
else
|
1387
|
+
compound_stmt =
|
1388
|
+
n(:rescue,
|
1389
|
+
[ compound_stmt, *(rescue_bodies + [ nil ]) ],
|
1390
|
+
eh_keyword_map(compound_stmt, nil, rescue_bodies, nil, nil))
|
1391
|
+
end
|
1392
|
+
elsif else_t
|
1393
|
+
statements = []
|
1394
|
+
if !compound_stmt.nil?
|
1395
|
+
if compound_stmt.type == :begin
|
1396
|
+
statements += compound_stmt.children
|
1397
|
+
else
|
1398
|
+
statements.push(compound_stmt)
|
1399
|
+
end
|
1400
|
+
end
|
1401
|
+
statements.push(
|
1402
|
+
n(:begin, [ else_ ],
|
1403
|
+
collection_map(else_t, [ else_ ], nil)))
|
1404
|
+
compound_stmt =
|
1405
|
+
n(:begin, statements,
|
1406
|
+
collection_map(nil, statements, nil))
|
1407
|
+
end
|
1408
|
+
|
1409
|
+
if ensure_t
|
1410
|
+
compound_stmt =
|
1411
|
+
n(:ensure,
|
1412
|
+
[ compound_stmt, ensure_ ],
|
1413
|
+
eh_keyword_map(compound_stmt, ensure_t, [ ensure_ ], nil, nil))
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
compound_stmt
|
1417
|
+
end
|
1418
|
+
|
1419
|
+
#
|
1420
|
+
# Expression grouping
|
1421
|
+
#
|
1422
|
+
|
1423
|
+
def compstmt(statements)
|
1424
|
+
case
|
1425
|
+
when statements.none?
|
1426
|
+
nil
|
1427
|
+
when statements.one?
|
1428
|
+
statements.first
|
1429
|
+
else
|
1430
|
+
n(:begin, statements,
|
1431
|
+
collection_map(nil, statements, nil))
|
1432
|
+
end
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
def begin(begin_t, body, end_t)
|
1436
|
+
if body.nil?
|
1437
|
+
# A nil expression: `()'.
|
1438
|
+
n0(:begin,
|
1439
|
+
collection_map(begin_t, nil, end_t))
|
1440
|
+
elsif body.type == :mlhs ||
|
1441
|
+
(body.type == :begin &&
|
1442
|
+
body.loc.begin.nil? && body.loc.end.nil?)
|
1443
|
+
# Synthesized (begin) from compstmt "a; b" or (mlhs)
|
1444
|
+
# from multi_lhs "(a, b) = *foo".
|
1445
|
+
n(body.type, body.children,
|
1446
|
+
collection_map(begin_t, body.children, end_t))
|
1447
|
+
else
|
1448
|
+
n(:begin, [ body ],
|
1449
|
+
collection_map(begin_t, [ body ], end_t))
|
1450
|
+
end
|
1451
|
+
end
|
1452
|
+
|
1453
|
+
def begin_keyword(begin_t, body, end_t)
|
1454
|
+
if body.nil?
|
1455
|
+
# A nil expression: `begin end'.
|
1456
|
+
n0(:kwbegin,
|
1457
|
+
collection_map(begin_t, nil, end_t))
|
1458
|
+
elsif (body.type == :begin &&
|
1459
|
+
body.loc.begin.nil? && body.loc.end.nil?)
|
1460
|
+
# Synthesized (begin) from compstmt "a; b".
|
1461
|
+
n(:kwbegin, body.children,
|
1462
|
+
collection_map(begin_t, body.children, end_t))
|
1463
|
+
else
|
1464
|
+
n(:kwbegin, [ body ],
|
1465
|
+
collection_map(begin_t, [ body ], end_t))
|
1466
|
+
end
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
#
|
1470
|
+
# PATTERN MATCHING
|
1471
|
+
#
|
1472
|
+
|
1473
|
+
def case_match(case_t, expr, in_bodies, else_t, else_body, end_t)
|
1474
|
+
else_body = n(:empty_else, nil, token_map(else_t)) if else_t && !else_body
|
1475
|
+
n(:case_match, [ expr, *(in_bodies << else_body)],
|
1476
|
+
condition_map(case_t, expr, nil, nil, else_t, else_body, end_t))
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
def in_match(lhs, in_t, rhs)
|
1480
|
+
n(:in_match, [lhs, rhs],
|
1481
|
+
binary_op_map(lhs, in_t, rhs))
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
def match_pattern(lhs, match_t, rhs)
|
1485
|
+
n(:match_pattern, [lhs, rhs],
|
1486
|
+
binary_op_map(lhs, match_t, rhs))
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
def match_pattern_p(lhs, match_t, rhs)
|
1490
|
+
n(:match_pattern_p, [lhs, rhs],
|
1491
|
+
binary_op_map(lhs, match_t, rhs))
|
1492
|
+
end
|
1493
|
+
|
1494
|
+
def in_pattern(in_t, pattern, guard, then_t, body)
|
1495
|
+
children = [pattern, guard, body]
|
1496
|
+
n(:in_pattern, children,
|
1497
|
+
keyword_map(in_t, then_t, children.compact, nil))
|
1498
|
+
end
|
1499
|
+
|
1500
|
+
def if_guard(if_t, if_body)
|
1501
|
+
n(:if_guard, [if_body], guard_map(if_t, if_body))
|
1502
|
+
end
|
1503
|
+
|
1504
|
+
def unless_guard(unless_t, unless_body)
|
1505
|
+
n(:unless_guard, [unless_body], guard_map(unless_t, unless_body))
|
1506
|
+
end
|
1507
|
+
|
1508
|
+
def match_var(name_t)
|
1509
|
+
name = value(name_t).to_sym
|
1510
|
+
name_l = loc(name_t)
|
1511
|
+
|
1512
|
+
check_lvar_name(name, name_l)
|
1513
|
+
check_duplicate_pattern_variable(name, name_l)
|
1514
|
+
@parser.static_env.declare(name)
|
1515
|
+
|
1516
|
+
n(:match_var, [ name ],
|
1517
|
+
variable_map(name_t))
|
1518
|
+
end
|
1519
|
+
|
1520
|
+
def match_hash_var(name_t)
|
1521
|
+
name = value(name_t).to_sym
|
1522
|
+
|
1523
|
+
expr_l = loc(name_t)
|
1524
|
+
name_l = expr_l.adjust(end_pos: -1)
|
1525
|
+
|
1526
|
+
check_lvar_name(name, name_l)
|
1527
|
+
check_duplicate_pattern_variable(name, name_l)
|
1528
|
+
@parser.static_env.declare(name)
|
1529
|
+
|
1530
|
+
n(:match_var, [ name ],
|
1531
|
+
Source::Map::Variable.new(name_l, expr_l))
|
1532
|
+
end
|
1533
|
+
|
1534
|
+
def match_hash_var_from_str(begin_t, strings, end_t)
|
1535
|
+
if strings.length > 1
|
1536
|
+
diagnostic :error, :pm_interp_in_var_name, nil, loc(begin_t).join(loc(end_t))
|
1537
|
+
end
|
1538
|
+
|
1539
|
+
string = strings[0]
|
1540
|
+
|
1541
|
+
case string.type
|
1542
|
+
when :str
|
1543
|
+
# MRI supports plain strings in hash pattern matching
|
1544
|
+
name, = *string
|
1545
|
+
name_l = string.loc.expression
|
1546
|
+
|
1547
|
+
check_lvar_name(name, name_l)
|
1548
|
+
check_duplicate_pattern_variable(name, name_l)
|
1549
|
+
|
1550
|
+
@parser.static_env.declare(name)
|
1551
|
+
|
1552
|
+
if (begin_l = string.loc.begin)
|
1553
|
+
# exclude beginning of the string from the location of the variable
|
1554
|
+
name_l = name_l.adjust(begin_pos: begin_l.length)
|
1555
|
+
end
|
1556
|
+
|
1557
|
+
if (end_l = string.loc.end)
|
1558
|
+
# exclude end of the string from the location of the variable
|
1559
|
+
name_l = name_l.adjust(end_pos: -end_l.length)
|
1560
|
+
end
|
1561
|
+
|
1562
|
+
expr_l = loc(begin_t).join(string.loc.expression).join(loc(end_t))
|
1563
|
+
n(:match_var, [ name.to_sym ],
|
1564
|
+
Source::Map::Variable.new(name_l, expr_l))
|
1565
|
+
when :begin
|
1566
|
+
match_hash_var_from_str(begin_t, string.children, end_t)
|
1567
|
+
else
|
1568
|
+
# we only can get here if there is an interpolation, e.g., ``in "#{ a }":`
|
1569
|
+
diagnostic :error, :pm_interp_in_var_name, nil, loc(begin_t).join(loc(end_t))
|
1570
|
+
end
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
def match_rest(star_t, name_t = nil)
|
1574
|
+
if name_t.nil?
|
1575
|
+
n0(:match_rest,
|
1576
|
+
unary_op_map(star_t))
|
1577
|
+
else
|
1578
|
+
name = match_var(name_t)
|
1579
|
+
n(:match_rest, [ name ],
|
1580
|
+
unary_op_map(star_t, name))
|
1581
|
+
end
|
1582
|
+
end
|
1583
|
+
|
1584
|
+
def hash_pattern(lbrace_t, kwargs, rbrace_t)
|
1585
|
+
args = check_duplicate_args(kwargs)
|
1586
|
+
n(:hash_pattern, args,
|
1587
|
+
collection_map(lbrace_t, args, rbrace_t))
|
1588
|
+
end
|
1589
|
+
|
1590
|
+
def array_pattern(lbrack_t, elements, rbrack_t)
|
1591
|
+
return n(:array_pattern, nil, collection_map(lbrack_t, [], rbrack_t)) if elements.nil?
|
1592
|
+
|
1593
|
+
trailing_comma = false
|
1594
|
+
|
1595
|
+
node_elements = elements.map do |element|
|
1596
|
+
if element.type == :match_with_trailing_comma
|
1597
|
+
trailing_comma = true
|
1598
|
+
element.children.first
|
1599
|
+
else
|
1600
|
+
trailing_comma = false
|
1601
|
+
element
|
1602
|
+
end
|
1603
|
+
end
|
1604
|
+
|
1605
|
+
node_type = trailing_comma ? :array_pattern_with_tail : :array_pattern
|
1606
|
+
|
1607
|
+
n(node_type, node_elements,
|
1608
|
+
collection_map(lbrack_t, elements, rbrack_t))
|
1609
|
+
end
|
1610
|
+
|
1611
|
+
def find_pattern(lbrack_t, elements, rbrack_t)
|
1612
|
+
n(:find_pattern, elements,
|
1613
|
+
collection_map(lbrack_t, elements, rbrack_t))
|
1614
|
+
end
|
1615
|
+
|
1616
|
+
def match_with_trailing_comma(match, comma_t)
|
1617
|
+
n(:match_with_trailing_comma, [ match ], expr_map(match.loc.expression.join(loc(comma_t))))
|
1618
|
+
end
|
1619
|
+
|
1620
|
+
def const_pattern(const, ldelim_t, pattern, rdelim_t)
|
1621
|
+
n(:const_pattern, [const, pattern],
|
1622
|
+
Source::Map::Collection.new(
|
1623
|
+
loc(ldelim_t), loc(rdelim_t),
|
1624
|
+
const.loc.expression.join(loc(rdelim_t))
|
1625
|
+
)
|
1626
|
+
)
|
1627
|
+
end
|
1628
|
+
|
1629
|
+
def pin(pin_t, var)
|
1630
|
+
n(:pin, [ var ],
|
1631
|
+
send_unary_op_map(pin_t, var))
|
1632
|
+
end
|
1633
|
+
|
1634
|
+
def match_alt(left, pipe_t, right)
|
1635
|
+
source_map = binary_op_map(left, pipe_t, right)
|
1636
|
+
|
1637
|
+
n(:match_alt, [ left, right ],
|
1638
|
+
source_map)
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
def match_as(value, assoc_t, as)
|
1642
|
+
source_map = binary_op_map(value, assoc_t, as)
|
1643
|
+
|
1644
|
+
n(:match_as, [ value, as ],
|
1645
|
+
source_map)
|
1646
|
+
end
|
1647
|
+
|
1648
|
+
def match_nil_pattern(dstar_t, nil_t)
|
1649
|
+
n0(:match_nil_pattern,
|
1650
|
+
arg_prefix_map(dstar_t, nil_t))
|
1651
|
+
end
|
1652
|
+
|
1653
|
+
def match_pair(label_type, label, value)
|
1654
|
+
if label_type == :label
|
1655
|
+
check_duplicate_pattern_key(label[0], label[1])
|
1656
|
+
pair_keyword(label, value)
|
1657
|
+
else
|
1658
|
+
begin_t, parts, end_t = label
|
1659
|
+
label_loc = loc(begin_t).join(loc(end_t))
|
1660
|
+
|
1661
|
+
# quoted label like "label": value
|
1662
|
+
if (var_name = static_string(parts))
|
1663
|
+
check_duplicate_pattern_key(var_name, label_loc)
|
1664
|
+
else
|
1665
|
+
diagnostic :error, :pm_interp_in_var_name, nil, label_loc
|
1666
|
+
end
|
1667
|
+
|
1668
|
+
pair_quoted(begin_t, parts, end_t, value)
|
1669
|
+
end
|
1670
|
+
end
|
1671
|
+
|
1672
|
+
def match_label(label_type, label)
|
1673
|
+
if label_type == :label
|
1674
|
+
match_hash_var(label)
|
1675
|
+
else
|
1676
|
+
# quoted label like "label": value
|
1677
|
+
begin_t, strings, end_t = label
|
1678
|
+
match_hash_var_from_str(begin_t, strings, end_t)
|
1679
|
+
end
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
private
|
1683
|
+
|
1684
|
+
#
|
1685
|
+
# VERIFICATION
|
1686
|
+
#
|
1687
|
+
|
1688
|
+
def check_condition(cond)
|
1689
|
+
case cond.type
|
1690
|
+
when :masgn
|
1691
|
+
if @parser.version <= 23
|
1692
|
+
diagnostic :error, :masgn_as_condition, nil, cond.loc.expression
|
1693
|
+
else
|
1694
|
+
cond
|
1695
|
+
end
|
1696
|
+
|
1697
|
+
when :begin
|
1698
|
+
if cond.children.count == 1
|
1699
|
+
cond.updated(nil, [
|
1700
|
+
check_condition(cond.children.last)
|
1701
|
+
])
|
1702
|
+
else
|
1703
|
+
cond
|
1704
|
+
end
|
1705
|
+
|
1706
|
+
when :and, :or
|
1707
|
+
lhs, rhs = *cond
|
1708
|
+
|
1709
|
+
if @parser.version == 18
|
1710
|
+
cond
|
1711
|
+
else
|
1712
|
+
cond.updated(cond.type, [
|
1713
|
+
check_condition(lhs),
|
1714
|
+
check_condition(rhs)
|
1715
|
+
])
|
1716
|
+
end
|
1717
|
+
|
1718
|
+
when :irange, :erange
|
1719
|
+
lhs, rhs = *cond
|
1720
|
+
|
1721
|
+
type = case cond.type
|
1722
|
+
when :irange then :iflipflop
|
1723
|
+
when :erange then :eflipflop
|
1724
|
+
end
|
1725
|
+
|
1726
|
+
lhs_condition = check_condition(lhs) unless lhs.nil?
|
1727
|
+
rhs_condition = check_condition(rhs) unless rhs.nil?
|
1728
|
+
|
1729
|
+
return cond.updated(type, [
|
1730
|
+
lhs_condition,
|
1731
|
+
rhs_condition
|
1732
|
+
])
|
1733
|
+
|
1734
|
+
when :regexp
|
1735
|
+
n(:match_current_line, [ cond ], expr_map(cond.loc.expression))
|
1736
|
+
|
1737
|
+
else
|
1738
|
+
cond
|
1739
|
+
end
|
1740
|
+
end
|
1741
|
+
|
1742
|
+
def check_duplicate_args(args, map={})
|
1743
|
+
args.each do |this_arg|
|
1744
|
+
case this_arg.type
|
1745
|
+
when :arg, :optarg, :restarg, :blockarg,
|
1746
|
+
:kwarg, :kwoptarg, :kwrestarg,
|
1747
|
+
:shadowarg
|
1748
|
+
|
1749
|
+
check_duplicate_arg(this_arg, map)
|
1750
|
+
|
1751
|
+
when :procarg0
|
1752
|
+
|
1753
|
+
if this_arg.children[0].is_a?(Symbol)
|
1754
|
+
# s(:procarg0, :a)
|
1755
|
+
check_duplicate_arg(this_arg, map)
|
1756
|
+
else
|
1757
|
+
# s(:procarg0, s(:arg, :a), ...)
|
1758
|
+
check_duplicate_args(this_arg.children, map)
|
1759
|
+
end
|
1760
|
+
|
1761
|
+
when :mlhs
|
1762
|
+
check_duplicate_args(this_arg.children, map)
|
1763
|
+
end
|
1764
|
+
end
|
1765
|
+
end
|
1766
|
+
|
1767
|
+
def check_duplicate_arg(this_arg, map={})
|
1768
|
+
this_name, = *this_arg
|
1769
|
+
|
1770
|
+
that_arg = map[this_name]
|
1771
|
+
that_name, = *that_arg
|
1772
|
+
|
1773
|
+
if that_arg.nil?
|
1774
|
+
map[this_name] = this_arg
|
1775
|
+
elsif arg_name_collides?(this_name, that_name)
|
1776
|
+
diagnostic :error, :duplicate_argument, nil,
|
1777
|
+
this_arg.loc.name, [ that_arg.loc.name ]
|
1778
|
+
end
|
1779
|
+
end
|
1780
|
+
|
1781
|
+
def validate_no_forward_arg_after_restarg(args)
|
1782
|
+
restarg = nil
|
1783
|
+
forward_arg = nil
|
1784
|
+
args.each do |arg|
|
1785
|
+
case arg.type
|
1786
|
+
when :restarg then restarg = arg
|
1787
|
+
when :forward_arg then forward_arg = arg
|
1788
|
+
end
|
1789
|
+
end
|
1790
|
+
|
1791
|
+
if !forward_arg.nil? && !restarg.nil?
|
1792
|
+
diagnostic :error, :forward_arg_after_restarg, nil, forward_arg.loc.expression, [restarg.loc.expression]
|
1793
|
+
end
|
1794
|
+
end
|
1795
|
+
|
1796
|
+
def check_assignment_to_numparam(name, loc)
|
1797
|
+
# MRI < 2.7 treats numbered parameters as regular variables
|
1798
|
+
# and so it's allowed to perform assignments like `_1 = 42`.
|
1799
|
+
return if @parser.version < 27
|
1800
|
+
|
1801
|
+
assigning_to_numparam =
|
1802
|
+
@parser.context.in_dynamic_block? &&
|
1803
|
+
name =~ /\A_([1-9])\z/ &&
|
1804
|
+
@parser.max_numparam_stack.has_numparams?
|
1805
|
+
|
1806
|
+
if assigning_to_numparam
|
1807
|
+
diagnostic :error, :cant_assign_to_numparam, { :name => name }, loc
|
1808
|
+
end
|
1809
|
+
end
|
1810
|
+
|
1811
|
+
def check_reserved_for_numparam(name, loc)
|
1812
|
+
# MRI < 3.0 accepts assignemnt to variables like _1
|
1813
|
+
# if it's not a numbered parameter. MRI 3.0 and newer throws an error.
|
1814
|
+
return if @parser.version < 30
|
1815
|
+
|
1816
|
+
if name =~ /\A_([1-9])\z/
|
1817
|
+
diagnostic :error, :reserved_for_numparam, { :name => name }, loc
|
1818
|
+
end
|
1819
|
+
end
|
1820
|
+
|
1821
|
+
def arg_name_collides?(this_name, that_name)
|
1822
|
+
case @parser.version
|
1823
|
+
when 18
|
1824
|
+
this_name == that_name
|
1825
|
+
when 19
|
1826
|
+
# Ignore underscore.
|
1827
|
+
this_name != :_ &&
|
1828
|
+
this_name == that_name
|
1829
|
+
else
|
1830
|
+
# Ignore everything beginning with underscore.
|
1831
|
+
this_name && this_name[0] != '_' &&
|
1832
|
+
this_name == that_name
|
1833
|
+
end
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
def check_lvar_name(name, loc)
|
1837
|
+
if name =~ /\A[[[:lower:]]_][[[:alnum:]]_]*\z/
|
1838
|
+
# OK
|
1839
|
+
else
|
1840
|
+
diagnostic :error, :lvar_name, { name: name }, loc
|
1841
|
+
end
|
1842
|
+
end
|
1843
|
+
|
1844
|
+
def check_duplicate_pattern_variable(name, loc)
|
1845
|
+
return if name.to_s.start_with?('_')
|
1846
|
+
|
1847
|
+
if @parser.pattern_variables.declared?(name)
|
1848
|
+
diagnostic :error, :duplicate_variable_name, { name: name.to_s }, loc
|
1849
|
+
end
|
1850
|
+
|
1851
|
+
@parser.pattern_variables.declare(name)
|
1852
|
+
end
|
1853
|
+
|
1854
|
+
def check_duplicate_pattern_key(name, loc)
|
1855
|
+
if @parser.pattern_hash_keys.declared?(name)
|
1856
|
+
diagnostic :error, :duplicate_pattern_key, { name: name.to_s }, loc
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
@parser.pattern_hash_keys.declare(name)
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
#
|
1863
|
+
# SOURCE MAPS
|
1864
|
+
#
|
1865
|
+
|
1866
|
+
def n(type, children, source_map)
|
1867
|
+
AST::Node.new(type, children, :location => source_map)
|
1868
|
+
end
|
1869
|
+
|
1870
|
+
def n0(type, source_map)
|
1871
|
+
n(type, [], source_map)
|
1872
|
+
end
|
1873
|
+
|
1874
|
+
def join_exprs(left_expr, right_expr)
|
1875
|
+
left_expr.loc.expression.
|
1876
|
+
join(right_expr.loc.expression)
|
1877
|
+
end
|
1878
|
+
|
1879
|
+
def token_map(token)
|
1880
|
+
Source::Map.new(loc(token))
|
1881
|
+
end
|
1882
|
+
|
1883
|
+
def delimited_string_map(string_t)
|
1884
|
+
str_range = loc(string_t)
|
1885
|
+
|
1886
|
+
begin_l = str_range.with(end_pos: str_range.begin_pos + 1)
|
1887
|
+
|
1888
|
+
end_l = str_range.with(begin_pos: str_range.end_pos - 1)
|
1889
|
+
|
1890
|
+
Source::Map::Collection.new(begin_l, end_l,
|
1891
|
+
loc(string_t))
|
1892
|
+
end
|
1893
|
+
|
1894
|
+
def prefix_string_map(symbol)
|
1895
|
+
str_range = loc(symbol)
|
1896
|
+
|
1897
|
+
begin_l = str_range.with(end_pos: str_range.begin_pos + 1)
|
1898
|
+
|
1899
|
+
Source::Map::Collection.new(begin_l, nil,
|
1900
|
+
loc(symbol))
|
1901
|
+
end
|
1902
|
+
|
1903
|
+
def unquoted_map(token)
|
1904
|
+
Source::Map::Collection.new(nil, nil,
|
1905
|
+
loc(token))
|
1906
|
+
end
|
1907
|
+
|
1908
|
+
def pair_keyword_map(key_t, value_e)
|
1909
|
+
key_range = loc(key_t)
|
1910
|
+
|
1911
|
+
key_l = key_range.adjust(end_pos: -1)
|
1912
|
+
|
1913
|
+
colon_l = key_range.with(begin_pos: key_range.end_pos - 1)
|
1914
|
+
|
1915
|
+
[ # key map
|
1916
|
+
Source::Map::Collection.new(nil, nil,
|
1917
|
+
key_l),
|
1918
|
+
# pair map
|
1919
|
+
Source::Map::Operator.new(colon_l,
|
1920
|
+
key_range.join(value_e.loc.expression)) ]
|
1921
|
+
end
|
1922
|
+
|
1923
|
+
def pair_quoted_map(begin_t, end_t, value_e)
|
1924
|
+
end_l = loc(end_t)
|
1925
|
+
|
1926
|
+
quote_l = end_l.with(begin_pos: end_l.end_pos - 2,
|
1927
|
+
end_pos: end_l.end_pos - 1)
|
1928
|
+
|
1929
|
+
colon_l = end_l.with(begin_pos: end_l.end_pos - 1)
|
1930
|
+
|
1931
|
+
[ # modified end token
|
1932
|
+
[ value(end_t), quote_l ],
|
1933
|
+
# pair map
|
1934
|
+
Source::Map::Operator.new(colon_l,
|
1935
|
+
loc(begin_t).join(value_e.loc.expression)) ]
|
1936
|
+
end
|
1937
|
+
|
1938
|
+
def expr_map(loc)
|
1939
|
+
Source::Map.new(loc)
|
1940
|
+
end
|
1941
|
+
|
1942
|
+
def collection_map(begin_t, parts, end_t)
|
1943
|
+
if begin_t.nil? || end_t.nil?
|
1944
|
+
if parts.any?
|
1945
|
+
expr_l = join_exprs(parts.first, parts.last)
|
1946
|
+
elsif !begin_t.nil?
|
1947
|
+
expr_l = loc(begin_t)
|
1948
|
+
elsif !end_t.nil?
|
1949
|
+
expr_l = loc(end_t)
|
1950
|
+
end
|
1951
|
+
else
|
1952
|
+
expr_l = loc(begin_t).join(loc(end_t))
|
1953
|
+
end
|
1954
|
+
|
1955
|
+
Source::Map::Collection.new(loc(begin_t), loc(end_t), expr_l)
|
1956
|
+
end
|
1957
|
+
|
1958
|
+
def string_map(begin_t, parts, end_t)
|
1959
|
+
if begin_t && value(begin_t).start_with?('<<')
|
1960
|
+
if parts.any?
|
1961
|
+
expr_l = join_exprs(parts.first, parts.last)
|
1962
|
+
else
|
1963
|
+
expr_l = loc(end_t).begin
|
1964
|
+
end
|
1965
|
+
|
1966
|
+
Source::Map::Heredoc.new(loc(begin_t), expr_l, loc(end_t))
|
1967
|
+
else
|
1968
|
+
collection_map(begin_t, parts, end_t)
|
1969
|
+
end
|
1970
|
+
end
|
1971
|
+
|
1972
|
+
def regexp_map(begin_t, end_t, options_e)
|
1973
|
+
Source::Map::Collection.new(loc(begin_t), loc(end_t),
|
1974
|
+
loc(begin_t).join(options_e.loc.expression))
|
1975
|
+
end
|
1976
|
+
|
1977
|
+
def constant_map(scope, colon2_t, name_t)
|
1978
|
+
if scope.nil?
|
1979
|
+
expr_l = loc(name_t)
|
1980
|
+
else
|
1981
|
+
expr_l = scope.loc.expression.join(loc(name_t))
|
1982
|
+
end
|
1983
|
+
|
1984
|
+
Source::Map::Constant.new(loc(colon2_t), loc(name_t), expr_l)
|
1985
|
+
end
|
1986
|
+
|
1987
|
+
def variable_map(name_t)
|
1988
|
+
Source::Map::Variable.new(loc(name_t))
|
1989
|
+
end
|
1990
|
+
|
1991
|
+
def binary_op_map(left_e, op_t, right_e)
|
1992
|
+
Source::Map::Operator.new(loc(op_t), join_exprs(left_e, right_e))
|
1993
|
+
end
|
1994
|
+
|
1995
|
+
def unary_op_map(op_t, arg_e=nil)
|
1996
|
+
if arg_e.nil?
|
1997
|
+
expr_l = loc(op_t)
|
1998
|
+
else
|
1999
|
+
expr_l = loc(op_t).join(arg_e.loc.expression)
|
2000
|
+
end
|
2001
|
+
|
2002
|
+
Source::Map::Operator.new(loc(op_t), expr_l)
|
2003
|
+
end
|
2004
|
+
|
2005
|
+
def range_map(start_e, op_t, end_e)
|
2006
|
+
if start_e && end_e
|
2007
|
+
expr_l = join_exprs(start_e, end_e)
|
2008
|
+
elsif start_e
|
2009
|
+
expr_l = start_e.loc.expression.join(loc(op_t))
|
2010
|
+
elsif end_e
|
2011
|
+
expr_l = loc(op_t).join(end_e.loc.expression)
|
2012
|
+
end
|
2013
|
+
|
2014
|
+
Source::Map::Operator.new(loc(op_t), expr_l)
|
2015
|
+
end
|
2016
|
+
|
2017
|
+
def arg_prefix_map(op_t, name_t=nil)
|
2018
|
+
if name_t.nil?
|
2019
|
+
expr_l = loc(op_t)
|
2020
|
+
else
|
2021
|
+
expr_l = loc(op_t).join(loc(name_t))
|
2022
|
+
end
|
2023
|
+
|
2024
|
+
Source::Map::Variable.new(loc(name_t), expr_l)
|
2025
|
+
end
|
2026
|
+
|
2027
|
+
def kwarg_map(name_t, value_e=nil)
|
2028
|
+
label_range = loc(name_t)
|
2029
|
+
name_range = label_range.adjust(end_pos: -1)
|
2030
|
+
|
2031
|
+
if value_e
|
2032
|
+
expr_l = loc(name_t).join(value_e.loc.expression)
|
2033
|
+
else
|
2034
|
+
expr_l = loc(name_t)
|
2035
|
+
end
|
2036
|
+
|
2037
|
+
Source::Map::Variable.new(name_range, expr_l)
|
2038
|
+
end
|
2039
|
+
|
2040
|
+
def module_definition_map(keyword_t, name_e, operator_t, end_t)
|
2041
|
+
if name_e
|
2042
|
+
name_l = name_e.loc.expression
|
2043
|
+
end
|
2044
|
+
|
2045
|
+
Source::Map::Definition.new(loc(keyword_t),
|
2046
|
+
loc(operator_t), name_l,
|
2047
|
+
loc(end_t))
|
2048
|
+
end
|
2049
|
+
|
2050
|
+
def definition_map(keyword_t, operator_t, name_t, end_t)
|
2051
|
+
Source::Map::MethodDefinition.new(loc(keyword_t),
|
2052
|
+
loc(operator_t), loc(name_t),
|
2053
|
+
loc(end_t), nil, nil)
|
2054
|
+
end
|
2055
|
+
|
2056
|
+
def endless_definition_map(keyword_t, operator_t, name_t, assignment_t, body_e)
|
2057
|
+
body_l = body_e.loc.expression
|
2058
|
+
|
2059
|
+
Source::Map::MethodDefinition.new(loc(keyword_t),
|
2060
|
+
loc(operator_t), loc(name_t), nil,
|
2061
|
+
loc(assignment_t), body_l)
|
2062
|
+
end
|
2063
|
+
|
2064
|
+
def send_map(receiver_e, dot_t, selector_t, begin_t=nil, args=[], end_t=nil)
|
2065
|
+
if receiver_e
|
2066
|
+
begin_l = receiver_e.loc.expression
|
2067
|
+
elsif selector_t
|
2068
|
+
begin_l = loc(selector_t)
|
2069
|
+
end
|
2070
|
+
|
2071
|
+
if end_t
|
2072
|
+
end_l = loc(end_t)
|
2073
|
+
elsif args.any?
|
2074
|
+
end_l = args.last.loc.expression
|
2075
|
+
elsif selector_t
|
2076
|
+
end_l = loc(selector_t)
|
2077
|
+
end
|
2078
|
+
|
2079
|
+
Source::Map::Send.new(loc(dot_t), loc(selector_t),
|
2080
|
+
loc(begin_t), loc(end_t),
|
2081
|
+
begin_l.join(end_l))
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
def var_send_map(variable_e)
|
2085
|
+
Source::Map::Send.new(nil, variable_e.loc.expression,
|
2086
|
+
nil, nil,
|
2087
|
+
variable_e.loc.expression)
|
2088
|
+
end
|
2089
|
+
|
2090
|
+
def send_binary_op_map(lhs_e, selector_t, rhs_e)
|
2091
|
+
Source::Map::Send.new(nil, loc(selector_t),
|
2092
|
+
nil, nil,
|
2093
|
+
join_exprs(lhs_e, rhs_e))
|
2094
|
+
end
|
2095
|
+
|
2096
|
+
def send_unary_op_map(selector_t, arg_e)
|
2097
|
+
if arg_e.nil?
|
2098
|
+
expr_l = loc(selector_t)
|
2099
|
+
else
|
2100
|
+
expr_l = loc(selector_t).join(arg_e.loc.expression)
|
2101
|
+
end
|
2102
|
+
|
2103
|
+
Source::Map::Send.new(nil, loc(selector_t),
|
2104
|
+
nil, nil,
|
2105
|
+
expr_l)
|
2106
|
+
end
|
2107
|
+
|
2108
|
+
def index_map(receiver_e, lbrack_t, rbrack_t)
|
2109
|
+
Source::Map::Index.new(loc(lbrack_t), loc(rbrack_t),
|
2110
|
+
receiver_e.loc.expression.join(loc(rbrack_t)))
|
2111
|
+
end
|
2112
|
+
|
2113
|
+
def send_index_map(receiver_e, lbrack_t, rbrack_t)
|
2114
|
+
Source::Map::Send.new(nil, loc(lbrack_t).join(loc(rbrack_t)),
|
2115
|
+
nil, nil,
|
2116
|
+
receiver_e.loc.expression.join(loc(rbrack_t)))
|
2117
|
+
end
|
2118
|
+
|
2119
|
+
def block_map(receiver_l, begin_t, end_t)
|
2120
|
+
Source::Map::Collection.new(loc(begin_t), loc(end_t),
|
2121
|
+
receiver_l.join(loc(end_t)))
|
2122
|
+
end
|
2123
|
+
|
2124
|
+
def keyword_map(keyword_t, begin_t, args, end_t)
|
2125
|
+
args ||= []
|
2126
|
+
|
2127
|
+
if end_t
|
2128
|
+
end_l = loc(end_t)
|
2129
|
+
elsif args.any? && !args.last.nil?
|
2130
|
+
end_l = args.last.loc.expression
|
2131
|
+
elsif args.any? && args.count > 1
|
2132
|
+
end_l = args[-2].loc.expression
|
2133
|
+
else
|
2134
|
+
end_l = loc(keyword_t)
|
2135
|
+
end
|
2136
|
+
|
2137
|
+
Source::Map::Keyword.new(loc(keyword_t), loc(begin_t), loc(end_t),
|
2138
|
+
loc(keyword_t).join(end_l))
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
def keyword_mod_map(pre_e, keyword_t, post_e)
|
2142
|
+
Source::Map::Keyword.new(loc(keyword_t), nil, nil,
|
2143
|
+
join_exprs(pre_e, post_e))
|
2144
|
+
end
|
2145
|
+
|
2146
|
+
def condition_map(keyword_t, cond_e, begin_t, body_e, else_t, else_e, end_t)
|
2147
|
+
if end_t
|
2148
|
+
end_l = loc(end_t)
|
2149
|
+
elsif else_e && else_e.loc.expression
|
2150
|
+
end_l = else_e.loc.expression
|
2151
|
+
elsif loc(else_t)
|
2152
|
+
end_l = loc(else_t)
|
2153
|
+
elsif body_e && body_e.loc.expression
|
2154
|
+
end_l = body_e.loc.expression
|
2155
|
+
elsif loc(begin_t)
|
2156
|
+
end_l = loc(begin_t)
|
2157
|
+
else
|
2158
|
+
end_l = cond_e.loc.expression
|
2159
|
+
end
|
2160
|
+
|
2161
|
+
Source::Map::Condition.new(loc(keyword_t),
|
2162
|
+
loc(begin_t), loc(else_t), loc(end_t),
|
2163
|
+
loc(keyword_t).join(end_l))
|
2164
|
+
end
|
2165
|
+
|
2166
|
+
def ternary_map(begin_e, question_t, mid_e, colon_t, end_e)
|
2167
|
+
Source::Map::Ternary.new(loc(question_t), loc(colon_t),
|
2168
|
+
join_exprs(begin_e, end_e))
|
2169
|
+
end
|
2170
|
+
|
2171
|
+
def for_map(keyword_t, in_t, begin_t, end_t)
|
2172
|
+
Source::Map::For.new(loc(keyword_t), loc(in_t),
|
2173
|
+
loc(begin_t), loc(end_t),
|
2174
|
+
loc(keyword_t).join(loc(end_t)))
|
2175
|
+
end
|
2176
|
+
|
2177
|
+
def rescue_body_map(keyword_t, exc_list_e, assoc_t,
|
2178
|
+
exc_var_e, then_t,
|
2179
|
+
compstmt_e)
|
2180
|
+
end_l = compstmt_e.loc.expression if compstmt_e
|
2181
|
+
end_l = loc(then_t) if end_l.nil? && then_t
|
2182
|
+
end_l = exc_var_e.loc.expression if end_l.nil? && exc_var_e
|
2183
|
+
end_l = exc_list_e.loc.expression if end_l.nil? && exc_list_e
|
2184
|
+
end_l = loc(keyword_t) if end_l.nil?
|
2185
|
+
|
2186
|
+
Source::Map::RescueBody.new(loc(keyword_t), loc(assoc_t), loc(then_t),
|
2187
|
+
loc(keyword_t).join(end_l))
|
2188
|
+
end
|
2189
|
+
|
2190
|
+
def eh_keyword_map(compstmt_e, keyword_t, body_es,
|
2191
|
+
else_t, else_e)
|
2192
|
+
if compstmt_e.nil?
|
2193
|
+
if keyword_t.nil?
|
2194
|
+
begin_l = body_es.first.loc.expression
|
2195
|
+
else
|
2196
|
+
begin_l = loc(keyword_t)
|
2197
|
+
end
|
2198
|
+
else
|
2199
|
+
begin_l = compstmt_e.loc.expression
|
2200
|
+
end
|
2201
|
+
|
2202
|
+
if else_t
|
2203
|
+
if else_e.nil?
|
2204
|
+
end_l = loc(else_t)
|
2205
|
+
else
|
2206
|
+
end_l = else_e.loc.expression
|
2207
|
+
end
|
2208
|
+
elsif !body_es.last.nil?
|
2209
|
+
end_l = body_es.last.loc.expression
|
2210
|
+
else
|
2211
|
+
end_l = loc(keyword_t)
|
2212
|
+
end
|
2213
|
+
|
2214
|
+
Source::Map::Condition.new(loc(keyword_t), nil, loc(else_t), nil,
|
2215
|
+
begin_l.join(end_l))
|
2216
|
+
end
|
2217
|
+
|
2218
|
+
def guard_map(keyword_t, guard_body_e)
|
2219
|
+
keyword_l = loc(keyword_t)
|
2220
|
+
guard_body_l = guard_body_e.loc.expression
|
2221
|
+
|
2222
|
+
Source::Map::Keyword.new(keyword_l, nil, nil, keyword_l.join(guard_body_l))
|
2223
|
+
end
|
2224
|
+
|
2225
|
+
#
|
2226
|
+
# HELPERS
|
2227
|
+
#
|
2228
|
+
|
2229
|
+
# Extract a static string from e.g. a regular expression,
|
2230
|
+
# honoring the fact that MRI expands interpolations like #{""}
|
2231
|
+
# at parse time.
|
2232
|
+
def static_string(nodes)
|
2233
|
+
nodes.map do |node|
|
2234
|
+
case node.type
|
2235
|
+
when :str
|
2236
|
+
node.children[0]
|
2237
|
+
when :begin
|
2238
|
+
if (string = static_string(node.children))
|
2239
|
+
string
|
2240
|
+
else
|
2241
|
+
return nil
|
2242
|
+
end
|
2243
|
+
else
|
2244
|
+
return nil
|
2245
|
+
end
|
2246
|
+
end.join
|
2247
|
+
end
|
2248
|
+
|
2249
|
+
def static_regexp(parts, options)
|
2250
|
+
source = static_string(parts)
|
2251
|
+
return nil if source.nil?
|
2252
|
+
|
2253
|
+
source = case
|
2254
|
+
when options.children.include?(:u)
|
2255
|
+
source.encode(Encoding::UTF_8)
|
2256
|
+
when options.children.include?(:e)
|
2257
|
+
source.encode(Encoding::EUC_JP)
|
2258
|
+
when options.children.include?(:s)
|
2259
|
+
source.encode(Encoding::WINDOWS_31J)
|
2260
|
+
when options.children.include?(:n)
|
2261
|
+
source.encode(Encoding::BINARY)
|
2262
|
+
else
|
2263
|
+
source
|
2264
|
+
end
|
2265
|
+
|
2266
|
+
Regexp.new(source, (Regexp::EXTENDED if options.children.include?(:x)))
|
2267
|
+
end
|
2268
|
+
|
2269
|
+
def static_regexp_node(node)
|
2270
|
+
if node.type == :regexp
|
2271
|
+
if @parser.version >= 33 && node.children[0..-2].any? { |child| child.type != :str }
|
2272
|
+
return nil
|
2273
|
+
end
|
2274
|
+
|
2275
|
+
parts, options = node.children[0..-2], node.children[-1]
|
2276
|
+
static_regexp(parts, options)
|
2277
|
+
end
|
2278
|
+
end
|
2279
|
+
|
2280
|
+
def collapse_string_parts?(parts)
|
2281
|
+
parts.one? &&
|
2282
|
+
[:str, :dstr].include?(parts.first.type)
|
2283
|
+
end
|
2284
|
+
|
2285
|
+
def value(token)
|
2286
|
+
token[0]
|
2287
|
+
end
|
2288
|
+
|
2289
|
+
def string_value(token)
|
2290
|
+
unless token[0].valid_encoding?
|
2291
|
+
diagnostic(:error, :invalid_encoding, nil, token[1])
|
2292
|
+
end
|
2293
|
+
|
2294
|
+
token[0]
|
2295
|
+
end
|
2296
|
+
|
2297
|
+
def loc(token)
|
2298
|
+
# Pass through `nil`s and return nil for tNL.
|
2299
|
+
token[1] if token && token[0]
|
2300
|
+
end
|
2301
|
+
|
2302
|
+
def diagnostic(type, reason, arguments, location, highlights=[])
|
2303
|
+
@parser.diagnostics.process(
|
2304
|
+
Diagnostic.new(type, reason, arguments, location, highlights))
|
2305
|
+
|
2306
|
+
if type == :error
|
2307
|
+
@parser.send :yyerror
|
2308
|
+
end
|
2309
|
+
end
|
2310
|
+
|
2311
|
+
def validate_definee(definee)
|
2312
|
+
case definee.type
|
2313
|
+
when :int, :str, :dstr, :sym, :dsym,
|
2314
|
+
:regexp, :array, :hash
|
2315
|
+
|
2316
|
+
diagnostic :error, :singleton_literal, nil, definee.loc.expression
|
2317
|
+
false
|
2318
|
+
else
|
2319
|
+
true
|
2320
|
+
end
|
2321
|
+
end
|
2322
|
+
|
2323
|
+
def rewrite_hash_args_to_kwargs(args)
|
2324
|
+
if args.any? && kwargs?(args.last)
|
2325
|
+
# foo(..., bar: baz)
|
2326
|
+
args[args.length - 1] = args[args.length - 1].updated(:kwargs)
|
2327
|
+
elsif args.length > 1 && args.last.type == :block_pass && kwargs?(args[args.length - 2])
|
2328
|
+
# foo(..., bar: baz, &blk)
|
2329
|
+
args[args.length - 2] = args[args.length - 2].updated(:kwargs)
|
2330
|
+
end
|
2331
|
+
end
|
2332
|
+
|
2333
|
+
def kwargs?(node)
|
2334
|
+
node.type == :hash && node.loc.begin.nil? && node.loc.end.nil?
|
2335
|
+
end
|
2336
|
+
end
|
2337
|
+
|
2338
|
+
end
|