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
@@ -0,0 +1,225 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `simplecov-html` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem simplecov-html`.
|
6
|
+
|
7
|
+
|
8
|
+
# source://simplecov-html//lib/simplecov-html.rb#15
|
9
|
+
module SimpleCov
|
10
|
+
class << self
|
11
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#174
|
12
|
+
def at_exit_behavior; end
|
13
|
+
|
14
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#170
|
15
|
+
def clear_result; end
|
16
|
+
|
17
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#86
|
18
|
+
def collate(result_filenames, profile = T.unsafe(nil), ignore_timeout: T.unsafe(nil), &block); end
|
19
|
+
|
20
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#223
|
21
|
+
def exit_and_report_previous_error(exit_status); end
|
22
|
+
|
23
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#200
|
24
|
+
def exit_status_from_exception; end
|
25
|
+
|
26
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#28
|
27
|
+
def external_at_exit; end
|
28
|
+
|
29
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#28
|
30
|
+
def external_at_exit=(_arg0); end
|
31
|
+
|
32
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#28
|
33
|
+
def external_at_exit?; end
|
34
|
+
|
35
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#131
|
36
|
+
def filtered(files); end
|
37
|
+
|
38
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#268
|
39
|
+
def final_result_process?; end
|
40
|
+
|
41
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#142
|
42
|
+
def grouped(files); end
|
43
|
+
|
44
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#162
|
45
|
+
def load_adapter(name); end
|
46
|
+
|
47
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#158
|
48
|
+
def load_profile(name); end
|
49
|
+
|
50
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#24
|
51
|
+
def pid; end
|
52
|
+
|
53
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#24
|
54
|
+
def pid=(_arg0); end
|
55
|
+
|
56
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#213
|
57
|
+
def previous_error?(error_exit_status); end
|
58
|
+
|
59
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#248
|
60
|
+
def process_result(result); end
|
61
|
+
|
62
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#233
|
63
|
+
def process_results_and_report_error; end
|
64
|
+
|
65
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#229
|
66
|
+
def ready_to_process_results?; end
|
67
|
+
|
68
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#101
|
69
|
+
def result; end
|
70
|
+
|
71
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#124
|
72
|
+
def result?; end
|
73
|
+
|
74
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#256
|
75
|
+
def result_exit_status(result); end
|
76
|
+
|
77
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#296
|
78
|
+
def round_coverage(coverage); end
|
79
|
+
|
80
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#186
|
81
|
+
def run_exit_tasks!; end
|
82
|
+
|
83
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#24
|
84
|
+
def running; end
|
85
|
+
|
86
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#24
|
87
|
+
def running=(_arg0); end
|
88
|
+
|
89
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#48
|
90
|
+
def start(profile = T.unsafe(nil), &block); end
|
91
|
+
|
92
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#276
|
93
|
+
def wait_for_other_processes; end
|
94
|
+
|
95
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#285
|
96
|
+
def write_last_run(result); end
|
97
|
+
|
98
|
+
private
|
99
|
+
|
100
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#399
|
101
|
+
def adapt_coverage_result; end
|
102
|
+
|
103
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#371
|
104
|
+
def add_not_loaded_files(result); end
|
105
|
+
|
106
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#302
|
107
|
+
def initial_setup(profile, &block); end
|
108
|
+
|
109
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#363
|
110
|
+
def lookup_corresponding_ruby_coverage_name(criterion); end
|
111
|
+
|
112
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#425
|
113
|
+
def make_parallel_tests_available; end
|
114
|
+
|
115
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#434
|
116
|
+
def probably_running_parallel_tests?; end
|
117
|
+
|
118
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#388
|
119
|
+
def process_coverage_result; end
|
120
|
+
|
121
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#410
|
122
|
+
def remove_useless_results; end
|
123
|
+
|
124
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#420
|
125
|
+
def result_with_not_loaded_files; end
|
126
|
+
|
127
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#314
|
128
|
+
def start_coverage_measurement; end
|
129
|
+
|
130
|
+
# source://simplecov/0.22.0/lib/simplecov.rb#349
|
131
|
+
def start_coverage_with_criteria; end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
# source://simplecov-html//lib/simplecov-html.rb#16
|
136
|
+
module SimpleCov::Formatter
|
137
|
+
class << self
|
138
|
+
# source://simplecov/0.22.0/lib/simplecov/default_formatter.rb#7
|
139
|
+
def from_env(env); end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
# source://simplecov-html//lib/simplecov-html.rb#17
|
144
|
+
class SimpleCov::Formatter::HTMLFormatter
|
145
|
+
# @return [HTMLFormatter] a new instance of HTMLFormatter
|
146
|
+
#
|
147
|
+
# source://simplecov-html//lib/simplecov-html.rb#26
|
148
|
+
def initialize; end
|
149
|
+
|
150
|
+
# source://simplecov-html//lib/simplecov-html.rb#33
|
151
|
+
def format(result); end
|
152
|
+
|
153
|
+
private
|
154
|
+
|
155
|
+
# source://simplecov-html//lib/simplecov-html.rb#93
|
156
|
+
def asset_inline(name); end
|
157
|
+
|
158
|
+
# source://simplecov-html//lib/simplecov-html.rb#79
|
159
|
+
def asset_output_path; end
|
160
|
+
|
161
|
+
# source://simplecov-html//lib/simplecov-html.rb#87
|
162
|
+
def assets_path(name); end
|
163
|
+
|
164
|
+
# @return [Boolean]
|
165
|
+
#
|
166
|
+
# source://simplecov-html//lib/simplecov-html.rb#48
|
167
|
+
def branchable_result?; end
|
168
|
+
|
169
|
+
# source://simplecov-html//lib/simplecov-html.rb#124
|
170
|
+
def coverage_css_class(covered_percent); end
|
171
|
+
|
172
|
+
# source://simplecov-html//lib/simplecov-html.rb#120
|
173
|
+
def covered_percent(percent); end
|
174
|
+
|
175
|
+
# Returns a table containing the given source files
|
176
|
+
#
|
177
|
+
# source://simplecov-html//lib/simplecov-html.rb#111
|
178
|
+
def formatted_file_list(title, source_files); end
|
179
|
+
|
180
|
+
# Returns the html for the given source_file
|
181
|
+
#
|
182
|
+
# source://simplecov-html//lib/simplecov-html.rb#104
|
183
|
+
def formatted_source_file(source_file); end
|
184
|
+
|
185
|
+
# Return a (kind of) unique id for the source file given. Uses SHA1 on path for the id
|
186
|
+
#
|
187
|
+
# source://simplecov-html//lib/simplecov-html.rb#145
|
188
|
+
def id(source_file); end
|
189
|
+
|
190
|
+
# @return [Boolean]
|
191
|
+
#
|
192
|
+
# source://simplecov-html//lib/simplecov-html.rb#55
|
193
|
+
def line_status?(source_file, line); end
|
194
|
+
|
195
|
+
# source://simplecov-html//lib/simplecov-html.rb#157
|
196
|
+
def link_to_source_file(source_file); end
|
197
|
+
|
198
|
+
# source://simplecov-html//lib/simplecov-html.rb#63
|
199
|
+
def output_message(result); end
|
200
|
+
|
201
|
+
# source://simplecov-html//lib/simplecov-html.rb#75
|
202
|
+
def output_path; end
|
203
|
+
|
204
|
+
# source://simplecov-html//lib/simplecov-html.rb#153
|
205
|
+
def shortened_filename(source_file); end
|
206
|
+
|
207
|
+
# source://simplecov-html//lib/simplecov-html.rb#134
|
208
|
+
def strength_css_class(covered_strength); end
|
209
|
+
|
210
|
+
# Returns the an erb instance for the template of given name
|
211
|
+
#
|
212
|
+
# source://simplecov-html//lib/simplecov-html.rb#71
|
213
|
+
def template(name); end
|
214
|
+
|
215
|
+
# source://simplecov-html//lib/simplecov-html.rb#149
|
216
|
+
def timeago(time); end
|
217
|
+
end
|
218
|
+
|
219
|
+
# Only have a few content types, just hardcode them
|
220
|
+
#
|
221
|
+
# source://simplecov-html//lib/simplecov-html.rb#19
|
222
|
+
SimpleCov::Formatter::HTMLFormatter::CONTENT_TYPES = T.let(T.unsafe(nil), Hash)
|
223
|
+
|
224
|
+
# source://simplecov-html//lib/simplecov-html/version.rb#6
|
225
|
+
SimpleCov::Formatter::HTMLFormatter::VERSION = T.let(T.unsafe(nil), String)
|