roast-ai 0.4.6 → 0.4.8
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 +4 -4
- data/.github/workflows/ci.yaml +3 -1
- data/.gitignore +7 -0
- data/.rubocop.yml +14 -0
- data/Gemfile +2 -1
- data/Gemfile.lock +9 -1
- data/Rakefile +16 -4
- data/examples/README.md +9 -0
- data/examples/available_tools_demo/workflow.yml +2 -2
- data/examples/basic_prompt_workflow/workflow.md +1 -0
- data/examples/basic_prompt_workflow/workflow.yml +14 -0
- data/lib/roast/dsl/executor.rb +2 -1
- data/lib/roast/helpers/cmd_runner.rb +199 -0
- data/lib/roast/initializers.rb +1 -1
- data/lib/roast/tools/apply_diff.rb +1 -1
- data/lib/roast/tools/bash.rb +4 -4
- data/lib/roast/tools/cmd.rb +3 -5
- data/lib/roast/tools/coding_agent.rb +1 -1
- data/lib/roast/tools/grep.rb +6 -2
- data/lib/roast/tools/read_file.rb +2 -1
- data/lib/roast/tools/swarm.rb +2 -7
- data/lib/roast/tools.rb +10 -1
- data/lib/roast/version.rb +1 -1
- data/lib/roast/workflow/base_step.rb +2 -3
- data/lib/roast/workflow/command_executor.rb +3 -3
- data/lib/roast/workflow/resource_resolver.rb +1 -1
- data/lib/roast/workflow/shell_script_step.rb +1 -1
- data/lib/roast/workflow/step_loader.rb +2 -7
- data/lib/roast.rb +7 -1
- data/rubocop/cop/roast/use_cmd_runner.rb +93 -0
- data/rubocop/cop/roast.rb +4 -0
- data/sorbet/rbi/gems/docile@1.4.1.rbi +377 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +233 -2
- data/sorbet/rbi/gems/racc@1.8.1.rbi +6 -4
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +396 -2
- data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +3788 -2
- data/sorbet/rbi/gems/rubocop-ast@1.45.1.rbi +7747 -2
- data/sorbet/rbi/gems/rubocop-sorbet@0.10.5.rbi +2386 -0
- data/sorbet/rbi/gems/rubocop@1.77.0.rbi +62813 -2
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1311 -2
- data/sorbet/rbi/gems/simplecov-html@0.13.2.rbi +225 -0
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2259 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +9 -0
- data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +125 -2
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +244 -2
- data/sorbet/tapioca/require.rb +2 -1
- metadata +12 -240
- data/CHANGELOG.md +0 -364
- data/examples/agent_continue/add_documentation/prompt.md +0 -5
- data/examples/agent_continue/add_error_handling/prompt.md +0 -5
- data/examples/agent_continue/analyze_codebase/prompt.md +0 -7
- data/examples/agent_continue/combined_workflow.yml +0 -24
- data/examples/agent_continue/continue_adding_features/prompt.md +0 -4
- data/examples/agent_continue/create_integration_tests/prompt.md +0 -3
- data/examples/agent_continue/document_with_context/prompt.md +0 -5
- data/examples/agent_continue/explore_api/prompt.md +0 -6
- data/examples/agent_continue/implement_client/prompt.md +0 -6
- data/examples/agent_continue/inline_workflow.yml +0 -20
- data/examples/agent_continue/refactor_code/prompt.md +0 -2
- data/examples/agent_continue/verify_changes/prompt.md +0 -6
- data/examples/agent_continue/workflow.yml +0 -27
- data/examples/agent_workflow/README.md +0 -75
- data/examples/agent_workflow/apply_refactorings/prompt.md +0 -22
- data/examples/agent_workflow/identify_code_smells/prompt.md +0 -15
- data/examples/agent_workflow/summarize_improvements/prompt.md +0 -18
- data/examples/agent_workflow/workflow.png +0 -0
- data/examples/agent_workflow/workflow.yml +0 -16
- data/examples/api_workflow/README.md +0 -85
- data/examples/api_workflow/fetch_api_data/prompt.md +0 -10
- data/examples/api_workflow/generate_report/prompt.md +0 -10
- data/examples/api_workflow/prompt.md +0 -10
- data/examples/api_workflow/transform_data/prompt.md +0 -10
- data/examples/api_workflow/workflow.png +0 -0
- data/examples/api_workflow/workflow.yml +0 -30
- data/examples/apply_diff_demo/README.md +0 -58
- data/examples/apply_diff_demo/apply_simple_change/prompt.md +0 -13
- data/examples/apply_diff_demo/create_sample_file/prompt.md +0 -11
- data/examples/apply_diff_demo/workflow.yml +0 -24
- data/examples/available_tools_demo/workflow.png +0 -0
- data/examples/bash_prototyping/README.md +0 -53
- data/examples/bash_prototyping/analyze_network/prompt.md +0 -13
- data/examples/bash_prototyping/analyze_system/prompt.md +0 -11
- data/examples/bash_prototyping/api_testing.png +0 -0
- data/examples/bash_prototyping/api_testing.yml +0 -14
- data/examples/bash_prototyping/check_processes/prompt.md +0 -11
- data/examples/bash_prototyping/generate_report/prompt.md +0 -16
- data/examples/bash_prototyping/process_json_response/prompt.md +0 -24
- data/examples/bash_prototyping/system_analysis.png +0 -0
- data/examples/bash_prototyping/system_analysis.yml +0 -14
- data/examples/bash_prototyping/test_public_api/prompt.md +0 -22
- data/examples/case_when/README.md +0 -58
- data/examples/case_when/detect_language/prompt.md +0 -16
- data/examples/case_when/workflow.png +0 -0
- data/examples/case_when/workflow.yml +0 -58
- data/examples/cmd/README.md +0 -99
- data/examples/cmd/analyze_project/prompt.md +0 -57
- data/examples/cmd/basic_demo/prompt.md +0 -48
- data/examples/cmd/basic_workflow.png +0 -0
- data/examples/cmd/basic_workflow.yml +0 -17
- data/examples/cmd/check_repository/prompt.md +0 -57
- data/examples/cmd/create_and_verify/prompt.md +0 -56
- data/examples/cmd/dev_workflow.png +0 -0
- data/examples/cmd/dev_workflow.yml +0 -26
- data/examples/cmd/explore_project/prompt.md +0 -67
- data/examples/cmd/explorer_workflow.png +0 -0
- data/examples/cmd/explorer_workflow.yml +0 -21
- data/examples/cmd/smart_tool_selection/prompt.md +0 -99
- data/examples/coding_agent_with_model.yml +0 -20
- data/examples/coding_agent_with_retries.yml +0 -30
- data/examples/conditional/README.md +0 -161
- data/examples/conditional/check_condition/prompt.md +0 -1
- data/examples/conditional/simple_workflow.png +0 -0
- data/examples/conditional/simple_workflow.yml +0 -15
- data/examples/conditional/workflow.png +0 -0
- data/examples/conditional/workflow.yml +0 -23
- data/examples/context_management_demo/README.md +0 -43
- data/examples/context_management_demo/workflow.yml +0 -42
- data/examples/direct_coerce_syntax/README.md +0 -32
- data/examples/direct_coerce_syntax/workflow.png +0 -0
- data/examples/direct_coerce_syntax/workflow.yml +0 -36
- data/examples/dot_notation/README.md +0 -37
- data/examples/dot_notation/workflow.png +0 -0
- data/examples/dot_notation/workflow.yml +0 -44
- data/examples/exit_on_error/README.md +0 -50
- data/examples/exit_on_error/analyze_lint_output/prompt.md +0 -9
- data/examples/exit_on_error/apply_fixes/prompt.md +0 -2
- data/examples/exit_on_error/workflow.png +0 -0
- data/examples/exit_on_error/workflow.yml +0 -19
- data/examples/grading/README.md +0 -71
- data/examples/grading/analyze_coverage/prompt.md +0 -52
- data/examples/grading/calculate_final_grade.rb +0 -67
- data/examples/grading/format_result.rb +0 -64
- data/examples/grading/generate_grades/prompt.md +0 -105
- data/examples/grading/generate_recommendations/output.txt +0 -17
- data/examples/grading/generate_recommendations/prompt.md +0 -60
- data/examples/grading/js_test_runner +0 -31
- data/examples/grading/rb_test_runner +0 -19
- data/examples/grading/read_dependencies/prompt.md +0 -16
- data/examples/grading/run_coverage.rb +0 -54
- data/examples/grading/verify_mocks_and_stubs/prompt.md +0 -12
- data/examples/grading/verify_test_helpers/prompt.md +0 -53
- data/examples/grading/workflow.md +0 -8
- data/examples/grading/workflow.png +0 -0
- data/examples/grading/workflow.rb.md +0 -6
- data/examples/grading/workflow.ts+tsx.md +0 -6
- data/examples/grading/workflow.yml +0 -41
- data/examples/instrumentation.rb +0 -76
- data/examples/interpolation/README.md +0 -50
- data/examples/interpolation/analyze_file/prompt.md +0 -1
- data/examples/interpolation/analyze_patterns/prompt.md +0 -27
- data/examples/interpolation/generate_report_for_js/prompt.md +0 -3
- data/examples/interpolation/generate_report_for_rb/prompt.md +0 -3
- data/examples/interpolation/sample.js +0 -48
- data/examples/interpolation/sample.rb +0 -42
- data/examples/interpolation/workflow.md +0 -1
- data/examples/interpolation/workflow.png +0 -0
- data/examples/interpolation/workflow.yml +0 -21
- data/examples/iteration/IMPLEMENTATION.md +0 -88
- data/examples/iteration/README.md +0 -68
- data/examples/iteration/analyze_complexity/prompt.md +0 -22
- data/examples/iteration/generate_recommendations/prompt.md +0 -21
- data/examples/iteration/generate_report/prompt.md +0 -129
- data/examples/iteration/implement_fix/prompt.md +0 -25
- data/examples/iteration/prioritize_issues/prompt.md +0 -24
- data/examples/iteration/prompts/analyze_file.md +0 -28
- data/examples/iteration/prompts/generate_summary.md +0 -24
- data/examples/iteration/prompts/update_report.md +0 -29
- data/examples/iteration/prompts/write_report.md +0 -22
- data/examples/iteration/read_file/prompt.md +0 -9
- data/examples/iteration/select_next_issue/prompt.md +0 -25
- data/examples/iteration/simple_workflow.md +0 -39
- data/examples/iteration/simple_workflow.yml +0 -58
- data/examples/iteration/update_fix_count/prompt.md +0 -26
- data/examples/iteration/verify_fix/prompt.md +0 -29
- data/examples/iteration/workflow.png +0 -0
- data/examples/iteration/workflow.yml +0 -42
- data/examples/json_handling/README.md +0 -32
- data/examples/json_handling/workflow.png +0 -0
- data/examples/json_handling/workflow.yml +0 -52
- data/examples/mcp/README.md +0 -223
- data/examples/mcp/analyze_changes/prompt.md +0 -8
- data/examples/mcp/analyze_issues/prompt.md +0 -4
- data/examples/mcp/analyze_schema/prompt.md +0 -4
- data/examples/mcp/check_data_quality/prompt.md +0 -5
- data/examples/mcp/check_documentation/prompt.md +0 -4
- data/examples/mcp/create_recommendations/prompt.md +0 -5
- data/examples/mcp/database_workflow.png +0 -0
- data/examples/mcp/database_workflow.yml +0 -29
- data/examples/mcp/env_demo/workflow.png +0 -0
- data/examples/mcp/env_demo/workflow.yml +0 -34
- data/examples/mcp/fetch_pr_context/prompt.md +0 -4
- data/examples/mcp/filesystem_demo/create_test_file/prompt.md +0 -2
- data/examples/mcp/filesystem_demo/list_files/prompt.md +0 -6
- data/examples/mcp/filesystem_demo/read_with_mcp/prompt.md +0 -7
- data/examples/mcp/filesystem_demo/workflow.png +0 -0
- data/examples/mcp/filesystem_demo/workflow.yml +0 -38
- data/examples/mcp/generate_insights/prompt.md +0 -4
- data/examples/mcp/generate_report/prompt.md +0 -6
- data/examples/mcp/generate_review/prompt.md +0 -16
- data/examples/mcp/github_workflow.png +0 -0
- data/examples/mcp/github_workflow.yml +0 -32
- data/examples/mcp/multi_mcp_workflow.png +0 -0
- data/examples/mcp/multi_mcp_workflow.yml +0 -58
- data/examples/mcp/post_review/prompt.md +0 -3
- data/examples/mcp/save_report/prompt.md +0 -6
- data/examples/mcp/search_issues/prompt.md +0 -2
- data/examples/mcp/summarize/prompt.md +0 -1
- data/examples/mcp/test_filesystem/prompt.md +0 -6
- data/examples/mcp/test_github/prompt.md +0 -8
- data/examples/mcp/test_read/prompt.md +0 -1
- data/examples/mcp/workflow.png +0 -0
- data/examples/mcp/workflow.yml +0 -35
- data/examples/no_model_fallback/README.md +0 -17
- data/examples/no_model_fallback/analyze_file/prompt.md +0 -1
- data/examples/no_model_fallback/analyze_patterns/prompt.md +0 -27
- data/examples/no_model_fallback/generate_report_for_md/prompt.md +0 -10
- data/examples/no_model_fallback/generate_report_for_rb/prompt.md +0 -3
- data/examples/no_model_fallback/sample.rb +0 -42
- data/examples/no_model_fallback/workflow.yml +0 -19
- data/examples/openrouter_example/README.md +0 -48
- data/examples/openrouter_example/analyze_input/prompt.md +0 -16
- data/examples/openrouter_example/generate_response/prompt.md +0 -9
- data/examples/openrouter_example/workflow.png +0 -0
- data/examples/openrouter_example/workflow.yml +0 -12
- data/examples/pre_post_processing/README.md +0 -111
- data/examples/pre_post_processing/analyze_test_file/prompt.md +0 -23
- data/examples/pre_post_processing/improve_test_coverage/prompt.md +0 -17
- data/examples/pre_post_processing/optimize_test_performance/prompt.md +0 -25
- data/examples/pre_post_processing/post_processing/aggregate_metrics/prompt.md +0 -31
- data/examples/pre_post_processing/post_processing/cleanup_environment/prompt.md +0 -28
- data/examples/pre_post_processing/post_processing/generate_summary_report/prompt.md +0 -32
- data/examples/pre_post_processing/post_processing/output.txt +0 -24
- data/examples/pre_post_processing/pre_processing/gather_baseline_metrics/prompt.md +0 -26
- data/examples/pre_post_processing/pre_processing/setup_test_environment/prompt.md +0 -11
- data/examples/pre_post_processing/validate_changes/prompt.md +0 -24
- data/examples/pre_post_processing/workflow.png +0 -0
- data/examples/pre_post_processing/workflow.yml +0 -21
- data/examples/retry/workflow.yml +0 -23
- data/examples/rspec_to_minitest/README.md +0 -68
- data/examples/rspec_to_minitest/analyze_spec/prompt.md +0 -30
- data/examples/rspec_to_minitest/create_minitest/prompt.md +0 -33
- data/examples/rspec_to_minitest/run_and_improve/prompt.md +0 -35
- data/examples/rspec_to_minitest/workflow.md +0 -10
- data/examples/rspec_to_minitest/workflow.png +0 -0
- data/examples/rspec_to_minitest/workflow.yml +0 -40
- data/examples/shared_config/README.md +0 -52
- data/examples/shared_config/example_with_shared_config/workflow.png +0 -0
- data/examples/shared_config/example_with_shared_config/workflow.yml +0 -6
- data/examples/shared_config/shared.png +0 -0
- data/examples/shared_config/shared.yml +0 -7
- data/examples/single_target_prepost/README.md +0 -36
- data/examples/single_target_prepost/post_processing/output.txt +0 -27
- data/examples/single_target_prepost/pre_processing/gather_dependencies/prompt.md +0 -11
- data/examples/single_target_prepost/workflow.png +0 -0
- data/examples/single_target_prepost/workflow.yml +0 -20
- data/examples/smart_coercion_defaults/README.md +0 -65
- data/examples/smart_coercion_defaults/workflow.png +0 -0
- data/examples/smart_coercion_defaults/workflow.yml +0 -44
- data/examples/step_configuration/README.md +0 -84
- data/examples/step_configuration/workflow.png +0 -0
- data/examples/step_configuration/workflow.yml +0 -57
- data/examples/swarm_example.yml +0 -25
- data/examples/tool_config_example/README.md +0 -109
- data/examples/tool_config_example/example_step/prompt.md +0 -42
- data/examples/tool_config_example/workflow.png +0 -0
- data/examples/tool_config_example/workflow.yml +0 -17
- data/examples/user_input/README.md +0 -90
- data/examples/user_input/funny_name/create_backstory/prompt.md +0 -10
- data/examples/user_input/funny_name/workflow.png +0 -0
- data/examples/user_input/funny_name/workflow.yml +0 -26
- data/examples/user_input/generate_summary/prompt.md +0 -11
- data/examples/user_input/simple_input_demo/workflow.png +0 -0
- data/examples/user_input/simple_input_demo/workflow.yml +0 -35
- data/examples/user_input/survey_workflow.png +0 -0
- data/examples/user_input/survey_workflow.yml +0 -71
- data/examples/user_input/welcome_message/prompt.md +0 -3
- data/examples/user_input/workflow.png +0 -0
- data/examples/user_input/workflow.yml +0 -73
- data/examples/workflow_generator/README.md +0 -27
- data/examples/workflow_generator/analyze_user_request/prompt.md +0 -34
- data/examples/workflow_generator/create_workflow_files/prompt.md +0 -32
- data/examples/workflow_generator/get_user_input/prompt.md +0 -14
- data/examples/workflow_generator/info_from_roast.rb +0 -22
- data/examples/workflow_generator/workflow.png +0 -0
- data/examples/workflow_generator/workflow.yml +0 -34
- data/lib/roast/helpers/timeout_handler.rb +0 -89
@@ -5,5 +5,236 @@
|
|
5
5
|
# Please instead update this file by running `bin/tapioca gem lint_roller`.
|
6
6
|
|
7
7
|
|
8
|
-
#
|
9
|
-
|
8
|
+
# source://lint_roller//lib/lint_roller/context.rb#1
|
9
|
+
module LintRoller; end
|
10
|
+
|
11
|
+
# source://lint_roller//lib/lint_roller/about.rb#2
|
12
|
+
class LintRoller::About < ::Struct
|
13
|
+
# Returns the value of attribute description
|
14
|
+
#
|
15
|
+
# @return [Object] the current value of description
|
16
|
+
def description; end
|
17
|
+
|
18
|
+
# Sets the attribute description
|
19
|
+
#
|
20
|
+
# @param value [Object] the value to set the attribute description to.
|
21
|
+
# @return [Object] the newly set value
|
22
|
+
def description=(_); end
|
23
|
+
|
24
|
+
# Returns the value of attribute homepage
|
25
|
+
#
|
26
|
+
# @return [Object] the current value of homepage
|
27
|
+
def homepage; end
|
28
|
+
|
29
|
+
# Sets the attribute homepage
|
30
|
+
#
|
31
|
+
# @param value [Object] the value to set the attribute homepage to.
|
32
|
+
# @return [Object] the newly set value
|
33
|
+
def homepage=(_); end
|
34
|
+
|
35
|
+
# Returns the value of attribute name
|
36
|
+
#
|
37
|
+
# @return [Object] the current value of name
|
38
|
+
def name; end
|
39
|
+
|
40
|
+
# Sets the attribute name
|
41
|
+
#
|
42
|
+
# @param value [Object] the value to set the attribute name to.
|
43
|
+
# @return [Object] the newly set value
|
44
|
+
def name=(_); end
|
45
|
+
|
46
|
+
# Returns the value of attribute version
|
47
|
+
#
|
48
|
+
# @return [Object] the current value of version
|
49
|
+
def version; end
|
50
|
+
|
51
|
+
# Sets the attribute version
|
52
|
+
#
|
53
|
+
# @param value [Object] the value to set the attribute version to.
|
54
|
+
# @return [Object] the newly set value
|
55
|
+
def version=(_); end
|
56
|
+
|
57
|
+
class << self
|
58
|
+
def [](*_arg0); end
|
59
|
+
def inspect; end
|
60
|
+
def keyword_init?; end
|
61
|
+
def members; end
|
62
|
+
def new(*_arg0); end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
# source://lint_roller//lib/lint_roller/context.rb#2
|
67
|
+
class LintRoller::Context < ::Struct
|
68
|
+
# Returns the value of attribute engine
|
69
|
+
#
|
70
|
+
# @return [Object] the current value of engine
|
71
|
+
def engine; end
|
72
|
+
|
73
|
+
# Sets the attribute engine
|
74
|
+
#
|
75
|
+
# @param value [Object] the value to set the attribute engine to.
|
76
|
+
# @return [Object] the newly set value
|
77
|
+
def engine=(_); end
|
78
|
+
|
79
|
+
# Returns the value of attribute engine_version
|
80
|
+
#
|
81
|
+
# @return [Object] the current value of engine_version
|
82
|
+
def engine_version; end
|
83
|
+
|
84
|
+
# Sets the attribute engine_version
|
85
|
+
#
|
86
|
+
# @param value [Object] the value to set the attribute engine_version to.
|
87
|
+
# @return [Object] the newly set value
|
88
|
+
def engine_version=(_); end
|
89
|
+
|
90
|
+
# Returns the value of attribute rule_format
|
91
|
+
#
|
92
|
+
# @return [Object] the current value of rule_format
|
93
|
+
def rule_format; end
|
94
|
+
|
95
|
+
# Sets the attribute rule_format
|
96
|
+
#
|
97
|
+
# @param value [Object] the value to set the attribute rule_format to.
|
98
|
+
# @return [Object] the newly set value
|
99
|
+
def rule_format=(_); end
|
100
|
+
|
101
|
+
# Returns the value of attribute runner
|
102
|
+
#
|
103
|
+
# @return [Object] the current value of runner
|
104
|
+
def runner; end
|
105
|
+
|
106
|
+
# Sets the attribute runner
|
107
|
+
#
|
108
|
+
# @param value [Object] the value to set the attribute runner to.
|
109
|
+
# @return [Object] the newly set value
|
110
|
+
def runner=(_); end
|
111
|
+
|
112
|
+
# Returns the value of attribute runner_version
|
113
|
+
#
|
114
|
+
# @return [Object] the current value of runner_version
|
115
|
+
def runner_version; end
|
116
|
+
|
117
|
+
# Sets the attribute runner_version
|
118
|
+
#
|
119
|
+
# @param value [Object] the value to set the attribute runner_version to.
|
120
|
+
# @return [Object] the newly set value
|
121
|
+
def runner_version=(_); end
|
122
|
+
|
123
|
+
# Returns the value of attribute target_ruby_version
|
124
|
+
#
|
125
|
+
# @return [Object] the current value of target_ruby_version
|
126
|
+
def target_ruby_version; end
|
127
|
+
|
128
|
+
# Sets the attribute target_ruby_version
|
129
|
+
#
|
130
|
+
# @param value [Object] the value to set the attribute target_ruby_version to.
|
131
|
+
# @return [Object] the newly set value
|
132
|
+
def target_ruby_version=(_); end
|
133
|
+
|
134
|
+
class << self
|
135
|
+
def [](*_arg0); end
|
136
|
+
def inspect; end
|
137
|
+
def keyword_init?; end
|
138
|
+
def members; end
|
139
|
+
def new(*_arg0); end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
# source://lint_roller//lib/lint_roller/error.rb#2
|
144
|
+
class LintRoller::Error < ::StandardError; end
|
145
|
+
|
146
|
+
# source://lint_roller//lib/lint_roller/plugin.rb#2
|
147
|
+
class LintRoller::Plugin
|
148
|
+
# `config' is a Hash of options passed to the plugin by the user
|
149
|
+
#
|
150
|
+
# @return [Plugin] a new instance of Plugin
|
151
|
+
#
|
152
|
+
# source://lint_roller//lib/lint_roller/plugin.rb#4
|
153
|
+
def initialize(config = T.unsafe(nil)); end
|
154
|
+
|
155
|
+
# @raise [Error]
|
156
|
+
#
|
157
|
+
# source://lint_roller//lib/lint_roller/plugin.rb#8
|
158
|
+
def about; end
|
159
|
+
|
160
|
+
# `context' is an instance of LintRoller::Context provided by the runner
|
161
|
+
#
|
162
|
+
# @raise [Error]
|
163
|
+
#
|
164
|
+
# source://lint_roller//lib/lint_roller/plugin.rb#18
|
165
|
+
def rules(context); end
|
166
|
+
|
167
|
+
# `context' is an instance of LintRoller::Context provided by the runner
|
168
|
+
#
|
169
|
+
# @return [Boolean]
|
170
|
+
#
|
171
|
+
# source://lint_roller//lib/lint_roller/plugin.rb#13
|
172
|
+
def supported?(context); end
|
173
|
+
end
|
174
|
+
|
175
|
+
# source://lint_roller//lib/lint_roller/rules.rb#2
|
176
|
+
class LintRoller::Rules < ::Struct
|
177
|
+
# Returns the value of attribute config_format
|
178
|
+
#
|
179
|
+
# @return [Object] the current value of config_format
|
180
|
+
def config_format; end
|
181
|
+
|
182
|
+
# Sets the attribute config_format
|
183
|
+
#
|
184
|
+
# @param value [Object] the value to set the attribute config_format to.
|
185
|
+
# @return [Object] the newly set value
|
186
|
+
def config_format=(_); end
|
187
|
+
|
188
|
+
# Returns the value of attribute error
|
189
|
+
#
|
190
|
+
# @return [Object] the current value of error
|
191
|
+
def error; end
|
192
|
+
|
193
|
+
# Sets the attribute error
|
194
|
+
#
|
195
|
+
# @param value [Object] the value to set the attribute error to.
|
196
|
+
# @return [Object] the newly set value
|
197
|
+
def error=(_); end
|
198
|
+
|
199
|
+
# Returns the value of attribute type
|
200
|
+
#
|
201
|
+
# @return [Object] the current value of type
|
202
|
+
def type; end
|
203
|
+
|
204
|
+
# Sets the attribute type
|
205
|
+
#
|
206
|
+
# @param value [Object] the value to set the attribute type to.
|
207
|
+
# @return [Object] the newly set value
|
208
|
+
def type=(_); end
|
209
|
+
|
210
|
+
# Returns the value of attribute value
|
211
|
+
#
|
212
|
+
# @return [Object] the current value of value
|
213
|
+
def value; end
|
214
|
+
|
215
|
+
# Sets the attribute value
|
216
|
+
#
|
217
|
+
# @param value [Object] the value to set the attribute value to.
|
218
|
+
# @return [Object] the newly set value
|
219
|
+
def value=(_); end
|
220
|
+
|
221
|
+
class << self
|
222
|
+
def [](*_arg0); end
|
223
|
+
def inspect; end
|
224
|
+
def keyword_init?; end
|
225
|
+
def members; end
|
226
|
+
def new(*_arg0); end
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
# source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#2
|
231
|
+
module LintRoller::Support; end
|
232
|
+
|
233
|
+
# source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#3
|
234
|
+
class LintRoller::Support::MergesUpstreamMetadata
|
235
|
+
# source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#4
|
236
|
+
def merge(plugin_yaml, upstream_yaml); end
|
237
|
+
end
|
238
|
+
|
239
|
+
# source://lint_roller//lib/lint_roller/version.rb#2
|
240
|
+
LintRoller::VERSION = T.let(T.unsafe(nil), String)
|
@@ -11,6 +11,8 @@ ParseError = Racc::ParseError
|
|
11
11
|
# source://racc//lib/racc/info.rb#17
|
12
12
|
Racc::Copyright = T.let(T.unsafe(nil), String)
|
13
13
|
|
14
|
+
class Racc::CparseParams; end
|
15
|
+
|
14
16
|
# source://racc//lib/racc/parser.rb#184
|
15
17
|
class Racc::Parser
|
16
18
|
# source://racc//lib/racc/parser.rb#279
|
@@ -130,22 +132,22 @@ class Racc::Parser
|
|
130
132
|
end
|
131
133
|
end
|
132
134
|
|
133
|
-
# source://racc//lib/racc/parser.rb#
|
135
|
+
# source://racc//lib/racc/parser.rb#205
|
134
136
|
Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol)
|
135
137
|
|
136
|
-
# source://racc//lib/racc/parser.rb#
|
138
|
+
# source://racc//lib/racc/parser.rb#207
|
137
139
|
Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String)
|
138
140
|
|
139
141
|
# source://racc//lib/racc/parser.rb#187
|
140
142
|
Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String)
|
141
143
|
|
142
|
-
# source://racc//lib/racc/parser.rb#
|
144
|
+
# source://racc//lib/racc/parser.rb#208
|
143
145
|
Racc::Parser::Racc_Runtime_Type = T.let(T.unsafe(nil), String)
|
144
146
|
|
145
147
|
# source://racc//lib/racc/parser.rb#186
|
146
148
|
Racc::Parser::Racc_Runtime_Version = T.let(T.unsafe(nil), String)
|
147
149
|
|
148
|
-
# source://racc//lib/racc/parser.rb#
|
150
|
+
# source://racc//lib/racc/parser.rb#206
|
149
151
|
Racc::Parser::Racc_YY_Parse_Method = T.let(T.unsafe(nil), Symbol)
|
150
152
|
|
151
153
|
# source://racc//lib/racc/parser.rb#181
|
@@ -5,5 +5,399 @@
|
|
5
5
|
# Please instead update this file by running `bin/tapioca gem rainbow`.
|
6
6
|
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
class Object < ::BasicObject
|
9
|
+
include ::Kernel
|
10
|
+
include ::PP::ObjectMixin
|
11
|
+
|
12
|
+
private
|
13
|
+
|
14
|
+
# source://rainbow//lib/rainbow/global.rb#23
|
15
|
+
def Rainbow(string); end
|
16
|
+
end
|
17
|
+
|
18
|
+
# source://rainbow//lib/rainbow/string_utils.rb#3
|
19
|
+
module Rainbow
|
20
|
+
class << self
|
21
|
+
# source://rainbow//lib/rainbow/global.rb#10
|
22
|
+
def enabled; end
|
23
|
+
|
24
|
+
# source://rainbow//lib/rainbow/global.rb#14
|
25
|
+
def enabled=(value); end
|
26
|
+
|
27
|
+
# source://rainbow//lib/rainbow/global.rb#6
|
28
|
+
def global; end
|
29
|
+
|
30
|
+
# source://rainbow//lib/rainbow.rb#6
|
31
|
+
def new; end
|
32
|
+
|
33
|
+
# source://rainbow//lib/rainbow/global.rb#18
|
34
|
+
def uncolor(string); end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
# source://rainbow//lib/rainbow/color.rb#4
|
39
|
+
class Rainbow::Color
|
40
|
+
# Returns the value of attribute ground.
|
41
|
+
#
|
42
|
+
# source://rainbow//lib/rainbow/color.rb#5
|
43
|
+
def ground; end
|
44
|
+
|
45
|
+
class << self
|
46
|
+
# source://rainbow//lib/rainbow/color.rb#7
|
47
|
+
def build(ground, values); end
|
48
|
+
|
49
|
+
# source://rainbow//lib/rainbow/color.rb#40
|
50
|
+
def parse_hex_color(hex); end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# source://rainbow//lib/rainbow/color.rb#54
|
55
|
+
class Rainbow::Color::Indexed < ::Rainbow::Color
|
56
|
+
# @return [Indexed] a new instance of Indexed
|
57
|
+
#
|
58
|
+
# source://rainbow//lib/rainbow/color.rb#57
|
59
|
+
def initialize(ground, num); end
|
60
|
+
|
61
|
+
# source://rainbow//lib/rainbow/color.rb#62
|
62
|
+
def codes; end
|
63
|
+
|
64
|
+
# Returns the value of attribute num.
|
65
|
+
#
|
66
|
+
# source://rainbow//lib/rainbow/color.rb#55
|
67
|
+
def num; end
|
68
|
+
end
|
69
|
+
|
70
|
+
# source://rainbow//lib/rainbow/color.rb#69
|
71
|
+
class Rainbow::Color::Named < ::Rainbow::Color::Indexed
|
72
|
+
# @return [Named] a new instance of Named
|
73
|
+
#
|
74
|
+
# source://rainbow//lib/rainbow/color.rb#90
|
75
|
+
def initialize(ground, name); end
|
76
|
+
|
77
|
+
class << self
|
78
|
+
# source://rainbow//lib/rainbow/color.rb#82
|
79
|
+
def color_names; end
|
80
|
+
|
81
|
+
# source://rainbow//lib/rainbow/color.rb#86
|
82
|
+
def valid_names; end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
# source://rainbow//lib/rainbow/color.rb#70
|
87
|
+
Rainbow::Color::Named::NAMES = T.let(T.unsafe(nil), Hash)
|
88
|
+
|
89
|
+
# source://rainbow//lib/rainbow/color.rb#100
|
90
|
+
class Rainbow::Color::RGB < ::Rainbow::Color::Indexed
|
91
|
+
# @return [RGB] a new instance of RGB
|
92
|
+
#
|
93
|
+
# source://rainbow//lib/rainbow/color.rb#107
|
94
|
+
def initialize(ground, *values); end
|
95
|
+
|
96
|
+
# Returns the value of attribute b.
|
97
|
+
#
|
98
|
+
# source://rainbow//lib/rainbow/color.rb#101
|
99
|
+
def b; end
|
100
|
+
|
101
|
+
# source://rainbow//lib/rainbow/color.rb#116
|
102
|
+
def codes; end
|
103
|
+
|
104
|
+
# Returns the value of attribute g.
|
105
|
+
#
|
106
|
+
# source://rainbow//lib/rainbow/color.rb#101
|
107
|
+
def g; end
|
108
|
+
|
109
|
+
# Returns the value of attribute r.
|
110
|
+
#
|
111
|
+
# source://rainbow//lib/rainbow/color.rb#101
|
112
|
+
def r; end
|
113
|
+
|
114
|
+
private
|
115
|
+
|
116
|
+
# source://rainbow//lib/rainbow/color.rb#122
|
117
|
+
def code_from_rgb; end
|
118
|
+
|
119
|
+
class << self
|
120
|
+
# source://rainbow//lib/rainbow/color.rb#103
|
121
|
+
def to_ansi_domain(value); end
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# source://rainbow//lib/rainbow/color.rb#129
|
126
|
+
class Rainbow::Color::X11Named < ::Rainbow::Color::RGB
|
127
|
+
include ::Rainbow::X11ColorNames
|
128
|
+
|
129
|
+
# @return [X11Named] a new instance of X11Named
|
130
|
+
#
|
131
|
+
# source://rainbow//lib/rainbow/color.rb#140
|
132
|
+
def initialize(ground, name); end
|
133
|
+
|
134
|
+
class << self
|
135
|
+
# source://rainbow//lib/rainbow/color.rb#132
|
136
|
+
def color_names; end
|
137
|
+
|
138
|
+
# source://rainbow//lib/rainbow/color.rb#136
|
139
|
+
def valid_names; end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#4
|
144
|
+
class Rainbow::NullPresenter < ::String
|
145
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#9
|
146
|
+
def background(*_values); end
|
147
|
+
|
148
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#9
|
149
|
+
def bg(*_values); end
|
150
|
+
|
151
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#49
|
152
|
+
def black; end
|
153
|
+
|
154
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#33
|
155
|
+
def blink; end
|
156
|
+
|
157
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#65
|
158
|
+
def blue; end
|
159
|
+
|
160
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#17
|
161
|
+
def bold; end
|
162
|
+
|
163
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#17
|
164
|
+
def bright; end
|
165
|
+
|
166
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#5
|
167
|
+
def color(*_values); end
|
168
|
+
|
169
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#45
|
170
|
+
def cross_out; end
|
171
|
+
|
172
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#73
|
173
|
+
def cyan; end
|
174
|
+
|
175
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#21
|
176
|
+
def dark; end
|
177
|
+
|
178
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#21
|
179
|
+
def faint; end
|
180
|
+
|
181
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#5
|
182
|
+
def fg(*_values); end
|
183
|
+
|
184
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#5
|
185
|
+
def foreground(*_values); end
|
186
|
+
|
187
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#57
|
188
|
+
def green; end
|
189
|
+
|
190
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#41
|
191
|
+
def hide; end
|
192
|
+
|
193
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#37
|
194
|
+
def inverse; end
|
195
|
+
|
196
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#25
|
197
|
+
def italic; end
|
198
|
+
|
199
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#69
|
200
|
+
def magenta; end
|
201
|
+
|
202
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#81
|
203
|
+
def method_missing(method_name, *args); end
|
204
|
+
|
205
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#53
|
206
|
+
def red; end
|
207
|
+
|
208
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#13
|
209
|
+
def reset; end
|
210
|
+
|
211
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#45
|
212
|
+
def strike; end
|
213
|
+
|
214
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#29
|
215
|
+
def underline; end
|
216
|
+
|
217
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#77
|
218
|
+
def white; end
|
219
|
+
|
220
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#61
|
221
|
+
def yellow; end
|
222
|
+
|
223
|
+
private
|
224
|
+
|
225
|
+
# @return [Boolean]
|
226
|
+
#
|
227
|
+
# source://rainbow//lib/rainbow/null_presenter.rb#89
|
228
|
+
def respond_to_missing?(method_name, *args); end
|
229
|
+
end
|
230
|
+
|
231
|
+
# source://rainbow//lib/rainbow/presenter.rb#8
|
232
|
+
class Rainbow::Presenter < ::String
|
233
|
+
# Sets background color of this text.
|
234
|
+
#
|
235
|
+
# source://rainbow//lib/rainbow/presenter.rb#30
|
236
|
+
def background(*values); end
|
237
|
+
|
238
|
+
# Sets background color of this text.
|
239
|
+
#
|
240
|
+
# source://rainbow//lib/rainbow/presenter.rb#30
|
241
|
+
def bg(*values); end
|
242
|
+
|
243
|
+
# source://rainbow//lib/rainbow/presenter.rb#92
|
244
|
+
def black; end
|
245
|
+
|
246
|
+
# Turns on blinking attribute for this text (not well supported by terminal
|
247
|
+
# emulators).
|
248
|
+
#
|
249
|
+
# source://rainbow//lib/rainbow/presenter.rb#72
|
250
|
+
def blink; end
|
251
|
+
|
252
|
+
# source://rainbow//lib/rainbow/presenter.rb#108
|
253
|
+
def blue; end
|
254
|
+
|
255
|
+
# Turns on bright/bold for this text.
|
256
|
+
#
|
257
|
+
# source://rainbow//lib/rainbow/presenter.rb#45
|
258
|
+
def bold; end
|
259
|
+
|
260
|
+
# Turns on bright/bold for this text.
|
261
|
+
#
|
262
|
+
# source://rainbow//lib/rainbow/presenter.rb#45
|
263
|
+
def bright; end
|
264
|
+
|
265
|
+
# Sets color of this text.
|
266
|
+
#
|
267
|
+
# source://rainbow//lib/rainbow/presenter.rb#22
|
268
|
+
def color(*values); end
|
269
|
+
|
270
|
+
# source://rainbow//lib/rainbow/presenter.rb#86
|
271
|
+
def cross_out; end
|
272
|
+
|
273
|
+
# source://rainbow//lib/rainbow/presenter.rb#116
|
274
|
+
def cyan; end
|
275
|
+
|
276
|
+
# Turns on faint/dark for this text (not well supported by terminal
|
277
|
+
# emulators).
|
278
|
+
#
|
279
|
+
# source://rainbow//lib/rainbow/presenter.rb#53
|
280
|
+
def dark; end
|
281
|
+
|
282
|
+
# Turns on faint/dark for this text (not well supported by terminal
|
283
|
+
# emulators).
|
284
|
+
#
|
285
|
+
# source://rainbow//lib/rainbow/presenter.rb#53
|
286
|
+
def faint; end
|
287
|
+
|
288
|
+
# Sets color of this text.
|
289
|
+
#
|
290
|
+
# source://rainbow//lib/rainbow/presenter.rb#22
|
291
|
+
def fg(*values); end
|
292
|
+
|
293
|
+
# Sets color of this text.
|
294
|
+
#
|
295
|
+
# source://rainbow//lib/rainbow/presenter.rb#22
|
296
|
+
def foreground(*values); end
|
297
|
+
|
298
|
+
# source://rainbow//lib/rainbow/presenter.rb#100
|
299
|
+
def green; end
|
300
|
+
|
301
|
+
# Hides this text (set its color to the same as background).
|
302
|
+
#
|
303
|
+
# source://rainbow//lib/rainbow/presenter.rb#82
|
304
|
+
def hide; end
|
305
|
+
|
306
|
+
# Inverses current foreground/background colors.
|
307
|
+
#
|
308
|
+
# source://rainbow//lib/rainbow/presenter.rb#77
|
309
|
+
def inverse; end
|
310
|
+
|
311
|
+
# Turns on italic style for this text (not well supported by terminal
|
312
|
+
# emulators).
|
313
|
+
#
|
314
|
+
# source://rainbow//lib/rainbow/presenter.rb#61
|
315
|
+
def italic; end
|
316
|
+
|
317
|
+
# source://rainbow//lib/rainbow/presenter.rb#112
|
318
|
+
def magenta; end
|
319
|
+
|
320
|
+
# We take care of X11 color method call here.
|
321
|
+
# Such as #aqua, #ghostwhite.
|
322
|
+
#
|
323
|
+
# source://rainbow//lib/rainbow/presenter.rb#126
|
324
|
+
def method_missing(method_name, *args); end
|
325
|
+
|
326
|
+
# source://rainbow//lib/rainbow/presenter.rb#96
|
327
|
+
def red; end
|
328
|
+
|
329
|
+
# Resets terminal to default colors/backgrounds.
|
330
|
+
#
|
331
|
+
# It shouldn't be needed to use this method because all methods
|
332
|
+
# append terminal reset code to end of string.
|
333
|
+
#
|
334
|
+
# source://rainbow//lib/rainbow/presenter.rb#40
|
335
|
+
def reset; end
|
336
|
+
|
337
|
+
# source://rainbow//lib/rainbow/presenter.rb#86
|
338
|
+
def strike; end
|
339
|
+
|
340
|
+
# Turns on underline decoration for this text.
|
341
|
+
#
|
342
|
+
# source://rainbow//lib/rainbow/presenter.rb#66
|
343
|
+
def underline; end
|
344
|
+
|
345
|
+
# source://rainbow//lib/rainbow/presenter.rb#120
|
346
|
+
def white; end
|
347
|
+
|
348
|
+
# source://rainbow//lib/rainbow/presenter.rb#104
|
349
|
+
def yellow; end
|
350
|
+
|
351
|
+
private
|
352
|
+
|
353
|
+
# @return [Boolean]
|
354
|
+
#
|
355
|
+
# source://rainbow//lib/rainbow/presenter.rb#134
|
356
|
+
def respond_to_missing?(method_name, *args); end
|
357
|
+
|
358
|
+
# source://rainbow//lib/rainbow/presenter.rb#140
|
359
|
+
def wrap_with_sgr(codes); end
|
360
|
+
end
|
361
|
+
|
362
|
+
# source://rainbow//lib/rainbow/presenter.rb#9
|
363
|
+
Rainbow::Presenter::TERM_EFFECTS = T.let(T.unsafe(nil), Hash)
|
364
|
+
|
365
|
+
# source://rainbow//lib/rainbow/string_utils.rb#4
|
366
|
+
class Rainbow::StringUtils
|
367
|
+
class << self
|
368
|
+
# source://rainbow//lib/rainbow/string_utils.rb#17
|
369
|
+
def uncolor(string); end
|
370
|
+
|
371
|
+
# source://rainbow//lib/rainbow/string_utils.rb#5
|
372
|
+
def wrap_with_sgr(string, codes); end
|
373
|
+
end
|
374
|
+
end
|
375
|
+
|
376
|
+
# source://rainbow//lib/rainbow/wrapper.rb#7
|
377
|
+
class Rainbow::Wrapper
|
378
|
+
# @return [Wrapper] a new instance of Wrapper
|
379
|
+
#
|
380
|
+
# source://rainbow//lib/rainbow/wrapper.rb#10
|
381
|
+
def initialize(enabled = T.unsafe(nil)); end
|
382
|
+
|
383
|
+
# Returns the value of attribute enabled.
|
384
|
+
#
|
385
|
+
# source://rainbow//lib/rainbow/wrapper.rb#8
|
386
|
+
def enabled; end
|
387
|
+
|
388
|
+
# Sets the attribute enabled
|
389
|
+
#
|
390
|
+
# @param value the value to set the attribute enabled to.
|
391
|
+
#
|
392
|
+
# source://rainbow//lib/rainbow/wrapper.rb#8
|
393
|
+
def enabled=(_arg0); end
|
394
|
+
|
395
|
+
# source://rainbow//lib/rainbow/wrapper.rb#14
|
396
|
+
def wrap(string); end
|
397
|
+
end
|
398
|
+
|
399
|
+
# source://rainbow//lib/rainbow/x11_color_names.rb#4
|
400
|
+
module Rainbow::X11ColorNames; end
|
401
|
+
|
402
|
+
# source://rainbow//lib/rainbow/x11_color_names.rb#5
|
403
|
+
Rainbow::X11ColorNames::NAMES = T.let(T.unsafe(nil), Hash)
|