sorbet-struct-comparable 1.0.0 → 1.1.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 +4 -4
- data/.github/workflows/ci.yml +3 -2
- data/.ruby-version +1 -1
- data/CHANGELOG.md +5 -0
- data/README.md +2 -2
- data/lib/sorbet-struct-comparable/version.rb +1 -1
- data/lib/t/struct/acts_as_comparable.rb +7 -12
- data/sorbet-struct-comparable.gemspec +1 -1
- data/sorbet/rbi/gems/docile.rbi +5 -1
- data/sorbet/rbi/gems/listen.rbi +44 -67
- data/sorbet/rbi/gems/rake.rbi +2 -4
- data/sorbet/rbi/gems/rspec-core.rbi +10 -53
- data/sorbet/rbi/gems/rspec-expectations.rbi +73 -48
- data/sorbet/rbi/gems/rspec-mocks.rbi +2 -1
- data/sorbet/rbi/gems/rspec-support.rbi +1 -1
- data/sorbet/rbi/gems/rspec.rbi +1 -1
- data/sorbet/rbi/gems/simplecov-html.rbi +1 -1
- data/sorbet/rbi/gems/simplecov.rbi +78 -20
- data/sorbet/rbi/gems/simplecov_json_formatter.rbi +45 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +490 -2979
- data/sorbet/rbi/hidden-definitions/hidden.rbi +1190 -2389
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
- metadata +13 -10
@@ -7,7 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rspec-expectations/all/rspec-expectations.rbi
|
9
9
|
#
|
10
|
-
# rspec-expectations-3.
|
10
|
+
# rspec-expectations-3.10.1
|
11
11
|
|
12
12
|
module RSpec
|
13
13
|
end
|
@@ -337,6 +337,9 @@ class RSpec::Expectations::Configuration
|
|
337
337
|
def on_potential_false_positives; end
|
338
338
|
def on_potential_false_positives=(behavior); end
|
339
339
|
def reset_syntaxes_to_default; end
|
340
|
+
def strict_predicate_matchers; end
|
341
|
+
def strict_predicate_matchers=(flag); end
|
342
|
+
def strict_predicate_matchers?; end
|
340
343
|
def syntax; end
|
341
344
|
def syntax=(values); end
|
342
345
|
def warn_about_potential_false_positives=(boolean); end
|
@@ -354,14 +357,14 @@ module RSpec::Expectations::ExpectationHelper
|
|
354
357
|
def self.with_matcher(handler, matcher, message); end
|
355
358
|
end
|
356
359
|
class RSpec::Expectations::PositiveExpectationHandler
|
357
|
-
def self.handle_matcher(actual, initial_matcher,
|
360
|
+
def self.handle_matcher(actual, initial_matcher, custom_message = nil, &block); end
|
358
361
|
def self.opposite_should_method; end
|
359
362
|
def self.should_method; end
|
360
363
|
def self.verb; end
|
361
364
|
end
|
362
365
|
class RSpec::Expectations::NegativeExpectationHandler
|
363
366
|
def self.does_not_match?(matcher, actual, &block); end
|
364
|
-
def self.handle_matcher(actual, initial_matcher,
|
367
|
+
def self.handle_matcher(actual, initial_matcher, custom_message = nil, &block); end
|
365
368
|
def self.opposite_should_method; end
|
366
369
|
def self.should_method; end
|
367
370
|
def self.verb; end
|
@@ -388,12 +391,15 @@ class RSpec::Expectations::MultipleExpectationsNotMetError < RSpec::Expectations
|
|
388
391
|
def aggregation_block_label; end
|
389
392
|
def aggregation_metadata; end
|
390
393
|
def all_exceptions; end
|
394
|
+
def backtrace_line(line); end
|
391
395
|
def block_description; end
|
392
396
|
def enumerated(exceptions, index_offset); end
|
393
397
|
def enumerated_errors; end
|
394
398
|
def enumerated_failures; end
|
395
399
|
def exception_count_description; end
|
400
|
+
def exclusion_patterns; end
|
396
401
|
def failures; end
|
402
|
+
def format_backtrace(backtrace); end
|
397
403
|
def indentation; end
|
398
404
|
def indented(failure_message, index); end
|
399
405
|
def index_label(index); end
|
@@ -545,31 +551,44 @@ class RSpec::Matchers::BuiltIn::Be < RSpec::Matchers::BuiltIn::BaseMatcher
|
|
545
551
|
end
|
546
552
|
class RSpec::Matchers::BuiltIn::BeComparedTo < RSpec::Matchers::BuiltIn::BaseMatcher
|
547
553
|
def description; end
|
554
|
+
def does_not_match?(actual); end
|
548
555
|
def failure_message; end
|
549
556
|
def failure_message_when_negated; end
|
550
557
|
def initialize(operand, operator); end
|
551
558
|
def matches?(actual); end
|
559
|
+
def perform_match(actual); end
|
552
560
|
include RSpec::Matchers::BuiltIn::BeHelpers
|
553
561
|
end
|
554
|
-
class RSpec::Matchers::BuiltIn::
|
562
|
+
class RSpec::Matchers::BuiltIn::DynamicPredicate < RSpec::Matchers::BuiltIn::BaseMatcher
|
555
563
|
def description; end
|
556
564
|
def does_not_match?(actual, &block); end
|
565
|
+
def expectation_of(value); end
|
557
566
|
def failure_message; end
|
558
567
|
def failure_message_expecting(value); end
|
559
568
|
def failure_message_when_negated; end
|
560
|
-
def
|
569
|
+
def failure_to_respond_explanation; end
|
570
|
+
def initialize(method_name, *args, &block); end
|
561
571
|
def matches?(actual, &block); end
|
562
|
-
def
|
563
|
-
def predicate; end
|
572
|
+
def method_description; end
|
564
573
|
def predicate_accessible?; end
|
565
|
-
def predicate_matches
|
566
|
-
def
|
567
|
-
def
|
568
|
-
def present_tense_predicate; end
|
574
|
+
def predicate_matches?(value = nil); end
|
575
|
+
def predicate_method_name; end
|
576
|
+
def predicate_result; end
|
569
577
|
def private_predicate?; end
|
578
|
+
def root; end
|
570
579
|
def validity_message; end
|
571
580
|
include RSpec::Matchers::BuiltIn::BeHelpers
|
572
581
|
end
|
582
|
+
class RSpec::Matchers::BuiltIn::Has < RSpec::Matchers::BuiltIn::DynamicPredicate
|
583
|
+
def predicate; end
|
584
|
+
end
|
585
|
+
class RSpec::Matchers::BuiltIn::BePredicate < RSpec::Matchers::BuiltIn::DynamicPredicate
|
586
|
+
def failure_to_respond_explanation; end
|
587
|
+
def predicate; end
|
588
|
+
def predicate_accessible?; end
|
589
|
+
def predicate_method_name; end
|
590
|
+
def present_tense_predicate; end
|
591
|
+
end
|
573
592
|
class RSpec::Matchers::BuiltIn::BeWithin < RSpec::Matchers::BuiltIn::BaseMatcher
|
574
593
|
def description; end
|
575
594
|
def failure_message; end
|
@@ -815,23 +834,6 @@ class RSpec::Matchers::BuiltIn::Exist::ExistenceTest < Anonymous_Struct_2
|
|
815
834
|
def valid_test?; end
|
816
835
|
def validity_message; end
|
817
836
|
end
|
818
|
-
class RSpec::Matchers::BuiltIn::Has < RSpec::Matchers::BuiltIn::BaseMatcher
|
819
|
-
def args_description; end
|
820
|
-
def description; end
|
821
|
-
def does_not_match?(actual, &block); end
|
822
|
-
def failure_message; end
|
823
|
-
def failure_message_args_description; end
|
824
|
-
def failure_message_when_negated; end
|
825
|
-
def initialize(method_name, *args, &block); end
|
826
|
-
def matches?(actual, &block); end
|
827
|
-
def method_description; end
|
828
|
-
def predicate; end
|
829
|
-
def predicate_accessible?; end
|
830
|
-
def predicate_exists?; end
|
831
|
-
def predicate_matches?; end
|
832
|
-
def private_predicate?; end
|
833
|
-
def validity_message; end
|
834
|
-
end
|
835
837
|
class RSpec::Matchers::BuiltIn::HaveAttributes < RSpec::Matchers::BuiltIn::BaseMatcher
|
836
838
|
def actual; end
|
837
839
|
def actual_has_attribute?(attribute_key, attribute_value); end
|
@@ -850,13 +852,40 @@ class RSpec::Matchers::BuiltIn::HaveAttributes < RSpec::Matchers::BuiltIn::BaseM
|
|
850
852
|
def respond_to_failure_message_or; end
|
851
853
|
def respond_to_matcher; end
|
852
854
|
end
|
855
|
+
module RSpec::Matchers::BuiltIn::CountExpectation
|
856
|
+
def at_least(number); end
|
857
|
+
def at_most(number); end
|
858
|
+
def count_constraint_to_number(n); end
|
859
|
+
def count_expectation_description; end
|
860
|
+
def count_expectation_type; end
|
861
|
+
def count_failure_reason(action); end
|
862
|
+
def cover?(count, number); end
|
863
|
+
def exactly(number); end
|
864
|
+
def expected_count; end
|
865
|
+
def expected_count_matches?(actual_count); end
|
866
|
+
def has_expected_count?; end
|
867
|
+
def human_readable_count(count); end
|
868
|
+
def human_readable_expectation_type; end
|
869
|
+
def once; end
|
870
|
+
def raise_impossible_count_expectation(count); end
|
871
|
+
def raise_unsupported_count_expectation; end
|
872
|
+
def set_expected_count(relativity, n); end
|
873
|
+
def thrice; end
|
874
|
+
def times; end
|
875
|
+
def twice; end
|
876
|
+
def unsupported_count_expectation?(relativity); end
|
877
|
+
end
|
853
878
|
class RSpec::Matchers::BuiltIn::Include < RSpec::Matchers::BuiltIn::BaseMatcher
|
854
879
|
def actual_collection_includes?(expected_item); end
|
855
880
|
def actual_hash_has_key?(expected_key); end
|
856
881
|
def actual_hash_includes?(expected_key, expected_value); end
|
882
|
+
def check_actual?(actual); end
|
883
|
+
def check_expected_count?; end
|
857
884
|
def comparing_hash_keys?(expected_item); end
|
858
885
|
def comparing_hash_to_a_subset?(expected_item); end
|
859
886
|
def convert_to_hash?(obj); end
|
887
|
+
def count_enumerable(expected_item); end
|
888
|
+
def count_inclusions; end
|
860
889
|
def description; end
|
861
890
|
def diff_would_wrongly_highlight_matched_item?; end
|
862
891
|
def diffable?; end
|
@@ -869,8 +898,9 @@ class RSpec::Matchers::BuiltIn::Include < RSpec::Matchers::BuiltIn::BaseMatcher
|
|
869
898
|
def format_failure_message(preposition); end
|
870
899
|
def initialize(*expecteds); end
|
871
900
|
def matches?(actual); end
|
872
|
-
def perform_match(
|
901
|
+
def perform_match(&block); end
|
873
902
|
def readable_list_of(items); end
|
903
|
+
include RSpec::Matchers::BuiltIn::CountExpectation
|
874
904
|
end
|
875
905
|
class RSpec::Matchers::BuiltIn::All < RSpec::Matchers::BuiltIn::BaseMatcher
|
876
906
|
def add_new_line_if_needed(message); end
|
@@ -987,17 +1017,19 @@ class RSpec::Matchers::BuiltIn::RaiseError
|
|
987
1017
|
def format_backtrace(backtrace); end
|
988
1018
|
def given_error; end
|
989
1019
|
def handle_warning(message); end
|
990
|
-
def initialize(expected_error_or_message
|
1020
|
+
def initialize(expected_error_or_message, expected_message, &block); end
|
991
1021
|
def matches?(given_proc, negative_expectation = nil, &block); end
|
992
1022
|
def raise_message_already_set; end
|
993
1023
|
def ready_to_eval_block?; end
|
994
1024
|
def supports_block_expectations?; end
|
995
1025
|
def verify_message; end
|
996
|
-
def warn_about_bare_error
|
997
|
-
def
|
998
|
-
def
|
1026
|
+
def warn_about_bare_error!; end
|
1027
|
+
def warn_about_bare_error?; end
|
1028
|
+
def warn_about_negative_false_positive!(expression); end
|
1029
|
+
def warn_about_nil_error!; end
|
1030
|
+
def warn_about_nil_error?; end
|
1031
|
+
def warn_for_negative_false_positives!; end
|
999
1032
|
def warning; end
|
1000
|
-
def warning_about_bare_error; end
|
1001
1033
|
def with_message(expected_message); end
|
1002
1034
|
include RSpec::Matchers::Composable
|
1003
1035
|
end
|
@@ -1016,9 +1048,7 @@ class RSpec::Matchers::BuiltIn::RespondTo < RSpec::Matchers::BuiltIn::BaseMatche
|
|
1016
1048
|
def initialize(*names); end
|
1017
1049
|
def matches?(actual); end
|
1018
1050
|
def matches_arity?(actual, name); end
|
1019
|
-
def method_signature_for(actual, name); end
|
1020
1051
|
def pp_names; end
|
1021
|
-
def setup_method_signature_expectation; end
|
1022
1052
|
def with(n); end
|
1023
1053
|
def with_any_keywords; end
|
1024
1054
|
def with_arity; end
|
@@ -1027,6 +1057,12 @@ class RSpec::Matchers::BuiltIn::RespondTo < RSpec::Matchers::BuiltIn::BaseMatche
|
|
1027
1057
|
def with_keywords_string; end
|
1028
1058
|
def with_unlimited_arguments; end
|
1029
1059
|
end
|
1060
|
+
class RSpec::Matchers::BuiltIn::RespondTo::ArityCheck
|
1061
|
+
def initialize(expected_arity, expected_keywords, arbitrary_keywords, unlimited_arguments); end
|
1062
|
+
def matches?(actual, name); end
|
1063
|
+
def method_signature_for(actual, name); end
|
1064
|
+
def verifier_for(actual, name); end
|
1065
|
+
end
|
1030
1066
|
class RSpec::Matchers::BuiltIn::Satisfy < RSpec::Matchers::BuiltIn::BaseMatcher
|
1031
1067
|
def block_representation; end
|
1032
1068
|
def description; end
|
@@ -1067,24 +1103,13 @@ class RSpec::Matchers::BuiltIn::YieldProbe
|
|
1067
1103
|
def yielded_once?(matcher_name); end
|
1068
1104
|
end
|
1069
1105
|
class RSpec::Matchers::BuiltIn::YieldControl < RSpec::Matchers::BuiltIn::BaseMatcher
|
1070
|
-
def at_least(number); end
|
1071
|
-
def at_most(number); end
|
1072
|
-
def count_constraint_to_number(n); end
|
1073
1106
|
def does_not_match?(block); end
|
1074
|
-
def exactly(number); end
|
1075
1107
|
def failure_message; end
|
1076
1108
|
def failure_message_when_negated; end
|
1077
1109
|
def failure_reason; end
|
1078
|
-
def human_readable_count(count); end
|
1079
|
-
def human_readable_expectation_type; end
|
1080
|
-
def initialize; end
|
1081
1110
|
def matches?(block); end
|
1082
|
-
def once; end
|
1083
|
-
def set_expected_yields_count(relativity, n); end
|
1084
1111
|
def supports_block_expectations?; end
|
1085
|
-
|
1086
|
-
def times; end
|
1087
|
-
def twice; end
|
1112
|
+
include RSpec::Matchers::BuiltIn::CountExpectation
|
1088
1113
|
end
|
1089
1114
|
class RSpec::Matchers::BuiltIn::YieldWithNoArgs < RSpec::Matchers::BuiltIn::BaseMatcher
|
1090
1115
|
def does_not_match?(block); end
|
@@ -7,7 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rspec-mocks/all/rspec-mocks.rbi
|
9
9
|
#
|
10
|
-
# rspec-mocks-3.
|
10
|
+
# rspec-mocks-3.10.2
|
11
11
|
|
12
12
|
module RSpec
|
13
13
|
end
|
@@ -200,6 +200,7 @@ class RSpec::Mocks::Proxy
|
|
200
200
|
def as_null_object; end
|
201
201
|
def build_expectation(method_name); end
|
202
202
|
def check_for_unexpected_arguments(expectation); end
|
203
|
+
def ensure_can_be_proxied!(object); end
|
203
204
|
def ensure_implemented(*_args); end
|
204
205
|
def find_almost_matching_expectation(method_name, *args); end
|
205
206
|
def find_almost_matching_stub(method_name, *args); end
|
data/sorbet/rbi/gems/rspec.rbi
CHANGED
@@ -7,15 +7,15 @@
|
|
7
7
|
#
|
8
8
|
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/simplecov/all/simplecov.rbi
|
9
9
|
#
|
10
|
-
# simplecov-0.
|
10
|
+
# simplecov-0.21.2
|
11
11
|
|
12
12
|
module SimpleCov
|
13
13
|
def self.adapt_coverage_result; end
|
14
14
|
def self.add_not_loaded_files(result); end
|
15
15
|
def self.at_exit_behavior; end
|
16
16
|
def self.clear_result; end
|
17
|
-
def self.collate(result_filenames, profile = nil, &block); end
|
18
|
-
def self.
|
17
|
+
def self.collate(result_filenames, profile = nil, ignore_timeout: nil, &block); end
|
18
|
+
def self.exit_and_report_previous_error(exit_status); end
|
19
19
|
def self.exit_status_from_exception; end
|
20
20
|
def self.external_at_exit; end
|
21
21
|
def self.external_at_exit=(arg0); end
|
@@ -27,29 +27,33 @@ module SimpleCov
|
|
27
27
|
def self.load_adapter(name); end
|
28
28
|
def self.load_profile(name); end
|
29
29
|
def self.lookup_corresponding_ruby_coverage_name(criterion); end
|
30
|
-
def self.
|
30
|
+
def self.make_parallel_tests_available; end
|
31
31
|
def self.pid; end
|
32
32
|
def self.pid=(arg0); end
|
33
|
+
def self.previous_error?(error_exit_status); end
|
34
|
+
def self.probably_running_parallel_tests?; end
|
33
35
|
def self.process_coverage_result; end
|
34
|
-
def self.process_result(result
|
36
|
+
def self.process_result(result); end
|
37
|
+
def self.process_results_and_report_error; end
|
38
|
+
def self.ready_to_process_results?; end
|
35
39
|
def self.remove_useless_results; end
|
36
|
-
def self.report_minimum_violated(violations); end
|
37
40
|
def self.result; end
|
38
41
|
def self.result?; end
|
39
|
-
def self.result_exit_status(result
|
42
|
+
def self.result_exit_status(result); end
|
40
43
|
def self.result_with_not_loaded_files; end
|
44
|
+
def self.round_coverage(coverage); end
|
41
45
|
def self.run_exit_tasks!; end
|
42
46
|
def self.running; end
|
43
47
|
def self.running=(arg0); end
|
44
|
-
def self.set_exit_exception; end
|
45
48
|
def self.start(profile = nil, &block); end
|
46
49
|
def self.start_coverage_measurement; end
|
47
50
|
def self.start_coverage_with_criteria; end
|
48
51
|
def self.wait_for_other_processes; end
|
49
|
-
def self.write_last_run(
|
52
|
+
def self.write_last_run(result); end
|
50
53
|
extend SimpleCov::Configuration
|
51
54
|
end
|
52
55
|
module SimpleCov::Formatter
|
56
|
+
def self.from_env(env); end
|
53
57
|
end
|
54
58
|
class SimpleCov::Formatter::MultiFormatter
|
55
59
|
def self.[](*args); end
|
@@ -63,6 +67,7 @@ module SimpleCov::Configuration
|
|
63
67
|
def add_filter(filter_argument = nil, &filter_proc); end
|
64
68
|
def add_group(group_name, filter_argument = nil, &filter_proc); end
|
65
69
|
def at_exit(&block); end
|
70
|
+
def at_fork(&block); end
|
66
71
|
def branch_coverage?; end
|
67
72
|
def branch_coverage_supported?; end
|
68
73
|
def clear_coverage_criteria; end
|
@@ -75,6 +80,8 @@ module SimpleCov::Configuration
|
|
75
80
|
def coverage_path; end
|
76
81
|
def coverage_start_arguments_supported?; end
|
77
82
|
def enable_coverage(criterion); end
|
83
|
+
def enable_for_subprocesses(value = nil); end
|
84
|
+
def enabled_for_subprocesses?; end
|
78
85
|
def filters; end
|
79
86
|
def filters=(arg0); end
|
80
87
|
def formatter(formatter = nil); end
|
@@ -90,13 +97,15 @@ module SimpleCov::Configuration
|
|
90
97
|
def minimum_possible_coverage_exceeded(coverage_option); end
|
91
98
|
def nocov_token(nocov_token = nil); end
|
92
99
|
def parse_filter(filter_argument = nil, &filter_proc); end
|
100
|
+
def primary_coverage(criterion = nil); end
|
93
101
|
def print_error_status; end
|
94
102
|
def print_error_status=(arg0); end
|
95
103
|
def profiles; end
|
96
104
|
def project_name(new_name = nil); end
|
97
105
|
def raise_if_criterion_disabled(criterion); end
|
98
106
|
def raise_if_criterion_unsupported(criterion); end
|
99
|
-
def
|
107
|
+
def raise_on_invalid_coverage(coverage, coverage_setting); end
|
108
|
+
def refuse_coverage_drop(*criteria); end
|
100
109
|
def root(root = nil); end
|
101
110
|
def skip_token(nocov_token = nil); end
|
102
111
|
def track_files(glob); end
|
@@ -116,6 +125,45 @@ class SimpleCov::CoverageStatistics
|
|
116
125
|
end
|
117
126
|
module SimpleCov::ExitCodes
|
118
127
|
end
|
128
|
+
module SimpleCov::ExitCodes::ExitCodeHandling
|
129
|
+
def call(result, coverage_limits:); end
|
130
|
+
def coverage_checks(result, coverage_limits); end
|
131
|
+
def self.call(result, coverage_limits:); end
|
132
|
+
def self.coverage_checks(result, coverage_limits); end
|
133
|
+
end
|
134
|
+
class SimpleCov::ExitCodes::MaximumCoverageDropCheck
|
135
|
+
def compute_coverage_drop_data; end
|
136
|
+
def coverage_drop_violations; end
|
137
|
+
def drop_percent(criterion); end
|
138
|
+
def exit_code; end
|
139
|
+
def failing?; end
|
140
|
+
def initialize(result, maximum_coverage_drop); end
|
141
|
+
def last_coverage(criterion); end
|
142
|
+
def last_run; end
|
143
|
+
def maximum_coverage_drop; end
|
144
|
+
def report; end
|
145
|
+
def result; end
|
146
|
+
end
|
147
|
+
class SimpleCov::ExitCodes::MinimumCoverageByFileCheck
|
148
|
+
def compute_minimum_coverage_data; end
|
149
|
+
def exit_code; end
|
150
|
+
def failing?; end
|
151
|
+
def initialize(result, minimum_coverage_by_file); end
|
152
|
+
def minimum_coverage_by_file; end
|
153
|
+
def minimum_violations; end
|
154
|
+
def report; end
|
155
|
+
def result; end
|
156
|
+
end
|
157
|
+
class SimpleCov::ExitCodes::MinimumOverallCoverageCheck
|
158
|
+
def calculate_minimum_violations; end
|
159
|
+
def exit_code; end
|
160
|
+
def failing?; end
|
161
|
+
def initialize(result, minimum_coverage); end
|
162
|
+
def minimum_coverage; end
|
163
|
+
def minimum_violations; end
|
164
|
+
def report; end
|
165
|
+
def result; end
|
166
|
+
end
|
119
167
|
class SimpleCov::Profiles < Hash
|
120
168
|
def define(name, &blk); end
|
121
169
|
def load(name); end
|
@@ -203,8 +251,10 @@ end
|
|
203
251
|
class SimpleCov::FileList
|
204
252
|
def branch_covered_percent; end
|
205
253
|
def compute_coverage_statistics; end
|
254
|
+
def compute_coverage_statistics_by_file; end
|
206
255
|
def count(*args, &block); end
|
207
256
|
def coverage_statistics; end
|
257
|
+
def coverage_statistics_by_file; end
|
208
258
|
def covered_branches; end
|
209
259
|
def covered_lines; end
|
210
260
|
def covered_percent; end
|
@@ -229,12 +279,11 @@ class SimpleCov::FileList
|
|
229
279
|
include Enumerable
|
230
280
|
end
|
231
281
|
class SimpleCov::Result
|
232
|
-
def adapt_pre_simplecov_0_18_result(result); end
|
233
|
-
def adapt_result(result); end
|
234
282
|
def command_name; end
|
235
283
|
def command_name=(arg0); end
|
236
284
|
def coverage; end
|
237
285
|
def coverage_statistics(*args, &block); end
|
286
|
+
def coverage_statistics_by_file(*args, &block); end
|
238
287
|
def covered_branches(*args, &block); end
|
239
288
|
def covered_lines(*args, &block); end
|
240
289
|
def covered_percent(*args, &block); end
|
@@ -247,12 +296,11 @@ class SimpleCov::Result
|
|
247
296
|
def filter!; end
|
248
297
|
def format!; end
|
249
298
|
def groups; end
|
250
|
-
def initialize(original_result); end
|
299
|
+
def initialize(original_result, command_name: nil, created_at: nil); end
|
251
300
|
def least_covered_file(*args, &block); end
|
252
301
|
def missed_branches(*args, &block); end
|
253
302
|
def missed_lines(*args, &block); end
|
254
303
|
def original_result; end
|
255
|
-
def pre_simplecov_0_18_result?(result); end
|
256
304
|
def self.from_hash(hash); end
|
257
305
|
def source_files; end
|
258
306
|
def to_hash; end
|
@@ -296,17 +344,26 @@ class SimpleCov::LinesClassifier
|
|
296
344
|
def self.whitespace_line?(line); end
|
297
345
|
end
|
298
346
|
module SimpleCov::ResultMerger
|
299
|
-
def self.
|
300
|
-
def self.
|
301
|
-
def self.
|
347
|
+
def self.adapt_pre_simplecov_0_18_result(result); end
|
348
|
+
def self.adapt_result(result); end
|
349
|
+
def self.create_result(command_names, coverage); end
|
350
|
+
def self.merge_and_store(*file_paths, ignore_timeout: nil); end
|
351
|
+
def self.merge_coverage(*results); end
|
352
|
+
def self.merge_results(*file_paths, ignore_timeout: nil); end
|
353
|
+
def self.merge_valid_results(results, ignore_timeout: nil); end
|
302
354
|
def self.merged_result; end
|
303
|
-
def self.
|
304
|
-
def self.
|
355
|
+
def self.parse_file(path); end
|
356
|
+
def self.parse_json(content); end
|
357
|
+
def self.pre_simplecov_0_18_result?(result); end
|
358
|
+
def self.read_file(path); end
|
359
|
+
def self.read_resultset; end
|
305
360
|
def self.resultset_path; end
|
306
361
|
def self.resultset_writelock; end
|
307
362
|
def self.store_result(result); end
|
308
|
-
def self.stored_data; end
|
309
363
|
def self.synchronize_resultset; end
|
364
|
+
def self.time_since_result_creation(data); end
|
365
|
+
def self.valid_results(file_path, ignore_timeout: nil); end
|
366
|
+
def self.within_merge_timeout?(data); end
|
310
367
|
end
|
311
368
|
module SimpleCov::CommandGuesser
|
312
369
|
def self.from_command_line_options; end
|
@@ -354,6 +411,7 @@ module SimpleCov::Combine::ResultsCombiner
|
|
354
411
|
end
|
355
412
|
module SimpleCov::UselessResultsRemover
|
356
413
|
def self.call(coverage_result); end
|
414
|
+
def self.root_regx; end
|
357
415
|
end
|
358
416
|
module SimpleCov::SimulateCoverage
|
359
417
|
def call(absolute_path); end
|