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,2022 @@
|
|
|
1
|
+
/* -*- c-file-style: "ruby"; indent-tabs-mode: t -*- */
|
|
2
|
+
/*
|
|
3
|
+
* console IO module
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
static const char *const
|
|
7
|
+
IO_CONSOLE_VERSION = "0.8.2";
|
|
8
|
+
|
|
9
|
+
#include "ruby.h"
|
|
10
|
+
#include "ruby/io.h"
|
|
11
|
+
#include "ruby/thread.h"
|
|
12
|
+
|
|
13
|
+
#ifdef HAVE_UNISTD_H
|
|
14
|
+
#include <unistd.h>
|
|
15
|
+
#endif
|
|
16
|
+
#ifdef HAVE_FCNTL_H
|
|
17
|
+
#include <fcntl.h>
|
|
18
|
+
#endif
|
|
19
|
+
#ifdef HAVE_SYS_IOCTL_H
|
|
20
|
+
#include <sys/ioctl.h>
|
|
21
|
+
#endif
|
|
22
|
+
|
|
23
|
+
#if defined HAVE_TERMIOS_H
|
|
24
|
+
# include <termios.h>
|
|
25
|
+
typedef struct termios conmode;
|
|
26
|
+
|
|
27
|
+
static int
|
|
28
|
+
setattr(int fd, conmode *t)
|
|
29
|
+
{
|
|
30
|
+
while (tcsetattr(fd, TCSANOW, t)) {
|
|
31
|
+
if (errno != EINTR) return 0;
|
|
32
|
+
}
|
|
33
|
+
return 1;
|
|
34
|
+
}
|
|
35
|
+
# define getattr(fd, t) (tcgetattr(fd, t) == 0)
|
|
36
|
+
#elif defined HAVE_TERMIO_H
|
|
37
|
+
# include <termio.h>
|
|
38
|
+
typedef struct termio conmode;
|
|
39
|
+
# define setattr(fd, t) (ioctl(fd, TCSETAF, t) == 0)
|
|
40
|
+
# define getattr(fd, t) (ioctl(fd, TCGETA, t) == 0)
|
|
41
|
+
#elif defined HAVE_SGTTY_H
|
|
42
|
+
# include <sgtty.h>
|
|
43
|
+
typedef struct sgttyb conmode;
|
|
44
|
+
# ifdef HAVE_STTY
|
|
45
|
+
# define setattr(fd, t) (stty(fd, t) == 0)
|
|
46
|
+
# else
|
|
47
|
+
# define setattr(fd, t) (ioctl((fd), TIOCSETP, (t)) == 0)
|
|
48
|
+
# endif
|
|
49
|
+
# ifdef HAVE_GTTY
|
|
50
|
+
# define getattr(fd, t) (gtty(fd, t) == 0)
|
|
51
|
+
# else
|
|
52
|
+
# define getattr(fd, t) (ioctl((fd), TIOCGETP, (t)) == 0)
|
|
53
|
+
# endif
|
|
54
|
+
#elif defined _WIN32
|
|
55
|
+
#include <winioctl.h>
|
|
56
|
+
#include <conio.h>
|
|
57
|
+
typedef DWORD conmode;
|
|
58
|
+
|
|
59
|
+
#define LAST_ERROR rb_w32_map_errno(GetLastError())
|
|
60
|
+
#define SET_LAST_ERROR (errno = LAST_ERROR, 0)
|
|
61
|
+
|
|
62
|
+
static int
|
|
63
|
+
setattr(int fd, conmode *t)
|
|
64
|
+
{
|
|
65
|
+
int x = SetConsoleMode((HANDLE)rb_w32_get_osfhandle(fd), *t);
|
|
66
|
+
if (!x) errno = LAST_ERROR;
|
|
67
|
+
return x;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static int
|
|
71
|
+
getattr(int fd, conmode *t)
|
|
72
|
+
{
|
|
73
|
+
int x = GetConsoleMode((HANDLE)rb_w32_get_osfhandle(fd), t);
|
|
74
|
+
if (!x) errno = LAST_ERROR;
|
|
75
|
+
return x;
|
|
76
|
+
}
|
|
77
|
+
#endif
|
|
78
|
+
#ifndef SET_LAST_ERROR
|
|
79
|
+
#define SET_LAST_ERROR (0)
|
|
80
|
+
#endif
|
|
81
|
+
|
|
82
|
+
#define CSI "\x1b\x5b"
|
|
83
|
+
|
|
84
|
+
static ID id_getc, id_close;
|
|
85
|
+
static ID id_gets, id_flush, id_chomp_bang;
|
|
86
|
+
|
|
87
|
+
#ifndef HAVE_RB_INTERNED_STR_CSTR
|
|
88
|
+
# define rb_str_to_interned_str(str) rb_str_freeze(str)
|
|
89
|
+
# define rb_interned_str_cstr(str) rb_str_freeze(rb_usascii_str_new_cstr(str))
|
|
90
|
+
#endif
|
|
91
|
+
|
|
92
|
+
#if defined HAVE_RUBY_FIBER_SCHEDULER_H
|
|
93
|
+
# include "ruby/fiber/scheduler.h"
|
|
94
|
+
#elif defined HAVE_RB_SCHEDULER_TIMEOUT
|
|
95
|
+
extern VALUE rb_scheduler_timeout(struct timeval *timeout);
|
|
96
|
+
# define rb_fiber_scheduler_make_timeout rb_scheduler_timeout
|
|
97
|
+
#endif
|
|
98
|
+
|
|
99
|
+
#ifndef HAVE_RB_IO_DESCRIPTOR
|
|
100
|
+
static int
|
|
101
|
+
io_descriptor_fallback(VALUE io)
|
|
102
|
+
{
|
|
103
|
+
rb_io_t *fptr;
|
|
104
|
+
GetOpenFile(io, fptr);
|
|
105
|
+
return fptr->fd;
|
|
106
|
+
}
|
|
107
|
+
#define rb_io_descriptor io_descriptor_fallback
|
|
108
|
+
#endif
|
|
109
|
+
|
|
110
|
+
#ifndef HAVE_RB_IO_PATH
|
|
111
|
+
static VALUE
|
|
112
|
+
io_path_fallback(VALUE io)
|
|
113
|
+
{
|
|
114
|
+
rb_io_t *fptr;
|
|
115
|
+
GetOpenFile(io, fptr);
|
|
116
|
+
return fptr->pathv;
|
|
117
|
+
}
|
|
118
|
+
#define rb_io_path io_path_fallback
|
|
119
|
+
#endif
|
|
120
|
+
|
|
121
|
+
#ifndef HAVE_RB_IO_GET_WRITE_IO
|
|
122
|
+
static VALUE
|
|
123
|
+
io_get_write_io_fallback(VALUE io)
|
|
124
|
+
{
|
|
125
|
+
rb_io_t *fptr;
|
|
126
|
+
GetOpenFile(io, fptr);
|
|
127
|
+
VALUE wio = fptr->tied_io_for_writing;
|
|
128
|
+
return wio ? wio : io;
|
|
129
|
+
}
|
|
130
|
+
#define rb_io_get_write_io io_get_write_io_fallback
|
|
131
|
+
#endif
|
|
132
|
+
|
|
133
|
+
#ifndef DHAVE_RB_SYSERR_FAIL_STR
|
|
134
|
+
# define rb_syserr_fail_str(e, mesg) rb_exc_raise(rb_syserr_new_str(e, mesg))
|
|
135
|
+
#endif
|
|
136
|
+
|
|
137
|
+
#define sys_fail(io) do { \
|
|
138
|
+
int err = errno; \
|
|
139
|
+
rb_syserr_fail_str(err, rb_io_path(io)); \
|
|
140
|
+
} while (0)
|
|
141
|
+
|
|
142
|
+
#ifndef HAVE_RB_F_SEND
|
|
143
|
+
#ifndef RB_PASS_CALLED_KEYWORDS
|
|
144
|
+
# define rb_funcallv_kw(recv, mid, arg, argv, kw_splat) rb_funcallv(recv, mid, arg, argv)
|
|
145
|
+
#endif
|
|
146
|
+
|
|
147
|
+
static ID id___send__;
|
|
148
|
+
|
|
149
|
+
static VALUE
|
|
150
|
+
rb_f_send(int argc, VALUE *argv, VALUE recv)
|
|
151
|
+
{
|
|
152
|
+
VALUE sym = argv[0];
|
|
153
|
+
ID vid = rb_check_id(&sym);
|
|
154
|
+
if (vid) {
|
|
155
|
+
--argc;
|
|
156
|
+
++argv;
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
vid = id___send__;
|
|
160
|
+
}
|
|
161
|
+
return rb_funcallv_kw(recv, vid, argc, argv, RB_PASS_CALLED_KEYWORDS);
|
|
162
|
+
}
|
|
163
|
+
#endif
|
|
164
|
+
|
|
165
|
+
enum rawmode_opt_ids {
|
|
166
|
+
kwd_min,
|
|
167
|
+
kwd_time,
|
|
168
|
+
kwd_intr,
|
|
169
|
+
rawmode_opt_id_count
|
|
170
|
+
};
|
|
171
|
+
static ID rawmode_opt_ids[rawmode_opt_id_count];
|
|
172
|
+
|
|
173
|
+
typedef struct {
|
|
174
|
+
int vmin;
|
|
175
|
+
int vtime;
|
|
176
|
+
int intr;
|
|
177
|
+
} rawmode_arg_t;
|
|
178
|
+
|
|
179
|
+
#ifndef UNDEF_P
|
|
180
|
+
# define UNDEF_P(obj) ((obj) == Qundef)
|
|
181
|
+
#endif
|
|
182
|
+
#ifndef NIL_OR_UNDEF_P
|
|
183
|
+
# define NIL_OR_UNDEF_P(obj) (NIL_P(obj) || UNDEF_P(obj))
|
|
184
|
+
#endif
|
|
185
|
+
|
|
186
|
+
static rawmode_arg_t *
|
|
187
|
+
rawmode_opt(int *argcp, VALUE *argv, int min_argc, int max_argc, rawmode_arg_t *opts)
|
|
188
|
+
{
|
|
189
|
+
int argc = *argcp;
|
|
190
|
+
rawmode_arg_t *optp = NULL;
|
|
191
|
+
VALUE vopts = Qnil;
|
|
192
|
+
VALUE optvals[rawmode_opt_id_count];
|
|
193
|
+
#ifdef RB_SCAN_ARGS_PASS_CALLED_KEYWORDS
|
|
194
|
+
argc = rb_scan_args(argc, argv, "*:", NULL, &vopts);
|
|
195
|
+
#else
|
|
196
|
+
if (argc > min_argc) {
|
|
197
|
+
vopts = rb_check_hash_type(argv[argc-1]);
|
|
198
|
+
if (!NIL_P(vopts)) {
|
|
199
|
+
argv[argc-1] = vopts;
|
|
200
|
+
vopts = rb_extract_keywords(&argv[argc-1]);
|
|
201
|
+
if (!argv[argc-1]) *argcp = --argc;
|
|
202
|
+
if (!vopts) vopts = Qnil;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
#endif
|
|
206
|
+
rb_check_arity(argc, min_argc, max_argc);
|
|
207
|
+
if (rb_get_kwargs(vopts, rawmode_opt_ids,
|
|
208
|
+
0, rawmode_opt_id_count, optvals)) {
|
|
209
|
+
VALUE vmin = optvals[kwd_min];
|
|
210
|
+
VALUE vtime = optvals[kwd_time];
|
|
211
|
+
VALUE intr = optvals[kwd_intr];
|
|
212
|
+
/* default values by `stty raw` */
|
|
213
|
+
opts->vmin = 1;
|
|
214
|
+
opts->vtime = 0;
|
|
215
|
+
opts->intr = 0;
|
|
216
|
+
if (!NIL_OR_UNDEF_P(vmin)) {
|
|
217
|
+
opts->vmin = NUM2INT(vmin);
|
|
218
|
+
optp = opts;
|
|
219
|
+
}
|
|
220
|
+
if (!NIL_OR_UNDEF_P(vtime)) {
|
|
221
|
+
VALUE v10 = INT2FIX(10);
|
|
222
|
+
vtime = rb_funcall3(vtime, '*', 1, &v10);
|
|
223
|
+
opts->vtime = NUM2INT(vtime);
|
|
224
|
+
optp = opts;
|
|
225
|
+
}
|
|
226
|
+
switch (intr) {
|
|
227
|
+
case Qtrue:
|
|
228
|
+
opts->intr = 1;
|
|
229
|
+
optp = opts;
|
|
230
|
+
break;
|
|
231
|
+
case Qfalse:
|
|
232
|
+
opts->intr = 0;
|
|
233
|
+
optp = opts;
|
|
234
|
+
break;
|
|
235
|
+
case Qundef:
|
|
236
|
+
case Qnil:
|
|
237
|
+
break;
|
|
238
|
+
default:
|
|
239
|
+
rb_raise(rb_eArgError, "true or false expected as intr: %"PRIsVALUE,
|
|
240
|
+
intr);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
return optp;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
static void
|
|
247
|
+
set_rawmode(conmode *t, void *arg)
|
|
248
|
+
{
|
|
249
|
+
#ifdef HAVE_CFMAKERAW
|
|
250
|
+
cfmakeraw(t);
|
|
251
|
+
t->c_lflag &= ~(ECHOE|ECHOK);
|
|
252
|
+
#elif defined HAVE_TERMIOS_H || defined HAVE_TERMIO_H
|
|
253
|
+
t->c_iflag &= ~(IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK|ISTRIP|INLCR|IGNCR|ICRNL|IXON|IXOFF|IXANY|IMAXBEL);
|
|
254
|
+
t->c_oflag &= ~OPOST;
|
|
255
|
+
t->c_lflag &= ~(ECHO|ECHOE|ECHOK|ECHONL|ICANON|ISIG|IEXTEN|XCASE);
|
|
256
|
+
t->c_cflag &= ~(CSIZE|PARENB);
|
|
257
|
+
t->c_cflag |= CS8;
|
|
258
|
+
t->c_cc[VMIN] = 1;
|
|
259
|
+
t->c_cc[VTIME] = 0;
|
|
260
|
+
#elif defined HAVE_SGTTY_H
|
|
261
|
+
t->sg_flags &= ~ECHO;
|
|
262
|
+
t->sg_flags |= RAW;
|
|
263
|
+
#elif defined _WIN32
|
|
264
|
+
*t = 0;
|
|
265
|
+
#endif
|
|
266
|
+
if (arg) {
|
|
267
|
+
const rawmode_arg_t *r = arg;
|
|
268
|
+
#ifdef VMIN
|
|
269
|
+
if (r->vmin >= 0) t->c_cc[VMIN] = r->vmin;
|
|
270
|
+
#endif
|
|
271
|
+
#ifdef VTIME
|
|
272
|
+
if (r->vtime >= 0) t->c_cc[VTIME] = r->vtime;
|
|
273
|
+
#endif
|
|
274
|
+
#ifdef ISIG
|
|
275
|
+
if (r->intr) {
|
|
276
|
+
t->c_iflag |= BRKINT;
|
|
277
|
+
t->c_lflag |= ISIG;
|
|
278
|
+
t->c_oflag |= OPOST;
|
|
279
|
+
}
|
|
280
|
+
#endif
|
|
281
|
+
(void)r;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
static void
|
|
286
|
+
set_cookedmode(conmode *t, void *arg)
|
|
287
|
+
{
|
|
288
|
+
#if defined HAVE_TERMIOS_H || defined HAVE_TERMIO_H
|
|
289
|
+
t->c_iflag |= (BRKINT|ISTRIP|ICRNL|IXON);
|
|
290
|
+
t->c_oflag |= OPOST;
|
|
291
|
+
t->c_lflag |= (ECHO|ECHOE|ECHOK|ECHONL|ICANON|ISIG|IEXTEN);
|
|
292
|
+
#elif defined HAVE_SGTTY_H
|
|
293
|
+
t->sg_flags |= ECHO;
|
|
294
|
+
t->sg_flags &= ~RAW;
|
|
295
|
+
#elif defined _WIN32
|
|
296
|
+
*t |= ENABLE_ECHO_INPUT|ENABLE_LINE_INPUT|ENABLE_PROCESSED_INPUT;
|
|
297
|
+
#endif
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
static void
|
|
301
|
+
set_noecho(conmode *t, void *arg)
|
|
302
|
+
{
|
|
303
|
+
#if defined HAVE_TERMIOS_H || defined HAVE_TERMIO_H
|
|
304
|
+
t->c_lflag &= ~(ECHO | ECHOE | ECHOK | ECHONL);
|
|
305
|
+
#elif defined HAVE_SGTTY_H
|
|
306
|
+
t->sg_flags &= ~ECHO;
|
|
307
|
+
#elif defined _WIN32
|
|
308
|
+
*t &= ~ENABLE_ECHO_INPUT;
|
|
309
|
+
#endif
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
static void
|
|
313
|
+
set_echo(conmode *t, void *arg)
|
|
314
|
+
{
|
|
315
|
+
#if defined HAVE_TERMIOS_H || defined HAVE_TERMIO_H
|
|
316
|
+
t->c_lflag |= (ECHO | ECHOE | ECHOK | ECHONL);
|
|
317
|
+
#elif defined HAVE_SGTTY_H
|
|
318
|
+
t->sg_flags |= ECHO;
|
|
319
|
+
#elif defined _WIN32
|
|
320
|
+
*t |= ENABLE_ECHO_INPUT;
|
|
321
|
+
#endif
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
static int
|
|
325
|
+
echo_p(conmode *t)
|
|
326
|
+
{
|
|
327
|
+
#if defined HAVE_TERMIOS_H || defined HAVE_TERMIO_H
|
|
328
|
+
return (t->c_lflag & (ECHO | ECHONL)) != 0;
|
|
329
|
+
#elif defined HAVE_SGTTY_H
|
|
330
|
+
return (t->sg_flags & ECHO) != 0;
|
|
331
|
+
#elif defined _WIN32
|
|
332
|
+
return (*t & ENABLE_ECHO_INPUT) != 0;
|
|
333
|
+
#endif
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
static int
|
|
337
|
+
set_ttymode(int fd, conmode *t, void (*setter)(conmode *, void *), void *arg)
|
|
338
|
+
{
|
|
339
|
+
conmode r;
|
|
340
|
+
if (!getattr(fd, t)) return 0;
|
|
341
|
+
r = *t;
|
|
342
|
+
setter(&r, arg);
|
|
343
|
+
return setattr(fd, &r);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
#define GetReadFD(io) rb_io_descriptor(io)
|
|
347
|
+
#define GetWriteFD(io) rb_io_descriptor(rb_io_get_write_io(io))
|
|
348
|
+
|
|
349
|
+
#define FD_PER_IO 2
|
|
350
|
+
|
|
351
|
+
static VALUE
|
|
352
|
+
ttymode(VALUE io, VALUE (*func)(VALUE), VALUE farg, void (*setter)(conmode *, void *), void *arg)
|
|
353
|
+
{
|
|
354
|
+
int status = -1;
|
|
355
|
+
int error = 0;
|
|
356
|
+
int fd[FD_PER_IO];
|
|
357
|
+
conmode t[FD_PER_IO];
|
|
358
|
+
VALUE result = Qnil;
|
|
359
|
+
|
|
360
|
+
fd[0] = GetReadFD(io);
|
|
361
|
+
if (fd[0] != -1) {
|
|
362
|
+
if (set_ttymode(fd[0], t+0, setter, arg)) {
|
|
363
|
+
status = 0;
|
|
364
|
+
}
|
|
365
|
+
else {
|
|
366
|
+
error = errno;
|
|
367
|
+
fd[0] = -1;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
fd[1] = GetWriteFD(io);
|
|
371
|
+
if (fd[1] != -1 && fd[1] != fd[0]) {
|
|
372
|
+
if (set_ttymode(fd[1], t+1, setter, arg)) {
|
|
373
|
+
status = 0;
|
|
374
|
+
}
|
|
375
|
+
else {
|
|
376
|
+
error = errno;
|
|
377
|
+
fd[1] = -1;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
if (status == 0) {
|
|
381
|
+
result = rb_protect(func, farg, &status);
|
|
382
|
+
}
|
|
383
|
+
if (fd[0] != -1 && fd[0] == GetReadFD(io)) {
|
|
384
|
+
if (!setattr(fd[0], t+0)) {
|
|
385
|
+
error = errno;
|
|
386
|
+
status = -1;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
if (fd[1] != -1 && fd[1] != fd[0] && fd[1] == GetWriteFD(io)) {
|
|
390
|
+
if (!setattr(fd[1], t+1)) {
|
|
391
|
+
error = errno;
|
|
392
|
+
status = -1;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
if (status) {
|
|
396
|
+
if (status == -1) {
|
|
397
|
+
rb_syserr_fail(error, 0);
|
|
398
|
+
}
|
|
399
|
+
rb_jump_tag(status);
|
|
400
|
+
}
|
|
401
|
+
return result;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
#if !defined _WIN32
|
|
405
|
+
struct ttymode_callback_args {
|
|
406
|
+
VALUE (*func)(VALUE, VALUE);
|
|
407
|
+
VALUE io;
|
|
408
|
+
VALUE farg;
|
|
409
|
+
};
|
|
410
|
+
|
|
411
|
+
static VALUE
|
|
412
|
+
ttymode_callback(VALUE args)
|
|
413
|
+
{
|
|
414
|
+
struct ttymode_callback_args *argp = (struct ttymode_callback_args *)args;
|
|
415
|
+
return argp->func(argp->io, argp->farg);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
static VALUE
|
|
419
|
+
ttymode_with_io(VALUE io, VALUE (*func)(VALUE, VALUE), VALUE farg, void (*setter)(conmode *, void *), void *arg)
|
|
420
|
+
{
|
|
421
|
+
struct ttymode_callback_args cargs;
|
|
422
|
+
cargs.func = func;
|
|
423
|
+
cargs.io = io;
|
|
424
|
+
cargs.farg = farg;
|
|
425
|
+
return ttymode(io, ttymode_callback, (VALUE)&cargs, setter, arg);
|
|
426
|
+
}
|
|
427
|
+
#endif
|
|
428
|
+
|
|
429
|
+
/*
|
|
430
|
+
* call-seq:
|
|
431
|
+
* io.raw(min: nil, time: nil, intr: nil) {|io| }
|
|
432
|
+
*
|
|
433
|
+
* Yields +self+ within raw mode, and returns the result of the block.
|
|
434
|
+
*
|
|
435
|
+
* STDIN.raw(&:gets)
|
|
436
|
+
*
|
|
437
|
+
* will read and return a line without echo back and line editing.
|
|
438
|
+
*
|
|
439
|
+
* The parameter +min+ specifies the minimum number of bytes that
|
|
440
|
+
* should be received when a read operation is performed. (default: 1)
|
|
441
|
+
*
|
|
442
|
+
* The parameter +time+ specifies the timeout in _seconds_ with a
|
|
443
|
+
* precision of 1/10 of a second. (default: 0)
|
|
444
|
+
*
|
|
445
|
+
* If the parameter +intr+ is +true+, enables break, interrupt, quit,
|
|
446
|
+
* and suspend special characters.
|
|
447
|
+
*
|
|
448
|
+
* Refer to the manual page of termios for further details.
|
|
449
|
+
*
|
|
450
|
+
* You must require 'io/console' to use this method.
|
|
451
|
+
*/
|
|
452
|
+
static VALUE
|
|
453
|
+
console_raw(int argc, VALUE *argv, VALUE io)
|
|
454
|
+
{
|
|
455
|
+
rawmode_arg_t opts, *optp = rawmode_opt(&argc, argv, 0, 0, &opts);
|
|
456
|
+
return ttymode(io, rb_yield, io, set_rawmode, optp);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/*
|
|
460
|
+
* call-seq:
|
|
461
|
+
* io.raw!(min: nil, time: nil, intr: nil) -> io
|
|
462
|
+
*
|
|
463
|
+
* Enables raw mode, and returns +io+.
|
|
464
|
+
*
|
|
465
|
+
* If the terminal mode needs to be back, use <code>io.raw { ... }</code>.
|
|
466
|
+
*
|
|
467
|
+
* See IO#raw for details on the parameters.
|
|
468
|
+
*
|
|
469
|
+
* You must require 'io/console' to use this method.
|
|
470
|
+
*/
|
|
471
|
+
static VALUE
|
|
472
|
+
console_set_raw(int argc, VALUE *argv, VALUE io)
|
|
473
|
+
{
|
|
474
|
+
conmode t;
|
|
475
|
+
rawmode_arg_t opts, *optp = rawmode_opt(&argc, argv, 0, 0, &opts);
|
|
476
|
+
int fd = GetReadFD(io);
|
|
477
|
+
if (!getattr(fd, &t)) sys_fail(io);
|
|
478
|
+
set_rawmode(&t, optp);
|
|
479
|
+
if (!setattr(fd, &t)) sys_fail(io);
|
|
480
|
+
return io;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
/*
|
|
484
|
+
* call-seq:
|
|
485
|
+
* io.cooked {|io| }
|
|
486
|
+
*
|
|
487
|
+
* Yields +self+ within cooked mode.
|
|
488
|
+
*
|
|
489
|
+
* STDIN.cooked(&:gets)
|
|
490
|
+
*
|
|
491
|
+
* will read and return a line with echo back and line editing.
|
|
492
|
+
*
|
|
493
|
+
* You must require 'io/console' to use this method.
|
|
494
|
+
*/
|
|
495
|
+
static VALUE
|
|
496
|
+
console_cooked(VALUE io)
|
|
497
|
+
{
|
|
498
|
+
return ttymode(io, rb_yield, io, set_cookedmode, NULL);
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/*
|
|
502
|
+
* call-seq:
|
|
503
|
+
* io.cooked!
|
|
504
|
+
*
|
|
505
|
+
* Enables cooked mode.
|
|
506
|
+
*
|
|
507
|
+
* If the terminal mode needs to be back, use io.cooked { ... }.
|
|
508
|
+
*
|
|
509
|
+
* You must require 'io/console' to use this method.
|
|
510
|
+
*/
|
|
511
|
+
static VALUE
|
|
512
|
+
console_set_cooked(VALUE io)
|
|
513
|
+
{
|
|
514
|
+
conmode t;
|
|
515
|
+
int fd = GetReadFD(io);
|
|
516
|
+
if (!getattr(fd, &t)) sys_fail(io);
|
|
517
|
+
set_cookedmode(&t, NULL);
|
|
518
|
+
if (!setattr(fd, &t)) sys_fail(io);
|
|
519
|
+
return io;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
#ifndef _WIN32
|
|
523
|
+
static VALUE
|
|
524
|
+
getc_call(VALUE io)
|
|
525
|
+
{
|
|
526
|
+
return rb_funcallv(io, id_getc, 0, 0);
|
|
527
|
+
}
|
|
528
|
+
#else
|
|
529
|
+
static void *
|
|
530
|
+
nogvl_getch(void *p)
|
|
531
|
+
{
|
|
532
|
+
int len = 0;
|
|
533
|
+
wint_t *buf = p, c = _getwch();
|
|
534
|
+
|
|
535
|
+
switch (c) {
|
|
536
|
+
case WEOF:
|
|
537
|
+
break;
|
|
538
|
+
case 0x00:
|
|
539
|
+
case 0xe0:
|
|
540
|
+
buf[len++] = c;
|
|
541
|
+
c = _getwch();
|
|
542
|
+
/* fall through */
|
|
543
|
+
default:
|
|
544
|
+
buf[len++] = c;
|
|
545
|
+
break;
|
|
546
|
+
}
|
|
547
|
+
return (void *)(VALUE)len;
|
|
548
|
+
}
|
|
549
|
+
#endif
|
|
550
|
+
|
|
551
|
+
/*
|
|
552
|
+
* call-seq:
|
|
553
|
+
* io.getch(min: nil, time: nil, intr: nil) -> char
|
|
554
|
+
*
|
|
555
|
+
* Reads and returns a character in raw mode.
|
|
556
|
+
*
|
|
557
|
+
* See IO#raw for details on the parameters.
|
|
558
|
+
*
|
|
559
|
+
* You must require 'io/console' to use this method.
|
|
560
|
+
*/
|
|
561
|
+
static VALUE
|
|
562
|
+
console_getch(int argc, VALUE *argv, VALUE io)
|
|
563
|
+
{
|
|
564
|
+
rawmode_arg_t opts, *optp = rawmode_opt(&argc, argv, 0, 0, &opts);
|
|
565
|
+
#ifndef _WIN32
|
|
566
|
+
return ttymode(io, getc_call, io, set_rawmode, optp);
|
|
567
|
+
#else
|
|
568
|
+
rb_io_t *fptr;
|
|
569
|
+
VALUE str;
|
|
570
|
+
wint_t c;
|
|
571
|
+
int len;
|
|
572
|
+
char buf[8];
|
|
573
|
+
wint_t wbuf[2];
|
|
574
|
+
# ifndef HAVE_RB_IO_WAIT
|
|
575
|
+
struct timeval *to = NULL, tv;
|
|
576
|
+
# else
|
|
577
|
+
VALUE timeout = Qnil;
|
|
578
|
+
# endif
|
|
579
|
+
|
|
580
|
+
GetOpenFile(io, fptr);
|
|
581
|
+
if (optp) {
|
|
582
|
+
if (optp->vtime) {
|
|
583
|
+
# ifndef HAVE_RB_IO_WAIT
|
|
584
|
+
to = &tv;
|
|
585
|
+
# else
|
|
586
|
+
struct timeval tv;
|
|
587
|
+
# endif
|
|
588
|
+
tv.tv_sec = optp->vtime / 10;
|
|
589
|
+
tv.tv_usec = (optp->vtime % 10) * 100000;
|
|
590
|
+
# ifdef HAVE_RB_IO_WAIT
|
|
591
|
+
timeout = rb_fiber_scheduler_make_timeout(&tv);
|
|
592
|
+
# endif
|
|
593
|
+
}
|
|
594
|
+
switch (optp->vmin) {
|
|
595
|
+
case 1: /* default */
|
|
596
|
+
break;
|
|
597
|
+
case 0: /* return nil when timed out */
|
|
598
|
+
if (optp->vtime) break;
|
|
599
|
+
/* fallthru */
|
|
600
|
+
default:
|
|
601
|
+
rb_warning("min option larger than 1 ignored");
|
|
602
|
+
}
|
|
603
|
+
if (optp->intr) {
|
|
604
|
+
# ifndef HAVE_RB_IO_WAIT
|
|
605
|
+
int w = rb_wait_for_single_fd(fptr->fd, RB_WAITFD_IN, to);
|
|
606
|
+
if (w < 0) rb_eof_error();
|
|
607
|
+
if (!(w & RB_WAITFD_IN)) return Qnil;
|
|
608
|
+
# else
|
|
609
|
+
VALUE result = rb_io_wait(io, RB_INT2NUM(RUBY_IO_READABLE), timeout);
|
|
610
|
+
if (!RTEST(result)) return Qnil;
|
|
611
|
+
# endif
|
|
612
|
+
}
|
|
613
|
+
else if (optp->vtime) {
|
|
614
|
+
rb_warning("Non-zero vtime option ignored if intr flag is unset");
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
len = (int)(VALUE)rb_thread_call_without_gvl(nogvl_getch, wbuf, RUBY_UBF_IO, 0);
|
|
618
|
+
switch (len) {
|
|
619
|
+
case 0:
|
|
620
|
+
return Qnil;
|
|
621
|
+
case 2:
|
|
622
|
+
buf[0] = (char)wbuf[0];
|
|
623
|
+
c = wbuf[1];
|
|
624
|
+
len = 1;
|
|
625
|
+
do {
|
|
626
|
+
buf[len++] = (unsigned char)c;
|
|
627
|
+
} while ((c >>= CHAR_BIT) && len < (int)sizeof(buf));
|
|
628
|
+
return rb_str_new(buf, len);
|
|
629
|
+
default:
|
|
630
|
+
c = wbuf[0];
|
|
631
|
+
len = rb_uv_to_utf8(buf, c);
|
|
632
|
+
str = rb_utf8_str_new(buf, len);
|
|
633
|
+
return rb_str_conv_enc(str, NULL, rb_default_external_encoding());
|
|
634
|
+
}
|
|
635
|
+
#endif
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
/*
|
|
639
|
+
* call-seq:
|
|
640
|
+
* io.noecho {|io| }
|
|
641
|
+
*
|
|
642
|
+
* Yields +self+ with disabling echo back.
|
|
643
|
+
*
|
|
644
|
+
* STDIN.noecho(&:gets)
|
|
645
|
+
*
|
|
646
|
+
* will read and return a line without echo back.
|
|
647
|
+
*
|
|
648
|
+
* You must require 'io/console' to use this method.
|
|
649
|
+
*/
|
|
650
|
+
static VALUE
|
|
651
|
+
console_noecho(VALUE io)
|
|
652
|
+
{
|
|
653
|
+
return ttymode(io, rb_yield, io, set_noecho, NULL);
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
/*
|
|
657
|
+
* call-seq:
|
|
658
|
+
* io.echo = flag
|
|
659
|
+
*
|
|
660
|
+
* Enables/disables echo back.
|
|
661
|
+
* On some platforms, all combinations of this flags and raw/cooked
|
|
662
|
+
* mode may not be valid.
|
|
663
|
+
*
|
|
664
|
+
* You must require 'io/console' to use this method.
|
|
665
|
+
*/
|
|
666
|
+
static VALUE
|
|
667
|
+
console_set_echo(VALUE io, VALUE f)
|
|
668
|
+
{
|
|
669
|
+
conmode t;
|
|
670
|
+
int fd = GetReadFD(io);
|
|
671
|
+
|
|
672
|
+
if (!getattr(fd, &t)) sys_fail(io);
|
|
673
|
+
|
|
674
|
+
if (RTEST(f))
|
|
675
|
+
set_echo(&t, NULL);
|
|
676
|
+
else
|
|
677
|
+
set_noecho(&t, NULL);
|
|
678
|
+
|
|
679
|
+
if (!setattr(fd, &t)) sys_fail(io);
|
|
680
|
+
|
|
681
|
+
return io;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/*
|
|
685
|
+
* call-seq:
|
|
686
|
+
* io.echo? -> true or false
|
|
687
|
+
*
|
|
688
|
+
* Returns +true+ if echo back is enabled.
|
|
689
|
+
*
|
|
690
|
+
* You must require 'io/console' to use this method.
|
|
691
|
+
*/
|
|
692
|
+
static VALUE
|
|
693
|
+
console_echo_p(VALUE io)
|
|
694
|
+
{
|
|
695
|
+
conmode t;
|
|
696
|
+
int fd = GetReadFD(io);
|
|
697
|
+
|
|
698
|
+
if (!getattr(fd, &t)) sys_fail(io);
|
|
699
|
+
return echo_p(&t) ? Qtrue : Qfalse;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
static const rb_data_type_t conmode_type = {
|
|
703
|
+
"console-mode",
|
|
704
|
+
{0, RUBY_TYPED_DEFAULT_FREE,},
|
|
705
|
+
0, 0,
|
|
706
|
+
RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED,
|
|
707
|
+
};
|
|
708
|
+
static VALUE cConmode;
|
|
709
|
+
|
|
710
|
+
static VALUE
|
|
711
|
+
conmode_alloc(VALUE klass)
|
|
712
|
+
{
|
|
713
|
+
return rb_data_typed_object_zalloc(klass, sizeof(conmode), &conmode_type);
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
static VALUE
|
|
717
|
+
conmode_new(VALUE klass, const conmode *t)
|
|
718
|
+
{
|
|
719
|
+
VALUE obj = conmode_alloc(klass);
|
|
720
|
+
*(conmode *)DATA_PTR(obj) = *t;
|
|
721
|
+
return obj;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
static VALUE
|
|
725
|
+
conmode_init_copy(VALUE obj, VALUE obj2)
|
|
726
|
+
{
|
|
727
|
+
conmode *t = rb_check_typeddata(obj, &conmode_type);
|
|
728
|
+
conmode *t2 = rb_check_typeddata(obj2, &conmode_type);
|
|
729
|
+
*t = *t2;
|
|
730
|
+
return obj;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
static VALUE
|
|
734
|
+
conmode_set_echo(VALUE obj, VALUE f)
|
|
735
|
+
{
|
|
736
|
+
conmode *t = rb_check_typeddata(obj, &conmode_type);
|
|
737
|
+
if (RTEST(f))
|
|
738
|
+
set_echo(t, NULL);
|
|
739
|
+
else
|
|
740
|
+
set_noecho(t, NULL);
|
|
741
|
+
return obj;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
static VALUE
|
|
745
|
+
conmode_set_raw(int argc, VALUE *argv, VALUE obj)
|
|
746
|
+
{
|
|
747
|
+
conmode *t = rb_check_typeddata(obj, &conmode_type);
|
|
748
|
+
rawmode_arg_t opts, *optp = rawmode_opt(&argc, argv, 0, 0, &opts);
|
|
749
|
+
|
|
750
|
+
set_rawmode(t, optp);
|
|
751
|
+
return obj;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
static VALUE
|
|
755
|
+
conmode_raw_new(int argc, VALUE *argv, VALUE obj)
|
|
756
|
+
{
|
|
757
|
+
conmode *r = rb_check_typeddata(obj, &conmode_type);
|
|
758
|
+
conmode t = *r;
|
|
759
|
+
rawmode_arg_t opts, *optp = rawmode_opt(&argc, argv, 0, 0, &opts);
|
|
760
|
+
|
|
761
|
+
set_rawmode(&t, optp);
|
|
762
|
+
return conmode_new(rb_obj_class(obj), &t);
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
/*
|
|
766
|
+
* call-seq:
|
|
767
|
+
* io.console_mode -> mode
|
|
768
|
+
*
|
|
769
|
+
* Returns a data represents the current console mode.
|
|
770
|
+
*
|
|
771
|
+
* You must require 'io/console' to use this method.
|
|
772
|
+
*/
|
|
773
|
+
static VALUE
|
|
774
|
+
console_conmode_get(VALUE io)
|
|
775
|
+
{
|
|
776
|
+
conmode t;
|
|
777
|
+
int fd = GetReadFD(io);
|
|
778
|
+
|
|
779
|
+
if (!getattr(fd, &t)) sys_fail(io);
|
|
780
|
+
|
|
781
|
+
return conmode_new(cConmode, &t);
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
/*
|
|
785
|
+
* call-seq:
|
|
786
|
+
* io.console_mode = mode
|
|
787
|
+
*
|
|
788
|
+
* Sets the console mode to +mode+.
|
|
789
|
+
*
|
|
790
|
+
* You must require 'io/console' to use this method.
|
|
791
|
+
*/
|
|
792
|
+
static VALUE
|
|
793
|
+
console_conmode_set(VALUE io, VALUE mode)
|
|
794
|
+
{
|
|
795
|
+
conmode *t, r;
|
|
796
|
+
int fd = GetReadFD(io);
|
|
797
|
+
|
|
798
|
+
TypedData_Get_Struct(mode, conmode, &conmode_type, t);
|
|
799
|
+
r = *t;
|
|
800
|
+
|
|
801
|
+
if (!setattr(fd, &r)) sys_fail(io);
|
|
802
|
+
|
|
803
|
+
return mode;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
#if defined TIOCGWINSZ
|
|
807
|
+
typedef struct winsize rb_console_size_t;
|
|
808
|
+
#define getwinsize(fd, buf) (ioctl((fd), TIOCGWINSZ, (buf)) == 0)
|
|
809
|
+
#define setwinsize(fd, buf) (ioctl((fd), TIOCSWINSZ, (buf)) == 0)
|
|
810
|
+
#define winsize_row(buf) (buf)->ws_row
|
|
811
|
+
#define winsize_col(buf) (buf)->ws_col
|
|
812
|
+
#elif defined _WIN32
|
|
813
|
+
typedef CONSOLE_SCREEN_BUFFER_INFO rb_console_size_t;
|
|
814
|
+
#define getwinsize(fd, buf) ( \
|
|
815
|
+
GetConsoleScreenBufferInfo((HANDLE)rb_w32_get_osfhandle(fd), (buf)) || \
|
|
816
|
+
SET_LAST_ERROR)
|
|
817
|
+
#define winsize_row(buf) ((buf)->srWindow.Bottom - (buf)->srWindow.Top + 1)
|
|
818
|
+
#define winsize_col(buf) (buf)->dwSize.X
|
|
819
|
+
#endif
|
|
820
|
+
|
|
821
|
+
#if defined TIOCGWINSZ || defined _WIN32
|
|
822
|
+
#define USE_CONSOLE_GETSIZE 1
|
|
823
|
+
#endif
|
|
824
|
+
|
|
825
|
+
#ifdef USE_CONSOLE_GETSIZE
|
|
826
|
+
/*
|
|
827
|
+
* call-seq:
|
|
828
|
+
* io.winsize -> [rows, columns]
|
|
829
|
+
*
|
|
830
|
+
* Returns console size.
|
|
831
|
+
*
|
|
832
|
+
* You must require 'io/console' to use this method.
|
|
833
|
+
*/
|
|
834
|
+
static VALUE
|
|
835
|
+
console_winsize(VALUE io)
|
|
836
|
+
{
|
|
837
|
+
rb_console_size_t ws;
|
|
838
|
+
int fd = GetWriteFD(io);
|
|
839
|
+
if (!getwinsize(fd, &ws)) sys_fail(io);
|
|
840
|
+
return rb_assoc_new(INT2NUM(winsize_row(&ws)), INT2NUM(winsize_col(&ws)));
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
static VALUE console_scroll(VALUE io, int line);
|
|
844
|
+
static VALUE console_goto(VALUE io, VALUE y, VALUE x);
|
|
845
|
+
|
|
846
|
+
/*
|
|
847
|
+
* call-seq:
|
|
848
|
+
* io.winsize = [rows, columns]
|
|
849
|
+
*
|
|
850
|
+
* Tries to set console size. The effect depends on the platform and
|
|
851
|
+
* the running environment.
|
|
852
|
+
*
|
|
853
|
+
* You must require 'io/console' to use this method.
|
|
854
|
+
*/
|
|
855
|
+
static VALUE
|
|
856
|
+
console_set_winsize(VALUE io, VALUE size)
|
|
857
|
+
{
|
|
858
|
+
rb_console_size_t ws;
|
|
859
|
+
#if defined _WIN32
|
|
860
|
+
HANDLE wh;
|
|
861
|
+
int newrow, newcol;
|
|
862
|
+
COORD oldsize;
|
|
863
|
+
SMALL_RECT oldwindow;
|
|
864
|
+
BOOL ret;
|
|
865
|
+
#endif
|
|
866
|
+
VALUE row, col, xpixel, ypixel;
|
|
867
|
+
const VALUE *sz;
|
|
868
|
+
long sizelen;
|
|
869
|
+
int fd;
|
|
870
|
+
|
|
871
|
+
size = rb_Array(size);
|
|
872
|
+
if ((sizelen = RARRAY_LEN(size)) != 2 && sizelen != 4) {
|
|
873
|
+
rb_raise(rb_eArgError, "wrong number of arguments (given %ld, expected 2 or 4)", sizelen);
|
|
874
|
+
}
|
|
875
|
+
sz = RARRAY_CONST_PTR(size);
|
|
876
|
+
row = sz[0], col = sz[1], xpixel = ypixel = Qnil;
|
|
877
|
+
if (sizelen == 4) xpixel = sz[2], ypixel = sz[3];
|
|
878
|
+
fd = GetWriteFD(io);
|
|
879
|
+
#if defined TIOCSWINSZ
|
|
880
|
+
ws.ws_row = ws.ws_col = ws.ws_xpixel = ws.ws_ypixel = 0;
|
|
881
|
+
#define SET(m) ws.ws_##m = NIL_P(m) ? 0 : (unsigned short)NUM2UINT(m)
|
|
882
|
+
SET(row);
|
|
883
|
+
SET(col);
|
|
884
|
+
SET(xpixel);
|
|
885
|
+
SET(ypixel);
|
|
886
|
+
#undef SET
|
|
887
|
+
if (!setwinsize(fd, &ws)) sys_fail(io);
|
|
888
|
+
#elif defined _WIN32
|
|
889
|
+
wh = (HANDLE)rb_w32_get_osfhandle(fd);
|
|
890
|
+
#define SET(m) new##m = NIL_P(m) ? 0 : (unsigned short)NUM2UINT(m)
|
|
891
|
+
SET(row);
|
|
892
|
+
SET(col);
|
|
893
|
+
#undef SET
|
|
894
|
+
if (!NIL_P(xpixel)) (void)NUM2UINT(xpixel);
|
|
895
|
+
if (!NIL_P(ypixel)) (void)NUM2UINT(ypixel);
|
|
896
|
+
if (!GetConsoleScreenBufferInfo(wh, &ws)) {
|
|
897
|
+
rb_syserr_fail(LAST_ERROR, "GetConsoleScreenBufferInfo");
|
|
898
|
+
}
|
|
899
|
+
oldsize = ws.dwSize;
|
|
900
|
+
oldwindow = ws.srWindow;
|
|
901
|
+
if (ws.srWindow.Right + 1 < newcol) {
|
|
902
|
+
ws.dwSize.X = newcol;
|
|
903
|
+
}
|
|
904
|
+
if (ws.dwSize.Y < newrow) {
|
|
905
|
+
ws.dwSize.Y = newrow;
|
|
906
|
+
}
|
|
907
|
+
/* expand screen buffer first if needed */
|
|
908
|
+
if (!SetConsoleScreenBufferSize(wh, ws.dwSize)) {
|
|
909
|
+
rb_syserr_fail(LAST_ERROR, "SetConsoleScreenBufferInfo");
|
|
910
|
+
}
|
|
911
|
+
/* refresh ws for new dwMaximumWindowSize */
|
|
912
|
+
if (!GetConsoleScreenBufferInfo(wh, &ws)) {
|
|
913
|
+
rb_syserr_fail(LAST_ERROR, "GetConsoleScreenBufferInfo");
|
|
914
|
+
}
|
|
915
|
+
/* check new size before modifying buffer content */
|
|
916
|
+
if (newrow <= 0 || newcol <= 0 ||
|
|
917
|
+
newrow > ws.dwMaximumWindowSize.Y ||
|
|
918
|
+
newcol > ws.dwMaximumWindowSize.X) {
|
|
919
|
+
SetConsoleScreenBufferSize(wh, oldsize);
|
|
920
|
+
/* remove scrollbar if possible */
|
|
921
|
+
SetConsoleWindowInfo(wh, TRUE, &oldwindow);
|
|
922
|
+
rb_raise(rb_eArgError, "out of range winsize: [%d, %d]", newrow, newcol);
|
|
923
|
+
}
|
|
924
|
+
/* shrink screen buffer width */
|
|
925
|
+
ws.dwSize.X = newcol;
|
|
926
|
+
/* shrink screen buffer height if window height were the same */
|
|
927
|
+
if (oldsize.Y == ws.srWindow.Bottom - ws.srWindow.Top + 1) {
|
|
928
|
+
ws.dwSize.Y = newrow;
|
|
929
|
+
}
|
|
930
|
+
ws.srWindow.Left = 0;
|
|
931
|
+
ws.srWindow.Right = newcol - 1;
|
|
932
|
+
ws.srWindow.Bottom = ws.srWindow.Top + newrow -1;
|
|
933
|
+
if (ws.dwCursorPosition.Y > ws.srWindow.Bottom) {
|
|
934
|
+
console_scroll(io, ws.dwCursorPosition.Y - ws.srWindow.Bottom);
|
|
935
|
+
ws.dwCursorPosition.Y = ws.srWindow.Bottom;
|
|
936
|
+
console_goto(io, INT2FIX(ws.dwCursorPosition.Y), INT2FIX(ws.dwCursorPosition.X));
|
|
937
|
+
}
|
|
938
|
+
if (ws.srWindow.Bottom > ws.dwSize.Y - 1) {
|
|
939
|
+
console_scroll(io, ws.srWindow.Bottom - (ws.dwSize.Y - 1));
|
|
940
|
+
ws.dwCursorPosition.Y -= ws.srWindow.Bottom - (ws.dwSize.Y - 1);
|
|
941
|
+
console_goto(io, INT2FIX(ws.dwCursorPosition.Y), INT2FIX(ws.dwCursorPosition.X));
|
|
942
|
+
ws.srWindow.Bottom = ws.dwSize.Y - 1;
|
|
943
|
+
}
|
|
944
|
+
ws.srWindow.Top = ws.srWindow.Bottom - (newrow - 1);
|
|
945
|
+
/* perform changes to winsize */
|
|
946
|
+
if (!SetConsoleWindowInfo(wh, TRUE, &ws.srWindow)) {
|
|
947
|
+
int last_error = LAST_ERROR;
|
|
948
|
+
SetConsoleScreenBufferSize(wh, oldsize);
|
|
949
|
+
rb_syserr_fail(last_error, "SetConsoleWindowInfo");
|
|
950
|
+
}
|
|
951
|
+
/* perform screen buffer shrinking if necessary */
|
|
952
|
+
if ((ws.dwSize.Y < oldsize.Y || ws.dwSize.X < oldsize.X) &&
|
|
953
|
+
!SetConsoleScreenBufferSize(wh, ws.dwSize)) {
|
|
954
|
+
rb_syserr_fail(LAST_ERROR, "SetConsoleScreenBufferInfo");
|
|
955
|
+
}
|
|
956
|
+
/* remove scrollbar if possible */
|
|
957
|
+
if (!SetConsoleWindowInfo(wh, TRUE, &ws.srWindow)) {
|
|
958
|
+
rb_syserr_fail(LAST_ERROR, "SetConsoleWindowInfo");
|
|
959
|
+
}
|
|
960
|
+
#endif
|
|
961
|
+
return io;
|
|
962
|
+
}
|
|
963
|
+
#endif
|
|
964
|
+
|
|
965
|
+
#ifdef _WIN32
|
|
966
|
+
/*
|
|
967
|
+
* call-seq:
|
|
968
|
+
* io.check_winsize_changed { ... } -> io
|
|
969
|
+
*
|
|
970
|
+
* Yields while console input events are queued.
|
|
971
|
+
*
|
|
972
|
+
* This method is Windows only.
|
|
973
|
+
*
|
|
974
|
+
* You must require 'io/console' to use this method.
|
|
975
|
+
*/
|
|
976
|
+
static VALUE
|
|
977
|
+
console_check_winsize_changed(VALUE io)
|
|
978
|
+
{
|
|
979
|
+
HANDLE h;
|
|
980
|
+
DWORD num;
|
|
981
|
+
|
|
982
|
+
h = (HANDLE)rb_w32_get_osfhandle(GetReadFD(io));
|
|
983
|
+
while (GetNumberOfConsoleInputEvents(h, &num) && num > 0) {
|
|
984
|
+
INPUT_RECORD rec;
|
|
985
|
+
if (ReadConsoleInput(h, &rec, 1, &num)) {
|
|
986
|
+
if (rec.EventType == WINDOW_BUFFER_SIZE_EVENT) {
|
|
987
|
+
rb_yield(Qnil);
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
return io;
|
|
992
|
+
}
|
|
993
|
+
#else
|
|
994
|
+
#define console_check_winsize_changed rb_f_notimplement
|
|
995
|
+
#endif
|
|
996
|
+
|
|
997
|
+
/*
|
|
998
|
+
* call-seq:
|
|
999
|
+
* io.iflush
|
|
1000
|
+
*
|
|
1001
|
+
* Flushes input buffer in kernel.
|
|
1002
|
+
*
|
|
1003
|
+
* You must require 'io/console' to use this method.
|
|
1004
|
+
*/
|
|
1005
|
+
static VALUE
|
|
1006
|
+
console_iflush(VALUE io)
|
|
1007
|
+
{
|
|
1008
|
+
#if defined HAVE_TERMIOS_H || defined HAVE_TERMIO_H
|
|
1009
|
+
int fd = GetReadFD(io);
|
|
1010
|
+
if (tcflush(fd, TCIFLUSH)) sys_fail(io);
|
|
1011
|
+
#endif
|
|
1012
|
+
|
|
1013
|
+
return io;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
/*
|
|
1017
|
+
* call-seq:
|
|
1018
|
+
* io.oflush
|
|
1019
|
+
*
|
|
1020
|
+
* Flushes output buffer in kernel.
|
|
1021
|
+
*
|
|
1022
|
+
* You must require 'io/console' to use this method.
|
|
1023
|
+
*/
|
|
1024
|
+
static VALUE
|
|
1025
|
+
console_oflush(VALUE io)
|
|
1026
|
+
{
|
|
1027
|
+
int fd = GetWriteFD(io);
|
|
1028
|
+
#if defined HAVE_TERMIOS_H || defined HAVE_TERMIO_H
|
|
1029
|
+
if (tcflush(fd, TCOFLUSH)) sys_fail(io);
|
|
1030
|
+
#endif
|
|
1031
|
+
(void)fd;
|
|
1032
|
+
return io;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
/*
|
|
1036
|
+
* call-seq:
|
|
1037
|
+
* io.ioflush
|
|
1038
|
+
*
|
|
1039
|
+
* Flushes input and output buffers in kernel.
|
|
1040
|
+
*
|
|
1041
|
+
* You must require 'io/console' to use this method.
|
|
1042
|
+
*/
|
|
1043
|
+
static VALUE
|
|
1044
|
+
console_ioflush(VALUE io)
|
|
1045
|
+
{
|
|
1046
|
+
#if defined HAVE_TERMIOS_H || defined HAVE_TERMIO_H
|
|
1047
|
+
int fd1 = GetReadFD(io);
|
|
1048
|
+
int fd2 = GetWriteFD(io);
|
|
1049
|
+
|
|
1050
|
+
if (fd2 != -1 && fd1 != fd2) {
|
|
1051
|
+
if (tcflush(fd1, TCIFLUSH)) sys_fail(io);
|
|
1052
|
+
if (tcflush(fd2, TCOFLUSH)) sys_fail(io);
|
|
1053
|
+
}
|
|
1054
|
+
else {
|
|
1055
|
+
if (tcflush(fd1, TCIOFLUSH)) sys_fail(io);
|
|
1056
|
+
}
|
|
1057
|
+
#endif
|
|
1058
|
+
|
|
1059
|
+
return io;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
/*
|
|
1063
|
+
* call-seq:
|
|
1064
|
+
* io.beep
|
|
1065
|
+
*
|
|
1066
|
+
* Beeps on the output console.
|
|
1067
|
+
*
|
|
1068
|
+
* You must require 'io/console' to use this method.
|
|
1069
|
+
*/
|
|
1070
|
+
static VALUE
|
|
1071
|
+
console_beep(VALUE io)
|
|
1072
|
+
{
|
|
1073
|
+
#ifdef _WIN32
|
|
1074
|
+
MessageBeep(0);
|
|
1075
|
+
#else
|
|
1076
|
+
int fd = GetWriteFD(io);
|
|
1077
|
+
if (write(fd, "\a", 1) < 0) sys_fail(io);
|
|
1078
|
+
#endif
|
|
1079
|
+
return io;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
static int
|
|
1083
|
+
mode_in_range(VALUE val, int high, const char *modename)
|
|
1084
|
+
{
|
|
1085
|
+
int mode;
|
|
1086
|
+
if (NIL_P(val)) return 0;
|
|
1087
|
+
if (!RB_INTEGER_TYPE_P(val)) {
|
|
1088
|
+
wrong_value:
|
|
1089
|
+
rb_raise(rb_eArgError, "wrong %s mode: %"PRIsVALUE, modename, val);
|
|
1090
|
+
}
|
|
1091
|
+
if ((mode = NUM2INT(val)) < 0 || mode > high) {
|
|
1092
|
+
goto wrong_value;
|
|
1093
|
+
}
|
|
1094
|
+
return mode;
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
#if defined _WIN32
|
|
1098
|
+
static void
|
|
1099
|
+
constat_clear(HANDLE handle, WORD attr, DWORD len, COORD pos)
|
|
1100
|
+
{
|
|
1101
|
+
DWORD written;
|
|
1102
|
+
|
|
1103
|
+
FillConsoleOutputAttribute(handle, attr, len, pos, &written);
|
|
1104
|
+
FillConsoleOutputCharacterW(handle, L' ', len, pos, &written);
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
static VALUE
|
|
1108
|
+
console_scroll(VALUE io, int line)
|
|
1109
|
+
{
|
|
1110
|
+
HANDLE h;
|
|
1111
|
+
rb_console_size_t ws;
|
|
1112
|
+
|
|
1113
|
+
h = (HANDLE)rb_w32_get_osfhandle(GetWriteFD(io));
|
|
1114
|
+
if (!GetConsoleScreenBufferInfo(h, &ws)) {
|
|
1115
|
+
rb_syserr_fail(LAST_ERROR, 0);
|
|
1116
|
+
}
|
|
1117
|
+
if (line) {
|
|
1118
|
+
SMALL_RECT scroll;
|
|
1119
|
+
COORD destination;
|
|
1120
|
+
CHAR_INFO fill;
|
|
1121
|
+
scroll.Left = 0;
|
|
1122
|
+
scroll.Top = line > 0 ? line : 0;
|
|
1123
|
+
scroll.Right = winsize_col(&ws) - 1;
|
|
1124
|
+
scroll.Bottom = winsize_row(&ws) - 1 + (line < 0 ? line : 0);
|
|
1125
|
+
destination.X = 0;
|
|
1126
|
+
destination.Y = line < 0 ? -line : 0;
|
|
1127
|
+
fill.Char.UnicodeChar = L' ';
|
|
1128
|
+
fill.Attributes = ws.wAttributes;
|
|
1129
|
+
|
|
1130
|
+
ScrollConsoleScreenBuffer(h, &scroll, NULL, destination, &fill);
|
|
1131
|
+
}
|
|
1132
|
+
return io;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
#define GPERF_DOWNCASE 1
|
|
1136
|
+
#define GPERF_CASE_STRCMP 1
|
|
1137
|
+
#define gperf_case_strcmp STRCASECMP
|
|
1138
|
+
#include "win32_vk.inc"
|
|
1139
|
+
|
|
1140
|
+
/*
|
|
1141
|
+
* call-seq:
|
|
1142
|
+
* io.pressed?(key) -> bool
|
|
1143
|
+
*
|
|
1144
|
+
* Returns +true+ if +key+ is pressed. +key+ may be a virtual key
|
|
1145
|
+
* code or its name (String or Symbol) with out "VK_" prefix.
|
|
1146
|
+
*
|
|
1147
|
+
* This method is Windows only.
|
|
1148
|
+
*
|
|
1149
|
+
* You must require 'io/console' to use this method.
|
|
1150
|
+
*/
|
|
1151
|
+
static VALUE
|
|
1152
|
+
console_key_pressed_p(VALUE io, VALUE k)
|
|
1153
|
+
{
|
|
1154
|
+
int vk = -1;
|
|
1155
|
+
|
|
1156
|
+
if (FIXNUM_P(k)) {
|
|
1157
|
+
vk = NUM2UINT(k);
|
|
1158
|
+
}
|
|
1159
|
+
else {
|
|
1160
|
+
const struct vktable *t;
|
|
1161
|
+
const char *kn;
|
|
1162
|
+
if (SYMBOL_P(k)) {
|
|
1163
|
+
k = rb_sym2str(k);
|
|
1164
|
+
kn = RSTRING_PTR(k);
|
|
1165
|
+
}
|
|
1166
|
+
else {
|
|
1167
|
+
kn = StringValuePtr(k);
|
|
1168
|
+
}
|
|
1169
|
+
t = console_win32_vk(kn, RSTRING_LEN(k));
|
|
1170
|
+
if (!t || (vk = (short)t->vk) == -1) {
|
|
1171
|
+
rb_raise(rb_eArgError, "unknown virtual key code: % "PRIsVALUE, k);
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
return GetKeyState(vk) & 0x80 ? Qtrue : Qfalse;
|
|
1175
|
+
}
|
|
1176
|
+
#else
|
|
1177
|
+
struct query_args {
|
|
1178
|
+
char qstr[6];
|
|
1179
|
+
unsigned char opt;
|
|
1180
|
+
};
|
|
1181
|
+
|
|
1182
|
+
static int
|
|
1183
|
+
direct_query(VALUE io, const struct query_args *query)
|
|
1184
|
+
{
|
|
1185
|
+
if (RB_TYPE_P(io, T_FILE)) {
|
|
1186
|
+
VALUE wio = rb_io_get_write_io(io);
|
|
1187
|
+
VALUE s = rb_str_new_cstr(query->qstr);
|
|
1188
|
+
rb_io_write(wio, s);
|
|
1189
|
+
rb_io_flush(wio);
|
|
1190
|
+
return 1;
|
|
1191
|
+
}
|
|
1192
|
+
return 0;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
static VALUE
|
|
1196
|
+
read_vt_response(VALUE io, VALUE query)
|
|
1197
|
+
{
|
|
1198
|
+
struct query_args *qargs = (struct query_args *)query;
|
|
1199
|
+
VALUE result, b;
|
|
1200
|
+
int opt = 0;
|
|
1201
|
+
int num = 0;
|
|
1202
|
+
if (qargs) {
|
|
1203
|
+
opt = qargs->opt;
|
|
1204
|
+
if (!direct_query(io, qargs)) return Qnil;
|
|
1205
|
+
}
|
|
1206
|
+
if (rb_io_getbyte(io) != INT2FIX(0x1b)) return Qnil;
|
|
1207
|
+
if (rb_io_getbyte(io) != INT2FIX('[')) return Qnil;
|
|
1208
|
+
result = rb_ary_new();
|
|
1209
|
+
while (!NIL_P(b = rb_io_getbyte(io))) {
|
|
1210
|
+
int c = NUM2UINT(b);
|
|
1211
|
+
if (c == ';') {
|
|
1212
|
+
rb_ary_push(result, INT2NUM(num));
|
|
1213
|
+
num = 0;
|
|
1214
|
+
}
|
|
1215
|
+
else if (ISDIGIT(c)) {
|
|
1216
|
+
num = num * 10 + c - '0';
|
|
1217
|
+
}
|
|
1218
|
+
else if (opt && c == opt) {
|
|
1219
|
+
opt = 0;
|
|
1220
|
+
}
|
|
1221
|
+
else {
|
|
1222
|
+
char last = (char)c;
|
|
1223
|
+
rb_ary_push(result, INT2NUM(num));
|
|
1224
|
+
b = rb_str_new(&last, 1);
|
|
1225
|
+
break;
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
return rb_ary_push(result, b);
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
static VALUE
|
|
1232
|
+
console_vt_response(int argc, VALUE *argv, VALUE io, const struct query_args *qargs)
|
|
1233
|
+
{
|
|
1234
|
+
rawmode_arg_t opts, *optp = rawmode_opt(&argc, argv, 0, 1, &opts);
|
|
1235
|
+
VALUE query = (VALUE)qargs;
|
|
1236
|
+
VALUE ret = ttymode_with_io(io, read_vt_response, query, set_rawmode, optp);
|
|
1237
|
+
return ret;
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
static VALUE
|
|
1241
|
+
console_scroll(VALUE io, int line)
|
|
1242
|
+
{
|
|
1243
|
+
if (line) {
|
|
1244
|
+
VALUE s = rb_sprintf(CSI "%d%c", line < 0 ? -line : line,
|
|
1245
|
+
line < 0 ? 'T' : 'S');
|
|
1246
|
+
rb_io_write(io, s);
|
|
1247
|
+
}
|
|
1248
|
+
return io;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
# define console_key_pressed_p rb_f_notimplement
|
|
1252
|
+
#endif
|
|
1253
|
+
|
|
1254
|
+
/*
|
|
1255
|
+
* call-seq:
|
|
1256
|
+
* io.cursor -> [row, column]
|
|
1257
|
+
*
|
|
1258
|
+
* Returns the current cursor position as a two-element array of integers (row, column)
|
|
1259
|
+
*
|
|
1260
|
+
* io.cursor # => [3, 5]
|
|
1261
|
+
*
|
|
1262
|
+
* You must require 'io/console' to use this method.
|
|
1263
|
+
*/
|
|
1264
|
+
static VALUE
|
|
1265
|
+
console_cursor_pos(VALUE io)
|
|
1266
|
+
{
|
|
1267
|
+
#ifdef _WIN32
|
|
1268
|
+
rb_console_size_t ws;
|
|
1269
|
+
int fd = GetWriteFD(io);
|
|
1270
|
+
if (!GetConsoleScreenBufferInfo((HANDLE)rb_w32_get_osfhandle(fd), &ws)) {
|
|
1271
|
+
rb_syserr_fail(LAST_ERROR, 0);
|
|
1272
|
+
}
|
|
1273
|
+
return rb_assoc_new(UINT2NUM(ws.dwCursorPosition.Y - ws.srWindow.Top), UINT2NUM(ws.dwCursorPosition.X));
|
|
1274
|
+
#else
|
|
1275
|
+
static const struct query_args query = {"\033[6n", 0};
|
|
1276
|
+
VALUE resp = console_vt_response(0, 0, io, &query);
|
|
1277
|
+
VALUE row, column, term;
|
|
1278
|
+
unsigned int r, c;
|
|
1279
|
+
if (!RB_TYPE_P(resp, T_ARRAY) || RARRAY_LEN(resp) != 3) return Qnil;
|
|
1280
|
+
term = RARRAY_AREF(resp, 2);
|
|
1281
|
+
if (!RB_TYPE_P(term, T_STRING) || RSTRING_LEN(term) != 1) return Qnil;
|
|
1282
|
+
if (RSTRING_PTR(term)[0] != 'R') return Qnil;
|
|
1283
|
+
row = RARRAY_AREF(resp, 0);
|
|
1284
|
+
column = RARRAY_AREF(resp, 1);
|
|
1285
|
+
rb_ary_resize(resp, 2);
|
|
1286
|
+
r = NUM2UINT(row) - 1;
|
|
1287
|
+
c = NUM2UINT(column) - 1;
|
|
1288
|
+
RARRAY_ASET(resp, 0, INT2NUM(r));
|
|
1289
|
+
RARRAY_ASET(resp, 1, INT2NUM(c));
|
|
1290
|
+
return resp;
|
|
1291
|
+
#endif
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
/*
|
|
1295
|
+
* call-seq:
|
|
1296
|
+
* io.goto(line, column) -> io
|
|
1297
|
+
*
|
|
1298
|
+
* Set the cursor position at +line+ and +column+.
|
|
1299
|
+
*
|
|
1300
|
+
* You must require 'io/console' to use this method.
|
|
1301
|
+
*/
|
|
1302
|
+
static VALUE
|
|
1303
|
+
console_goto(VALUE io, VALUE y, VALUE x)
|
|
1304
|
+
{
|
|
1305
|
+
#ifdef _WIN32
|
|
1306
|
+
HANDLE h;
|
|
1307
|
+
rb_console_size_t ws;
|
|
1308
|
+
COORD *pos = &ws.dwCursorPosition;
|
|
1309
|
+
|
|
1310
|
+
h = (HANDLE)rb_w32_get_osfhandle(GetWriteFD(io));
|
|
1311
|
+
if (!GetConsoleScreenBufferInfo(h, &ws)) {
|
|
1312
|
+
rb_syserr_fail(LAST_ERROR, 0);
|
|
1313
|
+
}
|
|
1314
|
+
pos->X = NUM2UINT(x);
|
|
1315
|
+
pos->Y = ws.srWindow.Top + NUM2UINT(y);
|
|
1316
|
+
if (!SetConsoleCursorPosition(h, *pos)) {
|
|
1317
|
+
rb_syserr_fail(LAST_ERROR, 0);
|
|
1318
|
+
}
|
|
1319
|
+
#else
|
|
1320
|
+
rb_io_write(io, rb_sprintf(CSI "%d;%dH", NUM2UINT(y)+1, NUM2UINT(x)+1));
|
|
1321
|
+
#endif
|
|
1322
|
+
return io;
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
static VALUE
|
|
1326
|
+
console_move(VALUE io, int y, int x)
|
|
1327
|
+
{
|
|
1328
|
+
#ifdef _WIN32
|
|
1329
|
+
HANDLE h;
|
|
1330
|
+
rb_console_size_t ws;
|
|
1331
|
+
COORD *pos = &ws.dwCursorPosition;
|
|
1332
|
+
|
|
1333
|
+
h = (HANDLE)rb_w32_get_osfhandle(GetWriteFD(io));
|
|
1334
|
+
if (!GetConsoleScreenBufferInfo(h, &ws)) {
|
|
1335
|
+
rb_syserr_fail(LAST_ERROR, 0);
|
|
1336
|
+
}
|
|
1337
|
+
pos->X += x;
|
|
1338
|
+
pos->Y += y;
|
|
1339
|
+
if (!SetConsoleCursorPosition(h, *pos)) {
|
|
1340
|
+
rb_syserr_fail(LAST_ERROR, 0);
|
|
1341
|
+
}
|
|
1342
|
+
#else
|
|
1343
|
+
if (x || y) {
|
|
1344
|
+
VALUE s = rb_str_new_cstr("");
|
|
1345
|
+
if (y) rb_str_catf(s, CSI "%d%c", y < 0 ? -y : y, y < 0 ? 'A' : 'B');
|
|
1346
|
+
if (x) rb_str_catf(s, CSI "%d%c", x < 0 ? -x : x, x < 0 ? 'D' : 'C');
|
|
1347
|
+
rb_io_write(io, s);
|
|
1348
|
+
rb_io_flush(io);
|
|
1349
|
+
}
|
|
1350
|
+
#endif
|
|
1351
|
+
return io;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
/*
|
|
1355
|
+
* call-seq:
|
|
1356
|
+
* io.goto_column(column) -> io
|
|
1357
|
+
*
|
|
1358
|
+
* Set the cursor position at +column+ in the same line of the current
|
|
1359
|
+
* position.
|
|
1360
|
+
*
|
|
1361
|
+
* You must require 'io/console' to use this method.
|
|
1362
|
+
*/
|
|
1363
|
+
static VALUE
|
|
1364
|
+
console_goto_column(VALUE io, VALUE val)
|
|
1365
|
+
{
|
|
1366
|
+
#ifdef _WIN32
|
|
1367
|
+
HANDLE h;
|
|
1368
|
+
rb_console_size_t ws;
|
|
1369
|
+
COORD *pos = &ws.dwCursorPosition;
|
|
1370
|
+
|
|
1371
|
+
h = (HANDLE)rb_w32_get_osfhandle(GetWriteFD(io));
|
|
1372
|
+
if (!GetConsoleScreenBufferInfo(h, &ws)) {
|
|
1373
|
+
rb_syserr_fail(LAST_ERROR, 0);
|
|
1374
|
+
}
|
|
1375
|
+
pos->X = NUM2INT(val);
|
|
1376
|
+
if (!SetConsoleCursorPosition(h, *pos)) {
|
|
1377
|
+
rb_syserr_fail(LAST_ERROR, 0);
|
|
1378
|
+
}
|
|
1379
|
+
#else
|
|
1380
|
+
rb_io_write(io, rb_sprintf(CSI "%dG", NUM2UINT(val)+1));
|
|
1381
|
+
#endif
|
|
1382
|
+
return io;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
/*
|
|
1386
|
+
* call-seq:
|
|
1387
|
+
* io.erase_line(mode) -> io
|
|
1388
|
+
*
|
|
1389
|
+
* Erases the line at the cursor corresponding to +mode+.
|
|
1390
|
+
* +mode+ may be either:
|
|
1391
|
+
* 0: after cursor
|
|
1392
|
+
* 1: before and cursor
|
|
1393
|
+
* 2: entire line
|
|
1394
|
+
*
|
|
1395
|
+
* You must require 'io/console' to use this method.
|
|
1396
|
+
*/
|
|
1397
|
+
static VALUE
|
|
1398
|
+
console_erase_line(VALUE io, VALUE val)
|
|
1399
|
+
{
|
|
1400
|
+
int mode = mode_in_range(val, 2, "line erase");
|
|
1401
|
+
#ifdef _WIN32
|
|
1402
|
+
HANDLE h;
|
|
1403
|
+
rb_console_size_t ws;
|
|
1404
|
+
COORD *pos = &ws.dwCursorPosition;
|
|
1405
|
+
DWORD w;
|
|
1406
|
+
|
|
1407
|
+
h = (HANDLE)rb_w32_get_osfhandle(GetWriteFD(io));
|
|
1408
|
+
if (!GetConsoleScreenBufferInfo(h, &ws)) {
|
|
1409
|
+
rb_syserr_fail(LAST_ERROR, 0);
|
|
1410
|
+
}
|
|
1411
|
+
w = winsize_col(&ws);
|
|
1412
|
+
switch (mode) {
|
|
1413
|
+
case 0: /* after cursor */
|
|
1414
|
+
w -= pos->X;
|
|
1415
|
+
break;
|
|
1416
|
+
case 1: /* before *and* cursor */
|
|
1417
|
+
w = pos->X + 1;
|
|
1418
|
+
pos->X = 0;
|
|
1419
|
+
break;
|
|
1420
|
+
case 2: /* entire line */
|
|
1421
|
+
pos->X = 0;
|
|
1422
|
+
break;
|
|
1423
|
+
}
|
|
1424
|
+
constat_clear(h, ws.wAttributes, w, *pos);
|
|
1425
|
+
return io;
|
|
1426
|
+
#else
|
|
1427
|
+
rb_io_write(io, rb_sprintf(CSI "%dK", mode));
|
|
1428
|
+
#endif
|
|
1429
|
+
return io;
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
/*
|
|
1433
|
+
* call-seq:
|
|
1434
|
+
* io.erase_screen(mode) -> io
|
|
1435
|
+
*
|
|
1436
|
+
* Erases the screen at the cursor corresponding to +mode+.
|
|
1437
|
+
* +mode+ may be either:
|
|
1438
|
+
* 0: after cursor
|
|
1439
|
+
* 1: before and cursor
|
|
1440
|
+
* 2: entire screen
|
|
1441
|
+
*
|
|
1442
|
+
* You must require 'io/console' to use this method.
|
|
1443
|
+
*/
|
|
1444
|
+
static VALUE
|
|
1445
|
+
console_erase_screen(VALUE io, VALUE val)
|
|
1446
|
+
{
|
|
1447
|
+
int mode = mode_in_range(val, 3, "screen erase");
|
|
1448
|
+
#ifdef _WIN32
|
|
1449
|
+
HANDLE h;
|
|
1450
|
+
rb_console_size_t ws;
|
|
1451
|
+
COORD *pos = &ws.dwCursorPosition;
|
|
1452
|
+
DWORD w;
|
|
1453
|
+
|
|
1454
|
+
h = (HANDLE)rb_w32_get_osfhandle(GetWriteFD(io));
|
|
1455
|
+
if (!GetConsoleScreenBufferInfo(h, &ws)) {
|
|
1456
|
+
rb_syserr_fail(LAST_ERROR, 0);
|
|
1457
|
+
}
|
|
1458
|
+
w = winsize_col(&ws);
|
|
1459
|
+
switch (mode) {
|
|
1460
|
+
case 0: /* erase after cursor */
|
|
1461
|
+
w = (w * (ws.srWindow.Bottom - pos->Y + 1) - pos->X);
|
|
1462
|
+
break;
|
|
1463
|
+
case 1: /* erase before *and* cursor */
|
|
1464
|
+
w = (w * (pos->Y - ws.srWindow.Top) + pos->X + 1);
|
|
1465
|
+
pos->X = 0;
|
|
1466
|
+
pos->Y = ws.srWindow.Top;
|
|
1467
|
+
break;
|
|
1468
|
+
case 2: /* erase entire screen */
|
|
1469
|
+
w = (w * winsize_row(&ws));
|
|
1470
|
+
pos->X = 0;
|
|
1471
|
+
pos->Y = ws.srWindow.Top;
|
|
1472
|
+
break;
|
|
1473
|
+
case 3: /* erase entire screen */
|
|
1474
|
+
w = (w * ws.dwSize.Y);
|
|
1475
|
+
pos->X = 0;
|
|
1476
|
+
pos->Y = 0;
|
|
1477
|
+
break;
|
|
1478
|
+
}
|
|
1479
|
+
constat_clear(h, ws.wAttributes, w, *pos);
|
|
1480
|
+
#else
|
|
1481
|
+
rb_io_write(io, rb_sprintf(CSI "%dJ", mode));
|
|
1482
|
+
#endif
|
|
1483
|
+
return io;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
/*
|
|
1487
|
+
* call-seq:
|
|
1488
|
+
* io.cursor = [line, column] -> io
|
|
1489
|
+
*
|
|
1490
|
+
* Same as <tt>io.goto(line, column)</tt>
|
|
1491
|
+
*
|
|
1492
|
+
* See IO#goto.
|
|
1493
|
+
*
|
|
1494
|
+
* You must require 'io/console' to use this method.
|
|
1495
|
+
*/
|
|
1496
|
+
static VALUE
|
|
1497
|
+
console_cursor_set(VALUE io, VALUE cpos)
|
|
1498
|
+
{
|
|
1499
|
+
cpos = rb_convert_type(cpos, T_ARRAY, "Array", "to_ary");
|
|
1500
|
+
if (RARRAY_LEN(cpos) != 2) rb_raise(rb_eArgError, "expected 2D coordinate");
|
|
1501
|
+
return console_goto(io, RARRAY_AREF(cpos, 0), RARRAY_AREF(cpos, 1));
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
/*
|
|
1505
|
+
* call-seq:
|
|
1506
|
+
* io.cursor_up(n) -> io
|
|
1507
|
+
*
|
|
1508
|
+
* Moves the cursor up +n+ lines.
|
|
1509
|
+
*
|
|
1510
|
+
* You must require 'io/console' to use this method.
|
|
1511
|
+
*/
|
|
1512
|
+
static VALUE
|
|
1513
|
+
console_cursor_up(VALUE io, VALUE val)
|
|
1514
|
+
{
|
|
1515
|
+
return console_move(io, -NUM2INT(val), 0);
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
/*
|
|
1519
|
+
* call-seq:
|
|
1520
|
+
* io.cursor_down(n) -> io
|
|
1521
|
+
*
|
|
1522
|
+
* Moves the cursor down +n+ lines.
|
|
1523
|
+
*
|
|
1524
|
+
* You must require 'io/console' to use this method.
|
|
1525
|
+
*/
|
|
1526
|
+
static VALUE
|
|
1527
|
+
console_cursor_down(VALUE io, VALUE val)
|
|
1528
|
+
{
|
|
1529
|
+
return console_move(io, +NUM2INT(val), 0);
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
/*
|
|
1533
|
+
* call-seq:
|
|
1534
|
+
* io.cursor_left(n) -> io
|
|
1535
|
+
*
|
|
1536
|
+
* Moves the cursor left +n+ columns.
|
|
1537
|
+
*
|
|
1538
|
+
* You must require 'io/console' to use this method.
|
|
1539
|
+
*/
|
|
1540
|
+
static VALUE
|
|
1541
|
+
console_cursor_left(VALUE io, VALUE val)
|
|
1542
|
+
{
|
|
1543
|
+
return console_move(io, 0, -NUM2INT(val));
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
/*
|
|
1547
|
+
* call-seq:
|
|
1548
|
+
* io.cursor_right(n) -> io
|
|
1549
|
+
*
|
|
1550
|
+
* Moves the cursor right +n+ columns.
|
|
1551
|
+
*
|
|
1552
|
+
* You must require 'io/console' to use this method.
|
|
1553
|
+
*/
|
|
1554
|
+
static VALUE
|
|
1555
|
+
console_cursor_right(VALUE io, VALUE val)
|
|
1556
|
+
{
|
|
1557
|
+
return console_move(io, 0, +NUM2INT(val));
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/*
|
|
1561
|
+
* call-seq:
|
|
1562
|
+
* io.scroll_forward(n) -> io
|
|
1563
|
+
*
|
|
1564
|
+
* Scrolls the entire scrolls forward +n+ lines.
|
|
1565
|
+
*
|
|
1566
|
+
* You must require 'io/console' to use this method.
|
|
1567
|
+
*/
|
|
1568
|
+
static VALUE
|
|
1569
|
+
console_scroll_forward(VALUE io, VALUE val)
|
|
1570
|
+
{
|
|
1571
|
+
return console_scroll(io, +NUM2INT(val));
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
/*
|
|
1575
|
+
* call-seq:
|
|
1576
|
+
* io.scroll_backward(n) -> io
|
|
1577
|
+
*
|
|
1578
|
+
* Scrolls the entire scrolls backward +n+ lines.
|
|
1579
|
+
*
|
|
1580
|
+
* You must require 'io/console' to use this method.
|
|
1581
|
+
*/
|
|
1582
|
+
static VALUE
|
|
1583
|
+
console_scroll_backward(VALUE io, VALUE val)
|
|
1584
|
+
{
|
|
1585
|
+
return console_scroll(io, -NUM2INT(val));
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
/*
|
|
1589
|
+
* call-seq:
|
|
1590
|
+
* io.clear_screen -> io
|
|
1591
|
+
*
|
|
1592
|
+
* Clears the entire screen and moves the cursor top-left corner.
|
|
1593
|
+
*
|
|
1594
|
+
* You must require 'io/console' to use this method.
|
|
1595
|
+
*/
|
|
1596
|
+
static VALUE
|
|
1597
|
+
console_clear_screen(VALUE io)
|
|
1598
|
+
{
|
|
1599
|
+
console_erase_screen(io, INT2FIX(2));
|
|
1600
|
+
console_goto(io, INT2FIX(0), INT2FIX(0));
|
|
1601
|
+
return io;
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
#ifndef HAVE_RB_IO_OPEN_DESCRIPTOR
|
|
1605
|
+
static VALUE
|
|
1606
|
+
io_open_descriptor_fallback(VALUE klass, int descriptor, int mode, VALUE path, VALUE timeout, void *encoding)
|
|
1607
|
+
{
|
|
1608
|
+
VALUE arguments[2] = {
|
|
1609
|
+
(rb_update_max_fd(descriptor), INT2NUM(descriptor)),
|
|
1610
|
+
INT2FIX(mode),
|
|
1611
|
+
};
|
|
1612
|
+
|
|
1613
|
+
VALUE self = rb_class_new_instance(2, arguments, klass);
|
|
1614
|
+
|
|
1615
|
+
rb_io_t *fptr;
|
|
1616
|
+
GetOpenFile(self, fptr);
|
|
1617
|
+
fptr->pathv = path;
|
|
1618
|
+
fptr->mode |= mode;
|
|
1619
|
+
|
|
1620
|
+
return self;
|
|
1621
|
+
}
|
|
1622
|
+
#define rb_io_open_descriptor io_open_descriptor_fallback
|
|
1623
|
+
#endif
|
|
1624
|
+
|
|
1625
|
+
#ifndef HAVE_RB_IO_CLOSED_P
|
|
1626
|
+
static VALUE
|
|
1627
|
+
rb_io_closed_p(VALUE io)
|
|
1628
|
+
{
|
|
1629
|
+
rb_io_t *fptr = RFILE(io)->fptr;
|
|
1630
|
+
return fptr->fd == -1 ? Qtrue : Qfalse;
|
|
1631
|
+
}
|
|
1632
|
+
#endif
|
|
1633
|
+
|
|
1634
|
+
#if defined(RB_EXT_RACTOR_SAFE) && defined(HAVE_RB_RACTOR_LOCAL_STORAGE_VALUE_NEWKEY)
|
|
1635
|
+
# define USE_RACTOR_STORAGE 1
|
|
1636
|
+
#else
|
|
1637
|
+
# define USE_RACTOR_STORAGE 0
|
|
1638
|
+
#endif
|
|
1639
|
+
|
|
1640
|
+
#if USE_RACTOR_STORAGE
|
|
1641
|
+
#include "ruby/ractor.h"
|
|
1642
|
+
static rb_ractor_local_key_t key_console_dev;
|
|
1643
|
+
|
|
1644
|
+
static bool
|
|
1645
|
+
console_dev_get(VALUE klass, VALUE *dev)
|
|
1646
|
+
{
|
|
1647
|
+
return rb_ractor_local_storage_value_lookup(key_console_dev, dev);
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
static void
|
|
1651
|
+
console_dev_set(VALUE klass, VALUE value)
|
|
1652
|
+
{
|
|
1653
|
+
rb_ractor_local_storage_value_set(key_console_dev, value);
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
static void
|
|
1657
|
+
console_dev_remove(VALUE klass)
|
|
1658
|
+
{
|
|
1659
|
+
console_dev_set(klass, Qnil);
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
#else
|
|
1663
|
+
|
|
1664
|
+
static ID id_console;
|
|
1665
|
+
|
|
1666
|
+
static int
|
|
1667
|
+
console_dev_get(VALUE klass, VALUE *dev)
|
|
1668
|
+
{
|
|
1669
|
+
if (rb_const_defined(klass, id_console)) {
|
|
1670
|
+
*dev = rb_const_get(klass, id_console);
|
|
1671
|
+
return 1;
|
|
1672
|
+
}
|
|
1673
|
+
return 0;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
static void
|
|
1677
|
+
console_dev_set(VALUE klass, VALUE value)
|
|
1678
|
+
{
|
|
1679
|
+
rb_const_set(klass, id_console, value);
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
static void
|
|
1683
|
+
console_dev_remove(VALUE klass)
|
|
1684
|
+
{
|
|
1685
|
+
rb_const_remove(klass, id_console);
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
#endif
|
|
1689
|
+
|
|
1690
|
+
/*
|
|
1691
|
+
* call-seq:
|
|
1692
|
+
* IO.console -> #<File:/dev/tty>
|
|
1693
|
+
* IO.console(sym, *args)
|
|
1694
|
+
*
|
|
1695
|
+
* Returns an File instance opened console.
|
|
1696
|
+
*
|
|
1697
|
+
* If +sym+ is given, it will be sent to the opened console with
|
|
1698
|
+
* +args+ and the result will be returned instead of the console IO
|
|
1699
|
+
* itself.
|
|
1700
|
+
*
|
|
1701
|
+
* You must require 'io/console' to use this method.
|
|
1702
|
+
*/
|
|
1703
|
+
static VALUE
|
|
1704
|
+
console_dev(int argc, VALUE *argv, VALUE klass)
|
|
1705
|
+
{
|
|
1706
|
+
VALUE con = 0;
|
|
1707
|
+
VALUE sym = 0;
|
|
1708
|
+
|
|
1709
|
+
if (argc) {
|
|
1710
|
+
Check_Type(sym = argv[0], T_SYMBOL);
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
// Force the class to be File.
|
|
1714
|
+
if (klass == rb_cIO) klass = rb_cFile;
|
|
1715
|
+
|
|
1716
|
+
if (console_dev_get(klass, &con)) {
|
|
1717
|
+
if (!RB_TYPE_P(con, T_FILE) || RTEST(rb_io_closed_p(con))) {
|
|
1718
|
+
console_dev_remove(klass);
|
|
1719
|
+
con = 0;
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
if (sym) {
|
|
1724
|
+
if (sym == ID2SYM(id_close) && argc == 1) {
|
|
1725
|
+
if (con) {
|
|
1726
|
+
rb_io_close(con);
|
|
1727
|
+
console_dev_remove(klass);
|
|
1728
|
+
con = 0;
|
|
1729
|
+
}
|
|
1730
|
+
return Qnil;
|
|
1731
|
+
}
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
if (!con) {
|
|
1735
|
+
#if defined HAVE_TERMIOS_H || defined HAVE_TERMIO_H || defined HAVE_SGTTY_H
|
|
1736
|
+
# define CONSOLE_DEVICE "/dev/tty"
|
|
1737
|
+
#elif defined _WIN32
|
|
1738
|
+
# define CONSOLE_DEVICE "con$"
|
|
1739
|
+
# define CONSOLE_DEVICE_FOR_READING "conin$"
|
|
1740
|
+
# define CONSOLE_DEVICE_FOR_WRITING "conout$"
|
|
1741
|
+
#endif
|
|
1742
|
+
#ifndef CONSOLE_DEVICE_FOR_READING
|
|
1743
|
+
# define CONSOLE_DEVICE_FOR_READING CONSOLE_DEVICE
|
|
1744
|
+
#endif
|
|
1745
|
+
#ifdef CONSOLE_DEVICE_FOR_WRITING
|
|
1746
|
+
VALUE out;
|
|
1747
|
+
#endif
|
|
1748
|
+
int fd;
|
|
1749
|
+
VALUE path = rb_obj_freeze(rb_str_new2(CONSOLE_DEVICE));
|
|
1750
|
+
|
|
1751
|
+
#ifdef CONSOLE_DEVICE_FOR_WRITING
|
|
1752
|
+
fd = rb_cloexec_open(CONSOLE_DEVICE_FOR_WRITING, O_RDWR, 0);
|
|
1753
|
+
if (fd < 0) return Qnil;
|
|
1754
|
+
out = rb_io_open_descriptor(klass, fd, FMODE_WRITABLE | FMODE_SYNC, path, Qnil, NULL);
|
|
1755
|
+
#endif
|
|
1756
|
+
fd = rb_cloexec_open(CONSOLE_DEVICE_FOR_READING, O_RDWR, 0);
|
|
1757
|
+
if (fd < 0) {
|
|
1758
|
+
#ifdef CONSOLE_DEVICE_FOR_WRITING
|
|
1759
|
+
rb_io_close(out);
|
|
1760
|
+
#endif
|
|
1761
|
+
return Qnil;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
con = rb_io_open_descriptor(klass, fd, FMODE_READWRITE | FMODE_SYNC, path, Qnil, NULL);
|
|
1765
|
+
#ifdef CONSOLE_DEVICE_FOR_WRITING
|
|
1766
|
+
rb_io_set_write_io(con, out);
|
|
1767
|
+
#endif
|
|
1768
|
+
console_dev_set(klass, con);
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
if (sym) {
|
|
1772
|
+
return rb_f_send(argc, argv, con);
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
return con;
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
/*
|
|
1779
|
+
* call-seq:
|
|
1780
|
+
* io.getch(min: nil, time: nil, intr: nil) -> char
|
|
1781
|
+
*
|
|
1782
|
+
* See IO#getch.
|
|
1783
|
+
*/
|
|
1784
|
+
static VALUE
|
|
1785
|
+
io_getch(int argc, VALUE *argv, VALUE io)
|
|
1786
|
+
{
|
|
1787
|
+
return rb_funcallv(io, id_getc, argc, argv);
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
static VALUE
|
|
1791
|
+
puts_call(VALUE io)
|
|
1792
|
+
{
|
|
1793
|
+
return rb_io_write(io, rb_default_rs);
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
static VALUE
|
|
1797
|
+
gets_call(VALUE io)
|
|
1798
|
+
{
|
|
1799
|
+
return rb_funcallv(io, id_gets, 0, 0);
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
static VALUE
|
|
1803
|
+
getpass_call(VALUE io)
|
|
1804
|
+
{
|
|
1805
|
+
return ttymode(io, rb_io_gets, io, set_noecho, NULL);
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
static void
|
|
1809
|
+
prompt(int argc, VALUE *argv, VALUE io)
|
|
1810
|
+
{
|
|
1811
|
+
if (argc > 0 && !NIL_P(argv[0])) {
|
|
1812
|
+
VALUE str = argv[0];
|
|
1813
|
+
StringValueCStr(str);
|
|
1814
|
+
rb_io_write(io, str);
|
|
1815
|
+
}
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
static VALUE
|
|
1819
|
+
str_chomp(VALUE str)
|
|
1820
|
+
{
|
|
1821
|
+
if (!NIL_P(str)) {
|
|
1822
|
+
const VALUE rs = rb_default_rs; /* rvalue in TruffleRuby */
|
|
1823
|
+
rb_funcallv(str, id_chomp_bang, 1, &rs);
|
|
1824
|
+
}
|
|
1825
|
+
return str;
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
/*
|
|
1829
|
+
* call-seq:
|
|
1830
|
+
* io.getpass(prompt=nil) -> string
|
|
1831
|
+
*
|
|
1832
|
+
* Reads and returns a line without echo back.
|
|
1833
|
+
* Prints +prompt+ unless it is +nil+.
|
|
1834
|
+
*
|
|
1835
|
+
* The newline character that terminates the
|
|
1836
|
+
* read line is removed from the returned string,
|
|
1837
|
+
* see String#chomp!.
|
|
1838
|
+
*
|
|
1839
|
+
* You must require 'io/console' to use this method.
|
|
1840
|
+
*
|
|
1841
|
+
* require 'io/console'
|
|
1842
|
+
* IO::console.getpass("Enter password:")
|
|
1843
|
+
* Enter password:
|
|
1844
|
+
* # => "mypassword"
|
|
1845
|
+
*
|
|
1846
|
+
*/
|
|
1847
|
+
static VALUE
|
|
1848
|
+
console_getpass(int argc, VALUE *argv, VALUE io)
|
|
1849
|
+
{
|
|
1850
|
+
VALUE str, wio;
|
|
1851
|
+
|
|
1852
|
+
rb_check_arity(argc, 0, 1);
|
|
1853
|
+
wio = rb_io_get_write_io(io);
|
|
1854
|
+
if (wio == io && io == rb_stdin) wio = rb_stderr;
|
|
1855
|
+
prompt(argc, argv, wio);
|
|
1856
|
+
rb_io_flush(wio);
|
|
1857
|
+
str = rb_ensure(getpass_call, io, puts_call, wio);
|
|
1858
|
+
return str_chomp(str);
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
/*
|
|
1862
|
+
* call-seq:
|
|
1863
|
+
* io.getpass(prompt=nil) -> string
|
|
1864
|
+
*
|
|
1865
|
+
* See IO#getpass.
|
|
1866
|
+
*/
|
|
1867
|
+
static VALUE
|
|
1868
|
+
io_getpass(int argc, VALUE *argv, VALUE io)
|
|
1869
|
+
{
|
|
1870
|
+
VALUE str;
|
|
1871
|
+
|
|
1872
|
+
rb_check_arity(argc, 0, 1);
|
|
1873
|
+
prompt(argc, argv, io);
|
|
1874
|
+
rb_check_funcall(io, id_flush, 0, 0);
|
|
1875
|
+
str = rb_ensure(gets_call, io, puts_call, io);
|
|
1876
|
+
return str_chomp(str);
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
#if defined(_WIN32) || defined(HAVE_TTYNAME_R) || defined(HAVE_TTYNAME)
|
|
1880
|
+
/*
|
|
1881
|
+
* call-seq:
|
|
1882
|
+
* io.ttyname -> string or nil
|
|
1883
|
+
*
|
|
1884
|
+
* Returns name of associated terminal (tty) if +io+ is not a tty.
|
|
1885
|
+
* Returns +nil+ otherwise.
|
|
1886
|
+
*/
|
|
1887
|
+
static VALUE
|
|
1888
|
+
console_ttyname(VALUE io)
|
|
1889
|
+
{
|
|
1890
|
+
int fd = rb_io_descriptor(io);
|
|
1891
|
+
if (!isatty(fd)) return Qnil;
|
|
1892
|
+
# if defined _WIN32
|
|
1893
|
+
return rb_usascii_str_new_lit("con");
|
|
1894
|
+
# elif defined HAVE_TTYNAME_R
|
|
1895
|
+
{
|
|
1896
|
+
char termname[1024], *tn = termname;
|
|
1897
|
+
size_t size = sizeof(termname);
|
|
1898
|
+
int e;
|
|
1899
|
+
if (ttyname_r(fd, tn, size) == 0)
|
|
1900
|
+
return rb_interned_str_cstr(tn);
|
|
1901
|
+
if ((e = errno) == ERANGE) {
|
|
1902
|
+
VALUE s = rb_str_new(0, size);
|
|
1903
|
+
while (1) {
|
|
1904
|
+
tn = RSTRING_PTR(s);
|
|
1905
|
+
size = rb_str_capacity(s);
|
|
1906
|
+
if (ttyname_r(fd, tn, size) == 0) {
|
|
1907
|
+
return rb_str_to_interned_str(rb_str_resize(s, strlen(tn)));
|
|
1908
|
+
}
|
|
1909
|
+
if ((e = errno) != ERANGE) break;
|
|
1910
|
+
if ((size *= 2) >= INT_MAX/2) break;
|
|
1911
|
+
rb_str_resize(s, size);
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
rb_syserr_fail_str(e, rb_sprintf("ttyname_r(%d)", fd));
|
|
1915
|
+
UNREACHABLE_RETURN(Qnil);
|
|
1916
|
+
}
|
|
1917
|
+
# elif defined HAVE_TTYNAME
|
|
1918
|
+
{
|
|
1919
|
+
const char *tn = ttyname(fd);
|
|
1920
|
+
if (!tn) {
|
|
1921
|
+
int e = errno;
|
|
1922
|
+
rb_syserr_fail_str(e, rb_sprintf("ttyname(%d)", fd));
|
|
1923
|
+
}
|
|
1924
|
+
return rb_interned_str_cstr(tn);
|
|
1925
|
+
}
|
|
1926
|
+
# else
|
|
1927
|
+
# error No ttyname function
|
|
1928
|
+
# endif
|
|
1929
|
+
}
|
|
1930
|
+
#else
|
|
1931
|
+
# define console_ttyname rb_f_notimplement
|
|
1932
|
+
#endif
|
|
1933
|
+
|
|
1934
|
+
/*
|
|
1935
|
+
* IO console methods
|
|
1936
|
+
*/
|
|
1937
|
+
void
|
|
1938
|
+
Init_console(void)
|
|
1939
|
+
{
|
|
1940
|
+
#if USE_RACTOR_STORAGE
|
|
1941
|
+
RB_EXT_RACTOR_SAFE(true);
|
|
1942
|
+
#endif
|
|
1943
|
+
|
|
1944
|
+
#undef rb_intern
|
|
1945
|
+
#if USE_RACTOR_STORAGE
|
|
1946
|
+
key_console_dev = rb_ractor_local_storage_value_newkey();
|
|
1947
|
+
#else
|
|
1948
|
+
id_console = rb_intern("console");
|
|
1949
|
+
#endif
|
|
1950
|
+
id_getc = rb_intern("getc");
|
|
1951
|
+
id_gets = rb_intern("gets");
|
|
1952
|
+
id_flush = rb_intern("flush");
|
|
1953
|
+
id_chomp_bang = rb_intern("chomp!");
|
|
1954
|
+
id_close = rb_intern("close");
|
|
1955
|
+
#define init_rawmode_opt_id(name) \
|
|
1956
|
+
rawmode_opt_ids[kwd_##name] = rb_intern(#name)
|
|
1957
|
+
init_rawmode_opt_id(min);
|
|
1958
|
+
init_rawmode_opt_id(time);
|
|
1959
|
+
init_rawmode_opt_id(intr);
|
|
1960
|
+
#ifndef HAVE_RB_F_SEND
|
|
1961
|
+
id___send__ = rb_intern("__send__");
|
|
1962
|
+
#endif
|
|
1963
|
+
InitVM(console);
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
void
|
|
1967
|
+
InitVM_console(void)
|
|
1968
|
+
{
|
|
1969
|
+
rb_define_method(rb_cIO, "raw", console_raw, -1);
|
|
1970
|
+
rb_define_method(rb_cIO, "raw!", console_set_raw, -1);
|
|
1971
|
+
rb_define_method(rb_cIO, "cooked", console_cooked, 0);
|
|
1972
|
+
rb_define_method(rb_cIO, "cooked!", console_set_cooked, 0);
|
|
1973
|
+
rb_define_method(rb_cIO, "getch", console_getch, -1);
|
|
1974
|
+
rb_define_method(rb_cIO, "echo=", console_set_echo, 1);
|
|
1975
|
+
rb_define_method(rb_cIO, "echo?", console_echo_p, 0);
|
|
1976
|
+
rb_define_method(rb_cIO, "console_mode", console_conmode_get, 0);
|
|
1977
|
+
rb_define_method(rb_cIO, "console_mode=", console_conmode_set, 1);
|
|
1978
|
+
rb_define_method(rb_cIO, "noecho", console_noecho, 0);
|
|
1979
|
+
rb_define_method(rb_cIO, "winsize", console_winsize, 0);
|
|
1980
|
+
rb_define_method(rb_cIO, "winsize=", console_set_winsize, 1);
|
|
1981
|
+
rb_define_method(rb_cIO, "iflush", console_iflush, 0);
|
|
1982
|
+
rb_define_method(rb_cIO, "oflush", console_oflush, 0);
|
|
1983
|
+
rb_define_method(rb_cIO, "ioflush", console_ioflush, 0);
|
|
1984
|
+
rb_define_method(rb_cIO, "beep", console_beep, 0);
|
|
1985
|
+
rb_define_method(rb_cIO, "goto", console_goto, 2);
|
|
1986
|
+
rb_define_method(rb_cIO, "cursor", console_cursor_pos, 0);
|
|
1987
|
+
rb_define_method(rb_cIO, "cursor=", console_cursor_set, 1);
|
|
1988
|
+
rb_define_method(rb_cIO, "cursor_up", console_cursor_up, 1);
|
|
1989
|
+
rb_define_method(rb_cIO, "cursor_down", console_cursor_down, 1);
|
|
1990
|
+
rb_define_method(rb_cIO, "cursor_left", console_cursor_left, 1);
|
|
1991
|
+
rb_define_method(rb_cIO, "cursor_right", console_cursor_right, 1);
|
|
1992
|
+
rb_define_method(rb_cIO, "goto_column", console_goto_column, 1);
|
|
1993
|
+
rb_define_method(rb_cIO, "erase_line", console_erase_line, 1);
|
|
1994
|
+
rb_define_method(rb_cIO, "erase_screen", console_erase_screen, 1);
|
|
1995
|
+
rb_define_method(rb_cIO, "scroll_forward", console_scroll_forward, 1);
|
|
1996
|
+
rb_define_method(rb_cIO, "scroll_backward", console_scroll_backward, 1);
|
|
1997
|
+
rb_define_method(rb_cIO, "clear_screen", console_clear_screen, 0);
|
|
1998
|
+
rb_define_method(rb_cIO, "pressed?", console_key_pressed_p, 1);
|
|
1999
|
+
rb_define_method(rb_cIO, "check_winsize_changed", console_check_winsize_changed, 0);
|
|
2000
|
+
rb_define_method(rb_cIO, "getpass", console_getpass, -1);
|
|
2001
|
+
rb_define_method(rb_cIO, "ttyname", console_ttyname, 0);
|
|
2002
|
+
rb_define_singleton_method(rb_cIO, "console", console_dev, -1);
|
|
2003
|
+
{
|
|
2004
|
+
/* :stopdoc: */
|
|
2005
|
+
VALUE mReadable = rb_define_module_under(rb_cIO, "generic_readable");
|
|
2006
|
+
/* :startdoc: */
|
|
2007
|
+
rb_define_method(mReadable, "getch", io_getch, -1);
|
|
2008
|
+
rb_define_method(mReadable, "getpass", io_getpass, -1);
|
|
2009
|
+
}
|
|
2010
|
+
{
|
|
2011
|
+
/* :stopdoc: */
|
|
2012
|
+
cConmode = rb_define_class_under(rb_cIO, "ConsoleMode", rb_cObject);
|
|
2013
|
+
rb_define_const(cConmode, "VERSION", rb_obj_freeze(rb_str_new_cstr(IO_CONSOLE_VERSION)));
|
|
2014
|
+
rb_define_alloc_func(cConmode, conmode_alloc);
|
|
2015
|
+
rb_undef_method(cConmode, "initialize");
|
|
2016
|
+
rb_define_method(cConmode, "initialize_copy", conmode_init_copy, 1);
|
|
2017
|
+
rb_define_method(cConmode, "echo=", conmode_set_echo, 1);
|
|
2018
|
+
rb_define_method(cConmode, "raw!", conmode_set_raw, -1);
|
|
2019
|
+
rb_define_method(cConmode, "raw", conmode_raw_new, -1);
|
|
2020
|
+
/* :startdoc: */
|
|
2021
|
+
}
|
|
2022
|
+
}
|