quantumdmn-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +11 -0
- data/Gemfile.lock +151 -0
- data/LICENSE +21 -0
- data/README.md +302 -0
- data/Rakefile +10 -0
- data/docs/AddProjectMemberRequest.md +20 -0
- data/docs/BatchEvaluateDesignRequest.md +20 -0
- data/docs/BatchEvaluationResponse.md +18 -0
- data/docs/BatchEvaluationResponseResultsInner.md +22 -0
- data/docs/BatchGetUsersRequest.md +18 -0
- data/docs/CreateDefinitionRequest.md +22 -0
- data/docs/CreateProjectRequest.md +20 -0
- data/docs/CreateSubscriptionUpgradeTransaction200Response.md +18 -0
- data/docs/CreateSubscriptionUpgradeTransactionRequest.md +18 -0
- data/docs/CreditsQuota.md +24 -0
- data/docs/DailyStat.md +22 -0
- data/docs/DefaultApi.md +2407 -0
- data/docs/Definition.md +30 -0
- data/docs/DefinitionsQuota.md +20 -0
- data/docs/Error.md +20 -0
- data/docs/EvaluateDesignRequest.md +28 -0
- data/docs/EvaluateDesignRequestKpiInitialStateValueInner.md +20 -0
- data/docs/EvaluateDesignRequestKpiInitialStateValueInnerMetricsInner.md +20 -0
- data/docs/EvaluateStoredRequest.md +26 -0
- data/docs/EvaluationResult.md +30 -0
- data/docs/Execution.md +30 -0
- data/docs/FeelValue.md +55 -0
- data/docs/FrontendConfig.md +20 -0
- data/docs/FrontendConfigOidc.md +20 -0
- data/docs/FrontendConfigPaddle.md +20 -0
- data/docs/GetCustomerPortalSession200Response.md +18 -0
- data/docs/GetHealth200Response.md +18 -0
- data/docs/GetVersion200Response.md +22 -0
- data/docs/HitRule.md +20 -0
- data/docs/KpiTrend.md +22 -0
- data/docs/KpiTrendDataInner.md +20 -0
- data/docs/OrganizationUser.md +26 -0
- data/docs/OverviewResponse.md +18 -0
- data/docs/OverviewResponseStats.md +24 -0
- data/docs/PaginatedDefinitionsResponse.md +20 -0
- data/docs/PaginatedExecutionsResponse.md +20 -0
- data/docs/PaginationMetadata.md +24 -0
- data/docs/Project.md +28 -0
- data/docs/ProjectMember.md +28 -0
- data/docs/ProjectPermissions.md +26 -0
- data/docs/ProjectUsage.md +24 -0
- data/docs/Quota.md +28 -0
- data/docs/QuotaItem.md +20 -0
- data/docs/SimulationRequest.md +20 -0
- data/docs/SimulationResponse.md +18 -0
- data/docs/SimulationResponseResultsInner.md +24 -0
- data/docs/Tier.md +26 -0
- data/docs/TierFeaturesConfig.md +24 -0
- data/docs/TierLimits.md +24 -0
- data/docs/UpdateCustomerSettingsRequest.md +18 -0
- data/docs/UpdateDefinitionRequest.md +22 -0
- data/docs/UpdateProjectMemberRoleRequest.md +18 -0
- data/docs/UserPermissions.md +20 -0
- data/git_push.sh +57 -0
- data/lib/quantumdmn/api/default_api.rb +2522 -0
- data/lib/quantumdmn/api_client.rb +396 -0
- data/lib/quantumdmn/api_error.rb +58 -0
- data/lib/quantumdmn/api_model_base.rb +88 -0
- data/lib/quantumdmn/configuration.rb +301 -0
- data/lib/quantumdmn/dmn_engine.rb +45 -0
- data/lib/quantumdmn/models/add_project_member_request.rb +190 -0
- data/lib/quantumdmn/models/batch_evaluate_design_request.rb +160 -0
- data/lib/quantumdmn/models/batch_evaluation_response.rb +149 -0
- data/lib/quantumdmn/models/batch_evaluation_response_results_inner.rb +169 -0
- data/lib/quantumdmn/models/batch_get_users_request.rb +166 -0
- data/lib/quantumdmn/models/create_definition_request.rb +199 -0
- data/lib/quantumdmn/models/create_project_request.rb +190 -0
- data/lib/quantumdmn/models/create_subscription_upgrade_transaction200_response.rb +147 -0
- data/lib/quantumdmn/models/create_subscription_upgrade_transaction_request.rb +164 -0
- data/lib/quantumdmn/models/credits_quota.rb +181 -0
- data/lib/quantumdmn/models/daily_stat.rb +165 -0
- data/lib/quantumdmn/models/definition.rb +303 -0
- data/lib/quantumdmn/models/definitions_quota.rb +159 -0
- data/lib/quantumdmn/models/error.rb +156 -0
- data/lib/quantumdmn/models/evaluate_design_request.rb +222 -0
- data/lib/quantumdmn/models/evaluate_design_request_kpi_initial_state_value_inner.rb +193 -0
- data/lib/quantumdmn/models/evaluate_design_request_kpi_initial_state_value_inner_metrics_inner.rb +176 -0
- data/lib/quantumdmn/models/evaluate_stored_request.rb +209 -0
- data/lib/quantumdmn/models/evaluation_result.rb +241 -0
- data/lib/quantumdmn/models/execution.rb +274 -0
- data/lib/quantumdmn/models/feel_value.rb +107 -0
- data/lib/quantumdmn/models/frontend_config.rb +173 -0
- data/lib/quantumdmn/models/frontend_config_oidc.rb +192 -0
- data/lib/quantumdmn/models/frontend_config_paddle.rb +158 -0
- data/lib/quantumdmn/models/get_customer_portal_session200_response.rb +147 -0
- data/lib/quantumdmn/models/get_health200_response.rb +147 -0
- data/lib/quantumdmn/models/get_version200_response.rb +165 -0
- data/lib/quantumdmn/models/hit_rule.rb +157 -0
- data/lib/quantumdmn/models/kpi_trend.rb +167 -0
- data/lib/quantumdmn/models/kpi_trend_data_inner.rb +156 -0
- data/lib/quantumdmn/models/organization_user.rb +183 -0
- data/lib/quantumdmn/models/overview_response.rb +147 -0
- data/lib/quantumdmn/models/overview_response_stats.rb +180 -0
- data/lib/quantumdmn/models/paginated_definitions_response.rb +192 -0
- data/lib/quantumdmn/models/paginated_executions_response.rb +192 -0
- data/lib/quantumdmn/models/pagination_metadata.rb +246 -0
- data/lib/quantumdmn/models/project.rb +277 -0
- data/lib/quantumdmn/models/project_member.rb +192 -0
- data/lib/quantumdmn/models/project_permissions.rb +269 -0
- data/lib/quantumdmn/models/project_usage.rb +174 -0
- data/lib/quantumdmn/models/quota.rb +210 -0
- data/lib/quantumdmn/models/quota_item.rb +156 -0
- data/lib/quantumdmn/models/simulation_request.rb +175 -0
- data/lib/quantumdmn/models/simulation_response.rb +149 -0
- data/lib/quantumdmn/models/simulation_response_results_inner.rb +178 -0
- data/lib/quantumdmn/models/tier.rb +217 -0
- data/lib/quantumdmn/models/tier_features_config.rb +176 -0
- data/lib/quantumdmn/models/tier_limits.rb +174 -0
- data/lib/quantumdmn/models/update_customer_settings_request.rb +147 -0
- data/lib/quantumdmn/models/update_definition_request.rb +165 -0
- data/lib/quantumdmn/models/update_project_member_role_request.rb +164 -0
- data/lib/quantumdmn/models/user_permissions.rb +194 -0
- data/lib/quantumdmn/version.rb +15 -0
- data/lib/quantumdmn/zitadel_auth.rb +76 -0
- data/lib/quantumdmn.rb +97 -0
- data/openapi.yaml +1955 -0
- data/post-generate.sh +21 -0
- data/quantumdmn.gemspec +41 -0
- data/spec/api/default_api_spec.rb +446 -0
- data/spec/models/add_project_member_request_spec.rb +42 -0
- data/spec/models/batch_evaluate_design_request_spec.rb +42 -0
- data/spec/models/batch_evaluation_response_results_inner_spec.rb +48 -0
- data/spec/models/batch_evaluation_response_spec.rb +36 -0
- data/spec/models/batch_get_users_request_spec.rb +36 -0
- data/spec/models/create_definition_request_spec.rb +48 -0
- data/spec/models/create_project_request_spec.rb +42 -0
- data/spec/models/create_subscription_upgrade_transaction200_response_spec.rb +36 -0
- data/spec/models/create_subscription_upgrade_transaction_request_spec.rb +36 -0
- data/spec/models/credits_quota_spec.rb +54 -0
- data/spec/models/daily_stat_spec.rb +48 -0
- data/spec/models/definition_spec.rb +72 -0
- data/spec/models/definitions_quota_spec.rb +42 -0
- data/spec/models/error_spec.rb +42 -0
- data/spec/models/evaluate_design_request_kpi_initial_state_value_inner_metrics_inner_spec.rb +42 -0
- data/spec/models/evaluate_design_request_kpi_initial_state_value_inner_spec.rb +42 -0
- data/spec/models/evaluate_design_request_spec.rb +54 -0
- data/spec/models/evaluate_stored_request_spec.rb +54 -0
- data/spec/models/evaluation_result_spec.rb +76 -0
- data/spec/models/execution_spec.rb +72 -0
- data/spec/models/feel_value_spec.rb +32 -0
- data/spec/models/frontend_config_oidc_spec.rb +42 -0
- data/spec/models/frontend_config_paddle_spec.rb +42 -0
- data/spec/models/frontend_config_spec.rb +42 -0
- data/spec/models/get_customer_portal_session200_response_spec.rb +36 -0
- data/spec/models/get_health200_response_spec.rb +36 -0
- data/spec/models/get_version200_response_spec.rb +48 -0
- data/spec/models/hit_rule_spec.rb +42 -0
- data/spec/models/kpi_trend_data_inner_spec.rb +42 -0
- data/spec/models/kpi_trend_spec.rb +48 -0
- data/spec/models/organization_user_spec.rb +60 -0
- data/spec/models/overview_response_spec.rb +36 -0
- data/spec/models/overview_response_stats_spec.rb +60 -0
- data/spec/models/paginated_definitions_response_spec.rb +42 -0
- data/spec/models/paginated_executions_response_spec.rb +42 -0
- data/spec/models/pagination_metadata_spec.rb +54 -0
- data/spec/models/project_member_spec.rb +66 -0
- data/spec/models/project_permissions_spec.rb +60 -0
- data/spec/models/project_spec.rb +66 -0
- data/spec/models/project_usage_spec.rb +54 -0
- data/spec/models/quota_item_spec.rb +42 -0
- data/spec/models/quota_spec.rb +66 -0
- data/spec/models/simulation_request_spec.rb +42 -0
- data/spec/models/simulation_response_results_inner_spec.rb +54 -0
- data/spec/models/simulation_response_spec.rb +36 -0
- data/spec/models/tier_features_config_spec.rb +54 -0
- data/spec/models/tier_limits_spec.rb +54 -0
- data/spec/models/tier_spec.rb +60 -0
- data/spec/models/update_customer_settings_request_spec.rb +36 -0
- data/spec/models/update_definition_request_spec.rb +48 -0
- data/spec/models/update_project_member_role_request_spec.rb +36 -0
- data/spec/models/user_permissions_spec.rb +42 -0
- data/spec/spec_helper.rb +111 -0
- data/vendor/bundle/ruby/4.0.0/bin/byebug +28 -0
- data/vendor/bundle/ruby/4.0.0/bin/coderay +28 -0
- data/vendor/bundle/ruby/4.0.0/bin/htmldiff +28 -0
- data/vendor/bundle/ruby/4.0.0/bin/ldiff +28 -0
- data/vendor/bundle/ruby/4.0.0/bin/pry +28 -0
- data/vendor/bundle/ruby/4.0.0/bin/racc +28 -0
- data/vendor/bundle/ruby/4.0.0/bin/rake +28 -0
- data/vendor/bundle/ruby/4.0.0/bin/rspec +28 -0
- data/vendor/bundle/ruby/4.0.0/bin/rubocop +28 -0
- data/vendor/bundle/ruby/4.0.0/bin/ruby-parse +28 -0
- data/vendor/bundle/ruby/4.0.0/bin/ruby-rewrite +28 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/byebug-13.0.0/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/byebug-13.0.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/byebug-13.0.0/gem_make.out +42 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/date-3.5.1/date_core.so +0 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/date-3.5.1/gem.build_complete +0 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/date-3.5.1/gem_make.out +24 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/date-3.5.1/mkmf.log +93 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/io-console-0.8.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/io-console-0.8.2/gem_make.out +31 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/io-console-0.8.2/io/console.so +0 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/io-console-0.8.2/mkmf.log +352 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/jaro_winkler-1.5.6/gem.build_complete +0 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/jaro_winkler-1.5.6/gem_make.out +29 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/jaro_winkler-1.5.6/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/psych-5.3.1/gem.build_complete +0 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/psych-5.3.1/gem_make.out +29 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/psych-5.3.1/mkmf.log +41 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/psych-5.3.1/psych.so +0 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/racc-1.8.1/gem.build_complete +0 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/racc-1.8.1/gem_make.out +18 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/racc-1.8.1/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/stringio-3.2.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/stringio-3.2.0/gem_make.out +19 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/stringio-3.2.0/mkmf.log +27 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/stringio-3.2.0/stringio.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/ast-2.4.3/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/ast-2.4.3/README.YARD.md +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/ast-2.4.3/lib/ast/node.rb +268 -0
- data/vendor/bundle/ruby/4.0.0/gems/ast-2.4.3/lib/ast/processor/mixin.rb +288 -0
- data/vendor/bundle/ruby/4.0.0/gems/ast-2.4.3/lib/ast/processor.rb +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/ast-2.4.3/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/ast-2.4.3/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/base64-0.3.0/BSDL +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/base64-0.3.0/COPYING +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/base64-0.3.0/LEGAL +60 -0
- data/vendor/bundle/ruby/4.0.0/gems/base64-0.3.0/README.md +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/base64-0.3.0/lib/base64.rb +381 -0
- data/vendor/bundle/ruby/4.0.0/gems/base64-0.3.0/sig/base64.rbs +355 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/CHANGELOG.md +980 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/CONTRIBUTING.md +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/GUIDE.md +1806 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/LICENSE +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/README.md +197 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/exe/byebug +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/ext/byebug/Makefile +273 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/ext/byebug/breakpoint.c +522 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/ext/byebug/byebug.c +906 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/ext/byebug/byebug.h +147 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/ext/byebug/context.c +682 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/ext/byebug/extconf.rb +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/ext/byebug/locker.c +96 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/ext/byebug/threads.c +254 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/attacher.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/breakpoint.rb +94 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/command.rb +111 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/command_list.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/break.rb +114 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/catch.rb +78 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/condition.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/continue.rb +68 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/debug.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/delete.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/disable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/disable/display.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/disable.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/display.rb +66 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/down.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/edit.rb +69 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/enable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/enable/display.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/enable.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/finish.rb +57 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/frame.rb +57 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/help.rb +64 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/history.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/info/breakpoints.rb +65 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/info/display.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/info/file.rb +80 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/info/line.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/info/program.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/info.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/interrupt.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/irb.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/kill.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/list.rb +159 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/method.rb +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/next.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/pry.rb +41 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/quit.rb +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/restart.rb +64 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/save.rb +72 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/set.rb +79 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/show.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/skip.rb +85 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/source.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/step.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/thread/current.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/thread/list.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/thread/resume.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/thread/stop.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/thread/switch.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/thread.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/tracevar.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/undisplay.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/untracevar.rb +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/up.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/var/all.rb +41 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/var/args.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/var/const.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/var/global.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/var/instance.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/var/local.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/var.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands/where.rb +64 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/commands.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/context.rb +157 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/core.rb +115 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/errors.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/frame.rb +185 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/helpers/bin.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/helpers/eval.rb +124 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/helpers/file.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/helpers/frame.rb +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/helpers/parse.rb +82 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/helpers/path.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/helpers/reflection.rb +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/helpers/string.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/helpers/thread.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/helpers/toggle.rb +62 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/helpers/var.rb +70 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/history.rb +120 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/interface.rb +146 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/interfaces/local_interface.rb +63 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/interfaces/remote_interface.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/interfaces/script_interface.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/interfaces/test_interface.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/option_setter.rb +95 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/printers/base.rb +68 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/printers/plain.rb +44 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/printers/texts/base.yml +115 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/printers/texts/plain.yml +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/processors/command_processor.rb +173 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/processors/control_processor.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/processors/post_mortem_processor.rb +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/processors/script_processor.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/remote/client.rb +57 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/remote/server.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/remote.rb +85 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/runner.rb +198 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/setting.rb +79 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/autoirb.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/autolist.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/autopry.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/autosave.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/basename.rb +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/callstyle.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/fullpath.rb +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/histfile.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/histsize.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/linetrace.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/listsize.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/post_mortem.rb +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/savefile.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/stack_on_error.rb +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/settings/width.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/source_file_formatter.rb +71 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/subcommands.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug/version.rb +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/byebug-13.0.0/lib/byebug.rb +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/MIT-LICENSE +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/README_INDEX.rdoc +123 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/bin/coderay +215 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/duo.rb +81 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/count.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/debug.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/debug_lint.rb +63 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/div.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/encoder.rb +190 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/html/numbering.rb +108 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/html/output.rb +164 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/html.rb +333 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/json.rb +83 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/lint.rb +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/null.rb +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/page.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/span.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/statistic.rb +95 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/terminal.rb +195 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/text.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/encoders.rb +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/helpers/file_type.rb +151 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/helpers/plugin.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/helpers/plugin_host.rb +221 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/c.rb +189 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/cpp.rb +217 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/css.rb +196 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/debug.rb +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/diff.rb +221 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/go.rb +208 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/groovy.rb +268 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/html.rb +275 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/java.rb +174 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/java_script.rb +236 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/json.rb +98 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/lua.rb +280 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/php.rb +527 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/python.rb +287 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/raydebug.rb +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby/string_state.rb +79 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby.rb +477 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/sass.rb +232 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/scanner.rb +337 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/sql.rb +169 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/taskpaper.rb +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/text.rb +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/scanners.rb +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/styles/_map.rb +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/styles/alpha.rb +153 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/styles/style.rb +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/styles.rb +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/token_kinds.rb +85 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/tokens.rb +164 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay/version.rb +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/coderay-1.1.3/lib/coderay.rb +284 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/BSDL +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/COPYING +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/README.md +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/ext/date/Makefile +273 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/ext/date/date_core.c +10065 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/ext/date/date_parse.c +3086 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/ext/date/date_strftime.c +638 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/ext/date/date_strptime.c +704 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/ext/date/date_tmx.h +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/ext/date/extconf.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/ext/date/prereq.mk +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/ext/date/zonetab.h +1564 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/ext/date/zonetab.list +330 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/lib/date.rb +70 -0
- data/vendor/bundle/ruby/4.0.0/gems/date-3.5.1/lib/date_core.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/.rspec +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/CHANGELOG.md +518 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/CODE_OF_CONDUCT.md +128 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/CONTRIBUTING.md +71 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/CONTRIBUTORS.md +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/LICENCE.md +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/Manifest.txt +115 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/README.md +92 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/Rakefile +115 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/SECURITY.md +41 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/bin/htmldiff +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/bin/ldiff +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/lib/diff/lcs/backports.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/lib/diff/lcs/callbacks.rb +327 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/lib/diff/lcs/change.rb +174 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/lib/diff/lcs/htmldiff.rb +160 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/lib/diff/lcs/hunk.rb +379 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/lib/diff/lcs/internals.rb +308 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/lib/diff/lcs/ldiff.rb +189 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/lib/diff/lcs/version.rb +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/lib/diff/lcs.rb +742 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/mise.toml +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/change_spec.rb +89 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/diff_spec.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/123_x +2 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/456_x +2 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/empty +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/file1.bin +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/file2.bin +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/four_lines +4 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/four_lines_with_missing_new_line +4 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line1-e +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line1-f +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line2-e +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line2-f +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.chef-e +2 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.chef-f +2 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line1-e +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line1-f +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line2-e +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line2-f +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1 +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-c +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-e +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-f +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-u +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2 +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-c +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-e +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-f +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-u +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef +4 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-c +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-e +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-f +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-u +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2 +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-c +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-d +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-e +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-f +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-u +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-c +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-e +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-f +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-u +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-c +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-e +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-f +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-u +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context +4 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-c +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-e +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-f +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-u +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1 +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-c +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-e +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-f +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-u +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2 +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-c +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-e +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-f +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-u +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/new-chef +4 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/new-chef2 +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/old-chef +4 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/fixtures/old-chef2 +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/issues_spec.rb +160 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/ldiff_spec.rb +100 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/patch_spec.rb +416 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/sdiff_spec.rb +216 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/spec_helper.rb +376 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/traverse_balanced_spec.rb +312 -0
- data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/spec/traverse_sequences_spec.rb +137 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +41 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/.gitignore +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/.rspec +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/CHANGELOG.md +372 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/Gemfile +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/Guardfile +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/LICENSE +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/README.md +95 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/Rakefile +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/ethon.gemspec +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/curl.rb +90 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/curls/codes.rb +122 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/curls/constants.rb +80 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/curls/functions.rb +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/curls/infos.rb +151 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/curls/messages.rb +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/curls/options.rb +502 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/curls/settings.rb +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/callbacks.rb +148 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/debug_info.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/features.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/form.rb +107 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/header.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/http/actionable.rb +157 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/http/custom.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/http/get.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/http/head.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/http/options.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/http/patch.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/http/post.rb +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/http/postable.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/http/put.rb +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/http/putable.rb +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/http.rb +68 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/informations.rb +113 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/mirror.rb +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/operations.rb +64 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/options.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/params.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/queryable.rb +154 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/response_callbacks.rb +131 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy/util.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/easy.rb +315 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/errors/ethon_error.rb +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/errors/global_init.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/errors/invalid_option.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/errors/invalid_value.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/errors/multi_add.rb +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/errors/multi_fdset.rb +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/errors/multi_remove.rb +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/errors/multi_timeout.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/errors/select.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/errors.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/libc.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/loggable.rb +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/multi/operations.rb +228 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/multi/options.rb +117 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/multi/stack.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/multi.rb +126 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon/version.rb +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/lib/ethon.rb +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/profile/benchmarks.rb +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/profile/memory_leaks.rb +114 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/profile/perf_spec_helper.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/profile/support/memory_test_helpers.rb +76 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/profile/support/os_memory_leak_tracker.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/profile/support/ruby_object_leak_tracker.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/curl_spec.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/debug_info_spec.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/features_spec.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/form_spec.rb +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/header_spec.rb +79 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/http/custom_spec.rb +177 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/http/delete_spec.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/http/get_spec.rb +126 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/http/head_spec.rb +80 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/http/options_spec.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/http/patch_spec.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/http/post_spec.rb +317 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/http/put_spec.rb +168 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/http_spec.rb +64 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +120 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +268 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/options_spec.rb +193 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/queryable_spec.rb +235 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/response_callbacks_spec.rb +152 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy/util_spec.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/easy_spec.rb +203 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/libc_spec.rb +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/multi/operations_spec.rb +298 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/multi/options_spec.rb +182 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/multi/stack_spec.rb +80 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/ethon/multi_spec.rb +152 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/spec_helper.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/support/localhost_server.rb +95 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.15.0/spec/support/server.rb +115 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/CHANGELOG.md +498 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/COPYING +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/Gemfile +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/LICENSE +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/LICENSE.SPECS +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/README.md +138 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/Rakefile +209 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/Steepfile +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/ffi.gemspec +41 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/3.0/ffi_c.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/3.1/ffi_c.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/3.2/ffi_c.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/3.3/ffi_c.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/3.4/ffi_c.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/4.0/ffi_c.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/abstract_memory.rb +44 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/autopointer.rb +186 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/buffer.rb +4 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/callback.rb +4 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/compat.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/data_converter.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/dynamic_library.rb +118 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/enum.rb +302 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/errno.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/ffi.rb +109 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/function.rb +94 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/io.rb +62 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/library.rb +592 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/library_path.rb +109 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/managedstruct.rb +84 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/memorypointer.rb +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/aarch64-darwin/types.conf +130 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/aarch64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/aarch64-freebsd12/types.conf +181 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/aarch64-linux/types.conf +175 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/aarch64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/aarch64-windows/types.conf +52 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/arm-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/arm-freebsd12/types.conf +152 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/arm-linux/types.conf +132 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/hppa1.1-linux/types.conf +178 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/hppa2.0-linux/types.conf +178 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/i386-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/i386-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/i386-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/i386-freebsd12/types.conf +152 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/i386-gnu/types.conf +107 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/i386-linux/types.conf +103 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/i386-netbsd/types.conf +126 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/i386-openbsd/types.conf +128 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/i386-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/i386-windows/types.conf +52 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/ia64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/loongarch64-linux/types.conf +141 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/mips-linux/types.conf +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/mips64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/mips64el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/mipsel-linux/types.conf +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/mipsisa32r6-linux/types.conf +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/mipsisa32r6el-linux/types.conf +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/mipsisa64r6-linux/types.conf +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/mipsisa64r6el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/powerpc-aix/types.conf +180 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/powerpc-linux/types.conf +130 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/powerpc-openbsd/types.conf +156 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/powerpc64le-linux/types.conf +100 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/riscv64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/s390-linux/types.conf +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/s390x-linux/types.conf +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/sparc-linux/types.conf +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/sparc-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/sparcv9-linux/types.conf +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/sparcv9-openbsd/types.conf +156 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/sw_64-linux/types.conf +141 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/x86_64-darwin/types.conf +130 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/x86_64-dragonflybsd/types.conf +130 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/x86_64-freebsd12/types.conf +158 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/x86_64-haiku/types.conf +117 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/x86_64-linux/types.conf +132 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/x86_64-msys/types.conf +119 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/x86_64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform/x86_64-windows/types.conf +52 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/platform.rb +187 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/pointer.rb +167 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/struct.rb +317 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/struct_by_reference.rb +72 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/struct_layout.rb +96 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/struct_layout_builder.rb +227 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/tools/const_generator.rb +232 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/tools/generator.rb +105 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/tools/generator_task.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/tools/struct_generator.rb +195 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/types.rb +222 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/union.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/variadic.rb +80 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi/version.rb +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/lib/ffi.rb +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/samples/getlogin.rb +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/samples/getpid.rb +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/samples/gettimeofday.rb +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/samples/hello.rb +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/samples/hello_ractor.rb +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/samples/inotify.rb +60 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/samples/pty.rb +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/samples/qsort.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/samples/qsort_ractor.rb +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/abstract_memory.rbs +165 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/buffer.rbs +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/data_converter.rbs +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/dynamic_library.rbs +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/enum.rbs +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/errno.rbs +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/function.rbs +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/library.rbs +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/native_type.rbs +86 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/platform.rbs +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/pointer.rbs +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/struct.rbs +76 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/struct_by_value.rbs +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/struct_layout.rbs +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/struct_layout_builder.rbs +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi/type.rbs +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.3-x86_64-linux-gnu/sig/ffi.rbs +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/io-console-0.8.2/.document +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/io-console-0.8.2/BSDL +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/io-console-0.8.2/COPYING +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/io-console-0.8.2/README.md +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/io-console-0.8.2/ext/io/console/Makefile +275 -0
- data/vendor/bundle/ruby/4.0.0/gems/io-console-0.8.2/ext/io/console/console.c +2022 -0
- data/vendor/bundle/ruby/4.0.0/gems/io-console-0.8.2/ext/io/console/extconf.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/io-console-0.8.2/ext/io/console/win32_vk.inc +1390 -0
- data/vendor/bundle/ruby/4.0.0/gems/io-console-0.8.2/lib/io/console/size.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/io-console-0.8.2/lib/io/console.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile +273 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.c +97 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/codepoints.c +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/codepoints.h +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/extconf.rb +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/jaro.c +121 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/jaro.h +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/jaro_winkler.c +77 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/jaro_winkler_pure.rb +135 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/version.rb +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler.rb +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/AUTHORS +119 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/CHANGELOG.md +943 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/CODE_OF_CONDUCT.md +84 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/CONTRIBUTING.md +99 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/LICENSE +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/README.md +813 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/base64.rb +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims/audience.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims/crit.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims/decode_verifier.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims/expiration.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims/issued_at.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims/issuer.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims/jwt_id.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims/not_before.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims/numeric.rb +77 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims/required.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims/subject.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims/verification_methods.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims/verifier.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims.rb +74 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/claims_validator.rb +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/configuration/container.rb +52 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/configuration/decode_configuration.rb +70 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/configuration/jwk_configuration.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/configuration.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/decode.rb +120 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/deprecations.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/encode.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/encoded_token.rb +139 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/error.rb +57 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/json.rb +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwa/compat.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwa/ecdsa.rb +90 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwa/eddsa.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwa/hmac.rb +82 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwa/hmac_rbnacl.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwa/hmac_rbnacl_fixed.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwa/none.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwa/ps.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwa/rsa.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwa/signing_algorithm.rb +63 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwa/unsupported.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwa/wrapper.rb +44 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwa.rb +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwk/ec.rb +250 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwk/hmac.rb +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwk/key_base.rb +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwk/key_finder.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwk/kid_as_key_digest.rb +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwk/okp_rbnacl.rb +109 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwk/rsa.rb +202 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwk/set.rb +82 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwk/thumbprint.rb +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/jwk.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/token.rb +112 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/verify.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/version.rb +66 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt/x5c_key_finder.rb +52 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/lib/jwt.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/jwt-2.10.2/ruby-jwt.gemspec +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/.gemtest +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/.yardopts +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/CHANGELOG.md +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/Gemfile +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/LICENSE +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/README.markdown +101 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/Rakefile +81 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/lib/method_source/code_helpers.rb +154 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/lib/method_source/source_location.rb +138 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/lib/method_source/version.rb +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/lib/method_source.rb +177 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/method_source.gemspec +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/spec/method_source/code_helpers_spec.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/spec/method_source_spec.rb +157 -0
- data/vendor/bundle/ruby/4.0.0/gems/method_source-1.1.0/spec/spec_helper.rb +107 -0
- data/vendor/bundle/ruby/4.0.0/gems/ostruct-0.6.3/.gitignore +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/ostruct-0.6.3/BSDL +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/ostruct-0.6.3/COPYING +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/ostruct-0.6.3/Gemfile +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/ostruct-0.6.3/README.md +69 -0
- data/vendor/bundle/ruby/4.0.0/gems/ostruct-0.6.3/Rakefile +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/ostruct-0.6.3/bin/console +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/ostruct-0.6.3/bin/setup +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/ostruct-0.6.3/lib/ostruct.rb +492 -0
- data/vendor/bundle/ruby/4.0.0/gems/ostruct-0.6.3/ostruct.gemspec +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/parallel-1.27.0/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/parallel-1.27.0/lib/parallel/version.rb +4 -0
- data/vendor/bundle/ruby/4.0.0/gems/parallel-1.27.0/lib/parallel.rb +708 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/LICENSE.txt +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/bin/ruby-parse +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/bin/ruby-rewrite +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/gauntlet_parser.rb +123 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/all.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ast/node.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ast/processor.rb +293 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/base.rb +294 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/builders/default.rb +2351 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/clobbering_error.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/color.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/context.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/current.rb +146 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/current_arg_stack.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/deprecation.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/diagnostic/engine.rb +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/diagnostic.rb +163 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/lexer/dedenter.rb +88 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/lexer/explanation.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/lexer/literal.rb +284 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/lexer/stack_state.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/lexer-F0.rb +12931 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/lexer-F1.rb +14884 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/lexer-strings.rb +5433 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/macruby.rb +9634 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/max_numparam_stack.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/messages.rb +125 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/meta.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/rewriter.rb +105 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby18.rb +9272 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby19.rb +9558 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby20.rb +10229 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby21.rb +10203 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby22.rb +10302 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby23.rb +10322 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby24.rb +10454 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby25.rb +10374 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby26.rb +10352 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby27.rb +11948 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby30.rb +12244 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby31.rb +12717 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby32.rb +12705 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby33.rb +12590 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/ruby34.rb +12597 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/rubymotion.rb +9515 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/runner/ruby_parse.rb +157 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/runner/ruby_rewrite.rb +101 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/runner.rb +299 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/buffer.rb +369 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/comment/associator.rb +233 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/comment.rb +134 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/collection.rb +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/condition.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/constant.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/definition.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/for.rb +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/heredoc.rb +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/index.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/keyword.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/method_definition.rb +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/objc_kwarg.rb +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/operator.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/rescue_body.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/send.rb +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/ternary.rb +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map/variable.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/map.rb +186 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/range.rb +326 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/rewriter/action.rb +44 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/rewriter.rb +513 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/tree_rewriter/action.rb +243 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/source/tree_rewriter.rb +431 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/static_environment.rb +134 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/syntax_error.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/tree_rewriter.rb +133 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/unknown_encoding_in_magic_comment_error.rb +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/variables_stack.rb +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser/version.rb +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/lib/parser.rb +91 -0
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.10.1/parser.gemspec +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/CHANGELOG.md +1211 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/LICENSE +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/README.md +469 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/bin/pry +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/basic_object.rb +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/block_command.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/class_command.rb +194 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/cli.rb +211 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/code/code_file.rb +114 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/code/code_range.rb +73 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/code/loc.rb +105 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/code.rb +357 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/code_object.rb +197 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/color_printer.rb +66 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/command.rb +520 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/command_set.rb +418 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/command_state.rb +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/amend_line.rb +103 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/bang.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/bang_pry.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/cat/abstract_formatter.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/cat/exception_formatter.rb +90 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/cat/file_formatter.rb +77 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/cat/input_expression_formatter.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/cat.rb +70 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/cd.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/change_inspector.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/change_prompt.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/clear_screen.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/code_collector.rb +182 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/disable_pry.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/easter_eggs.rb +101 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/edit/exception_patcher.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/edit/file_and_line_locator.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/edit.rb +225 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/exit.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/exit_all.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/exit_program.rb +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/find_method.rb +199 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/fix_indent.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/help.rb +171 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/hist.rb +182 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/import_set.rb +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/jump_to.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/list_inspectors.rb +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls/config.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls/constants.rb +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls/formatter.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls/globals.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls/grep.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls/instance_vars.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls/interrogatable.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls/jruby_hacks.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls/local_names.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls/local_vars.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls/ls_entity.rb +65 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls/methods.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls/methods_helper.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls/self_methods.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ls.rb +114 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/nesting.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/play.rb +113 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/pry_backtrace.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/pry_version.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/raise_up.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/reload_code.rb +74 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/reset.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/ri.rb +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/save_file.rb +63 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/shell_command.rb +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/shell_mode.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/show_doc.rb +84 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/show_info.rb +234 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/show_input.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/show_source.rb +57 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/stat.rb +44 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/switch_to.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/toggle_color.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/watch_expression/expression.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/watch_expression.rb +108 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/whereami.rb +205 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/commands/wtf.rb +95 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/config/attributable.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/config/lazy_value.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/config/memoized_value.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/config/value.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/config.rb +321 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/control_d_handler.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/core_extensions.rb +144 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/editor.rb +157 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/env.rb +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/exception_handler.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/exceptions.rb +73 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/forwardable.rb +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/helpers/base_helpers.rb +71 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/helpers/command_helpers.rb +146 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/helpers/documentation_helpers.rb +84 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/helpers/options_helpers.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/helpers/platform.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/helpers/table.rb +121 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/helpers/text.rb +118 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/helpers.rb +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/history.rb +153 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/hooks.rb +180 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/indent.rb +414 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/input/simple_stdio.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/input_completer.rb +283 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/input_lock.rb +129 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/inspector.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/last_exception.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/method/disowned.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/method/patcher.rb +131 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/method/weird_method_locator.rb +222 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/method.rb +599 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/object_path.rb +91 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/output.rb +136 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/pager.rb +249 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/prompt.rb +214 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/pry_class.rb +371 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/pry_instance.rb +663 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/repl.rb +326 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/repl_file_loader.rb +79 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/ring.rb +89 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/slop/LICENSE +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/slop/commands.rb +190 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/slop/option.rb +210 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/slop.rb +672 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/syntax_highlighter.rb +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/system_command_handler.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/testable/evalable.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/testable/mockable.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/testable/pry_tester.rb +88 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/testable/utility.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/testable/variables.rb +52 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/testable.rb +68 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/version.rb +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/warning.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/wrapped_module/candidate.rb +145 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry/wrapped_module.rb +382 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-0.16.0/lib/pry.rb +148 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/CHANGELOG.md +252 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/LICENSE +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/README.md +189 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/byebug/processors/pry_processor.rb +158 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry/byebug/breakpoints.rb +167 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/base.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/cli.rb +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/backtrace.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/breakpoint.rb +137 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/continue.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/down.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/exit_all.rb +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/finish.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/frame.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/next.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/step.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/up.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands.rb +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/control_d_handler.rb +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/helpers/breakpoints.rb +82 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/helpers/location.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/helpers/multiline.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/helpers/navigation.rb +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/pry_ext.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/pry_remote_ext.rb +44 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug/version.rb +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/pry-byebug-3.12.0/lib/pry-byebug.rb +4 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/CONTRIBUTING.md +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/LICENSE +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/README.md +90 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/ext/psych/Makefile +295 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/ext/psych/depend +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/ext/psych/extconf.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/ext/psych/psych.c +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/ext/psych/psych.h +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/ext/psych/psych_emitter.c +589 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/ext/psych/psych_emitter.h +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/ext/psych/psych_parser.c +564 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/ext/psych/psych_parser.h +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/ext/psych/psych_to_ruby.c +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/ext/psych/psych_to_ruby.h +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/ext/psych/psych_yaml_tree.c +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/ext/psych/psych_yaml_tree.h +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/class_loader.rb +105 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/coder.rb +95 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/core_ext.rb +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/exception.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/handler.rb +255 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/handlers/document_stream.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/handlers/recorder.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/json/ruby_events.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/json/stream.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/json/tree_builder.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/json/yaml_events.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/nodes/alias.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/nodes/document.rb +63 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/nodes/mapping.rb +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/nodes/node.rb +76 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/nodes/scalar.rb +70 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/nodes/sequence.rb +84 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/nodes/stream.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/nodes.rb +78 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/omap.rb +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/parser.rb +65 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/scalar_scanner.rb +142 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/set.rb +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/stream.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/streaming.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/syntax_error.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/tree_builder.rb +137 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/versions.rb +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/visitors/depth_first.rb +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/visitors/emitter.rb +52 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/visitors/json_tree.rb +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/visitors/to_ruby.rb +479 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/visitors/visitor.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/visitors/yaml_tree.rb +626 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/visitors.rb +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych/y.rb +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych.rb +794 -0
- data/vendor/bundle/ruby/4.0.0/gems/psych-5.3.1/lib/psych.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/BSDL +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/COPYING +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/ChangeLog +846 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/README.ja.rdoc +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/README.rdoc +60 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/TODO +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/bin/racc +320 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +218 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +219 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/ja/command.ja.html +99 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +348 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/ja/index.ja.html +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +125 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/ja/usage.ja.html +414 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +273 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/ext/racc/cparse/cparse.c +840 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/ext/racc/cparse/extconf.rb +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/compat.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/debugflags.rb +60 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/exception.rb +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/grammar.rb +1191 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +667 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/info.rb +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/iset.rb +92 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +212 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/parser-text.rb +644 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/parser.rb +630 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +473 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/state.rb +976 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +311 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc/static.rb +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/lib/racc.rb +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/Changelog.md +101 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/LICENSE +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/README.markdown +227 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/lib/rainbow/color.rb +150 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/lib/rainbow/ext/string.rb +64 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/lib/rainbow/global.rb +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/lib/rainbow/null_presenter.rb +100 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/lib/rainbow/presenter.rb +144 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/lib/rainbow/string_utils.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/lib/rainbow/version.rb +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/lib/rainbow/wrapper.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/lib/rainbow/x11_color_names.rb +153 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/lib/rainbow.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/History.rdoc +2403 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/README.rdoc +155 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/exe/rake +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/application.rb +831 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/file_utils.rb +134 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/testtask.rb +189 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/4.0.0/gems/rake-13.0.6/rake.gemspec +100 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/BSDL +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/COPYING +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/README.md +94 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/config.rb +378 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/face.rb +199 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/history.rb +76 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/io/ansi.rb +310 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/io/dumb.rb +120 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/io/windows.rb +530 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/io.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/key_actor/base.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/key_actor/composite.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/key_actor/emacs.rb +517 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/key_actor/vi_command.rb +518 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/key_actor/vi_insert.rb +517 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/key_actor.rb +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/key_stroke.rb +119 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/kill_ring.rb +125 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/line_editor.rb +2356 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/unicode/east_asian_width.rb +1292 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/unicode.rb +421 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline/version.rb +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/lib/reline.rb +527 -0
- data/vendor/bundle/ruby/4.0.0/gems/reline-0.6.3/license_of_rb-readline +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-3.13.2/LICENSE.md +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-3.13.2/README.md +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-3.13.2/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-3.13.2/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/.document +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/.yardopts +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/Changelog.md +2447 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/LICENSE.md +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/README.md +389 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/exe/rspec +4 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/fork_runner.rb +140 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/utilities.rb +69 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/configuration.rb +2419 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/configuration_options.rb +240 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/did_you_mean.rb +52 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/drb.rb +120 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/example.rb +666 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/example_group.rb +912 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/console_codes.rb +76 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/exception_presenter.rb +553 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/helpers.rb +118 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/html_printer.rb +412 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/html_snippet_extractor.rb +122 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/json_formatter.rb +103 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters.rb +279 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/hooks.rb +646 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/memoized_helpers.rb +580 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/notifications.rb +523 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/option_parser.rb +325 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/ordering.rb +208 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/pending.rb +157 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/project_initializer/.rspec +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/project_initializer/spec/spec_helper.rb +98 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/rake_task.rb +190 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/reporter.rb +266 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/runner.rb +216 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core/world.rb +287 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/lib/rspec/core.rb +212 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/.document +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/.yardopts +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/Changelog.md +1366 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/LICENSE.md +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/README.md +326 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb +255 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/configuration.rb +244 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/expectation_target.rb +163 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/failure_aggregator.rb +236 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/handler.rb +181 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/all.rb +86 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/base_matcher.rb +225 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be.rb +191 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/change.rb +452 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/compound.rb +293 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/contain_exactly.rb +312 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/count_expectation.rb +171 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/eq.rb +44 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/eql.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/has.rb +194 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/include.rb +218 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/match.rb +120 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/output.rb +207 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/raise_error.rb +275 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/respond_to.rb +200 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/satisfy.rb +62 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/throw_symbol.rb +138 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/yield.rb +375 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in.rb +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/dsl.rb +546 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/english_phrasing.rb +60 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/matcher_delegator.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/matcher_protocol.rb +105 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/multi_matcher_diff.rb +82 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers.rb +1046 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/.document +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/.yardopts +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/Changelog.md +1343 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/LICENSE.md +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/README.md +465 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/proxy.rb +125 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/recorder.rb +299 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/argument_list_matcher.rb +117 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/argument_matchers.rb +366 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/error_generator.rb +390 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/matchers/receive.rb +134 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/message_expectation.rb +856 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/method_double.rb +316 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/method_reference.rb +214 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/proxy.rb +517 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/test_double.rb +174 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/verifying_double.rb +125 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/verifying_message_expectation.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/verifying_proxy.rb +221 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks.rb +133 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/Changelog.md +444 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/LICENSE.md +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/README.md +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/caller_filter.rb +85 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/comparable_version.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/differ.rb +216 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/directory_maker.rb +65 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/encoded_string.rb +163 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/fuzzy_matcher.rb +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/hunk_generator.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/matcher_definition.rb +44 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/method_signature_verifier.rb +467 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/mutex.rb +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/object_formatter.rb +279 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/recursive_const_methods.rb +78 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/reentrant_mutex.rb +80 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/ruby_features.rb +221 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/source/location.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/source/node.rb +112 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/source/token.rb +96 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/source.rb +87 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/deprecation_helpers.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/diff_helpers.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/formatting_support.rb +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/in_sub_process.rb +73 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/library_wide_checks.rb +152 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/shell_out.rb +115 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/stderr_splitter.rb +77 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/string_matcher.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/with_isolated_directory.rb +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/with_isolated_stderr.rb +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/spec.rb +84 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/version.rb +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/warnings.rb +41 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support/with_keywords_when_needed.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/lib/rspec/support.rb +163 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/README.md +221 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/assets/logo.png +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/assets/output.html.erb +261 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/bin/console +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/bin/setup +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/config/default.yml +4408 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/exe/rubocop +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/builder.rb +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/and_node.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/args_node.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/array_node.rb +57 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/block_node.rb +115 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/break_node.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/case_node.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/def_node.rb +71 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/defined_node.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/for_node.rb +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/hash_node.rb +109 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/if_node.rb +175 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +251 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/or_node.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/pair_node.rb +63 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/range_node.rb +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/regexp_node.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/resbody_node.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/retry_node.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/send_node.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/str_node.rb +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/super_node.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/until_node.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/when_node.rb +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/while_node.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/yield_node.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/node.rb +642 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/sexp.rb +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/ast/traversal.rb +183 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cached_data.rb +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cli.rb +307 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/comment_config.rb +200 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/config.rb +716 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/config_loader.rb +214 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/config_loader_resolver.rb +198 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/config_store.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/autocorrect_logic.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/badge.rb +73 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/gem_comment.rb +64 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/commissioner.rb +119 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/cop.rb +244 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/corrector.rb +172 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/alignment_corrector.rb +120 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/condition_corrector.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/space_corrector.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/unused_arg_corrector.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/force.rb +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/ordered_dependencies.rb +107 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator/configuration_injector.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator.rb +217 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/ignored_node.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/node_destructuring.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs.rb +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/access_modifier_indentation.rb +109 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_array.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_hash.rb +315 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_parameters.rb +94 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/block_alignment.rb +244 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/block_end_newline.rb +63 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/case_indentation.rb +161 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/class_structure.rb +340 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/comment_indentation.rb +144 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/condition_position.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/dot_position.rb +105 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/else_alignment.rb +134 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_comment.rb +160 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +142 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_between_defs.rb +151 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines.rb +76 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +146 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +91 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +63 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/end_alignment.rb +189 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/end_of_line.rb +87 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/extra_spacing.rb +246 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_method_argument_line_break.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_parameter_indentation.rb +244 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_array.rb +167 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_assignment.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_hash.rb +184 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_heredoc.rb +294 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indentation_consistency.rb +201 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indentation_width.rb +364 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/leading_blank_lines.rb +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/leading_comment_space.rb +60 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_block_layout.rb +124 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +122 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +222 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_operation_indentation.rb +114 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +175 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_not.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_block_parameters.rb +165 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_keyword.rb +232 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_operators.rb +163 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_block_braces.rb +119 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_comment.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_first_arg.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_in_lambda_literal.rb +94 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +228 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_block_braces.rb +229 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +207 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +151 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +81 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/tab.rb +87 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/trailing_blank_lines.rb +113 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/trailing_whitespace.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_operator.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/assignment_in_condition.rb +84 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/boolean_symbol.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/debugger.rb +79 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicate_methods.rb +241 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicated_key.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/else_layout.rb +66 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_when.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/end_in_method.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ensure_return.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/erb_new_arguments.rb +107 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/flip_flop.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +190 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/handle_exceptions.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/inherit_exception.rb +80 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/literal_as_condition.rb +138 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +82 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/loop.rb +63 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/multiple_compare.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +85 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/number_conversion.rb +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +64 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/percent_string_array.rb +73 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rand_one.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rescue_type.rb +94 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_chain.rb +69 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/script_permission.rb +70 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/syntax.rb +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/to_json.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +62 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unified_integer.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_cop_disable_directive.rb +263 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_cop_enable_directive.rb +116 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_require_statement.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_splat_expansion.rb +167 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unused_block_argument.rb +149 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unused_method_argument.rb +68 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_access_modifier.rb +240 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_assignment.rb +133 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_setter_call.rb +165 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/void.rb +170 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/message_annotator.rb +119 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/abc_size.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/block_length.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/class_length.rb +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/line_length.rb +204 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/method_length.rb +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/module_length.rb +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/perceived_complexity.rb +62 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/alignment.rb +74 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_hash_indentation.rb +85 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_min_size.rb +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/classish_length.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/code_length.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +98 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_formatting.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/def_node.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/documentation_comment.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/hash_alignment.rb +143 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/heredoc.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/match_range.rb +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/method_complexity.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/method_preference.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/parentheses.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/percent_array.rb +52 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +94 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/range_help.rb +117 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/rescue_node.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/safe_mode.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/statement_modifier.rb +68 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/string_help.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/surrounding_space.rb +144 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/target_rails_version.rb +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/target_ruby_version.rb +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/too_many_lines.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/trailing_comma.rb +216 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/uncommunicative_name.rb +106 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/class_and_module_camel_case.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/constant_name.rb +81 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/file_name.rb +205 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/method_name.rb +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/predicate_name.rb +108 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/uncommunicative_block_param_name.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/uncommunicative_method_param_name.rb +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/variable_name.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/variable_number.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/offense.rb +194 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/caller.rb +69 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/case_when_splat.rb +177 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/casecmp.rb +108 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/chain_array_allocation.rb +78 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/compare_with_block.rb +122 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/count.rb +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/detect.rb +110 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/double_start_end_with.rb +94 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/end_with.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/fixed_size.rb +97 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/flat_map.rb +78 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/inefficient_hash_search.rb +99 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/lstrip_rstrip.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/open_struct.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/range_include.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_block_call.rb +93 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_match.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_merge.rb +183 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_sort_by.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/regexp_match.rb +265 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/reverse_each.rb +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/sample.rb +145 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/size.rb +77 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/start_with.rb +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/string_replacement.rb +173 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/times_map.rb +71 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/unfreeze_string.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/unneeded_sort.rb +165 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/uri_default_parser.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/action_filter.rb +117 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/active_record_aliases.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/active_support_aliases.rb +69 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/application_job.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/application_record.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/assert_not.rb +44 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/belongs_to.rb +120 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/blank.rb +158 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/bulk_change_table.rb +289 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/create_table_with_timestamps.rb +91 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/date.rb +156 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/delegate.rb +135 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/delegate_allow_blank.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/dynamic_find_by.rb +91 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/enum_uniqueness.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/environment_comparison.rb +66 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/exit.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/file_path.rb +108 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/find_by.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/find_each.rb +52 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/has_and_belongs_to_many.rb +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/has_many_or_has_one_dependent.rb +106 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/http_positional_arguments.rb +117 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/http_status.rb +186 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/ignored_skip_action_filter_option.rb +94 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/inverse_of.rb +246 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/lexically_scoped_action_filter.rb +149 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/link_to_blank.rb +90 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/not_null_column.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/output.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/output_safety.rb +99 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/pluralization_grammar.rb +107 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/presence.rb +124 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/present.rb +149 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/read_write_attribute.rb +74 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/redundant_receiver_in_with_options.rb +135 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/reflection_class_name.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/refute_methods.rb +76 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/relative_date_constant.rb +93 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/request_referer.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/reversible_migration.rb +286 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/safe_navigation.rb +91 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/save_bang.rb +316 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/scope_args.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/skips_model_validations.rb +88 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/time_zone.rb +231 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/uniq_before_pluck.rb +105 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/unknown_env.rb +63 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/validation.rb +106 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/registry.rb +190 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/eval.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/json_load.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/open.rb +71 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/yaml_load.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/severity.rb +77 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/access_modifier_declarations.rb +111 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/alias.rb +141 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/and_or.rb +146 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/array_join.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ascii_comments.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/attr.rb +62 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/block_comments.rb +62 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/block_delimiters.rb +315 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +190 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/case_equality.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/character_literal.rb +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_and_module_children.rb +153 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_check.rb +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_methods.rb +68 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_vars.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/collection_methods.rb +77 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/colon_method_call.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/command_literal.rb +187 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/comment_annotation.rb +97 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/commented_keyword.rb +87 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/conditional_assignment.rb +698 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/constant_visibility.rb +66 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/copyright.rb +95 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/date_time.rb +77 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/dir.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/documentation.rb +101 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/documentation_method.rb +81 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/double_negation.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/each_with_object.rb +110 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_else.rb +175 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_literal.rb +123 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_method.rb +115 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/encoding.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/end_block.rb +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/eval_with_location.rb +148 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/even_odd.rb +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/for.rb +88 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/format_string.rb +123 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/format_string_token.rb +170 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +180 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/guard_clause.rb +92 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/hash_syntax.rb +214 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_inside_else.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_unless_modifier.rb +91 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_with_semicolon.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/infinite_loop.rb +127 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/inverse_methods.rb +167 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ip_addresses.rb +76 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/lambda.rb +129 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/lambda_call.rb +93 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/line_end_concatenation.rb +121 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +368 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +77 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_def_parentheses.rb +158 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_missing_super.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/min_max.rb +68 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/missing_else.rb +180 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mixin_grouping.rb +150 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mixin_usage.rb +80 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/module_function.rb +105 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mutable_constant.rb +174 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/negated_if.rb +99 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/negated_while.rb +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_modifier.rb +89 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/next.rb +244 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nil_comparison.rb +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/non_nil_check.rb +124 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/not.rb +82 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_literals.rb +110 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_predicate.rb +145 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/one_line_conditional.rb +99 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/option_hash.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/optional_arguments.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/or_assignment.rb +90 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/parentheses_around_condition.rb +103 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/proc.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/raise_args.rb +145 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/random_with_offset.rb +161 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_begin.rb +91 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_conditional.rb +97 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_exception.rb +60 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_parentheses.rb +222 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_return.rb +169 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_self.rb +154 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/regexp_literal.rb +228 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/rescue_modifier.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/return_nil.rb +89 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/safe_navigation.rb +253 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/self_assignment.rb +97 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/semicolon.rb +90 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/send.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/signal_exception.rb +211 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/single_line_methods.rb +76 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/special_global_vars.rb +213 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +86 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/stderr_puts.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_hash_keys.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_methods.rb +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/struct_inheritance.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_array.rb +119 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_proc.rb +130 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ternary_parentheses.rb +194 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +92 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_method_end_statement.rb +93 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +161 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unless_else.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_capital_w.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_condition.rb +112 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_interpolation.rb +98 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_percent_q.rb +112 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unpack_first.rb +65 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/variable_interpolation.rb +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/when_then.rb +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/while_until_do.rb +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/word_array.rb +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/yoda_condition.rb +140 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/team.rb +190 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/util.rb +129 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/assignment.rb +96 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/branch.rb +322 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/reference.rb +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/scope.rb +109 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/variable.rb +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force.rb +464 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/core_ext/string.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/error.rb +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/file_finder.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/base_formatter.rb +123 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/clang_style_formatter.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/disabled_config_formatter.rb +219 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/emacs_style_formatter.rb +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/formatter_set.rb +105 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/html_formatter.rb +141 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/json_formatter.rb +80 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/simple_text_formatter.rb +126 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/tap_formatter.rb +71 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/magic_comment.rb +210 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/name_similarity.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/node_pattern.rb +584 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/options.rb +441 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/path_util.rb +85 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/platform.rb +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/processed_source.rb +210 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/rake_task.rb +79 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/remote_config.rb +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/result_cache.rb +191 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/rspec/cop_helper.rb +95 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/rspec/expect_offense.rb +237 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/rspec/shared_contexts.rb +96 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/rspec/shared_examples.rb +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/rspec/support.rb +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/runner.rb +353 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/string_interpreter.rb +57 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/string_util.rb +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/target_finder.rb +187 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/token.rb +114 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/version.rb +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/warning.rb +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop/yaml_duplication_checker.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-0.66.0/lib/rubocop.rb +654 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/README.md +131 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/Rakefile +2 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/base.rb +234 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/calculators/length.rb +98 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/bar.rb +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/percentage.rb +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/rate.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/time.rb +101 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/molecule.rb +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/string.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/output.rb +71 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/progress.rb +108 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb +71 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/time.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/timer.rb +78 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar.rb +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/stringio-3.2.0/.document +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/stringio-3.2.0/.rdoc_options +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/stringio-3.2.0/COPYING +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/stringio-3.2.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/stringio-3.2.0/NEWS.md +326 -0
- data/vendor/bundle/ruby/4.0.0/gems/stringio-3.2.0/README.md +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/stringio-3.2.0/docs/io.rb +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/stringio-3.2.0/ext/stringio/.document +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/stringio-3.2.0/ext/stringio/Makefile +273 -0
- data/vendor/bundle/ruby/4.0.0/gems/stringio-3.2.0/ext/stringio/extconf.rb +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/stringio-3.2.0/ext/stringio/stringio.c +2110 -0
- data/vendor/bundle/ruby/4.0.0/gems/stringio-3.2.0/lib/stringio.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/CHANGELOG.md +452 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/CONTRIBUTING.md +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/LICENSE +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/README.md +588 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/UPGRADE.md +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/rack/typhoeus/middleware/params_decoder/helper.rb +76 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/rack/typhoeus/middleware/params_decoder.rb +57 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/rack/typhoeus.rb +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/adapters/faraday.rb +180 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/cache/dalli.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/cache/rails.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/cache/redis.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/config.rb +85 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/easy_factory.rb +206 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/errors/no_stub.rb +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/errors/typhoeus_error.rb +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/errors.rb +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/expectation.rb +219 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/addable.rb +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/before.rb +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/block_connection.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/cacheable.rb +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/memoizable.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/queueable.rb +83 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/runnable.rb +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra/stubbable.rb +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/hydra.rb +95 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/pool.rb +70 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/railtie.rb +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/request/actions.rb +125 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/request/before.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/request/block_connection.rb +52 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/request/cacheable.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/request/callbacks.rb +151 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/request/marshal.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/request/memoizable.rb +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/request/operations.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/request/responseable.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/request/streamable.rb +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/request/stubbable.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/request.rb +223 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/response/cacheable.rb +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/response/header.rb +105 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/response/informations.rb +305 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/response/status.rb +106 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/response.rb +68 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus/version.rb +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/lib/typhoeus.rb +143 -0
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.5.0/typhoeus.gemspec +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-1.5.0/CHANGELOG.md +121 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-1.5.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-1.5.0/README.md +124 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-1.5.0/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/constants.rb +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/index.rb +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/no_string_ext.rb +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/string_ext.rb +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width.rb +51 -0
- data/vendor/bundle/ruby/4.0.0/specifications/ast-2.4.3.gemspec +29 -0
- data/vendor/bundle/ruby/4.0.0/specifications/base64-0.3.0.gemspec +23 -0
- data/vendor/bundle/ruby/4.0.0/specifications/byebug-13.0.0.gemspec +32 -0
- data/vendor/bundle/ruby/4.0.0/specifications/coderay-1.1.3.gemspec +25 -0
- data/vendor/bundle/ruby/4.0.0/specifications/date-3.5.1.gemspec +25 -0
- data/vendor/bundle/ruby/4.0.0/specifications/diff-lcs-1.6.2.gemspec +35 -0
- data/vendor/bundle/ruby/4.0.0/specifications/ethon-0.15.0.gemspec +24 -0
- data/vendor/bundle/ruby/4.0.0/specifications/ffi-1.17.3-x86_64-linux-gnu.gemspec +24 -0
- data/vendor/bundle/ruby/4.0.0/specifications/io-console-0.8.2.gemspec +25 -0
- data/vendor/bundle/ruby/4.0.0/specifications/jaro_winkler-1.5.6.gemspec +30 -0
- data/vendor/bundle/ruby/4.0.0/specifications/jwt-2.10.2.gemspec +33 -0
- data/vendor/bundle/ruby/4.0.0/specifications/method_source-1.1.0.gemspec +21 -0
- data/vendor/bundle/ruby/4.0.0/specifications/ostruct-0.6.3.gemspec +22 -0
- data/vendor/bundle/ruby/4.0.0/specifications/parallel-1.27.0.gemspec +21 -0
- data/vendor/bundle/ruby/4.0.0/specifications/parser-3.3.10.1.gemspec +37 -0
- data/vendor/bundle/ruby/4.0.0/specifications/pry-0.16.0.gemspec +30 -0
- data/vendor/bundle/ruby/4.0.0/specifications/pry-byebug-3.12.0.gemspec +29 -0
- data/vendor/bundle/ruby/4.0.0/specifications/psych-5.3.1.gemspec +32 -0
- data/vendor/bundle/ruby/4.0.0/specifications/racc-1.8.1.gemspec +28 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rainbow-3.1.1.gemspec +25 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rake-13.0.6.gemspec +26 -0
- data/vendor/bundle/ruby/4.0.0/specifications/reline-0.6.3.gemspec +26 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rspec-3.13.2.gemspec +31 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rspec-core-3.13.6.gemspec +31 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rspec-expectations-3.13.5.gemspec +29 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rspec-mocks-3.13.7.gemspec +29 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rspec-support-3.13.7.gemspec +29 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rubocop-0.66.0.gemspec +38 -0
- data/vendor/bundle/ruby/4.0.0/specifications/ruby-progressbar-1.13.0.gemspec +29 -0
- data/vendor/bundle/ruby/4.0.0/specifications/stringio-3.2.0.gemspec +26 -0
- data/vendor/bundle/ruby/4.0.0/specifications/typhoeus-1.5.0.gemspec +26 -0
- data/vendor/bundle/ruby/4.0.0/specifications/unicode-display_width-1.5.0.gemspec +29 -0
- metadata +2505 -0
|
@@ -0,0 +1,2356 @@
|
|
|
1
|
+
require 'reline/kill_ring'
|
|
2
|
+
require 'reline/unicode'
|
|
3
|
+
|
|
4
|
+
require 'tempfile'
|
|
5
|
+
|
|
6
|
+
class Reline::LineEditor
|
|
7
|
+
# TODO: Use "private alias_method" idiom after drop Ruby 2.5.
|
|
8
|
+
attr_reader :byte_pointer
|
|
9
|
+
attr_accessor :confirm_multiline_termination_proc
|
|
10
|
+
attr_accessor :completion_proc
|
|
11
|
+
attr_accessor :completion_append_character
|
|
12
|
+
attr_accessor :output_modifier_proc
|
|
13
|
+
attr_accessor :prompt_proc
|
|
14
|
+
attr_accessor :auto_indent_proc
|
|
15
|
+
attr_accessor :dig_perfect_match_proc
|
|
16
|
+
|
|
17
|
+
VI_MOTIONS = %i{
|
|
18
|
+
ed_prev_char
|
|
19
|
+
ed_next_char
|
|
20
|
+
vi_zero
|
|
21
|
+
ed_move_to_beg
|
|
22
|
+
ed_move_to_end
|
|
23
|
+
vi_to_column
|
|
24
|
+
vi_next_char
|
|
25
|
+
vi_prev_char
|
|
26
|
+
vi_next_word
|
|
27
|
+
vi_prev_word
|
|
28
|
+
vi_to_next_char
|
|
29
|
+
vi_to_prev_char
|
|
30
|
+
vi_end_word
|
|
31
|
+
vi_next_big_word
|
|
32
|
+
vi_prev_big_word
|
|
33
|
+
vi_end_big_word
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
module CompletionState
|
|
37
|
+
NORMAL = :normal
|
|
38
|
+
MENU = :menu
|
|
39
|
+
MENU_WITH_PERFECT_MATCH = :menu_with_perfect_match
|
|
40
|
+
PERFECT_MATCH = :perfect_match
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
RenderedScreen = Struct.new(:base_y, :lines, :cursor_y, keyword_init: true)
|
|
44
|
+
|
|
45
|
+
CompletionJourneyState = Struct.new(:line_index, :pre, :target, :post, :list, :pointer)
|
|
46
|
+
NullActionState = [nil, nil].freeze
|
|
47
|
+
|
|
48
|
+
class MenuInfo
|
|
49
|
+
attr_reader :list
|
|
50
|
+
|
|
51
|
+
def initialize(list)
|
|
52
|
+
@list = list
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
def lines(screen_width)
|
|
56
|
+
return [] if @list.empty?
|
|
57
|
+
|
|
58
|
+
list = @list.sort
|
|
59
|
+
sizes = list.map { |item| Reline::Unicode.calculate_width(item) }
|
|
60
|
+
item_width = sizes.max + 2
|
|
61
|
+
num_cols = [screen_width / item_width, 1].max
|
|
62
|
+
num_rows = list.size.fdiv(num_cols).ceil
|
|
63
|
+
list_with_padding = list.zip(sizes).map { |item, size| item + ' ' * (item_width - size) }
|
|
64
|
+
aligned = (list_with_padding + [nil] * (num_rows * num_cols - list_with_padding.size)).each_slice(num_rows).to_a.transpose
|
|
65
|
+
aligned.map do |row|
|
|
66
|
+
row.join.rstrip
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
MINIMUM_SCROLLBAR_HEIGHT = 1
|
|
72
|
+
|
|
73
|
+
def initialize(config)
|
|
74
|
+
@config = config
|
|
75
|
+
@completion_append_character = ''
|
|
76
|
+
@screen_size = [0, 0] # Should be initialized with actual winsize in LineEditor#reset
|
|
77
|
+
reset_variables
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
def io_gate
|
|
81
|
+
Reline::IOGate
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
def encoding
|
|
85
|
+
io_gate.encoding
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
def set_pasting_state(in_pasting)
|
|
89
|
+
# While pasting, text to be inserted is stored to @continuous_insertion_buffer.
|
|
90
|
+
# After pasting, this buffer should be force inserted.
|
|
91
|
+
process_insert(force: true) if @in_pasting && !in_pasting
|
|
92
|
+
@in_pasting = in_pasting
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
private def check_mode_string
|
|
96
|
+
if @config.show_mode_in_prompt
|
|
97
|
+
if @config.editing_mode_is?(:vi_command)
|
|
98
|
+
@config.vi_cmd_mode_string
|
|
99
|
+
elsif @config.editing_mode_is?(:vi_insert)
|
|
100
|
+
@config.vi_ins_mode_string
|
|
101
|
+
elsif @config.editing_mode_is?(:emacs)
|
|
102
|
+
@config.emacs_mode_string
|
|
103
|
+
else
|
|
104
|
+
'?'
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
private def check_multiline_prompt(buffer, mode_string)
|
|
110
|
+
if @vi_arg
|
|
111
|
+
prompt = "(arg: #{@vi_arg}) "
|
|
112
|
+
elsif @searching_prompt
|
|
113
|
+
prompt = @searching_prompt
|
|
114
|
+
else
|
|
115
|
+
prompt = @prompt
|
|
116
|
+
end
|
|
117
|
+
if !@is_multiline
|
|
118
|
+
mode_string = check_mode_string
|
|
119
|
+
prompt = mode_string + prompt if mode_string
|
|
120
|
+
[prompt] + [''] * (buffer.size - 1)
|
|
121
|
+
elsif @prompt_proc
|
|
122
|
+
prompt_list = @prompt_proc.(buffer).map { |pr| pr.gsub("\n", "\\n") }
|
|
123
|
+
prompt_list.map!{ prompt } if @vi_arg or @searching_prompt
|
|
124
|
+
prompt_list = [prompt] if prompt_list.empty?
|
|
125
|
+
prompt_list = prompt_list.map{ |pr| mode_string + pr } if mode_string
|
|
126
|
+
prompt = prompt_list[@line_index]
|
|
127
|
+
prompt = prompt_list[0] if prompt.nil?
|
|
128
|
+
prompt = prompt_list.last if prompt.nil?
|
|
129
|
+
if buffer.size > prompt_list.size
|
|
130
|
+
(buffer.size - prompt_list.size).times do
|
|
131
|
+
prompt_list << prompt_list.last
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
prompt_list
|
|
135
|
+
else
|
|
136
|
+
prompt = mode_string + prompt if mode_string
|
|
137
|
+
[prompt] * buffer.size
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
def reset(prompt = '')
|
|
142
|
+
@screen_size = Reline::IOGate.get_screen_size
|
|
143
|
+
reset_variables(prompt)
|
|
144
|
+
@rendered_screen.base_y = Reline::IOGate.cursor_pos.y
|
|
145
|
+
if ENV.key?('RELINE_ALT_SCROLLBAR')
|
|
146
|
+
@full_block = '::'
|
|
147
|
+
@upper_half_block = "''"
|
|
148
|
+
@lower_half_block = '..'
|
|
149
|
+
@block_elem_width = 2
|
|
150
|
+
elsif Reline::IOGate.win?
|
|
151
|
+
@full_block = '█'
|
|
152
|
+
@upper_half_block = '▀'
|
|
153
|
+
@lower_half_block = '▄'
|
|
154
|
+
@block_elem_width = 1
|
|
155
|
+
elsif encoding == Encoding::UTF_8
|
|
156
|
+
@full_block = '█'
|
|
157
|
+
@upper_half_block = '▀'
|
|
158
|
+
@lower_half_block = '▄'
|
|
159
|
+
@block_elem_width = Reline::Unicode.calculate_width('█')
|
|
160
|
+
else
|
|
161
|
+
@full_block = '::'
|
|
162
|
+
@upper_half_block = "''"
|
|
163
|
+
@lower_half_block = '..'
|
|
164
|
+
@block_elem_width = 2
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
def handle_signal
|
|
169
|
+
handle_interrupted
|
|
170
|
+
handle_resized
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
private def handle_resized
|
|
174
|
+
return unless @resized
|
|
175
|
+
|
|
176
|
+
@screen_size = Reline::IOGate.get_screen_size
|
|
177
|
+
@resized = false
|
|
178
|
+
scroll_into_view
|
|
179
|
+
Reline::IOGate.move_cursor_up @rendered_screen.cursor_y
|
|
180
|
+
@rendered_screen.base_y = Reline::IOGate.cursor_pos.y
|
|
181
|
+
clear_rendered_screen_cache
|
|
182
|
+
render
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
private def handle_interrupted
|
|
186
|
+
return unless @interrupted
|
|
187
|
+
|
|
188
|
+
@interrupted = false
|
|
189
|
+
clear_dialogs
|
|
190
|
+
render
|
|
191
|
+
cursor_to_bottom_offset = @rendered_screen.lines.size - @rendered_screen.cursor_y
|
|
192
|
+
Reline::IOGate.scroll_down cursor_to_bottom_offset
|
|
193
|
+
Reline::IOGate.move_cursor_column 0
|
|
194
|
+
clear_rendered_screen_cache
|
|
195
|
+
case @old_trap
|
|
196
|
+
when 'DEFAULT', 'SYSTEM_DEFAULT'
|
|
197
|
+
raise Interrupt
|
|
198
|
+
when 'IGNORE'
|
|
199
|
+
# Do nothing
|
|
200
|
+
when 'EXIT'
|
|
201
|
+
exit
|
|
202
|
+
else
|
|
203
|
+
@old_trap.call if @old_trap.respond_to?(:call)
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
def set_signal_handlers
|
|
208
|
+
Reline::IOGate.set_winch_handler do
|
|
209
|
+
@resized = true
|
|
210
|
+
end
|
|
211
|
+
@old_trap = Signal.trap('INT') do
|
|
212
|
+
@interrupted = true
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
def finalize
|
|
217
|
+
Signal.trap('INT', @old_trap)
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
def eof?
|
|
221
|
+
@eof
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
def reset_variables(prompt = '')
|
|
225
|
+
@prompt = prompt.gsub("\n", "\\n")
|
|
226
|
+
@mark_pointer = nil
|
|
227
|
+
@is_multiline = false
|
|
228
|
+
@finished = false
|
|
229
|
+
@history_pointer = nil
|
|
230
|
+
@kill_ring ||= Reline::KillRing.new
|
|
231
|
+
@vi_clipboard = ''
|
|
232
|
+
@vi_arg = nil
|
|
233
|
+
@waiting_proc = nil
|
|
234
|
+
@vi_waiting_operator = nil
|
|
235
|
+
@vi_waiting_operator_arg = nil
|
|
236
|
+
@completion_journey_state = nil
|
|
237
|
+
@completion_state = CompletionState::NORMAL
|
|
238
|
+
@perfect_matched = nil
|
|
239
|
+
@menu_info = nil
|
|
240
|
+
@searching_prompt = nil
|
|
241
|
+
@just_cursor_moving = false
|
|
242
|
+
@eof = false
|
|
243
|
+
@continuous_insertion_buffer = String.new(encoding: encoding)
|
|
244
|
+
@scroll_partial_screen = 0
|
|
245
|
+
@drop_terminate_spaces = false
|
|
246
|
+
@in_pasting = false
|
|
247
|
+
@auto_indent_proc = nil
|
|
248
|
+
@dialogs = []
|
|
249
|
+
@interrupted = false
|
|
250
|
+
@resized = false
|
|
251
|
+
@cache = {}
|
|
252
|
+
@rendered_screen = RenderedScreen.new(base_y: 0, lines: [], cursor_y: 0)
|
|
253
|
+
@undo_redo_history = [[[""], 0, 0]]
|
|
254
|
+
@undo_redo_index = 0
|
|
255
|
+
@restoring = false
|
|
256
|
+
@prev_action_state = NullActionState
|
|
257
|
+
@next_action_state = NullActionState
|
|
258
|
+
reset_line
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
def reset_line
|
|
262
|
+
@byte_pointer = 0
|
|
263
|
+
@buffer_of_lines = [String.new(encoding: encoding)]
|
|
264
|
+
@line_index = 0
|
|
265
|
+
@cache.clear
|
|
266
|
+
@line_backup_in_history = nil
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
def multiline_on
|
|
270
|
+
@is_multiline = true
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
def multiline_off
|
|
274
|
+
@is_multiline = false
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
private def insert_new_line(cursor_line, next_line)
|
|
278
|
+
@buffer_of_lines.insert(@line_index + 1, String.new(next_line, encoding: encoding))
|
|
279
|
+
@buffer_of_lines[@line_index] = cursor_line
|
|
280
|
+
@line_index += 1
|
|
281
|
+
@byte_pointer = 0
|
|
282
|
+
if @auto_indent_proc && !@in_pasting
|
|
283
|
+
if next_line.empty?
|
|
284
|
+
(
|
|
285
|
+
# For compatibility, use this calculation instead of just `process_auto_indent @line_index - 1, cursor_dependent: false`
|
|
286
|
+
indent1 = @auto_indent_proc.(@buffer_of_lines.take(@line_index - 1).push(''), @line_index - 1, 0, true)
|
|
287
|
+
indent2 = @auto_indent_proc.(@buffer_of_lines.take(@line_index), @line_index - 1, @buffer_of_lines[@line_index - 1].bytesize, false)
|
|
288
|
+
indent = indent2 || indent1
|
|
289
|
+
@buffer_of_lines[@line_index - 1] = ' ' * indent + @buffer_of_lines[@line_index - 1].gsub(/\A\s*/, '')
|
|
290
|
+
)
|
|
291
|
+
process_auto_indent @line_index, add_newline: true
|
|
292
|
+
else
|
|
293
|
+
process_auto_indent @line_index - 1, cursor_dependent: false
|
|
294
|
+
process_auto_indent @line_index, add_newline: true # Need for compatibility
|
|
295
|
+
process_auto_indent @line_index, cursor_dependent: false
|
|
296
|
+
end
|
|
297
|
+
end
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
private def split_line_by_width(str, max_width, offset: 0)
|
|
301
|
+
Reline::Unicode.split_line_by_width(str, max_width, encoding, offset: offset)
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
def current_byte_pointer_cursor
|
|
305
|
+
calculate_width(current_line.byteslice(0, @byte_pointer))
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
private def calculate_nearest_cursor(cursor)
|
|
309
|
+
line_to_calc = current_line
|
|
310
|
+
new_cursor_max = calculate_width(line_to_calc)
|
|
311
|
+
new_cursor = 0
|
|
312
|
+
new_byte_pointer = 0
|
|
313
|
+
height = 1
|
|
314
|
+
max_width = screen_width
|
|
315
|
+
if @config.editing_mode_is?(:vi_command)
|
|
316
|
+
last_byte_size = Reline::Unicode.get_prev_mbchar_size(line_to_calc, line_to_calc.bytesize)
|
|
317
|
+
if last_byte_size > 0
|
|
318
|
+
last_mbchar = line_to_calc.byteslice(line_to_calc.bytesize - last_byte_size, last_byte_size)
|
|
319
|
+
last_width = Reline::Unicode.get_mbchar_width(last_mbchar)
|
|
320
|
+
end_of_line_cursor = new_cursor_max - last_width
|
|
321
|
+
else
|
|
322
|
+
end_of_line_cursor = new_cursor_max
|
|
323
|
+
end
|
|
324
|
+
else
|
|
325
|
+
end_of_line_cursor = new_cursor_max
|
|
326
|
+
end
|
|
327
|
+
line_to_calc.grapheme_clusters.each do |gc|
|
|
328
|
+
mbchar = gc.encode(Encoding::UTF_8)
|
|
329
|
+
mbchar_width = Reline::Unicode.get_mbchar_width(mbchar)
|
|
330
|
+
now = new_cursor + mbchar_width
|
|
331
|
+
if now > end_of_line_cursor or now > cursor
|
|
332
|
+
break
|
|
333
|
+
end
|
|
334
|
+
new_cursor += mbchar_width
|
|
335
|
+
if new_cursor > max_width * height
|
|
336
|
+
height += 1
|
|
337
|
+
end
|
|
338
|
+
new_byte_pointer += gc.bytesize
|
|
339
|
+
end
|
|
340
|
+
@byte_pointer = new_byte_pointer
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
def with_cache(key, *deps)
|
|
344
|
+
cached_deps, value = @cache[key]
|
|
345
|
+
if cached_deps != deps
|
|
346
|
+
@cache[key] = [deps, value = yield(*deps, cached_deps, value)]
|
|
347
|
+
end
|
|
348
|
+
value
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
def modified_lines
|
|
352
|
+
with_cache(__method__, whole_lines, finished?) do |whole, complete|
|
|
353
|
+
modify_lines(whole, complete)
|
|
354
|
+
end
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
def prompt_list
|
|
358
|
+
with_cache(__method__, whole_lines, check_mode_string, @vi_arg, @searching_prompt) do |lines, mode_string|
|
|
359
|
+
check_multiline_prompt(lines, mode_string)
|
|
360
|
+
end
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
def screen_height
|
|
364
|
+
@screen_size.first
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
def screen_width
|
|
368
|
+
@screen_size.last
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
def screen_scroll_top
|
|
372
|
+
@scroll_partial_screen
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
def wrapped_prompt_and_input_lines
|
|
376
|
+
with_cache(__method__, @buffer_of_lines.size, modified_lines, prompt_list, screen_width) do |n, lines, prompts, width, prev_cache_key, cached_value|
|
|
377
|
+
prev_n, prev_lines, prev_prompts, prev_width = prev_cache_key
|
|
378
|
+
cached_wraps = {}
|
|
379
|
+
if prev_width == width
|
|
380
|
+
prev_n.times do |i|
|
|
381
|
+
cached_wraps[[prev_prompts[i], prev_lines[i]]] = cached_value[i]
|
|
382
|
+
end
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
n.times.map do |i|
|
|
386
|
+
prompt = prompts[i] || ''
|
|
387
|
+
line = lines[i] || ''
|
|
388
|
+
if (cached = cached_wraps[[prompt, line]])
|
|
389
|
+
next cached
|
|
390
|
+
end
|
|
391
|
+
*wrapped_prompts, code_line_prompt = split_line_by_width(prompt, width)
|
|
392
|
+
wrapped_lines = split_line_by_width(line, width, offset: calculate_width(code_line_prompt, true))
|
|
393
|
+
wrapped_prompts.map { |p| [p, ''] } + [[code_line_prompt, wrapped_lines.first]] + wrapped_lines.drop(1).map { |c| ['', c] }
|
|
394
|
+
end
|
|
395
|
+
end
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
def calculate_overlay_levels(overlay_levels)
|
|
399
|
+
levels = []
|
|
400
|
+
overlay_levels.each do |x, w, l|
|
|
401
|
+
levels.fill(l, x, w)
|
|
402
|
+
end
|
|
403
|
+
levels
|
|
404
|
+
end
|
|
405
|
+
|
|
406
|
+
def render_line_differential(old_items, new_items)
|
|
407
|
+
old_levels = calculate_overlay_levels(old_items.zip(new_items).each_with_index.map {|((x, w, c), (nx, _nw, nc)), i| [x, w, c == nc && x == nx ? i : -1] if x }.compact)
|
|
408
|
+
new_levels = calculate_overlay_levels(new_items.each_with_index.map { |(x, w), i| [x, w, i] if x }.compact).take(screen_width)
|
|
409
|
+
base_x = 0
|
|
410
|
+
new_levels.zip(old_levels).chunk { |n, o| n == o ? :skip : n || :blank }.each do |level, chunk|
|
|
411
|
+
width = chunk.size
|
|
412
|
+
if level == :skip
|
|
413
|
+
# do nothing
|
|
414
|
+
elsif level == :blank
|
|
415
|
+
Reline::IOGate.move_cursor_column base_x
|
|
416
|
+
Reline::IOGate.write "#{Reline::IOGate.reset_color_sequence}#{' ' * width}"
|
|
417
|
+
else
|
|
418
|
+
x, w, content = new_items[level]
|
|
419
|
+
cover_begin = base_x != 0 && new_levels[base_x - 1] == level
|
|
420
|
+
cover_end = new_levels[base_x + width] == level
|
|
421
|
+
pos = 0
|
|
422
|
+
unless x == base_x && w == width
|
|
423
|
+
content, pos = Reline::Unicode.take_mbchar_range(content, base_x - x, width, cover_begin: cover_begin, cover_end: cover_end, padding: true)
|
|
424
|
+
end
|
|
425
|
+
Reline::IOGate.move_cursor_column x + pos
|
|
426
|
+
Reline::IOGate.write "#{Reline::IOGate.reset_color_sequence}#{content}#{Reline::IOGate.reset_color_sequence}"
|
|
427
|
+
end
|
|
428
|
+
base_x += width
|
|
429
|
+
end
|
|
430
|
+
if old_levels.size > new_levels.size
|
|
431
|
+
Reline::IOGate.move_cursor_column new_levels.size
|
|
432
|
+
Reline::IOGate.erase_after_cursor
|
|
433
|
+
end
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
# Calculate cursor position in word wrapped content.
|
|
437
|
+
def wrapped_cursor_position
|
|
438
|
+
prompt_width = calculate_width(prompt_list[@line_index], true)
|
|
439
|
+
line_before_cursor = Reline::Unicode.escape_for_print(whole_lines[@line_index].byteslice(0, @byte_pointer))
|
|
440
|
+
wrapped_line_before_cursor = split_line_by_width(' ' * prompt_width + line_before_cursor, screen_width)
|
|
441
|
+
wrapped_cursor_y = wrapped_prompt_and_input_lines[0...@line_index].sum(&:size) + wrapped_line_before_cursor.size - 1
|
|
442
|
+
wrapped_cursor_x = calculate_width(wrapped_line_before_cursor.last)
|
|
443
|
+
[wrapped_cursor_x, wrapped_cursor_y]
|
|
444
|
+
end
|
|
445
|
+
|
|
446
|
+
def clear_dialogs
|
|
447
|
+
@dialogs.each do |dialog|
|
|
448
|
+
dialog.contents = nil
|
|
449
|
+
dialog.trap_key = nil
|
|
450
|
+
end
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
def update_dialogs(key = nil)
|
|
454
|
+
wrapped_cursor_x, wrapped_cursor_y = wrapped_cursor_position
|
|
455
|
+
@dialogs.each do |dialog|
|
|
456
|
+
dialog.trap_key = nil
|
|
457
|
+
update_each_dialog(dialog, wrapped_cursor_x, wrapped_cursor_y - screen_scroll_top, key)
|
|
458
|
+
end
|
|
459
|
+
end
|
|
460
|
+
|
|
461
|
+
def render_finished
|
|
462
|
+
Reline::IOGate.buffered_output do
|
|
463
|
+
render_differential([], 0, 0)
|
|
464
|
+
lines = @buffer_of_lines.size.times.map do |i|
|
|
465
|
+
line = Reline::Unicode.strip_non_printing_start_end(prompt_list[i]) + modified_lines[i]
|
|
466
|
+
wrapped_lines = split_line_by_width(line, screen_width)
|
|
467
|
+
wrapped_lines.last.empty? ? "#{line} " : line
|
|
468
|
+
end
|
|
469
|
+
Reline::IOGate.write lines.map { |l| "#{l}\r\n" }.join
|
|
470
|
+
end
|
|
471
|
+
end
|
|
472
|
+
|
|
473
|
+
def render
|
|
474
|
+
wrapped_cursor_x, wrapped_cursor_y = wrapped_cursor_position
|
|
475
|
+
new_lines = wrapped_prompt_and_input_lines.flatten(1)[screen_scroll_top, screen_height].map do |prompt, line|
|
|
476
|
+
prompt_width = Reline::Unicode.calculate_width(prompt, true)
|
|
477
|
+
[[0, prompt_width, prompt], [prompt_width, Reline::Unicode.calculate_width(line, true), line]]
|
|
478
|
+
end
|
|
479
|
+
if @menu_info
|
|
480
|
+
@menu_info.lines(screen_width).each do |item|
|
|
481
|
+
new_lines << [[0, Reline::Unicode.calculate_width(item), item]]
|
|
482
|
+
end
|
|
483
|
+
@menu_info = nil # TODO: do not change state here
|
|
484
|
+
end
|
|
485
|
+
|
|
486
|
+
@dialogs.each_with_index do |dialog, index|
|
|
487
|
+
next unless dialog.contents
|
|
488
|
+
|
|
489
|
+
x_range, y_range = dialog_range dialog, wrapped_cursor_y - screen_scroll_top
|
|
490
|
+
y_range.each do |row|
|
|
491
|
+
next if row < 0 || row >= screen_height
|
|
492
|
+
|
|
493
|
+
dialog_rows = new_lines[row] ||= []
|
|
494
|
+
# index 0 is for prompt, index 1 is for line, index 2.. is for dialog
|
|
495
|
+
dialog_rows[index + 2] = [x_range.begin, dialog.width, dialog.contents[row - y_range.begin]]
|
|
496
|
+
end
|
|
497
|
+
end
|
|
498
|
+
|
|
499
|
+
Reline::IOGate.buffered_output do
|
|
500
|
+
render_differential new_lines, wrapped_cursor_x, wrapped_cursor_y - screen_scroll_top
|
|
501
|
+
end
|
|
502
|
+
end
|
|
503
|
+
|
|
504
|
+
# Reflects lines to be rendered and new cursor position to the screen
|
|
505
|
+
# by calculating the difference from the previous render.
|
|
506
|
+
|
|
507
|
+
private def render_differential(new_lines, new_cursor_x, new_cursor_y)
|
|
508
|
+
Reline::IOGate.disable_auto_linewrap(true) if Reline::IOGate.win?
|
|
509
|
+
rendered_lines = @rendered_screen.lines
|
|
510
|
+
cursor_y = @rendered_screen.cursor_y
|
|
511
|
+
if new_lines != rendered_lines
|
|
512
|
+
# Hide cursor while rendering to avoid cursor flickering.
|
|
513
|
+
Reline::IOGate.hide_cursor
|
|
514
|
+
num_lines = [[new_lines.size, rendered_lines.size].max, screen_height].min
|
|
515
|
+
if @rendered_screen.base_y + num_lines > screen_height
|
|
516
|
+
Reline::IOGate.scroll_down(num_lines - cursor_y - 1)
|
|
517
|
+
@rendered_screen.base_y = screen_height - num_lines
|
|
518
|
+
cursor_y = num_lines - 1
|
|
519
|
+
end
|
|
520
|
+
num_lines.times do |i|
|
|
521
|
+
rendered_line = rendered_lines[i] || []
|
|
522
|
+
line_to_render = new_lines[i] || []
|
|
523
|
+
next if rendered_line == line_to_render
|
|
524
|
+
|
|
525
|
+
Reline::IOGate.move_cursor_down i - cursor_y
|
|
526
|
+
cursor_y = i
|
|
527
|
+
unless rendered_lines[i]
|
|
528
|
+
Reline::IOGate.move_cursor_column 0
|
|
529
|
+
Reline::IOGate.erase_after_cursor
|
|
530
|
+
end
|
|
531
|
+
render_line_differential(rendered_line, line_to_render)
|
|
532
|
+
end
|
|
533
|
+
@rendered_screen.lines = new_lines
|
|
534
|
+
Reline::IOGate.show_cursor
|
|
535
|
+
end
|
|
536
|
+
Reline::IOGate.move_cursor_column new_cursor_x
|
|
537
|
+
new_cursor_y = new_cursor_y.clamp(0, screen_height - 1)
|
|
538
|
+
Reline::IOGate.move_cursor_down new_cursor_y - cursor_y
|
|
539
|
+
@rendered_screen.cursor_y = new_cursor_y
|
|
540
|
+
ensure
|
|
541
|
+
Reline::IOGate.disable_auto_linewrap(false) if Reline::IOGate.win?
|
|
542
|
+
end
|
|
543
|
+
|
|
544
|
+
private def clear_rendered_screen_cache
|
|
545
|
+
@rendered_screen.lines = []
|
|
546
|
+
@rendered_screen.cursor_y = 0
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
def upper_space_height(wrapped_cursor_y)
|
|
550
|
+
wrapped_cursor_y - screen_scroll_top
|
|
551
|
+
end
|
|
552
|
+
|
|
553
|
+
def rest_height(wrapped_cursor_y)
|
|
554
|
+
screen_height - wrapped_cursor_y + screen_scroll_top - @rendered_screen.base_y - 1
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
def rerender
|
|
558
|
+
render unless @in_pasting
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
class DialogProcScope
|
|
562
|
+
CompletionJourneyData = Struct.new(:preposing, :postposing, :list, :pointer)
|
|
563
|
+
|
|
564
|
+
def initialize(line_editor, config, proc_to_exec, context)
|
|
565
|
+
@line_editor = line_editor
|
|
566
|
+
@config = config
|
|
567
|
+
@proc_to_exec = proc_to_exec
|
|
568
|
+
@context = context
|
|
569
|
+
@cursor_pos = Reline::CursorPos.new
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
def context
|
|
573
|
+
@context
|
|
574
|
+
end
|
|
575
|
+
|
|
576
|
+
def retrieve_completion_block(_unused = false)
|
|
577
|
+
preposing, target, postposing, _quote = @line_editor.retrieve_completion_block
|
|
578
|
+
[preposing, target, postposing]
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
def call_completion_proc_with_checking_args(pre, target, post)
|
|
582
|
+
@line_editor.call_completion_proc_with_checking_args(pre, target, post)
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
def set_dialog(dialog)
|
|
586
|
+
@dialog = dialog
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
def dialog
|
|
590
|
+
@dialog
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
def set_cursor_pos(col, row)
|
|
594
|
+
@cursor_pos.x = col
|
|
595
|
+
@cursor_pos.y = row
|
|
596
|
+
end
|
|
597
|
+
|
|
598
|
+
def set_key(key)
|
|
599
|
+
@key = key
|
|
600
|
+
end
|
|
601
|
+
|
|
602
|
+
def key
|
|
603
|
+
@key
|
|
604
|
+
end
|
|
605
|
+
|
|
606
|
+
def cursor_pos
|
|
607
|
+
@cursor_pos
|
|
608
|
+
end
|
|
609
|
+
|
|
610
|
+
def just_cursor_moving
|
|
611
|
+
@line_editor.instance_variable_get(:@just_cursor_moving)
|
|
612
|
+
end
|
|
613
|
+
|
|
614
|
+
def screen_width
|
|
615
|
+
@line_editor.screen_width
|
|
616
|
+
end
|
|
617
|
+
|
|
618
|
+
def screen_height
|
|
619
|
+
@line_editor.screen_height
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
def preferred_dialog_height
|
|
623
|
+
_wrapped_cursor_x, wrapped_cursor_y = @line_editor.wrapped_cursor_position
|
|
624
|
+
[@line_editor.upper_space_height(wrapped_cursor_y), @line_editor.rest_height(wrapped_cursor_y), (screen_height + 6) / 5].max
|
|
625
|
+
end
|
|
626
|
+
|
|
627
|
+
def completion_journey_data
|
|
628
|
+
@line_editor.dialog_proc_scope_completion_journey_data
|
|
629
|
+
end
|
|
630
|
+
|
|
631
|
+
def config
|
|
632
|
+
@config
|
|
633
|
+
end
|
|
634
|
+
|
|
635
|
+
def call
|
|
636
|
+
instance_exec(&@proc_to_exec)
|
|
637
|
+
end
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
class Dialog
|
|
641
|
+
attr_reader :name, :contents, :width
|
|
642
|
+
attr_accessor :scroll_top, :pointer, :column, :vertical_offset, :trap_key
|
|
643
|
+
|
|
644
|
+
def initialize(name, config, proc_scope)
|
|
645
|
+
@name = name
|
|
646
|
+
@config = config
|
|
647
|
+
@proc_scope = proc_scope
|
|
648
|
+
@width = nil
|
|
649
|
+
@scroll_top = 0
|
|
650
|
+
@trap_key = nil
|
|
651
|
+
end
|
|
652
|
+
|
|
653
|
+
def set_cursor_pos(col, row)
|
|
654
|
+
@proc_scope.set_cursor_pos(col, row)
|
|
655
|
+
end
|
|
656
|
+
|
|
657
|
+
def width=(v)
|
|
658
|
+
@width = v
|
|
659
|
+
end
|
|
660
|
+
|
|
661
|
+
def contents=(contents)
|
|
662
|
+
@contents = contents
|
|
663
|
+
if contents and @width.nil?
|
|
664
|
+
@width = contents.map{ |line| Reline::Unicode.calculate_width(line, true) }.max
|
|
665
|
+
end
|
|
666
|
+
end
|
|
667
|
+
|
|
668
|
+
def call(key)
|
|
669
|
+
@proc_scope.set_dialog(self)
|
|
670
|
+
@proc_scope.set_key(key)
|
|
671
|
+
dialog_render_info = @proc_scope.call
|
|
672
|
+
if @trap_key
|
|
673
|
+
if @trap_key.any?{ |i| i.is_a?(Array) } # multiple trap
|
|
674
|
+
@trap_key.each do |t|
|
|
675
|
+
@config.add_oneshot_key_binding(t, @name)
|
|
676
|
+
end
|
|
677
|
+
else
|
|
678
|
+
@config.add_oneshot_key_binding(@trap_key, @name)
|
|
679
|
+
end
|
|
680
|
+
end
|
|
681
|
+
dialog_render_info
|
|
682
|
+
end
|
|
683
|
+
end
|
|
684
|
+
|
|
685
|
+
def add_dialog_proc(name, p, context = nil)
|
|
686
|
+
dialog = Dialog.new(name, @config, DialogProcScope.new(self, @config, p, context))
|
|
687
|
+
if index = @dialogs.find_index { |d| d.name == name }
|
|
688
|
+
@dialogs[index] = dialog
|
|
689
|
+
else
|
|
690
|
+
@dialogs << dialog
|
|
691
|
+
end
|
|
692
|
+
end
|
|
693
|
+
|
|
694
|
+
DIALOG_DEFAULT_HEIGHT = 20
|
|
695
|
+
|
|
696
|
+
private def dialog_range(dialog, dialog_y)
|
|
697
|
+
x_range = dialog.column...dialog.column + dialog.width
|
|
698
|
+
y_range = dialog_y + dialog.vertical_offset...dialog_y + dialog.vertical_offset + dialog.contents.size
|
|
699
|
+
[x_range, y_range]
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
private def update_each_dialog(dialog, cursor_column, cursor_row, key = nil)
|
|
703
|
+
dialog.set_cursor_pos(cursor_column, cursor_row)
|
|
704
|
+
dialog_render_info = dialog.call(key)
|
|
705
|
+
if dialog_render_info.nil? or dialog_render_info.contents.nil? or dialog_render_info.contents.empty?
|
|
706
|
+
dialog.contents = nil
|
|
707
|
+
dialog.trap_key = nil
|
|
708
|
+
return
|
|
709
|
+
end
|
|
710
|
+
contents = dialog_render_info.contents
|
|
711
|
+
pointer = dialog.pointer
|
|
712
|
+
if dialog_render_info.width
|
|
713
|
+
dialog.width = dialog_render_info.width
|
|
714
|
+
else
|
|
715
|
+
dialog.width = contents.map { |l| calculate_width(l, true) }.max
|
|
716
|
+
end
|
|
717
|
+
height = dialog_render_info.height || DIALOG_DEFAULT_HEIGHT
|
|
718
|
+
height = contents.size if contents.size < height
|
|
719
|
+
if contents.size > height
|
|
720
|
+
if dialog.pointer
|
|
721
|
+
if dialog.pointer < 0
|
|
722
|
+
dialog.scroll_top = 0
|
|
723
|
+
elsif (dialog.pointer - dialog.scroll_top) >= (height - 1)
|
|
724
|
+
dialog.scroll_top = dialog.pointer - (height - 1)
|
|
725
|
+
elsif (dialog.pointer - dialog.scroll_top) < 0
|
|
726
|
+
dialog.scroll_top = dialog.pointer
|
|
727
|
+
end
|
|
728
|
+
pointer = dialog.pointer - dialog.scroll_top
|
|
729
|
+
else
|
|
730
|
+
dialog.scroll_top = 0
|
|
731
|
+
end
|
|
732
|
+
contents = contents[dialog.scroll_top, height]
|
|
733
|
+
end
|
|
734
|
+
if dialog_render_info.scrollbar and dialog_render_info.contents.size > height
|
|
735
|
+
bar_max_height = height * 2
|
|
736
|
+
moving_distance = (dialog_render_info.contents.size - height) * 2
|
|
737
|
+
position_ratio = dialog.scroll_top.zero? ? 0.0 : ((dialog.scroll_top * 2).to_f / moving_distance)
|
|
738
|
+
bar_height = (bar_max_height * ((contents.size * 2).to_f / (dialog_render_info.contents.size * 2))).floor.to_i
|
|
739
|
+
bar_height = MINIMUM_SCROLLBAR_HEIGHT if bar_height < MINIMUM_SCROLLBAR_HEIGHT
|
|
740
|
+
scrollbar_pos = ((bar_max_height - bar_height) * position_ratio).floor.to_i
|
|
741
|
+
else
|
|
742
|
+
scrollbar_pos = nil
|
|
743
|
+
end
|
|
744
|
+
dialog.column = dialog_render_info.pos.x
|
|
745
|
+
dialog.width += @block_elem_width if scrollbar_pos
|
|
746
|
+
diff = (dialog.column + dialog.width) - screen_width
|
|
747
|
+
if diff > 0
|
|
748
|
+
dialog.column -= diff
|
|
749
|
+
end
|
|
750
|
+
if rest_height(screen_scroll_top + cursor_row) - dialog_render_info.pos.y >= height
|
|
751
|
+
dialog.vertical_offset = dialog_render_info.pos.y + 1
|
|
752
|
+
elsif cursor_row >= height
|
|
753
|
+
dialog.vertical_offset = dialog_render_info.pos.y - height
|
|
754
|
+
else
|
|
755
|
+
dialog.vertical_offset = dialog_render_info.pos.y + 1
|
|
756
|
+
end
|
|
757
|
+
if dialog.column < 0
|
|
758
|
+
dialog.column = 0
|
|
759
|
+
dialog.width = screen_width
|
|
760
|
+
end
|
|
761
|
+
face = Reline::Face[dialog_render_info.face || :default]
|
|
762
|
+
scrollbar_sgr = face[:scrollbar]
|
|
763
|
+
default_sgr = face[:default]
|
|
764
|
+
enhanced_sgr = face[:enhanced]
|
|
765
|
+
dialog.contents = contents.map.with_index do |item, i|
|
|
766
|
+
line_sgr = i == pointer ? enhanced_sgr : default_sgr
|
|
767
|
+
str_width = dialog.width - (scrollbar_pos.nil? ? 0 : @block_elem_width)
|
|
768
|
+
str, = Reline::Unicode.take_mbchar_range(item, 0, str_width, padding: true)
|
|
769
|
+
colored_content = "#{line_sgr}#{str}"
|
|
770
|
+
if scrollbar_pos
|
|
771
|
+
if scrollbar_pos <= (i * 2) and (i * 2 + 1) < (scrollbar_pos + bar_height)
|
|
772
|
+
colored_content + scrollbar_sgr + @full_block
|
|
773
|
+
elsif scrollbar_pos <= (i * 2) and (i * 2) < (scrollbar_pos + bar_height)
|
|
774
|
+
colored_content + scrollbar_sgr + @upper_half_block
|
|
775
|
+
elsif scrollbar_pos <= (i * 2 + 1) and (i * 2) < (scrollbar_pos + bar_height)
|
|
776
|
+
colored_content + scrollbar_sgr + @lower_half_block
|
|
777
|
+
else
|
|
778
|
+
colored_content + scrollbar_sgr + ' ' * @block_elem_width
|
|
779
|
+
end
|
|
780
|
+
else
|
|
781
|
+
colored_content
|
|
782
|
+
end
|
|
783
|
+
end
|
|
784
|
+
end
|
|
785
|
+
|
|
786
|
+
private def modify_lines(before, complete)
|
|
787
|
+
if after = @output_modifier_proc&.call("#{before.join("\n")}\n", complete: complete)
|
|
788
|
+
after.lines("\n").map { |l| l.chomp('') }
|
|
789
|
+
else
|
|
790
|
+
before.map { |l| Reline::Unicode.escape_for_print(l) }
|
|
791
|
+
end
|
|
792
|
+
end
|
|
793
|
+
|
|
794
|
+
def editing_mode
|
|
795
|
+
@config.editing_mode
|
|
796
|
+
end
|
|
797
|
+
|
|
798
|
+
private def menu(list)
|
|
799
|
+
@menu_info = MenuInfo.new(list)
|
|
800
|
+
end
|
|
801
|
+
|
|
802
|
+
private def filter_normalize_candidates(target, list)
|
|
803
|
+
target = target.downcase if @config.completion_ignore_case
|
|
804
|
+
list.select do |item|
|
|
805
|
+
next unless item
|
|
806
|
+
unless Encoding.compatible?(target.encoding, item.encoding)
|
|
807
|
+
# Workaround for Readline test
|
|
808
|
+
if defined?(::Readline) && ::Readline == ::Reline
|
|
809
|
+
raise Encoding::CompatibilityError, "incompatible character encodings: #{target.encoding} and #{item.encoding}"
|
|
810
|
+
end
|
|
811
|
+
end
|
|
812
|
+
|
|
813
|
+
if @config.completion_ignore_case
|
|
814
|
+
item.downcase.start_with?(target)
|
|
815
|
+
else
|
|
816
|
+
item.start_with?(target)
|
|
817
|
+
end
|
|
818
|
+
end.map do |item|
|
|
819
|
+
item.unicode_normalize
|
|
820
|
+
rescue Encoding::CompatibilityError
|
|
821
|
+
item
|
|
822
|
+
end.uniq
|
|
823
|
+
end
|
|
824
|
+
|
|
825
|
+
private def perform_completion(preposing, target, postposing, quote, list)
|
|
826
|
+
candidates = filter_normalize_candidates(target, list)
|
|
827
|
+
|
|
828
|
+
case @completion_state
|
|
829
|
+
when CompletionState::PERFECT_MATCH
|
|
830
|
+
if @dig_perfect_match_proc
|
|
831
|
+
@dig_perfect_match_proc.call(@perfect_matched)
|
|
832
|
+
return
|
|
833
|
+
end
|
|
834
|
+
when CompletionState::MENU
|
|
835
|
+
menu(candidates)
|
|
836
|
+
return
|
|
837
|
+
when CompletionState::MENU_WITH_PERFECT_MATCH
|
|
838
|
+
menu(candidates)
|
|
839
|
+
@completion_state = CompletionState::PERFECT_MATCH
|
|
840
|
+
return
|
|
841
|
+
end
|
|
842
|
+
|
|
843
|
+
completed = Reline::Unicode.common_prefix(candidates, ignore_case: @config.completion_ignore_case)
|
|
844
|
+
return if completed.empty?
|
|
845
|
+
|
|
846
|
+
append_character = ''
|
|
847
|
+
if candidates.include?(completed)
|
|
848
|
+
if candidates.one?
|
|
849
|
+
append_character = quote || completion_append_character.to_s
|
|
850
|
+
@completion_state = CompletionState::PERFECT_MATCH
|
|
851
|
+
elsif @config.show_all_if_ambiguous
|
|
852
|
+
menu(candidates)
|
|
853
|
+
@completion_state = CompletionState::PERFECT_MATCH
|
|
854
|
+
else
|
|
855
|
+
@completion_state = CompletionState::MENU_WITH_PERFECT_MATCH
|
|
856
|
+
end
|
|
857
|
+
@perfect_matched = completed
|
|
858
|
+
else
|
|
859
|
+
@completion_state = CompletionState::MENU
|
|
860
|
+
menu(candidates) if @config.show_all_if_ambiguous
|
|
861
|
+
end
|
|
862
|
+
@buffer_of_lines[@line_index] = (preposing + completed + append_character + postposing).split("\n")[@line_index] || String.new(encoding: encoding)
|
|
863
|
+
line_to_pointer = (preposing + completed + append_character).split("\n")[@line_index] || String.new(encoding: encoding)
|
|
864
|
+
@byte_pointer = line_to_pointer.bytesize
|
|
865
|
+
end
|
|
866
|
+
|
|
867
|
+
def dialog_proc_scope_completion_journey_data
|
|
868
|
+
return nil unless @completion_journey_state
|
|
869
|
+
line_index = @completion_journey_state.line_index
|
|
870
|
+
pre_lines = @buffer_of_lines[0...line_index].map { |line| line + "\n" }
|
|
871
|
+
post_lines = @buffer_of_lines[(line_index + 1)..-1].map { |line| line + "\n" }
|
|
872
|
+
DialogProcScope::CompletionJourneyData.new(
|
|
873
|
+
pre_lines.join + @completion_journey_state.pre,
|
|
874
|
+
@completion_journey_state.post + post_lines.join,
|
|
875
|
+
@completion_journey_state.list,
|
|
876
|
+
@completion_journey_state.pointer
|
|
877
|
+
)
|
|
878
|
+
end
|
|
879
|
+
|
|
880
|
+
private def move_completed_list(direction)
|
|
881
|
+
@completion_journey_state ||= retrieve_completion_journey_state
|
|
882
|
+
return false unless @completion_journey_state
|
|
883
|
+
|
|
884
|
+
if (delta = { up: -1, down: +1 }[direction])
|
|
885
|
+
@completion_journey_state.pointer = (@completion_journey_state.pointer + delta) % @completion_journey_state.list.size
|
|
886
|
+
end
|
|
887
|
+
completed = @completion_journey_state.list[@completion_journey_state.pointer]
|
|
888
|
+
set_current_line(@completion_journey_state.pre + completed + @completion_journey_state.post, @completion_journey_state.pre.bytesize + completed.bytesize)
|
|
889
|
+
true
|
|
890
|
+
end
|
|
891
|
+
|
|
892
|
+
private def retrieve_completion_journey_state
|
|
893
|
+
preposing, target, postposing, quote = retrieve_completion_block
|
|
894
|
+
list = call_completion_proc(preposing, target, postposing, quote)
|
|
895
|
+
return unless list.is_a?(Array)
|
|
896
|
+
|
|
897
|
+
candidates = list.select{ |item| item.start_with?(target) }
|
|
898
|
+
return if candidates.empty?
|
|
899
|
+
|
|
900
|
+
pre = preposing.split("\n", -1).last || ''
|
|
901
|
+
post = postposing.split("\n", -1).first || ''
|
|
902
|
+
CompletionJourneyState.new(
|
|
903
|
+
@line_index, pre, target, post, [target] + candidates, 0
|
|
904
|
+
)
|
|
905
|
+
end
|
|
906
|
+
|
|
907
|
+
private def run_for_operators(key, method_symbol)
|
|
908
|
+
# Reject multibyte input (converted to ed_insert) in vi_command mode
|
|
909
|
+
return if method_symbol == :ed_insert && @config.editing_mode_is?(:vi_command) && !@waiting_proc
|
|
910
|
+
|
|
911
|
+
if ARGUMENT_DIGIT_METHODS.include?(method_symbol) && !@waiting_proc
|
|
912
|
+
wrap_method_call(method_symbol, key, false)
|
|
913
|
+
return
|
|
914
|
+
end
|
|
915
|
+
|
|
916
|
+
if @vi_waiting_operator
|
|
917
|
+
if @waiting_proc || VI_MOTIONS.include?(method_symbol)
|
|
918
|
+
old_byte_pointer = @byte_pointer
|
|
919
|
+
@vi_arg = (@vi_arg || 1) * @vi_waiting_operator_arg
|
|
920
|
+
wrap_method_call(method_symbol, key, true)
|
|
921
|
+
unless @waiting_proc
|
|
922
|
+
byte_pointer_diff = @byte_pointer - old_byte_pointer
|
|
923
|
+
@byte_pointer = old_byte_pointer
|
|
924
|
+
__send__(@vi_waiting_operator, byte_pointer_diff)
|
|
925
|
+
cleanup_waiting
|
|
926
|
+
end
|
|
927
|
+
else
|
|
928
|
+
# Ignores operator when not motion is given.
|
|
929
|
+
wrap_method_call(method_symbol, key, false)
|
|
930
|
+
cleanup_waiting
|
|
931
|
+
end
|
|
932
|
+
else
|
|
933
|
+
wrap_method_call(method_symbol, key, false)
|
|
934
|
+
end
|
|
935
|
+
@vi_arg = nil
|
|
936
|
+
@kill_ring.process
|
|
937
|
+
end
|
|
938
|
+
|
|
939
|
+
private def argumentable?(method_obj)
|
|
940
|
+
method_obj and method_obj.parameters.any? { |param| param[0] == :key and param[1] == :arg }
|
|
941
|
+
end
|
|
942
|
+
|
|
943
|
+
private def inclusive?(method_obj)
|
|
944
|
+
# If a motion method with the keyword argument "inclusive" follows the
|
|
945
|
+
# operator, it must contain the character at the cursor position.
|
|
946
|
+
method_obj and method_obj.parameters.any? { |param| param[0] == :key and param[1] == :inclusive }
|
|
947
|
+
end
|
|
948
|
+
|
|
949
|
+
def wrap_method_call(method_symbol, key, with_operator)
|
|
950
|
+
if @waiting_proc
|
|
951
|
+
@waiting_proc.call(key, method_symbol)
|
|
952
|
+
return
|
|
953
|
+
end
|
|
954
|
+
|
|
955
|
+
return unless respond_to?(method_symbol, true)
|
|
956
|
+
method_obj = method(method_symbol)
|
|
957
|
+
if @vi_arg and argumentable?(method_obj)
|
|
958
|
+
if inclusive?(method_obj)
|
|
959
|
+
method_obj.(key, arg: @vi_arg, inclusive: with_operator)
|
|
960
|
+
else
|
|
961
|
+
method_obj.(key, arg: @vi_arg)
|
|
962
|
+
end
|
|
963
|
+
else
|
|
964
|
+
if inclusive?(method_obj)
|
|
965
|
+
method_obj.(key, inclusive: with_operator)
|
|
966
|
+
else
|
|
967
|
+
method_obj.(key)
|
|
968
|
+
end
|
|
969
|
+
end
|
|
970
|
+
end
|
|
971
|
+
|
|
972
|
+
private def cleanup_waiting
|
|
973
|
+
@waiting_proc = nil
|
|
974
|
+
@vi_waiting_operator = nil
|
|
975
|
+
@vi_waiting_operator_arg = nil
|
|
976
|
+
@searching_prompt = nil
|
|
977
|
+
@drop_terminate_spaces = false
|
|
978
|
+
end
|
|
979
|
+
|
|
980
|
+
ARGUMENT_DIGIT_METHODS = %i[ed_digit vi_zero ed_argument_digit]
|
|
981
|
+
VI_WAITING_ACCEPT_METHODS = %i[vi_change_meta vi_delete_meta vi_yank ed_insert ed_argument_digit]
|
|
982
|
+
|
|
983
|
+
private def process_key(key, method_symbol)
|
|
984
|
+
if @waiting_proc
|
|
985
|
+
cleanup_waiting unless key.size == 1
|
|
986
|
+
end
|
|
987
|
+
if @vi_waiting_operator
|
|
988
|
+
cleanup_waiting unless VI_WAITING_ACCEPT_METHODS.include?(method_symbol) || VI_MOTIONS.include?(method_symbol)
|
|
989
|
+
end
|
|
990
|
+
|
|
991
|
+
process_insert(force: method_symbol != :ed_insert)
|
|
992
|
+
|
|
993
|
+
run_for_operators(key, method_symbol)
|
|
994
|
+
end
|
|
995
|
+
|
|
996
|
+
def update(key)
|
|
997
|
+
modified = input_key(key)
|
|
998
|
+
unless @in_pasting
|
|
999
|
+
scroll_into_view
|
|
1000
|
+
@just_cursor_moving = !modified
|
|
1001
|
+
update_dialogs(key)
|
|
1002
|
+
@just_cursor_moving = false
|
|
1003
|
+
end
|
|
1004
|
+
end
|
|
1005
|
+
|
|
1006
|
+
def input_key(key)
|
|
1007
|
+
old_buffer_of_lines = @buffer_of_lines.dup
|
|
1008
|
+
@config.reset_oneshot_key_bindings
|
|
1009
|
+
if key.char.nil?
|
|
1010
|
+
process_insert(force: true)
|
|
1011
|
+
@eof = buffer_empty?
|
|
1012
|
+
finish
|
|
1013
|
+
return
|
|
1014
|
+
end
|
|
1015
|
+
return if @dialogs.any? { |dialog| dialog.name == key.method_symbol }
|
|
1016
|
+
|
|
1017
|
+
@completion_occurs = false
|
|
1018
|
+
|
|
1019
|
+
process_key(key.char, key.method_symbol)
|
|
1020
|
+
if @config.editing_mode_is?(:vi_command) and @byte_pointer > 0 and @byte_pointer == current_line.bytesize
|
|
1021
|
+
byte_size = Reline::Unicode.get_prev_mbchar_size(@buffer_of_lines[@line_index], @byte_pointer)
|
|
1022
|
+
@byte_pointer -= byte_size
|
|
1023
|
+
end
|
|
1024
|
+
|
|
1025
|
+
@prev_action_state, @next_action_state = @next_action_state, NullActionState
|
|
1026
|
+
|
|
1027
|
+
unless @completion_occurs
|
|
1028
|
+
@completion_state = CompletionState::NORMAL
|
|
1029
|
+
@completion_journey_state = nil
|
|
1030
|
+
end
|
|
1031
|
+
|
|
1032
|
+
modified = old_buffer_of_lines != @buffer_of_lines
|
|
1033
|
+
|
|
1034
|
+
push_undo_redo(modified) unless @restoring
|
|
1035
|
+
@restoring = false
|
|
1036
|
+
|
|
1037
|
+
if @in_pasting
|
|
1038
|
+
clear_dialogs
|
|
1039
|
+
return
|
|
1040
|
+
end
|
|
1041
|
+
|
|
1042
|
+
if !@completion_occurs && modified && !@config.disable_completion && @config.autocompletion
|
|
1043
|
+
# Auto complete starts only when edited
|
|
1044
|
+
process_insert(force: true)
|
|
1045
|
+
@completion_journey_state = retrieve_completion_journey_state
|
|
1046
|
+
end
|
|
1047
|
+
modified
|
|
1048
|
+
end
|
|
1049
|
+
|
|
1050
|
+
MAX_UNDO_REDO_HISTORY_SIZE = 100
|
|
1051
|
+
def push_undo_redo(modified)
|
|
1052
|
+
if modified
|
|
1053
|
+
@undo_redo_history = @undo_redo_history[0..@undo_redo_index]
|
|
1054
|
+
@undo_redo_history.push([@buffer_of_lines.dup, @byte_pointer, @line_index])
|
|
1055
|
+
if @undo_redo_history.size > MAX_UNDO_REDO_HISTORY_SIZE
|
|
1056
|
+
@undo_redo_history.shift
|
|
1057
|
+
end
|
|
1058
|
+
@undo_redo_index = @undo_redo_history.size - 1
|
|
1059
|
+
else
|
|
1060
|
+
@undo_redo_history[@undo_redo_index] = [@buffer_of_lines.dup, @byte_pointer, @line_index]
|
|
1061
|
+
end
|
|
1062
|
+
end
|
|
1063
|
+
|
|
1064
|
+
def scroll_into_view
|
|
1065
|
+
_wrapped_cursor_x, wrapped_cursor_y = wrapped_cursor_position
|
|
1066
|
+
if wrapped_cursor_y < screen_scroll_top
|
|
1067
|
+
@scroll_partial_screen = wrapped_cursor_y
|
|
1068
|
+
end
|
|
1069
|
+
if wrapped_cursor_y >= screen_scroll_top + screen_height
|
|
1070
|
+
@scroll_partial_screen = wrapped_cursor_y - screen_height + 1
|
|
1071
|
+
end
|
|
1072
|
+
end
|
|
1073
|
+
|
|
1074
|
+
def call_completion_proc(pre, target, post, quote)
|
|
1075
|
+
Reline.core.instance_variable_set(:@completion_quote_character, quote)
|
|
1076
|
+
result = call_completion_proc_with_checking_args(pre, target, post)
|
|
1077
|
+
Reline.core.instance_variable_set(:@completion_quote_character, nil)
|
|
1078
|
+
result
|
|
1079
|
+
end
|
|
1080
|
+
|
|
1081
|
+
def call_completion_proc_with_checking_args(pre, target, post)
|
|
1082
|
+
if @completion_proc and target
|
|
1083
|
+
argnum = @completion_proc.parameters.inject(0) { |result, item|
|
|
1084
|
+
case item.first
|
|
1085
|
+
when :req, :opt
|
|
1086
|
+
result + 1
|
|
1087
|
+
when :rest
|
|
1088
|
+
break 3
|
|
1089
|
+
end
|
|
1090
|
+
}
|
|
1091
|
+
case argnum
|
|
1092
|
+
when 1
|
|
1093
|
+
result = @completion_proc.(target)
|
|
1094
|
+
when 2
|
|
1095
|
+
result = @completion_proc.(target, pre)
|
|
1096
|
+
when 3..Float::INFINITY
|
|
1097
|
+
result = @completion_proc.(target, pre, post)
|
|
1098
|
+
end
|
|
1099
|
+
end
|
|
1100
|
+
result
|
|
1101
|
+
end
|
|
1102
|
+
|
|
1103
|
+
private def process_auto_indent(line_index = @line_index, cursor_dependent: true, add_newline: false)
|
|
1104
|
+
return if @in_pasting
|
|
1105
|
+
return unless @auto_indent_proc
|
|
1106
|
+
|
|
1107
|
+
line = @buffer_of_lines[line_index]
|
|
1108
|
+
byte_pointer = cursor_dependent && @line_index == line_index ? @byte_pointer : line.bytesize
|
|
1109
|
+
new_indent = @auto_indent_proc.(@buffer_of_lines.take(line_index + 1).push(''), line_index, byte_pointer, add_newline)
|
|
1110
|
+
return unless new_indent
|
|
1111
|
+
|
|
1112
|
+
new_line = ' ' * new_indent + line.lstrip
|
|
1113
|
+
@buffer_of_lines[line_index] = new_line
|
|
1114
|
+
if @line_index == line_index
|
|
1115
|
+
indent_diff = new_line.bytesize - line.bytesize
|
|
1116
|
+
@byte_pointer = [@byte_pointer + indent_diff, 0].max
|
|
1117
|
+
end
|
|
1118
|
+
end
|
|
1119
|
+
|
|
1120
|
+
def line()
|
|
1121
|
+
@buffer_of_lines.join("\n") unless eof?
|
|
1122
|
+
end
|
|
1123
|
+
|
|
1124
|
+
def current_line
|
|
1125
|
+
@buffer_of_lines[@line_index]
|
|
1126
|
+
end
|
|
1127
|
+
|
|
1128
|
+
def set_current_line(line, byte_pointer = nil)
|
|
1129
|
+
cursor = current_byte_pointer_cursor
|
|
1130
|
+
@buffer_of_lines[@line_index] = line
|
|
1131
|
+
if byte_pointer
|
|
1132
|
+
@byte_pointer = byte_pointer
|
|
1133
|
+
else
|
|
1134
|
+
calculate_nearest_cursor(cursor)
|
|
1135
|
+
end
|
|
1136
|
+
process_auto_indent
|
|
1137
|
+
end
|
|
1138
|
+
|
|
1139
|
+
def retrieve_completion_block
|
|
1140
|
+
quote_characters = Reline.completer_quote_characters
|
|
1141
|
+
before = current_line.byteslice(0, @byte_pointer).grapheme_clusters
|
|
1142
|
+
quote = nil
|
|
1143
|
+
# Calculate closing quote when cursor is at the end of the line
|
|
1144
|
+
if current_line.bytesize == @byte_pointer && !quote_characters.empty?
|
|
1145
|
+
escaped = false
|
|
1146
|
+
before.each do |c|
|
|
1147
|
+
if escaped
|
|
1148
|
+
escaped = false
|
|
1149
|
+
next
|
|
1150
|
+
elsif c == '\\'
|
|
1151
|
+
escaped = true
|
|
1152
|
+
elsif quote
|
|
1153
|
+
quote = nil if c == quote
|
|
1154
|
+
elsif quote_characters.include?(c)
|
|
1155
|
+
quote = c
|
|
1156
|
+
end
|
|
1157
|
+
end
|
|
1158
|
+
end
|
|
1159
|
+
|
|
1160
|
+
word_break_characters = quote_characters + Reline.completer_word_break_characters
|
|
1161
|
+
break_index = before.rindex { |c| word_break_characters.include?(c) || quote_characters.include?(c) } || -1
|
|
1162
|
+
preposing = before.take(break_index + 1).join
|
|
1163
|
+
target = before.drop(break_index + 1).join
|
|
1164
|
+
postposing = current_line.byteslice(@byte_pointer, current_line.bytesize - @byte_pointer)
|
|
1165
|
+
lines = whole_lines
|
|
1166
|
+
if @line_index > 0
|
|
1167
|
+
preposing = lines[0..(@line_index - 1)].join("\n") + "\n" + preposing
|
|
1168
|
+
end
|
|
1169
|
+
if (lines.size - 1) > @line_index
|
|
1170
|
+
postposing = postposing + "\n" + lines[(@line_index + 1)..-1].join("\n")
|
|
1171
|
+
end
|
|
1172
|
+
[preposing.encode(encoding), target.encode(encoding), postposing.encode(encoding), quote&.encode(encoding)]
|
|
1173
|
+
end
|
|
1174
|
+
|
|
1175
|
+
def confirm_multiline_termination
|
|
1176
|
+
temp_buffer = @buffer_of_lines.dup
|
|
1177
|
+
@confirm_multiline_termination_proc.(temp_buffer.join("\n") + "\n")
|
|
1178
|
+
end
|
|
1179
|
+
|
|
1180
|
+
def insert_multiline_text(text)
|
|
1181
|
+
pre = @buffer_of_lines[@line_index].byteslice(0, @byte_pointer)
|
|
1182
|
+
post = @buffer_of_lines[@line_index].byteslice(@byte_pointer..)
|
|
1183
|
+
lines = (pre + Reline::Unicode.safe_encode(text, encoding).gsub(/\r\n?/, "\n") + post).split("\n", -1)
|
|
1184
|
+
lines << '' if lines.empty?
|
|
1185
|
+
@buffer_of_lines[@line_index, 1] = lines
|
|
1186
|
+
@line_index += lines.size - 1
|
|
1187
|
+
@byte_pointer = @buffer_of_lines[@line_index].bytesize - post.bytesize
|
|
1188
|
+
end
|
|
1189
|
+
|
|
1190
|
+
def insert_text(text)
|
|
1191
|
+
if @buffer_of_lines[@line_index].bytesize == @byte_pointer
|
|
1192
|
+
@buffer_of_lines[@line_index] += text
|
|
1193
|
+
else
|
|
1194
|
+
@buffer_of_lines[@line_index] = byteinsert(@buffer_of_lines[@line_index], @byte_pointer, text)
|
|
1195
|
+
end
|
|
1196
|
+
@byte_pointer += text.bytesize
|
|
1197
|
+
process_auto_indent
|
|
1198
|
+
end
|
|
1199
|
+
|
|
1200
|
+
def delete_text(start = nil, length = nil)
|
|
1201
|
+
if start.nil? and length.nil?
|
|
1202
|
+
if @buffer_of_lines.size == 1
|
|
1203
|
+
@buffer_of_lines[@line_index] = ''
|
|
1204
|
+
@byte_pointer = 0
|
|
1205
|
+
elsif @line_index == (@buffer_of_lines.size - 1) and @line_index > 0
|
|
1206
|
+
@buffer_of_lines.pop
|
|
1207
|
+
@line_index -= 1
|
|
1208
|
+
@byte_pointer = 0
|
|
1209
|
+
elsif @line_index < (@buffer_of_lines.size - 1)
|
|
1210
|
+
@buffer_of_lines.delete_at(@line_index)
|
|
1211
|
+
@byte_pointer = 0
|
|
1212
|
+
end
|
|
1213
|
+
elsif not start.nil? and not length.nil?
|
|
1214
|
+
if current_line
|
|
1215
|
+
before = current_line.byteslice(0, start)
|
|
1216
|
+
after = current_line.byteslice(start + length, current_line.bytesize)
|
|
1217
|
+
set_current_line(before + after)
|
|
1218
|
+
end
|
|
1219
|
+
elsif start.is_a?(Range)
|
|
1220
|
+
range = start
|
|
1221
|
+
first = range.first
|
|
1222
|
+
last = range.last
|
|
1223
|
+
last = current_line.bytesize - 1 if last > current_line.bytesize
|
|
1224
|
+
last += current_line.bytesize if last < 0
|
|
1225
|
+
first += current_line.bytesize if first < 0
|
|
1226
|
+
range = range.exclude_end? ? first...last : first..last
|
|
1227
|
+
line = current_line.bytes.reject.with_index{ |c, i| range.include?(i) }.map{ |c| c.chr(Encoding::ASCII_8BIT) }.join.force_encoding(encoding)
|
|
1228
|
+
set_current_line(line)
|
|
1229
|
+
else
|
|
1230
|
+
set_current_line(current_line.byteslice(0, start))
|
|
1231
|
+
end
|
|
1232
|
+
end
|
|
1233
|
+
|
|
1234
|
+
def byte_pointer=(val)
|
|
1235
|
+
@byte_pointer = val
|
|
1236
|
+
end
|
|
1237
|
+
|
|
1238
|
+
def whole_lines
|
|
1239
|
+
@buffer_of_lines.dup
|
|
1240
|
+
end
|
|
1241
|
+
|
|
1242
|
+
def whole_buffer
|
|
1243
|
+
whole_lines.join("\n")
|
|
1244
|
+
end
|
|
1245
|
+
|
|
1246
|
+
private def buffer_empty?
|
|
1247
|
+
current_line.empty? and @buffer_of_lines.size == 1
|
|
1248
|
+
end
|
|
1249
|
+
|
|
1250
|
+
def finished?
|
|
1251
|
+
@finished
|
|
1252
|
+
end
|
|
1253
|
+
|
|
1254
|
+
def finish
|
|
1255
|
+
@finished = true
|
|
1256
|
+
@config.reset
|
|
1257
|
+
end
|
|
1258
|
+
|
|
1259
|
+
private def byteslice!(str, byte_pointer, size)
|
|
1260
|
+
new_str = str.byteslice(0, byte_pointer)
|
|
1261
|
+
new_str << str.byteslice(byte_pointer + size, str.bytesize)
|
|
1262
|
+
[new_str, str.byteslice(byte_pointer, size)]
|
|
1263
|
+
end
|
|
1264
|
+
|
|
1265
|
+
private def byteinsert(str, byte_pointer, other)
|
|
1266
|
+
new_str = str.byteslice(0, byte_pointer)
|
|
1267
|
+
new_str << other
|
|
1268
|
+
new_str << str.byteslice(byte_pointer, str.bytesize)
|
|
1269
|
+
new_str
|
|
1270
|
+
end
|
|
1271
|
+
|
|
1272
|
+
private def calculate_width(str, allow_escape_code = false)
|
|
1273
|
+
Reline::Unicode.calculate_width(str, allow_escape_code)
|
|
1274
|
+
end
|
|
1275
|
+
|
|
1276
|
+
private def key_delete(key)
|
|
1277
|
+
if @config.editing_mode_is?(:vi_insert)
|
|
1278
|
+
ed_delete_next_char(key)
|
|
1279
|
+
elsif @config.editing_mode_is?(:emacs)
|
|
1280
|
+
em_delete(key)
|
|
1281
|
+
end
|
|
1282
|
+
end
|
|
1283
|
+
|
|
1284
|
+
private def key_newline(key)
|
|
1285
|
+
if @is_multiline
|
|
1286
|
+
next_line = current_line.byteslice(@byte_pointer, current_line.bytesize - @byte_pointer)
|
|
1287
|
+
cursor_line = current_line.byteslice(0, @byte_pointer)
|
|
1288
|
+
insert_new_line(cursor_line, next_line)
|
|
1289
|
+
end
|
|
1290
|
+
end
|
|
1291
|
+
|
|
1292
|
+
private def complete(_key)
|
|
1293
|
+
return if @config.disable_completion
|
|
1294
|
+
|
|
1295
|
+
process_insert(force: true)
|
|
1296
|
+
if @config.autocompletion
|
|
1297
|
+
@completion_state = CompletionState::NORMAL
|
|
1298
|
+
@completion_occurs = move_completed_list(:down)
|
|
1299
|
+
else
|
|
1300
|
+
@completion_journey_state = nil
|
|
1301
|
+
pre, target, post, quote = retrieve_completion_block
|
|
1302
|
+
result = call_completion_proc(pre, target, post, quote)
|
|
1303
|
+
if result.is_a?(Array)
|
|
1304
|
+
@completion_occurs = true
|
|
1305
|
+
perform_completion(pre, target, post, quote, result)
|
|
1306
|
+
end
|
|
1307
|
+
end
|
|
1308
|
+
end
|
|
1309
|
+
|
|
1310
|
+
private def completion_journey_move(direction)
|
|
1311
|
+
return if @config.disable_completion
|
|
1312
|
+
|
|
1313
|
+
process_insert(force: true)
|
|
1314
|
+
@completion_state = CompletionState::NORMAL
|
|
1315
|
+
@completion_occurs = move_completed_list(direction)
|
|
1316
|
+
end
|
|
1317
|
+
|
|
1318
|
+
private def menu_complete(_key)
|
|
1319
|
+
completion_journey_move(:down)
|
|
1320
|
+
end
|
|
1321
|
+
|
|
1322
|
+
private def menu_complete_backward(_key)
|
|
1323
|
+
completion_journey_move(:up)
|
|
1324
|
+
end
|
|
1325
|
+
|
|
1326
|
+
private def completion_journey_up(_key)
|
|
1327
|
+
completion_journey_move(:up) if @config.autocompletion
|
|
1328
|
+
end
|
|
1329
|
+
|
|
1330
|
+
# Editline:: +ed-unassigned+ This editor command always results in an error.
|
|
1331
|
+
# GNU Readline:: There is no corresponding macro.
|
|
1332
|
+
private def ed_unassigned(key) end # do nothing
|
|
1333
|
+
|
|
1334
|
+
private def process_insert(force: false)
|
|
1335
|
+
return if @continuous_insertion_buffer.empty? or (@in_pasting and not force)
|
|
1336
|
+
insert_text(@continuous_insertion_buffer)
|
|
1337
|
+
@continuous_insertion_buffer.clear
|
|
1338
|
+
end
|
|
1339
|
+
|
|
1340
|
+
# Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
|
|
1341
|
+
# In insert mode, insert the input character left of the cursor
|
|
1342
|
+
# position. In replace mode, overwrite the character at the
|
|
1343
|
+
# cursor and move the cursor to the right by one character
|
|
1344
|
+
# position. Accept an argument to do this repeatedly. It is an
|
|
1345
|
+
# error if the input character is the NUL character (+Ctrl-@+).
|
|
1346
|
+
# Failure to enlarge the edit buffer also results in an error.
|
|
1347
|
+
# Editline:: +ed-digit+ (emacs: 0 to 9) If in argument input mode, append
|
|
1348
|
+
# the input digit to the argument being read. Otherwise, call
|
|
1349
|
+
# +ed-insert+. It is an error if the input character is not a
|
|
1350
|
+
# digit or if the existing argument is already greater than a
|
|
1351
|
+
# million.
|
|
1352
|
+
# GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
|
|
1353
|
+
private def ed_insert(str)
|
|
1354
|
+
begin
|
|
1355
|
+
str.encode(Encoding::UTF_8)
|
|
1356
|
+
rescue Encoding::UndefinedConversionError
|
|
1357
|
+
return
|
|
1358
|
+
end
|
|
1359
|
+
if @in_pasting
|
|
1360
|
+
@continuous_insertion_buffer << str
|
|
1361
|
+
return
|
|
1362
|
+
elsif not @continuous_insertion_buffer.empty?
|
|
1363
|
+
process_insert
|
|
1364
|
+
end
|
|
1365
|
+
|
|
1366
|
+
insert_text(str)
|
|
1367
|
+
end
|
|
1368
|
+
alias_method :self_insert, :ed_insert
|
|
1369
|
+
|
|
1370
|
+
private def ed_digit(key)
|
|
1371
|
+
if @vi_arg
|
|
1372
|
+
ed_argument_digit(key)
|
|
1373
|
+
else
|
|
1374
|
+
ed_insert(key)
|
|
1375
|
+
end
|
|
1376
|
+
end
|
|
1377
|
+
|
|
1378
|
+
private def insert_raw_char(str, arg: 1)
|
|
1379
|
+
arg.times do
|
|
1380
|
+
if str == "\C-j" or str == "\C-m"
|
|
1381
|
+
key_newline(str)
|
|
1382
|
+
elsif str != "\0"
|
|
1383
|
+
# Ignore NUL.
|
|
1384
|
+
ed_insert(str)
|
|
1385
|
+
end
|
|
1386
|
+
end
|
|
1387
|
+
end
|
|
1388
|
+
|
|
1389
|
+
private def ed_next_char(key, arg: 1)
|
|
1390
|
+
byte_size = Reline::Unicode.get_next_mbchar_size(current_line, @byte_pointer)
|
|
1391
|
+
if (@byte_pointer < current_line.bytesize)
|
|
1392
|
+
@byte_pointer += byte_size
|
|
1393
|
+
elsif @config.editing_mode_is?(:emacs) and @byte_pointer == current_line.bytesize and @line_index < @buffer_of_lines.size - 1
|
|
1394
|
+
@byte_pointer = 0
|
|
1395
|
+
@line_index += 1
|
|
1396
|
+
end
|
|
1397
|
+
arg -= 1
|
|
1398
|
+
ed_next_char(key, arg: arg) if arg > 0
|
|
1399
|
+
end
|
|
1400
|
+
alias_method :forward_char, :ed_next_char
|
|
1401
|
+
|
|
1402
|
+
private def ed_prev_char(key, arg: 1)
|
|
1403
|
+
if @byte_pointer > 0
|
|
1404
|
+
byte_size = Reline::Unicode.get_prev_mbchar_size(current_line, @byte_pointer)
|
|
1405
|
+
@byte_pointer -= byte_size
|
|
1406
|
+
elsif @config.editing_mode_is?(:emacs) and @byte_pointer == 0 and @line_index > 0
|
|
1407
|
+
@line_index -= 1
|
|
1408
|
+
@byte_pointer = current_line.bytesize
|
|
1409
|
+
end
|
|
1410
|
+
arg -= 1
|
|
1411
|
+
ed_prev_char(key, arg: arg) if arg > 0
|
|
1412
|
+
end
|
|
1413
|
+
alias_method :backward_char, :ed_prev_char
|
|
1414
|
+
|
|
1415
|
+
private def vi_first_print(key)
|
|
1416
|
+
@byte_pointer = Reline::Unicode.vi_first_print(current_line)
|
|
1417
|
+
end
|
|
1418
|
+
|
|
1419
|
+
private def ed_move_to_beg(key)
|
|
1420
|
+
@byte_pointer = 0
|
|
1421
|
+
end
|
|
1422
|
+
alias_method :beginning_of_line, :ed_move_to_beg
|
|
1423
|
+
|
|
1424
|
+
private def vi_zero(key)
|
|
1425
|
+
if @vi_arg
|
|
1426
|
+
ed_argument_digit(key)
|
|
1427
|
+
else
|
|
1428
|
+
ed_move_to_beg(key)
|
|
1429
|
+
end
|
|
1430
|
+
end
|
|
1431
|
+
|
|
1432
|
+
private def ed_move_to_end(key)
|
|
1433
|
+
@byte_pointer = current_line.bytesize
|
|
1434
|
+
end
|
|
1435
|
+
alias_method :end_of_line, :ed_move_to_end
|
|
1436
|
+
|
|
1437
|
+
private def generate_searcher(direction)
|
|
1438
|
+
search_word = String.new(encoding: encoding)
|
|
1439
|
+
hit_pointer = nil
|
|
1440
|
+
lambda do |key, key_symbol|
|
|
1441
|
+
search_again = false
|
|
1442
|
+
case key_symbol
|
|
1443
|
+
when :em_delete_prev_char, :backward_delete_char
|
|
1444
|
+
grapheme_clusters = search_word.grapheme_clusters
|
|
1445
|
+
if grapheme_clusters.size > 0
|
|
1446
|
+
grapheme_clusters.pop
|
|
1447
|
+
search_word = grapheme_clusters.join
|
|
1448
|
+
end
|
|
1449
|
+
when :reverse_search_history, :vi_search_prev
|
|
1450
|
+
search_again = direction == :reverse
|
|
1451
|
+
direction = :reverse
|
|
1452
|
+
when :forward_search_history, :vi_search_next
|
|
1453
|
+
search_again = direction == :forward
|
|
1454
|
+
direction = :forward
|
|
1455
|
+
else
|
|
1456
|
+
search_word << key
|
|
1457
|
+
end
|
|
1458
|
+
hit = nil
|
|
1459
|
+
if not search_word.empty? and @line_backup_in_history&.include?(search_word)
|
|
1460
|
+
hit_pointer = Reline::HISTORY.size
|
|
1461
|
+
hit = @line_backup_in_history
|
|
1462
|
+
else
|
|
1463
|
+
if search_again
|
|
1464
|
+
if search_word.empty? and Reline.last_incremental_search
|
|
1465
|
+
search_word = Reline.last_incremental_search
|
|
1466
|
+
end
|
|
1467
|
+
if @history_pointer
|
|
1468
|
+
case direction
|
|
1469
|
+
when :reverse
|
|
1470
|
+
history_pointer_base = 0
|
|
1471
|
+
history = Reline::HISTORY[0..(@history_pointer - 1)]
|
|
1472
|
+
when :forward
|
|
1473
|
+
history_pointer_base = @history_pointer + 1
|
|
1474
|
+
history = Reline::HISTORY[(@history_pointer + 1)..-1]
|
|
1475
|
+
end
|
|
1476
|
+
else
|
|
1477
|
+
history_pointer_base = 0
|
|
1478
|
+
history = Reline::HISTORY
|
|
1479
|
+
end
|
|
1480
|
+
elsif @history_pointer
|
|
1481
|
+
case direction
|
|
1482
|
+
when :reverse
|
|
1483
|
+
history_pointer_base = 0
|
|
1484
|
+
history = Reline::HISTORY[0..@history_pointer]
|
|
1485
|
+
when :forward
|
|
1486
|
+
history_pointer_base = @history_pointer
|
|
1487
|
+
history = Reline::HISTORY[@history_pointer..-1]
|
|
1488
|
+
end
|
|
1489
|
+
else
|
|
1490
|
+
history_pointer_base = 0
|
|
1491
|
+
history = Reline::HISTORY
|
|
1492
|
+
end
|
|
1493
|
+
case direction
|
|
1494
|
+
when :reverse
|
|
1495
|
+
hit_index = history.rindex { |item|
|
|
1496
|
+
item.include?(search_word)
|
|
1497
|
+
}
|
|
1498
|
+
when :forward
|
|
1499
|
+
hit_index = history.index { |item|
|
|
1500
|
+
item.include?(search_word)
|
|
1501
|
+
}
|
|
1502
|
+
end
|
|
1503
|
+
if hit_index
|
|
1504
|
+
hit_pointer = history_pointer_base + hit_index
|
|
1505
|
+
hit = Reline::HISTORY[hit_pointer]
|
|
1506
|
+
end
|
|
1507
|
+
end
|
|
1508
|
+
prompt_name = direction == :forward ? 'i-search' : 'reverse-i-search'
|
|
1509
|
+
prompt_name = "failed #{prompt_name}" unless hit
|
|
1510
|
+
[search_word, prompt_name, hit_pointer]
|
|
1511
|
+
end
|
|
1512
|
+
end
|
|
1513
|
+
|
|
1514
|
+
private def incremental_search_history(direction)
|
|
1515
|
+
backup = @buffer_of_lines.dup, @line_index, @byte_pointer, @history_pointer, @line_backup_in_history
|
|
1516
|
+
searcher = generate_searcher(direction)
|
|
1517
|
+
prompt_name = direction == :forward ? 'i-search' : 'reverse-i-search'
|
|
1518
|
+
@searching_prompt = "(#{prompt_name})`': "
|
|
1519
|
+
termination_keys = ["\C-j"]
|
|
1520
|
+
termination_keys.concat(@config.isearch_terminators.chars) if @config.isearch_terminators
|
|
1521
|
+
accept_key_syms = [:em_delete_prev_char, :backward_delete_char, :vi_search_prev, :vi_search_next, :reverse_search_history, :forward_search_history]
|
|
1522
|
+
@waiting_proc = ->(k, key_symbol) {
|
|
1523
|
+
if k == "\C-g"
|
|
1524
|
+
# cancel search and restore buffer
|
|
1525
|
+
@buffer_of_lines, @line_index, @byte_pointer, @history_pointer, @line_backup_in_history = backup
|
|
1526
|
+
@searching_prompt = nil
|
|
1527
|
+
@waiting_proc = nil
|
|
1528
|
+
elsif !termination_keys.include?(k) && (k.match?(/[[:print:]]/) || accept_key_syms.include?(key_symbol))
|
|
1529
|
+
search_word, prompt_name, hit_pointer = searcher.call(k, key_symbol)
|
|
1530
|
+
Reline.last_incremental_search = search_word
|
|
1531
|
+
@searching_prompt = "(%s)`%s'" % [prompt_name, search_word]
|
|
1532
|
+
@searching_prompt += ': ' unless @is_multiline
|
|
1533
|
+
move_history(hit_pointer, line: :end, cursor: :end) if hit_pointer
|
|
1534
|
+
else
|
|
1535
|
+
# terminaton_keys and other keys will terminalte
|
|
1536
|
+
move_history(@history_pointer, line: :end, cursor: :start)
|
|
1537
|
+
@searching_prompt = nil
|
|
1538
|
+
@waiting_proc = nil
|
|
1539
|
+
end
|
|
1540
|
+
}
|
|
1541
|
+
end
|
|
1542
|
+
|
|
1543
|
+
private def vi_search_prev(key)
|
|
1544
|
+
incremental_search_history(:reverse)
|
|
1545
|
+
end
|
|
1546
|
+
alias_method :reverse_search_history, :vi_search_prev
|
|
1547
|
+
|
|
1548
|
+
private def vi_search_next(key)
|
|
1549
|
+
incremental_search_history(:forward)
|
|
1550
|
+
end
|
|
1551
|
+
alias_method :forward_search_history, :vi_search_next
|
|
1552
|
+
|
|
1553
|
+
private def search_history(prefix, pointer_range)
|
|
1554
|
+
pointer_range.each do |pointer|
|
|
1555
|
+
lines = Reline::HISTORY[pointer].split("\n")
|
|
1556
|
+
lines.each_with_index do |line, index|
|
|
1557
|
+
return [pointer, index] if line.start_with?(prefix)
|
|
1558
|
+
end
|
|
1559
|
+
end
|
|
1560
|
+
nil
|
|
1561
|
+
end
|
|
1562
|
+
|
|
1563
|
+
private def ed_search_prev_history(key, arg: 1)
|
|
1564
|
+
substr = prev_action_state_value(:search_history) == :empty ? '' : current_line.byteslice(0, @byte_pointer)
|
|
1565
|
+
return if @history_pointer == 0
|
|
1566
|
+
return if @history_pointer.nil? && substr.empty? && !current_line.empty?
|
|
1567
|
+
|
|
1568
|
+
history_range = 0...(@history_pointer || Reline::HISTORY.size)
|
|
1569
|
+
h_pointer, line_index = search_history(substr, history_range.reverse_each)
|
|
1570
|
+
return unless h_pointer
|
|
1571
|
+
move_history(h_pointer, line: line_index || :start, cursor: substr.empty? ? :end : @byte_pointer)
|
|
1572
|
+
arg -= 1
|
|
1573
|
+
set_next_action_state(:search_history, :empty) if substr.empty?
|
|
1574
|
+
ed_search_prev_history(key, arg: arg) if arg > 0
|
|
1575
|
+
end
|
|
1576
|
+
alias_method :history_search_backward, :ed_search_prev_history
|
|
1577
|
+
|
|
1578
|
+
private def ed_search_next_history(key, arg: 1)
|
|
1579
|
+
substr = prev_action_state_value(:search_history) == :empty ? '' : current_line.byteslice(0, @byte_pointer)
|
|
1580
|
+
return if @history_pointer.nil?
|
|
1581
|
+
|
|
1582
|
+
history_range = @history_pointer + 1...Reline::HISTORY.size
|
|
1583
|
+
h_pointer, line_index = search_history(substr, history_range)
|
|
1584
|
+
return if h_pointer.nil? and not substr.empty?
|
|
1585
|
+
|
|
1586
|
+
move_history(h_pointer, line: line_index || :start, cursor: substr.empty? ? :end : @byte_pointer)
|
|
1587
|
+
arg -= 1
|
|
1588
|
+
set_next_action_state(:search_history, :empty) if substr.empty?
|
|
1589
|
+
ed_search_next_history(key, arg: arg) if arg > 0
|
|
1590
|
+
end
|
|
1591
|
+
alias_method :history_search_forward, :ed_search_next_history
|
|
1592
|
+
|
|
1593
|
+
private def move_history(history_pointer, line:, cursor:)
|
|
1594
|
+
history_pointer ||= Reline::HISTORY.size
|
|
1595
|
+
return if history_pointer < 0 || history_pointer > Reline::HISTORY.size
|
|
1596
|
+
old_history_pointer = @history_pointer || Reline::HISTORY.size
|
|
1597
|
+
if old_history_pointer == Reline::HISTORY.size
|
|
1598
|
+
@line_backup_in_history = whole_buffer
|
|
1599
|
+
else
|
|
1600
|
+
Reline::HISTORY[old_history_pointer] = whole_buffer
|
|
1601
|
+
end
|
|
1602
|
+
if history_pointer == Reline::HISTORY.size
|
|
1603
|
+
buf = @line_backup_in_history
|
|
1604
|
+
@history_pointer = @line_backup_in_history = nil
|
|
1605
|
+
else
|
|
1606
|
+
buf = Reline::HISTORY[history_pointer]
|
|
1607
|
+
@history_pointer = history_pointer
|
|
1608
|
+
end
|
|
1609
|
+
@buffer_of_lines = buf.split("\n")
|
|
1610
|
+
@buffer_of_lines = [String.new(encoding: encoding)] if @buffer_of_lines.empty?
|
|
1611
|
+
@line_index = line == :start ? 0 : line == :end ? @buffer_of_lines.size - 1 : line
|
|
1612
|
+
@byte_pointer = cursor == :start ? 0 : cursor == :end ? current_line.bytesize : cursor
|
|
1613
|
+
end
|
|
1614
|
+
|
|
1615
|
+
private def ed_prev_history(key, arg: 1)
|
|
1616
|
+
if @line_index > 0
|
|
1617
|
+
cursor = current_byte_pointer_cursor
|
|
1618
|
+
@line_index -= 1
|
|
1619
|
+
calculate_nearest_cursor(cursor)
|
|
1620
|
+
return
|
|
1621
|
+
end
|
|
1622
|
+
move_history(
|
|
1623
|
+
(@history_pointer || Reline::HISTORY.size) - 1,
|
|
1624
|
+
line: :end,
|
|
1625
|
+
cursor: @config.editing_mode_is?(:vi_command) ? :start : :end,
|
|
1626
|
+
)
|
|
1627
|
+
arg -= 1
|
|
1628
|
+
ed_prev_history(key, arg: arg) if arg > 0
|
|
1629
|
+
end
|
|
1630
|
+
alias_method :previous_history, :ed_prev_history
|
|
1631
|
+
|
|
1632
|
+
private def ed_next_history(key, arg: 1)
|
|
1633
|
+
if @line_index < (@buffer_of_lines.size - 1)
|
|
1634
|
+
cursor = current_byte_pointer_cursor
|
|
1635
|
+
@line_index += 1
|
|
1636
|
+
calculate_nearest_cursor(cursor)
|
|
1637
|
+
return
|
|
1638
|
+
end
|
|
1639
|
+
move_history(
|
|
1640
|
+
(@history_pointer || Reline::HISTORY.size) + 1,
|
|
1641
|
+
line: :start,
|
|
1642
|
+
cursor: @config.editing_mode_is?(:vi_command) ? :start : :end,
|
|
1643
|
+
)
|
|
1644
|
+
arg -= 1
|
|
1645
|
+
ed_next_history(key, arg: arg) if arg > 0
|
|
1646
|
+
end
|
|
1647
|
+
alias_method :next_history, :ed_next_history
|
|
1648
|
+
|
|
1649
|
+
private def ed_beginning_of_history(key)
|
|
1650
|
+
move_history(0, line: :end, cursor: :end)
|
|
1651
|
+
end
|
|
1652
|
+
alias_method :beginning_of_history, :ed_beginning_of_history
|
|
1653
|
+
|
|
1654
|
+
private def ed_end_of_history(key)
|
|
1655
|
+
move_history(Reline::HISTORY.size, line: :end, cursor: :end)
|
|
1656
|
+
end
|
|
1657
|
+
alias_method :end_of_history, :ed_end_of_history
|
|
1658
|
+
|
|
1659
|
+
private def ed_newline(key)
|
|
1660
|
+
process_insert(force: true)
|
|
1661
|
+
if @is_multiline
|
|
1662
|
+
if @config.editing_mode_is?(:vi_command)
|
|
1663
|
+
if @line_index < (@buffer_of_lines.size - 1)
|
|
1664
|
+
ed_next_history(key) # means cursor down
|
|
1665
|
+
else
|
|
1666
|
+
# should check confirm_multiline_termination to finish?
|
|
1667
|
+
finish
|
|
1668
|
+
end
|
|
1669
|
+
else
|
|
1670
|
+
if @line_index == @buffer_of_lines.size - 1 && confirm_multiline_termination
|
|
1671
|
+
finish
|
|
1672
|
+
else
|
|
1673
|
+
key_newline(key)
|
|
1674
|
+
end
|
|
1675
|
+
end
|
|
1676
|
+
else
|
|
1677
|
+
finish
|
|
1678
|
+
end
|
|
1679
|
+
end
|
|
1680
|
+
|
|
1681
|
+
private def ed_force_submit(_key)
|
|
1682
|
+
process_insert(force: true)
|
|
1683
|
+
finish
|
|
1684
|
+
end
|
|
1685
|
+
|
|
1686
|
+
private def em_delete_prev_char(key, arg: 1)
|
|
1687
|
+
arg.times do
|
|
1688
|
+
if @byte_pointer == 0 and @line_index > 0
|
|
1689
|
+
@byte_pointer = @buffer_of_lines[@line_index - 1].bytesize
|
|
1690
|
+
@buffer_of_lines[@line_index - 1] += @buffer_of_lines.delete_at(@line_index)
|
|
1691
|
+
@line_index -= 1
|
|
1692
|
+
elsif @byte_pointer > 0
|
|
1693
|
+
byte_size = Reline::Unicode.get_prev_mbchar_size(current_line, @byte_pointer)
|
|
1694
|
+
line, = byteslice!(current_line, @byte_pointer - byte_size, byte_size)
|
|
1695
|
+
set_current_line(line, @byte_pointer - byte_size)
|
|
1696
|
+
end
|
|
1697
|
+
end
|
|
1698
|
+
process_auto_indent
|
|
1699
|
+
end
|
|
1700
|
+
alias_method :backward_delete_char, :em_delete_prev_char
|
|
1701
|
+
|
|
1702
|
+
# Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+,
|
|
1703
|
+
# +Ctrl-U+) + Kill from the cursor to the end of the line.
|
|
1704
|
+
# GNU Readline:: +kill-line+ (+C-k+) Kill the text from point to the end of
|
|
1705
|
+
# the line. With a negative numeric argument, kill backward
|
|
1706
|
+
# from the cursor to the beginning of the current line.
|
|
1707
|
+
private def ed_kill_line(key)
|
|
1708
|
+
if current_line.bytesize > @byte_pointer
|
|
1709
|
+
line, deleted = byteslice!(current_line, @byte_pointer, current_line.bytesize - @byte_pointer)
|
|
1710
|
+
set_current_line(line, line.bytesize)
|
|
1711
|
+
@kill_ring.append(deleted)
|
|
1712
|
+
elsif @byte_pointer == current_line.bytesize and @buffer_of_lines.size > @line_index + 1
|
|
1713
|
+
set_current_line(current_line + @buffer_of_lines.delete_at(@line_index + 1), current_line.bytesize)
|
|
1714
|
+
end
|
|
1715
|
+
end
|
|
1716
|
+
alias_method :kill_line, :ed_kill_line
|
|
1717
|
+
|
|
1718
|
+
# Editline:: +vi_change_to_eol+ (vi command: +C+) + Kill and change from the cursor to the end of the line.
|
|
1719
|
+
private def vi_change_to_eol(key)
|
|
1720
|
+
ed_kill_line(key)
|
|
1721
|
+
|
|
1722
|
+
@config.editing_mode = :vi_insert
|
|
1723
|
+
end
|
|
1724
|
+
|
|
1725
|
+
# Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the
|
|
1726
|
+
# beginning of the edit buffer to the cursor and save it to the
|
|
1727
|
+
# cut buffer.
|
|
1728
|
+
# GNU Readline:: +unix-line-discard+ (+C-u+) Kill backward from the cursor
|
|
1729
|
+
# to the beginning of the current line.
|
|
1730
|
+
private def vi_kill_line_prev(key)
|
|
1731
|
+
if @byte_pointer > 0
|
|
1732
|
+
line, deleted = byteslice!(current_line, 0, @byte_pointer)
|
|
1733
|
+
set_current_line(line, 0)
|
|
1734
|
+
@kill_ring.append(deleted, true)
|
|
1735
|
+
end
|
|
1736
|
+
end
|
|
1737
|
+
alias_method :unix_line_discard, :vi_kill_line_prev
|
|
1738
|
+
|
|
1739
|
+
# Editline:: +em-kill-line+ (not bound) Delete the entire contents of the
|
|
1740
|
+
# edit buffer and save it to the cut buffer. +vi-kill-line-prev+
|
|
1741
|
+
# GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the
|
|
1742
|
+
# current line, no matter where point is.
|
|
1743
|
+
private def em_kill_line(key)
|
|
1744
|
+
if current_line.size > 0
|
|
1745
|
+
@kill_ring.append(current_line.dup, true)
|
|
1746
|
+
set_current_line('', 0)
|
|
1747
|
+
end
|
|
1748
|
+
end
|
|
1749
|
+
alias_method :kill_whole_line, :em_kill_line
|
|
1750
|
+
|
|
1751
|
+
private def em_delete(key)
|
|
1752
|
+
if buffer_empty? and key == "\C-d"
|
|
1753
|
+
@eof = true
|
|
1754
|
+
finish
|
|
1755
|
+
elsif @byte_pointer < current_line.bytesize
|
|
1756
|
+
splitted_last = current_line.byteslice(@byte_pointer, current_line.bytesize)
|
|
1757
|
+
mbchar = splitted_last.grapheme_clusters.first
|
|
1758
|
+
line, = byteslice!(current_line, @byte_pointer, mbchar.bytesize)
|
|
1759
|
+
set_current_line(line)
|
|
1760
|
+
elsif @byte_pointer == current_line.bytesize and @buffer_of_lines.size > @line_index + 1
|
|
1761
|
+
set_current_line(current_line + @buffer_of_lines.delete_at(@line_index + 1), current_line.bytesize)
|
|
1762
|
+
end
|
|
1763
|
+
end
|
|
1764
|
+
alias_method :delete_char, :em_delete
|
|
1765
|
+
|
|
1766
|
+
private def em_delete_or_list(key)
|
|
1767
|
+
if current_line.empty? or @byte_pointer < current_line.bytesize
|
|
1768
|
+
em_delete(key)
|
|
1769
|
+
elsif !@config.autocompletion # show completed list
|
|
1770
|
+
pre, target, post, quote = retrieve_completion_block
|
|
1771
|
+
result = call_completion_proc(pre, target, post, quote)
|
|
1772
|
+
if result.is_a?(Array)
|
|
1773
|
+
candidates = filter_normalize_candidates(target, result)
|
|
1774
|
+
menu(candidates)
|
|
1775
|
+
end
|
|
1776
|
+
end
|
|
1777
|
+
end
|
|
1778
|
+
alias_method :delete_char_or_list, :em_delete_or_list
|
|
1779
|
+
|
|
1780
|
+
private def em_yank(key)
|
|
1781
|
+
yanked = @kill_ring.yank
|
|
1782
|
+
insert_text(yanked) if yanked
|
|
1783
|
+
end
|
|
1784
|
+
alias_method :yank, :em_yank
|
|
1785
|
+
|
|
1786
|
+
private def em_yank_pop(key)
|
|
1787
|
+
yanked, prev_yank = @kill_ring.yank_pop
|
|
1788
|
+
if yanked
|
|
1789
|
+
line, = byteslice!(current_line, @byte_pointer - prev_yank.bytesize, prev_yank.bytesize)
|
|
1790
|
+
set_current_line(line, @byte_pointer - prev_yank.bytesize)
|
|
1791
|
+
insert_text(yanked)
|
|
1792
|
+
end
|
|
1793
|
+
end
|
|
1794
|
+
alias_method :yank_pop, :em_yank_pop
|
|
1795
|
+
|
|
1796
|
+
private def ed_clear_screen(key)
|
|
1797
|
+
Reline::IOGate.clear_screen
|
|
1798
|
+
@screen_size = Reline::IOGate.get_screen_size
|
|
1799
|
+
@rendered_screen.base_y = 0
|
|
1800
|
+
clear_rendered_screen_cache
|
|
1801
|
+
end
|
|
1802
|
+
alias_method :clear_screen, :ed_clear_screen
|
|
1803
|
+
|
|
1804
|
+
private def em_next_word(key)
|
|
1805
|
+
if current_line.bytesize > @byte_pointer
|
|
1806
|
+
byte_size = Reline::Unicode.em_forward_word(current_line, @byte_pointer)
|
|
1807
|
+
@byte_pointer += byte_size
|
|
1808
|
+
end
|
|
1809
|
+
end
|
|
1810
|
+
alias_method :forward_word, :em_next_word
|
|
1811
|
+
|
|
1812
|
+
private def ed_prev_word(key)
|
|
1813
|
+
if @byte_pointer > 0
|
|
1814
|
+
byte_size = Reline::Unicode.em_backward_word(current_line, @byte_pointer)
|
|
1815
|
+
@byte_pointer -= byte_size
|
|
1816
|
+
end
|
|
1817
|
+
end
|
|
1818
|
+
alias_method :backward_word, :ed_prev_word
|
|
1819
|
+
|
|
1820
|
+
private def em_delete_next_word(key)
|
|
1821
|
+
if current_line.bytesize > @byte_pointer
|
|
1822
|
+
byte_size = Reline::Unicode.em_forward_word(current_line, @byte_pointer)
|
|
1823
|
+
line, word = byteslice!(current_line, @byte_pointer, byte_size)
|
|
1824
|
+
set_current_line(line)
|
|
1825
|
+
@kill_ring.append(word)
|
|
1826
|
+
end
|
|
1827
|
+
end
|
|
1828
|
+
alias_method :kill_word, :em_delete_next_word
|
|
1829
|
+
|
|
1830
|
+
private def ed_delete_prev_word(key)
|
|
1831
|
+
if @byte_pointer > 0
|
|
1832
|
+
byte_size = Reline::Unicode.em_backward_word(current_line, @byte_pointer)
|
|
1833
|
+
line, word = byteslice!(current_line, @byte_pointer - byte_size, byte_size)
|
|
1834
|
+
set_current_line(line, @byte_pointer - byte_size)
|
|
1835
|
+
@kill_ring.append(word, true)
|
|
1836
|
+
end
|
|
1837
|
+
end
|
|
1838
|
+
alias_method :backward_kill_word, :ed_delete_prev_word
|
|
1839
|
+
|
|
1840
|
+
private def ed_transpose_chars(key)
|
|
1841
|
+
if @byte_pointer > 0
|
|
1842
|
+
if @byte_pointer < current_line.bytesize
|
|
1843
|
+
byte_size = Reline::Unicode.get_next_mbchar_size(current_line, @byte_pointer)
|
|
1844
|
+
@byte_pointer += byte_size
|
|
1845
|
+
end
|
|
1846
|
+
back1_byte_size = Reline::Unicode.get_prev_mbchar_size(current_line, @byte_pointer)
|
|
1847
|
+
if (@byte_pointer - back1_byte_size) > 0
|
|
1848
|
+
back2_byte_size = Reline::Unicode.get_prev_mbchar_size(current_line, @byte_pointer - back1_byte_size)
|
|
1849
|
+
back2_pointer = @byte_pointer - back1_byte_size - back2_byte_size
|
|
1850
|
+
line, back2_mbchar = byteslice!(current_line, back2_pointer, back2_byte_size)
|
|
1851
|
+
set_current_line(byteinsert(line, @byte_pointer - back2_byte_size, back2_mbchar))
|
|
1852
|
+
end
|
|
1853
|
+
end
|
|
1854
|
+
end
|
|
1855
|
+
alias_method :transpose_chars, :ed_transpose_chars
|
|
1856
|
+
|
|
1857
|
+
private def ed_transpose_words(key)
|
|
1858
|
+
left_word_start, middle_start, right_word_start, after_start = Reline::Unicode.ed_transpose_words(current_line, @byte_pointer)
|
|
1859
|
+
before = current_line.byteslice(0, left_word_start)
|
|
1860
|
+
left_word = current_line.byteslice(left_word_start, middle_start - left_word_start)
|
|
1861
|
+
middle = current_line.byteslice(middle_start, right_word_start - middle_start)
|
|
1862
|
+
right_word = current_line.byteslice(right_word_start, after_start - right_word_start)
|
|
1863
|
+
after = current_line.byteslice(after_start, current_line.bytesize - after_start)
|
|
1864
|
+
return if left_word.empty? or right_word.empty?
|
|
1865
|
+
from_head_to_left_word = before + right_word + middle + left_word
|
|
1866
|
+
set_current_line(from_head_to_left_word + after, from_head_to_left_word.bytesize)
|
|
1867
|
+
end
|
|
1868
|
+
alias_method :transpose_words, :ed_transpose_words
|
|
1869
|
+
|
|
1870
|
+
private def em_capitol_case(key)
|
|
1871
|
+
if current_line.bytesize > @byte_pointer
|
|
1872
|
+
byte_size, new_str = Reline::Unicode.em_forward_word_with_capitalization(current_line, @byte_pointer)
|
|
1873
|
+
before = current_line.byteslice(0, @byte_pointer)
|
|
1874
|
+
after = current_line.byteslice((@byte_pointer + byte_size)..-1)
|
|
1875
|
+
set_current_line(before + new_str + after, @byte_pointer + new_str.bytesize)
|
|
1876
|
+
end
|
|
1877
|
+
end
|
|
1878
|
+
alias_method :capitalize_word, :em_capitol_case
|
|
1879
|
+
|
|
1880
|
+
private def em_lower_case(key)
|
|
1881
|
+
if current_line.bytesize > @byte_pointer
|
|
1882
|
+
byte_size = Reline::Unicode.em_forward_word(current_line, @byte_pointer)
|
|
1883
|
+
part = current_line.byteslice(@byte_pointer, byte_size).grapheme_clusters.map { |mbchar|
|
|
1884
|
+
mbchar =~ /[A-Z]/ ? mbchar.downcase : mbchar
|
|
1885
|
+
}.join
|
|
1886
|
+
rest = current_line.byteslice((@byte_pointer + byte_size)..-1)
|
|
1887
|
+
line = current_line.byteslice(0, @byte_pointer) + part
|
|
1888
|
+
set_current_line(line + rest, line.bytesize)
|
|
1889
|
+
end
|
|
1890
|
+
end
|
|
1891
|
+
alias_method :downcase_word, :em_lower_case
|
|
1892
|
+
|
|
1893
|
+
private def em_upper_case(key)
|
|
1894
|
+
if current_line.bytesize > @byte_pointer
|
|
1895
|
+
byte_size = Reline::Unicode.em_forward_word(current_line, @byte_pointer)
|
|
1896
|
+
part = current_line.byteslice(@byte_pointer, byte_size).grapheme_clusters.map { |mbchar|
|
|
1897
|
+
mbchar =~ /[a-z]/ ? mbchar.upcase : mbchar
|
|
1898
|
+
}.join
|
|
1899
|
+
rest = current_line.byteslice((@byte_pointer + byte_size)..-1)
|
|
1900
|
+
line = current_line.byteslice(0, @byte_pointer) + part
|
|
1901
|
+
set_current_line(line + rest, line.bytesize)
|
|
1902
|
+
end
|
|
1903
|
+
end
|
|
1904
|
+
alias_method :upcase_word, :em_upper_case
|
|
1905
|
+
|
|
1906
|
+
private def em_kill_region(key)
|
|
1907
|
+
if @byte_pointer > 0
|
|
1908
|
+
byte_size = Reline::Unicode.em_big_backward_word(current_line, @byte_pointer)
|
|
1909
|
+
line, deleted = byteslice!(current_line, @byte_pointer - byte_size, byte_size)
|
|
1910
|
+
set_current_line(line, @byte_pointer - byte_size)
|
|
1911
|
+
@kill_ring.append(deleted, true)
|
|
1912
|
+
end
|
|
1913
|
+
end
|
|
1914
|
+
alias_method :unix_word_rubout, :em_kill_region
|
|
1915
|
+
|
|
1916
|
+
private def copy_for_vi(text)
|
|
1917
|
+
if @config.editing_mode_is?(:vi_insert) or @config.editing_mode_is?(:vi_command)
|
|
1918
|
+
@vi_clipboard = text
|
|
1919
|
+
end
|
|
1920
|
+
end
|
|
1921
|
+
|
|
1922
|
+
private def vi_insert(key)
|
|
1923
|
+
@config.editing_mode = :vi_insert
|
|
1924
|
+
end
|
|
1925
|
+
|
|
1926
|
+
private def vi_add(key)
|
|
1927
|
+
@config.editing_mode = :vi_insert
|
|
1928
|
+
ed_next_char(key)
|
|
1929
|
+
end
|
|
1930
|
+
|
|
1931
|
+
private def vi_command_mode(key)
|
|
1932
|
+
ed_prev_char(key)
|
|
1933
|
+
@config.editing_mode = :vi_command
|
|
1934
|
+
end
|
|
1935
|
+
alias_method :vi_movement_mode, :vi_command_mode
|
|
1936
|
+
|
|
1937
|
+
private def vi_next_word(key, arg: 1)
|
|
1938
|
+
if current_line.bytesize > @byte_pointer
|
|
1939
|
+
byte_size = Reline::Unicode.vi_forward_word(current_line, @byte_pointer, @drop_terminate_spaces)
|
|
1940
|
+
@byte_pointer += byte_size
|
|
1941
|
+
end
|
|
1942
|
+
arg -= 1
|
|
1943
|
+
vi_next_word(key, arg: arg) if arg > 0
|
|
1944
|
+
end
|
|
1945
|
+
|
|
1946
|
+
private def vi_prev_word(key, arg: 1)
|
|
1947
|
+
if @byte_pointer > 0
|
|
1948
|
+
byte_size = Reline::Unicode.vi_backward_word(current_line, @byte_pointer)
|
|
1949
|
+
@byte_pointer -= byte_size
|
|
1950
|
+
end
|
|
1951
|
+
arg -= 1
|
|
1952
|
+
vi_prev_word(key, arg: arg) if arg > 0
|
|
1953
|
+
end
|
|
1954
|
+
|
|
1955
|
+
private def vi_end_word(key, arg: 1, inclusive: false)
|
|
1956
|
+
if current_line.bytesize > @byte_pointer
|
|
1957
|
+
byte_size = Reline::Unicode.vi_forward_end_word(current_line, @byte_pointer)
|
|
1958
|
+
@byte_pointer += byte_size
|
|
1959
|
+
end
|
|
1960
|
+
arg -= 1
|
|
1961
|
+
if inclusive and arg.zero?
|
|
1962
|
+
byte_size = Reline::Unicode.get_next_mbchar_size(current_line, @byte_pointer)
|
|
1963
|
+
if byte_size > 0
|
|
1964
|
+
@byte_pointer += byte_size
|
|
1965
|
+
end
|
|
1966
|
+
end
|
|
1967
|
+
vi_end_word(key, arg: arg) if arg > 0
|
|
1968
|
+
end
|
|
1969
|
+
|
|
1970
|
+
private def vi_next_big_word(key, arg: 1)
|
|
1971
|
+
if current_line.bytesize > @byte_pointer
|
|
1972
|
+
byte_size = Reline::Unicode.vi_big_forward_word(current_line, @byte_pointer)
|
|
1973
|
+
@byte_pointer += byte_size
|
|
1974
|
+
end
|
|
1975
|
+
arg -= 1
|
|
1976
|
+
vi_next_big_word(key, arg: arg) if arg > 0
|
|
1977
|
+
end
|
|
1978
|
+
|
|
1979
|
+
private def vi_prev_big_word(key, arg: 1)
|
|
1980
|
+
if @byte_pointer > 0
|
|
1981
|
+
byte_size = Reline::Unicode.vi_big_backward_word(current_line, @byte_pointer)
|
|
1982
|
+
@byte_pointer -= byte_size
|
|
1983
|
+
end
|
|
1984
|
+
arg -= 1
|
|
1985
|
+
vi_prev_big_word(key, arg: arg) if arg > 0
|
|
1986
|
+
end
|
|
1987
|
+
|
|
1988
|
+
private def vi_end_big_word(key, arg: 1, inclusive: false)
|
|
1989
|
+
if current_line.bytesize > @byte_pointer
|
|
1990
|
+
byte_size = Reline::Unicode.vi_big_forward_end_word(current_line, @byte_pointer)
|
|
1991
|
+
@byte_pointer += byte_size
|
|
1992
|
+
end
|
|
1993
|
+
arg -= 1
|
|
1994
|
+
if inclusive and arg.zero?
|
|
1995
|
+
byte_size = Reline::Unicode.get_next_mbchar_size(current_line, @byte_pointer)
|
|
1996
|
+
if byte_size > 0
|
|
1997
|
+
@byte_pointer += byte_size
|
|
1998
|
+
end
|
|
1999
|
+
end
|
|
2000
|
+
vi_end_big_word(key, arg: arg) if arg > 0
|
|
2001
|
+
end
|
|
2002
|
+
|
|
2003
|
+
private def vi_delete_prev_char(key)
|
|
2004
|
+
if @byte_pointer == 0 and @line_index > 0
|
|
2005
|
+
@byte_pointer = @buffer_of_lines[@line_index - 1].bytesize
|
|
2006
|
+
@buffer_of_lines[@line_index - 1] += @buffer_of_lines.delete_at(@line_index)
|
|
2007
|
+
@line_index -= 1
|
|
2008
|
+
process_auto_indent cursor_dependent: false
|
|
2009
|
+
elsif @byte_pointer > 0
|
|
2010
|
+
byte_size = Reline::Unicode.get_prev_mbchar_size(current_line, @byte_pointer)
|
|
2011
|
+
@byte_pointer -= byte_size
|
|
2012
|
+
line, _ = byteslice!(current_line, @byte_pointer, byte_size)
|
|
2013
|
+
set_current_line(line)
|
|
2014
|
+
end
|
|
2015
|
+
end
|
|
2016
|
+
|
|
2017
|
+
private def vi_insert_at_bol(key)
|
|
2018
|
+
ed_move_to_beg(key)
|
|
2019
|
+
@config.editing_mode = :vi_insert
|
|
2020
|
+
end
|
|
2021
|
+
|
|
2022
|
+
private def vi_add_at_eol(key)
|
|
2023
|
+
ed_move_to_end(key)
|
|
2024
|
+
@config.editing_mode = :vi_insert
|
|
2025
|
+
end
|
|
2026
|
+
|
|
2027
|
+
private def ed_delete_prev_char(key, arg: 1)
|
|
2028
|
+
deleted = +''
|
|
2029
|
+
arg.times do
|
|
2030
|
+
if @byte_pointer > 0
|
|
2031
|
+
byte_size = Reline::Unicode.get_prev_mbchar_size(current_line, @byte_pointer)
|
|
2032
|
+
@byte_pointer -= byte_size
|
|
2033
|
+
line, mbchar = byteslice!(current_line, @byte_pointer, byte_size)
|
|
2034
|
+
set_current_line(line)
|
|
2035
|
+
deleted.prepend(mbchar)
|
|
2036
|
+
end
|
|
2037
|
+
end
|
|
2038
|
+
copy_for_vi(deleted)
|
|
2039
|
+
end
|
|
2040
|
+
|
|
2041
|
+
private def vi_change_meta(key, arg: nil)
|
|
2042
|
+
if @vi_waiting_operator
|
|
2043
|
+
set_current_line('', 0) if @vi_waiting_operator == :vi_change_meta_confirm && arg.nil?
|
|
2044
|
+
@vi_waiting_operator = nil
|
|
2045
|
+
@vi_waiting_operator_arg = nil
|
|
2046
|
+
else
|
|
2047
|
+
@drop_terminate_spaces = true
|
|
2048
|
+
@vi_waiting_operator = :vi_change_meta_confirm
|
|
2049
|
+
@vi_waiting_operator_arg = arg || 1
|
|
2050
|
+
end
|
|
2051
|
+
end
|
|
2052
|
+
|
|
2053
|
+
private def vi_change_meta_confirm(byte_pointer_diff)
|
|
2054
|
+
vi_delete_meta_confirm(byte_pointer_diff)
|
|
2055
|
+
@config.editing_mode = :vi_insert
|
|
2056
|
+
@drop_terminate_spaces = false
|
|
2057
|
+
end
|
|
2058
|
+
|
|
2059
|
+
private def vi_delete_meta(key, arg: nil)
|
|
2060
|
+
if @vi_waiting_operator
|
|
2061
|
+
set_current_line('', 0) if @vi_waiting_operator == :vi_delete_meta_confirm && arg.nil?
|
|
2062
|
+
@vi_waiting_operator = nil
|
|
2063
|
+
@vi_waiting_operator_arg = nil
|
|
2064
|
+
else
|
|
2065
|
+
@vi_waiting_operator = :vi_delete_meta_confirm
|
|
2066
|
+
@vi_waiting_operator_arg = arg || 1
|
|
2067
|
+
end
|
|
2068
|
+
end
|
|
2069
|
+
|
|
2070
|
+
private def vi_delete_meta_confirm(byte_pointer_diff)
|
|
2071
|
+
if byte_pointer_diff > 0
|
|
2072
|
+
line, cut = byteslice!(current_line, @byte_pointer, byte_pointer_diff)
|
|
2073
|
+
elsif byte_pointer_diff < 0
|
|
2074
|
+
line, cut = byteslice!(current_line, @byte_pointer + byte_pointer_diff, -byte_pointer_diff)
|
|
2075
|
+
else
|
|
2076
|
+
return
|
|
2077
|
+
end
|
|
2078
|
+
copy_for_vi(cut)
|
|
2079
|
+
set_current_line(line, @byte_pointer + (byte_pointer_diff < 0 ? byte_pointer_diff : 0))
|
|
2080
|
+
end
|
|
2081
|
+
|
|
2082
|
+
private def vi_yank(key, arg: nil)
|
|
2083
|
+
if @vi_waiting_operator
|
|
2084
|
+
copy_for_vi(current_line) if @vi_waiting_operator == :vi_yank_confirm && arg.nil?
|
|
2085
|
+
@vi_waiting_operator = nil
|
|
2086
|
+
@vi_waiting_operator_arg = nil
|
|
2087
|
+
else
|
|
2088
|
+
@vi_waiting_operator = :vi_yank_confirm
|
|
2089
|
+
@vi_waiting_operator_arg = arg || 1
|
|
2090
|
+
end
|
|
2091
|
+
end
|
|
2092
|
+
|
|
2093
|
+
private def vi_yank_confirm(byte_pointer_diff)
|
|
2094
|
+
if byte_pointer_diff > 0
|
|
2095
|
+
cut = current_line.byteslice(@byte_pointer, byte_pointer_diff)
|
|
2096
|
+
elsif byte_pointer_diff < 0
|
|
2097
|
+
cut = current_line.byteslice(@byte_pointer + byte_pointer_diff, -byte_pointer_diff)
|
|
2098
|
+
else
|
|
2099
|
+
return
|
|
2100
|
+
end
|
|
2101
|
+
copy_for_vi(cut)
|
|
2102
|
+
end
|
|
2103
|
+
|
|
2104
|
+
private def vi_list_or_eof(key)
|
|
2105
|
+
if buffer_empty?
|
|
2106
|
+
@eof = true
|
|
2107
|
+
finish
|
|
2108
|
+
else
|
|
2109
|
+
ed_newline(key)
|
|
2110
|
+
end
|
|
2111
|
+
end
|
|
2112
|
+
alias_method :vi_end_of_transmission, :vi_list_or_eof
|
|
2113
|
+
alias_method :vi_eof_maybe, :vi_list_or_eof
|
|
2114
|
+
|
|
2115
|
+
private def ed_delete_next_char(key, arg: 1)
|
|
2116
|
+
byte_size = Reline::Unicode.get_next_mbchar_size(current_line, @byte_pointer)
|
|
2117
|
+
unless current_line.empty? || byte_size == 0
|
|
2118
|
+
line, mbchar = byteslice!(current_line, @byte_pointer, byte_size)
|
|
2119
|
+
copy_for_vi(mbchar)
|
|
2120
|
+
if @byte_pointer > 0 && current_line.bytesize == @byte_pointer + byte_size
|
|
2121
|
+
byte_size = Reline::Unicode.get_prev_mbchar_size(line, @byte_pointer)
|
|
2122
|
+
set_current_line(line, @byte_pointer - byte_size)
|
|
2123
|
+
else
|
|
2124
|
+
set_current_line(line, @byte_pointer)
|
|
2125
|
+
end
|
|
2126
|
+
end
|
|
2127
|
+
arg -= 1
|
|
2128
|
+
ed_delete_next_char(key, arg: arg) if arg > 0
|
|
2129
|
+
end
|
|
2130
|
+
|
|
2131
|
+
private def vi_to_history_line(key)
|
|
2132
|
+
if Reline::HISTORY.empty?
|
|
2133
|
+
return
|
|
2134
|
+
end
|
|
2135
|
+
move_history(0, line: :start, cursor: :start)
|
|
2136
|
+
end
|
|
2137
|
+
|
|
2138
|
+
private def vi_histedit(key)
|
|
2139
|
+
path = Tempfile.open { |fp|
|
|
2140
|
+
fp.write whole_lines.join("\n")
|
|
2141
|
+
fp.path
|
|
2142
|
+
}
|
|
2143
|
+
system("#{ENV['EDITOR']} #{path}")
|
|
2144
|
+
@buffer_of_lines = File.read(path).split("\n")
|
|
2145
|
+
@buffer_of_lines = [String.new(encoding: encoding)] if @buffer_of_lines.empty?
|
|
2146
|
+
@line_index = 0
|
|
2147
|
+
finish
|
|
2148
|
+
end
|
|
2149
|
+
|
|
2150
|
+
private def vi_paste_prev(key, arg: 1)
|
|
2151
|
+
if @vi_clipboard.size > 0
|
|
2152
|
+
cursor_point = @vi_clipboard.grapheme_clusters[0..-2].join
|
|
2153
|
+
set_current_line(byteinsert(current_line, @byte_pointer, @vi_clipboard), @byte_pointer + cursor_point.bytesize)
|
|
2154
|
+
end
|
|
2155
|
+
arg -= 1
|
|
2156
|
+
vi_paste_prev(key, arg: arg) if arg > 0
|
|
2157
|
+
end
|
|
2158
|
+
|
|
2159
|
+
private def vi_paste_next(key, arg: 1)
|
|
2160
|
+
if @vi_clipboard.size > 0
|
|
2161
|
+
byte_size = Reline::Unicode.get_next_mbchar_size(current_line, @byte_pointer)
|
|
2162
|
+
line = byteinsert(current_line, @byte_pointer + byte_size, @vi_clipboard)
|
|
2163
|
+
set_current_line(line, @byte_pointer + @vi_clipboard.bytesize)
|
|
2164
|
+
end
|
|
2165
|
+
arg -= 1
|
|
2166
|
+
vi_paste_next(key, arg: arg) if arg > 0
|
|
2167
|
+
end
|
|
2168
|
+
|
|
2169
|
+
private def ed_argument_digit(key)
|
|
2170
|
+
# key is expected to be `ESC digit` or `digit`
|
|
2171
|
+
num = key[/\d/].to_i
|
|
2172
|
+
@vi_arg = (@vi_arg || 0) * 10 + num
|
|
2173
|
+
end
|
|
2174
|
+
|
|
2175
|
+
private def vi_to_column(key, arg: 0)
|
|
2176
|
+
# Implementing behavior of vi, not Readline's vi-mode.
|
|
2177
|
+
@byte_pointer, = current_line.grapheme_clusters.inject([0, 0]) { |(total_byte_size, total_width), gc|
|
|
2178
|
+
mbchar_width = Reline::Unicode.get_mbchar_width(gc)
|
|
2179
|
+
break [total_byte_size, total_width] if (total_width + mbchar_width) >= arg
|
|
2180
|
+
[total_byte_size + gc.bytesize, total_width + mbchar_width]
|
|
2181
|
+
}
|
|
2182
|
+
end
|
|
2183
|
+
|
|
2184
|
+
private def vi_replace_char(key, arg: 1)
|
|
2185
|
+
@waiting_proc = ->(k, _sym) {
|
|
2186
|
+
if arg == 1
|
|
2187
|
+
byte_size = Reline::Unicode.get_next_mbchar_size(current_line, @byte_pointer)
|
|
2188
|
+
before = current_line.byteslice(0, @byte_pointer)
|
|
2189
|
+
remaining_point = @byte_pointer + byte_size
|
|
2190
|
+
after = current_line.byteslice(remaining_point, current_line.bytesize - remaining_point)
|
|
2191
|
+
set_current_line(before + k + after)
|
|
2192
|
+
@waiting_proc = nil
|
|
2193
|
+
elsif arg > 1
|
|
2194
|
+
byte_size = 0
|
|
2195
|
+
arg.times do
|
|
2196
|
+
byte_size += Reline::Unicode.get_next_mbchar_size(current_line, @byte_pointer + byte_size)
|
|
2197
|
+
end
|
|
2198
|
+
before = current_line.byteslice(0, @byte_pointer)
|
|
2199
|
+
remaining_point = @byte_pointer + byte_size
|
|
2200
|
+
after = current_line.byteslice(remaining_point, current_line.bytesize - remaining_point)
|
|
2201
|
+
replaced = k * arg
|
|
2202
|
+
set_current_line(before + replaced + after, @byte_pointer + replaced.bytesize)
|
|
2203
|
+
@waiting_proc = nil
|
|
2204
|
+
end
|
|
2205
|
+
}
|
|
2206
|
+
end
|
|
2207
|
+
|
|
2208
|
+
private def vi_next_char(key, arg: 1, inclusive: false)
|
|
2209
|
+
@waiting_proc = ->(key_for_proc, _sym) { search_next_char(key_for_proc, arg, inclusive: inclusive) }
|
|
2210
|
+
end
|
|
2211
|
+
|
|
2212
|
+
private def vi_to_next_char(key, arg: 1, inclusive: false)
|
|
2213
|
+
@waiting_proc = ->(key_for_proc, _sym) { search_next_char(key_for_proc, arg, need_prev_char: true, inclusive: inclusive) }
|
|
2214
|
+
end
|
|
2215
|
+
|
|
2216
|
+
private def search_next_char(key, arg, need_prev_char: false, inclusive: false)
|
|
2217
|
+
prev_total = nil
|
|
2218
|
+
total = nil
|
|
2219
|
+
found = false
|
|
2220
|
+
current_line.byteslice(@byte_pointer..-1).grapheme_clusters.each do |mbchar|
|
|
2221
|
+
# total has [byte_size, cursor]
|
|
2222
|
+
unless total
|
|
2223
|
+
# skip cursor point
|
|
2224
|
+
width = Reline::Unicode.get_mbchar_width(mbchar)
|
|
2225
|
+
total = [mbchar.bytesize, width]
|
|
2226
|
+
else
|
|
2227
|
+
if key == mbchar
|
|
2228
|
+
arg -= 1
|
|
2229
|
+
if arg.zero?
|
|
2230
|
+
found = true
|
|
2231
|
+
break
|
|
2232
|
+
end
|
|
2233
|
+
end
|
|
2234
|
+
width = Reline::Unicode.get_mbchar_width(mbchar)
|
|
2235
|
+
prev_total = total
|
|
2236
|
+
total = [total.first + mbchar.bytesize, total.last + width]
|
|
2237
|
+
end
|
|
2238
|
+
end
|
|
2239
|
+
if not need_prev_char and found and total
|
|
2240
|
+
byte_size, _ = total
|
|
2241
|
+
@byte_pointer += byte_size
|
|
2242
|
+
elsif need_prev_char and found and prev_total
|
|
2243
|
+
byte_size, _ = prev_total
|
|
2244
|
+
@byte_pointer += byte_size
|
|
2245
|
+
end
|
|
2246
|
+
if inclusive
|
|
2247
|
+
byte_size = Reline::Unicode.get_next_mbchar_size(current_line, @byte_pointer)
|
|
2248
|
+
if byte_size > 0
|
|
2249
|
+
@byte_pointer += byte_size
|
|
2250
|
+
end
|
|
2251
|
+
end
|
|
2252
|
+
@waiting_proc = nil
|
|
2253
|
+
end
|
|
2254
|
+
|
|
2255
|
+
private def vi_prev_char(key, arg: 1)
|
|
2256
|
+
@waiting_proc = ->(key_for_proc, _sym) { search_prev_char(key_for_proc, arg) }
|
|
2257
|
+
end
|
|
2258
|
+
|
|
2259
|
+
private def vi_to_prev_char(key, arg: 1)
|
|
2260
|
+
@waiting_proc = ->(key_for_proc, _sym) { search_prev_char(key_for_proc, arg, true) }
|
|
2261
|
+
end
|
|
2262
|
+
|
|
2263
|
+
private def search_prev_char(key, arg, need_next_char = false)
|
|
2264
|
+
prev_total = nil
|
|
2265
|
+
total = nil
|
|
2266
|
+
found = false
|
|
2267
|
+
current_line.byteslice(0..@byte_pointer).grapheme_clusters.reverse_each do |mbchar|
|
|
2268
|
+
# total has [byte_size, cursor]
|
|
2269
|
+
unless total
|
|
2270
|
+
# skip cursor point
|
|
2271
|
+
width = Reline::Unicode.get_mbchar_width(mbchar)
|
|
2272
|
+
total = [mbchar.bytesize, width]
|
|
2273
|
+
else
|
|
2274
|
+
if key == mbchar
|
|
2275
|
+
arg -= 1
|
|
2276
|
+
if arg.zero?
|
|
2277
|
+
found = true
|
|
2278
|
+
break
|
|
2279
|
+
end
|
|
2280
|
+
end
|
|
2281
|
+
width = Reline::Unicode.get_mbchar_width(mbchar)
|
|
2282
|
+
prev_total = total
|
|
2283
|
+
total = [total.first + mbchar.bytesize, total.last + width]
|
|
2284
|
+
end
|
|
2285
|
+
end
|
|
2286
|
+
if not need_next_char and found and total
|
|
2287
|
+
byte_size, _ = total
|
|
2288
|
+
@byte_pointer -= byte_size
|
|
2289
|
+
elsif need_next_char and found and prev_total
|
|
2290
|
+
byte_size, _ = prev_total
|
|
2291
|
+
@byte_pointer -= byte_size
|
|
2292
|
+
end
|
|
2293
|
+
@waiting_proc = nil
|
|
2294
|
+
end
|
|
2295
|
+
|
|
2296
|
+
private def vi_join_lines(key, arg: 1)
|
|
2297
|
+
if @buffer_of_lines.size > @line_index + 1
|
|
2298
|
+
next_line = @buffer_of_lines.delete_at(@line_index + 1).lstrip
|
|
2299
|
+
set_current_line(current_line + ' ' + next_line, current_line.bytesize)
|
|
2300
|
+
end
|
|
2301
|
+
arg -= 1
|
|
2302
|
+
vi_join_lines(key, arg: arg) if arg > 0
|
|
2303
|
+
end
|
|
2304
|
+
|
|
2305
|
+
private def em_set_mark(key)
|
|
2306
|
+
@mark_pointer = [@byte_pointer, @line_index]
|
|
2307
|
+
end
|
|
2308
|
+
alias_method :set_mark, :em_set_mark
|
|
2309
|
+
|
|
2310
|
+
private def em_exchange_mark(key)
|
|
2311
|
+
return unless @mark_pointer
|
|
2312
|
+
new_pointer = [@byte_pointer, @line_index]
|
|
2313
|
+
@byte_pointer, @line_index = @mark_pointer
|
|
2314
|
+
@mark_pointer = new_pointer
|
|
2315
|
+
end
|
|
2316
|
+
alias_method :exchange_point_and_mark, :em_exchange_mark
|
|
2317
|
+
|
|
2318
|
+
private def emacs_editing_mode(key)
|
|
2319
|
+
@config.editing_mode = :emacs
|
|
2320
|
+
end
|
|
2321
|
+
|
|
2322
|
+
private def vi_editing_mode(key)
|
|
2323
|
+
@config.editing_mode = :vi_insert
|
|
2324
|
+
end
|
|
2325
|
+
|
|
2326
|
+
private def move_undo_redo(direction)
|
|
2327
|
+
@restoring = true
|
|
2328
|
+
return unless (0..@undo_redo_history.size - 1).cover?(@undo_redo_index + direction)
|
|
2329
|
+
|
|
2330
|
+
@undo_redo_index += direction
|
|
2331
|
+
buffer_of_lines, byte_pointer, line_index = @undo_redo_history[@undo_redo_index]
|
|
2332
|
+
@buffer_of_lines = buffer_of_lines.dup
|
|
2333
|
+
@line_index = line_index
|
|
2334
|
+
@byte_pointer = byte_pointer
|
|
2335
|
+
end
|
|
2336
|
+
|
|
2337
|
+
private def undo(_key)
|
|
2338
|
+
move_undo_redo(-1)
|
|
2339
|
+
end
|
|
2340
|
+
|
|
2341
|
+
private def redo(_key)
|
|
2342
|
+
move_undo_redo(+1)
|
|
2343
|
+
end
|
|
2344
|
+
|
|
2345
|
+
private def prev_action_state_value(type)
|
|
2346
|
+
@prev_action_state[0] == type ? @prev_action_state[1] : nil
|
|
2347
|
+
end
|
|
2348
|
+
|
|
2349
|
+
private def set_next_action_state(type, value)
|
|
2350
|
+
@next_action_state = [type, value]
|
|
2351
|
+
end
|
|
2352
|
+
|
|
2353
|
+
private def re_read_init_file(_key)
|
|
2354
|
+
@config.reload
|
|
2355
|
+
end
|
|
2356
|
+
end
|