sorbet-struct-comparable 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/ci.yml +52 -0
- data/.gitignore +12 -0
- data/.rspec +3 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +22 -0
- data/LICENSE +21 -0
- data/README.md +70 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/sorbet-struct-comparable.rb +6 -0
- data/lib/sorbet-struct-comparable/version.rb +6 -0
- data/lib/t/struct/acts_as_comparable.rb +31 -0
- data/sorbet-struct-comparable.gemspec +32 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/byebug.rbi +1041 -0
- data/sorbet/rbi/gems/coderay.rbi +92 -0
- data/sorbet/rbi/gems/docile.rbi +32 -0
- data/sorbet/rbi/gems/listen.rbi +324 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/pry-byebug.rbi +155 -0
- data/sorbet/rbi/gems/pry.rbi +1949 -0
- data/sorbet/rbi/gems/rake.rbi +644 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1930 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1123 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1099 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
- data/sorbet/rbi/gems/simplecov.rbi +361 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +5231 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +7739 -0
- data/sorbet/rbi/todo.rbi +6 -0
- metadata +150 -0
@@ -0,0 +1,280 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: true
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rspec-support/all/rspec-support.rbi
|
9
|
+
#
|
10
|
+
# rspec-support-3.9.3
|
11
|
+
|
12
|
+
module RSpec
|
13
|
+
extend RSpec::Support::Warnings
|
14
|
+
end
|
15
|
+
module RSpec::Support
|
16
|
+
def self.class_of(object); end
|
17
|
+
def self.define_optimized_require_for_rspec(lib, &require_relative); end
|
18
|
+
def self.deregister_matcher_definition(&block); end
|
19
|
+
def self.failure_notifier; end
|
20
|
+
def self.failure_notifier=(callable); end
|
21
|
+
def self.is_a_matcher?(object); end
|
22
|
+
def self.matcher_definitions; end
|
23
|
+
def self.method_handle_for(object, method_name); end
|
24
|
+
def self.notify_failure(failure, options = nil); end
|
25
|
+
def self.register_matcher_definition(&block); end
|
26
|
+
def self.require_rspec_support(f); end
|
27
|
+
def self.rspec_description_for_object(object); end
|
28
|
+
def self.thread_local_data; end
|
29
|
+
def self.warning_notifier; end
|
30
|
+
def self.warning_notifier=(arg0); end
|
31
|
+
def self.with_failure_notifier(callable); end
|
32
|
+
end
|
33
|
+
module RSpec::Support::Version
|
34
|
+
end
|
35
|
+
class RSpec::Support::ComparableVersion
|
36
|
+
def <=>(other); end
|
37
|
+
def initialize(string); end
|
38
|
+
def segments; end
|
39
|
+
def string; end
|
40
|
+
include Comparable
|
41
|
+
end
|
42
|
+
module RSpec::Support::OS
|
43
|
+
def self.windows?; end
|
44
|
+
def self.windows_file_path?; end
|
45
|
+
def windows?; end
|
46
|
+
def windows_file_path?; end
|
47
|
+
end
|
48
|
+
module RSpec::Support::Ruby
|
49
|
+
def jruby?; end
|
50
|
+
def jruby_9000?; end
|
51
|
+
def jruby_version; end
|
52
|
+
def mri?; end
|
53
|
+
def non_mri?; end
|
54
|
+
def rbx?; end
|
55
|
+
def self.jruby?; end
|
56
|
+
def self.jruby_9000?; end
|
57
|
+
def self.jruby_version; end
|
58
|
+
def self.mri?; end
|
59
|
+
def self.non_mri?; end
|
60
|
+
def self.rbx?; end
|
61
|
+
def self.truffleruby?; end
|
62
|
+
def truffleruby?; end
|
63
|
+
end
|
64
|
+
module RSpec::Support::RubyFeatures
|
65
|
+
def caller_locations_supported?; end
|
66
|
+
def fork_supported?; end
|
67
|
+
def kw_args_supported?; end
|
68
|
+
def module_prepends_supported?; end
|
69
|
+
def module_refinement_supported?; end
|
70
|
+
def optional_and_splat_args_supported?; end
|
71
|
+
def required_kw_args_supported?; end
|
72
|
+
def ripper_supported?; end
|
73
|
+
def self.caller_locations_supported?; end
|
74
|
+
def self.fork_supported?; end
|
75
|
+
def self.kw_args_supported?; end
|
76
|
+
def self.module_prepends_supported?; end
|
77
|
+
def self.module_refinement_supported?; end
|
78
|
+
def self.optional_and_splat_args_supported?; end
|
79
|
+
def self.required_kw_args_supported?; end
|
80
|
+
def self.ripper_supported?; end
|
81
|
+
def self.supports_exception_cause?; end
|
82
|
+
def self.supports_rebinding_module_methods?; end
|
83
|
+
def self.supports_taint?; end
|
84
|
+
def supports_exception_cause?; end
|
85
|
+
def supports_rebinding_module_methods?; end
|
86
|
+
def supports_taint?; end
|
87
|
+
end
|
88
|
+
module RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
|
89
|
+
def self.===(exception); end
|
90
|
+
end
|
91
|
+
class RSpec::CallerFilter
|
92
|
+
def self.first_non_rspec_line(skip_frames = nil, increment = nil); end
|
93
|
+
end
|
94
|
+
module RSpec::Support::Warnings
|
95
|
+
def deprecate(deprecated, options = nil); end
|
96
|
+
def warn_deprecation(message, options = nil); end
|
97
|
+
def warn_with(message, options = nil); end
|
98
|
+
def warning(text, options = nil); end
|
99
|
+
end
|
100
|
+
class RSpec::Support::EncodedString
|
101
|
+
def <<(string); end
|
102
|
+
def ==(*args, &block); end
|
103
|
+
def detect_source_encoding(string); end
|
104
|
+
def empty?(*args, &block); end
|
105
|
+
def encoding(*args, &block); end
|
106
|
+
def eql?(*args, &block); end
|
107
|
+
def initialize(string, encoding = nil); end
|
108
|
+
def lines(*args, &block); end
|
109
|
+
def matching_encoding(string); end
|
110
|
+
def remove_invalid_bytes(string); end
|
111
|
+
def self.pick_encoding(source_a, source_b); end
|
112
|
+
def source_encoding; end
|
113
|
+
def split(regex_or_string); end
|
114
|
+
def to_s; end
|
115
|
+
def to_str; end
|
116
|
+
end
|
117
|
+
class RSpec::Support::ReentrantMutex
|
118
|
+
def enter; end
|
119
|
+
def exit; end
|
120
|
+
def initialize; end
|
121
|
+
def synchronize; end
|
122
|
+
end
|
123
|
+
class RSpec::Support::Mutex < Thread::Mutex
|
124
|
+
def self.new; end
|
125
|
+
end
|
126
|
+
class RSpec::Support::DirectoryMaker
|
127
|
+
def self.directory_exists?(dirname); end
|
128
|
+
def self.generate_path(stack, part); end
|
129
|
+
def self.generate_stack(path); end
|
130
|
+
def self.mkdir_p(path); end
|
131
|
+
end
|
132
|
+
class RSpec::Support::MethodSignature
|
133
|
+
def arbitrary_kw_args?; end
|
134
|
+
def classify_arity(arity = nil); end
|
135
|
+
def classify_parameters; end
|
136
|
+
def could_contain_kw_args?(args); end
|
137
|
+
def description; end
|
138
|
+
def has_kw_args_in?(args); end
|
139
|
+
def initialize(method); end
|
140
|
+
def invalid_kw_args_from(given_kw_args); end
|
141
|
+
def max_non_kw_args; end
|
142
|
+
def min_non_kw_args; end
|
143
|
+
def missing_kw_args_from(given_kw_args); end
|
144
|
+
def non_kw_args_arity_description; end
|
145
|
+
def optional_kw_args; end
|
146
|
+
def required_kw_args; end
|
147
|
+
def unlimited_args?; end
|
148
|
+
def valid_non_kw_args?(positional_arg_count, optional_max_arg_count = nil); end
|
149
|
+
end
|
150
|
+
class RSpec::Support::MethodSignatureExpectation
|
151
|
+
def empty?; end
|
152
|
+
def expect_arbitrary_keywords; end
|
153
|
+
def expect_arbitrary_keywords=(arg0); end
|
154
|
+
def expect_unlimited_arguments; end
|
155
|
+
def expect_unlimited_arguments=(arg0); end
|
156
|
+
def initialize; end
|
157
|
+
def keywords; end
|
158
|
+
def keywords=(values); end
|
159
|
+
def max_count; end
|
160
|
+
def max_count=(number); end
|
161
|
+
def min_count; end
|
162
|
+
def min_count=(number); end
|
163
|
+
end
|
164
|
+
class RSpec::Support::BlockSignature < RSpec::Support::MethodSignature
|
165
|
+
def classify_parameters; end
|
166
|
+
end
|
167
|
+
class RSpec::Support::MethodSignatureVerifier
|
168
|
+
def arbitrary_kw_args?; end
|
169
|
+
def error_message; end
|
170
|
+
def initialize(signature, args = nil); end
|
171
|
+
def invalid_kw_args; end
|
172
|
+
def kw_args; end
|
173
|
+
def max_non_kw_args; end
|
174
|
+
def min_non_kw_args; end
|
175
|
+
def missing_kw_args; end
|
176
|
+
def non_kw_args; end
|
177
|
+
def split_args(*args); end
|
178
|
+
def unlimited_args?; end
|
179
|
+
def valid?; end
|
180
|
+
def valid_non_kw_args?; end
|
181
|
+
def with_expectation(expectation); end
|
182
|
+
end
|
183
|
+
class RSpec::Support::LooseSignatureVerifier < RSpec::Support::MethodSignatureVerifier
|
184
|
+
def split_args(*args); end
|
185
|
+
end
|
186
|
+
class RSpec::Support::LooseSignatureVerifier::SignatureWithKeywordArgumentsMatcher
|
187
|
+
def has_kw_args_in?(args); end
|
188
|
+
def initialize(signature); end
|
189
|
+
def invalid_kw_args_from(_kw_args); end
|
190
|
+
def missing_kw_args_from(_kw_args); end
|
191
|
+
def non_kw_args_arity_description; end
|
192
|
+
def valid_non_kw_args?(*args); end
|
193
|
+
end
|
194
|
+
module RSpec::Support::WithKeywordsWhenNeeded
|
195
|
+
def class_exec(klass, *args, &block); end
|
196
|
+
def self.class_exec(klass, *args, &block); end
|
197
|
+
end
|
198
|
+
module RSpec::Support::RecursiveConstMethods
|
199
|
+
def const_defined_on?(mod, const_name); end
|
200
|
+
def constants_defined_on(mod); end
|
201
|
+
def get_const_defined_on(mod, const_name); end
|
202
|
+
def normalize_const_name(const_name); end
|
203
|
+
def recursive_const_defined?(const_name); end
|
204
|
+
def recursive_const_get(const_name); end
|
205
|
+
end
|
206
|
+
class RSpec::Support::ObjectFormatter
|
207
|
+
def format(object); end
|
208
|
+
def initialize(max_formatted_output_length = nil); end
|
209
|
+
def max_formatted_output_length; end
|
210
|
+
def max_formatted_output_length=(arg0); end
|
211
|
+
def prepare_array(array); end
|
212
|
+
def prepare_element(element); end
|
213
|
+
def prepare_for_inspection(object); end
|
214
|
+
def prepare_hash(input_hash); end
|
215
|
+
def recursive_structure?(object); end
|
216
|
+
def self.default_instance; end
|
217
|
+
def self.format(object); end
|
218
|
+
def self.prepare_for_inspection(object); end
|
219
|
+
def sort_hash_keys(input_hash); end
|
220
|
+
def truncate_string(str, start_index, end_index); end
|
221
|
+
def with_entering_structure(structure); end
|
222
|
+
end
|
223
|
+
class RSpec::Support::ObjectFormatter::InspectableItem < Struct
|
224
|
+
def inspect; end
|
225
|
+
def pretty_print(pp); end
|
226
|
+
def self.[](*arg0); end
|
227
|
+
def self.inspect; end
|
228
|
+
def self.members; end
|
229
|
+
def self.new(*arg0); end
|
230
|
+
def text; end
|
231
|
+
def text=(_); end
|
232
|
+
end
|
233
|
+
class RSpec::Support::ObjectFormatter::BaseInspector < Struct
|
234
|
+
def formatter; end
|
235
|
+
def formatter=(_); end
|
236
|
+
def inspect; end
|
237
|
+
def object; end
|
238
|
+
def object=(_); end
|
239
|
+
def pretty_print(pp); end
|
240
|
+
def self.[](*arg0); end
|
241
|
+
def self.can_inspect?(_object); end
|
242
|
+
def self.inspect; end
|
243
|
+
def self.members; end
|
244
|
+
def self.new(*arg0); end
|
245
|
+
end
|
246
|
+
class RSpec::Support::ObjectFormatter::TimeInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
247
|
+
def inspect; end
|
248
|
+
def self.can_inspect?(object); end
|
249
|
+
end
|
250
|
+
class RSpec::Support::ObjectFormatter::DateTimeInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
251
|
+
def inspect; end
|
252
|
+
def self.can_inspect?(object); end
|
253
|
+
end
|
254
|
+
class RSpec::Support::ObjectFormatter::BigDecimalInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
255
|
+
def inspect; end
|
256
|
+
def self.can_inspect?(object); end
|
257
|
+
end
|
258
|
+
class RSpec::Support::ObjectFormatter::DescribableMatcherInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
259
|
+
def inspect; end
|
260
|
+
def self.can_inspect?(object); end
|
261
|
+
end
|
262
|
+
class RSpec::Support::ObjectFormatter::UninspectableObjectInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
263
|
+
def inspect; end
|
264
|
+
def klass; end
|
265
|
+
def native_object_id; end
|
266
|
+
def self.can_inspect?(object); end
|
267
|
+
end
|
268
|
+
class RSpec::Support::ObjectFormatter::DelegatorInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
269
|
+
def inspect; end
|
270
|
+
def self.can_inspect?(object); end
|
271
|
+
end
|
272
|
+
class RSpec::Support::ObjectFormatter::InspectableObjectInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
273
|
+
def inspect; end
|
274
|
+
def self.can_inspect?(object); end
|
275
|
+
end
|
276
|
+
module RSpec::Support::FuzzyMatcher
|
277
|
+
def self.arrays_match?(expected_list, actual_list); end
|
278
|
+
def self.hashes_match?(expected_hash, actual_hash); end
|
279
|
+
def self.values_match?(expected, actual); end
|
280
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rspec/all/rspec.rbi
|
9
|
+
#
|
10
|
+
# rspec-3.9.0
|
11
|
+
|
12
|
+
module RSpec
|
13
|
+
end
|
14
|
+
module RSpec::Version
|
15
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/simplecov-html/all/simplecov-html.rbi
|
9
|
+
#
|
10
|
+
# simplecov-html-0.12.2
|
11
|
+
|
12
|
+
module SimpleCov
|
13
|
+
end
|
14
|
+
module SimpleCov::Formatter
|
15
|
+
end
|
16
|
+
class SimpleCov::Formatter::HTMLFormatter
|
17
|
+
def asset_output_path; end
|
18
|
+
def assets_path(name); end
|
19
|
+
def branchable_result?; end
|
20
|
+
def coverage_css_class(covered_percent); end
|
21
|
+
def covered_percent(percent); end
|
22
|
+
def format(result); end
|
23
|
+
def formatted_file_list(title, source_files); end
|
24
|
+
def formatted_source_file(source_file); end
|
25
|
+
def id(source_file); end
|
26
|
+
def initialize; end
|
27
|
+
def line_status?(source_file, line); end
|
28
|
+
def link_to_source_file(source_file); end
|
29
|
+
def output_message(result); end
|
30
|
+
def output_path; end
|
31
|
+
def shortened_filename(source_file); end
|
32
|
+
def strength_css_class(covered_strength); end
|
33
|
+
def template(name); end
|
34
|
+
def timeago(time); end
|
35
|
+
end
|
@@ -0,0 +1,361 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: true
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/simplecov/all/simplecov.rbi
|
9
|
+
#
|
10
|
+
# simplecov-0.18.5
|
11
|
+
|
12
|
+
module SimpleCov
|
13
|
+
def self.adapt_coverage_result; end
|
14
|
+
def self.add_not_loaded_files(result); end
|
15
|
+
def self.at_exit_behavior; end
|
16
|
+
def self.clear_result; end
|
17
|
+
def self.collate(result_filenames, profile = nil, &block); end
|
18
|
+
def self.exit_exception; end
|
19
|
+
def self.exit_status_from_exception; end
|
20
|
+
def self.external_at_exit; end
|
21
|
+
def self.external_at_exit=(arg0); end
|
22
|
+
def self.external_at_exit?; end
|
23
|
+
def self.filtered(files); end
|
24
|
+
def self.final_result_process?; end
|
25
|
+
def self.grouped(files); end
|
26
|
+
def self.initial_setup(profile, &block); end
|
27
|
+
def self.load_adapter(name); end
|
28
|
+
def self.load_profile(name); end
|
29
|
+
def self.lookup_corresponding_ruby_coverage_name(criterion); end
|
30
|
+
def self.minimum_coverage_violated(result); end
|
31
|
+
def self.pid; end
|
32
|
+
def self.pid=(arg0); end
|
33
|
+
def self.process_coverage_result; end
|
34
|
+
def self.process_result(result, exit_status); end
|
35
|
+
def self.remove_useless_results; end
|
36
|
+
def self.report_minimum_violated(violations); end
|
37
|
+
def self.result; end
|
38
|
+
def self.result?; end
|
39
|
+
def self.result_exit_status(result, covered_percent); end
|
40
|
+
def self.result_with_not_loaded_files; end
|
41
|
+
def self.run_exit_tasks!; end
|
42
|
+
def self.running; end
|
43
|
+
def self.running=(arg0); end
|
44
|
+
def self.set_exit_exception; end
|
45
|
+
def self.start(profile = nil, &block); end
|
46
|
+
def self.start_coverage_measurement; end
|
47
|
+
def self.start_coverage_with_criteria; end
|
48
|
+
def self.wait_for_other_processes; end
|
49
|
+
def self.write_last_run(covered_percent); end
|
50
|
+
extend SimpleCov::Configuration
|
51
|
+
end
|
52
|
+
module SimpleCov::Formatter
|
53
|
+
end
|
54
|
+
class SimpleCov::Formatter::MultiFormatter
|
55
|
+
def self.[](*args); end
|
56
|
+
def self.new(formatters = nil); end
|
57
|
+
end
|
58
|
+
module SimpleCov::Formatter::MultiFormatter::InstanceMethods
|
59
|
+
def format(result); end
|
60
|
+
end
|
61
|
+
module SimpleCov::Configuration
|
62
|
+
def adapters; end
|
63
|
+
def add_filter(filter_argument = nil, &filter_proc); end
|
64
|
+
def add_group(group_name, filter_argument = nil, &filter_proc); end
|
65
|
+
def at_exit(&block); end
|
66
|
+
def branch_coverage?; end
|
67
|
+
def branch_coverage_supported?; end
|
68
|
+
def clear_coverage_criteria; end
|
69
|
+
def command_name(name = nil); end
|
70
|
+
def configure(&block); end
|
71
|
+
def coverage_criteria; end
|
72
|
+
def coverage_criterion(criterion = nil); end
|
73
|
+
def coverage_criterion_enabled?(criterion); end
|
74
|
+
def coverage_dir(dir = nil); end
|
75
|
+
def coverage_path; end
|
76
|
+
def coverage_start_arguments_supported?; end
|
77
|
+
def enable_coverage(criterion); end
|
78
|
+
def filters; end
|
79
|
+
def filters=(arg0); end
|
80
|
+
def formatter(formatter = nil); end
|
81
|
+
def formatter=(arg0); end
|
82
|
+
def formatters; end
|
83
|
+
def formatters=(formatters); end
|
84
|
+
def groups; end
|
85
|
+
def groups=(arg0); end
|
86
|
+
def maximum_coverage_drop(coverage_drop = nil); end
|
87
|
+
def merge_timeout(seconds = nil); end
|
88
|
+
def minimum_coverage(coverage = nil); end
|
89
|
+
def minimum_coverage_by_file(coverage = nil); end
|
90
|
+
def minimum_possible_coverage_exceeded(coverage_option); end
|
91
|
+
def nocov_token(nocov_token = nil); end
|
92
|
+
def parse_filter(filter_argument = nil, &filter_proc); end
|
93
|
+
def print_error_status; end
|
94
|
+
def print_error_status=(arg0); end
|
95
|
+
def profiles; end
|
96
|
+
def project_name(new_name = nil); end
|
97
|
+
def raise_if_criterion_disabled(criterion); end
|
98
|
+
def raise_if_criterion_unsupported(criterion); end
|
99
|
+
def refuse_coverage_drop; end
|
100
|
+
def root(root = nil); end
|
101
|
+
def skip_token(nocov_token = nil); end
|
102
|
+
def track_files(glob); end
|
103
|
+
def tracked_files; end
|
104
|
+
def use_merging(use = nil); end
|
105
|
+
end
|
106
|
+
class SimpleCov::CoverageStatistics
|
107
|
+
def compute_percent(covered, missed, total); end
|
108
|
+
def compute_strength(total_strength, total); end
|
109
|
+
def covered; end
|
110
|
+
def initialize(covered:, missed:, total_strength: nil); end
|
111
|
+
def missed; end
|
112
|
+
def percent; end
|
113
|
+
def self.from(coverage_statistics); end
|
114
|
+
def strength; end
|
115
|
+
def total; end
|
116
|
+
end
|
117
|
+
module SimpleCov::ExitCodes
|
118
|
+
end
|
119
|
+
class SimpleCov::Profiles < Hash
|
120
|
+
def define(name, &blk); end
|
121
|
+
def load(name); end
|
122
|
+
end
|
123
|
+
class SimpleCov::SourceFile
|
124
|
+
def branch_coverage_statistics; end
|
125
|
+
def branches; end
|
126
|
+
def branches_coverage_percent; end
|
127
|
+
def branches_for_line(line_number); end
|
128
|
+
def branches_report; end
|
129
|
+
def build_branch(branch_data, hit_count, condition_start_line); end
|
130
|
+
def build_branches; end
|
131
|
+
def build_branches_from(condition, branches); end
|
132
|
+
def build_branches_report; end
|
133
|
+
def build_lines; end
|
134
|
+
def build_no_cov_chunks; end
|
135
|
+
def coverage_data; end
|
136
|
+
def coverage_exceeding_source_warn; end
|
137
|
+
def coverage_statistics; end
|
138
|
+
def covered_branches; end
|
139
|
+
def covered_lines; end
|
140
|
+
def covered_percent; end
|
141
|
+
def covered_strength; end
|
142
|
+
def ensure_remove_undefs(file_lines); end
|
143
|
+
def filename; end
|
144
|
+
def initialize(filename, coverage_data); end
|
145
|
+
def line(number); end
|
146
|
+
def line_coverage_statistics; end
|
147
|
+
def line_with_missed_branch?(line_number); end
|
148
|
+
def lines; end
|
149
|
+
def lines_of_code; end
|
150
|
+
def lines_strength; end
|
151
|
+
def load_source; end
|
152
|
+
def missed_branches; end
|
153
|
+
def missed_lines; end
|
154
|
+
def never_lines; end
|
155
|
+
def no_branches?; end
|
156
|
+
def no_cov_chunks; end
|
157
|
+
def no_lines?; end
|
158
|
+
def process_skipped_branches(branches); end
|
159
|
+
def process_skipped_lines(lines); end
|
160
|
+
def project_filename; end
|
161
|
+
def read_lines(file, lines, current_line); end
|
162
|
+
def relevant_lines; end
|
163
|
+
def restore_ruby_data_structure(structure); end
|
164
|
+
def set_encoding_based_on_magic_comment(file, line); end
|
165
|
+
def shebang?(line); end
|
166
|
+
def skipped_lines; end
|
167
|
+
def source; end
|
168
|
+
def source_lines; end
|
169
|
+
def src; end
|
170
|
+
def total_branches; end
|
171
|
+
end
|
172
|
+
class SimpleCov::SourceFile::Line
|
173
|
+
def coverage; end
|
174
|
+
def covered?; end
|
175
|
+
def initialize(src, line_number, coverage); end
|
176
|
+
def line; end
|
177
|
+
def line_number; end
|
178
|
+
def missed?; end
|
179
|
+
def never?; end
|
180
|
+
def number; end
|
181
|
+
def skipped!; end
|
182
|
+
def skipped; end
|
183
|
+
def skipped?; end
|
184
|
+
def source; end
|
185
|
+
def src; end
|
186
|
+
def status; end
|
187
|
+
end
|
188
|
+
class SimpleCov::SourceFile::Branch
|
189
|
+
def coverage; end
|
190
|
+
def covered?; end
|
191
|
+
def end_line; end
|
192
|
+
def initialize(start_line:, end_line:, coverage:, inline:, type:); end
|
193
|
+
def inline?; end
|
194
|
+
def missed?; end
|
195
|
+
def overlaps_with?(line_range); end
|
196
|
+
def report; end
|
197
|
+
def report_line; end
|
198
|
+
def skipped!; end
|
199
|
+
def skipped?; end
|
200
|
+
def start_line; end
|
201
|
+
def type; end
|
202
|
+
end
|
203
|
+
class SimpleCov::FileList
|
204
|
+
def branch_covered_percent; end
|
205
|
+
def compute_coverage_statistics; end
|
206
|
+
def count(*args, &block); end
|
207
|
+
def coverage_statistics; end
|
208
|
+
def covered_branches; end
|
209
|
+
def covered_lines; end
|
210
|
+
def covered_percent; end
|
211
|
+
def covered_percentages; end
|
212
|
+
def covered_strength; end
|
213
|
+
def each(*args, &block); end
|
214
|
+
def empty?(*args, &block); end
|
215
|
+
def initialize(files); end
|
216
|
+
def least_covered_file; end
|
217
|
+
def length(*args, &block); end
|
218
|
+
def lines_of_code; end
|
219
|
+
def map(*args, &block); end
|
220
|
+
def missed_branches; end
|
221
|
+
def missed_lines; end
|
222
|
+
def never_lines; end
|
223
|
+
def size(*args, &block); end
|
224
|
+
def skipped_lines; end
|
225
|
+
def to_a(*args, &block); end
|
226
|
+
def to_ary(*args, &block); end
|
227
|
+
def total_branches; end
|
228
|
+
extend Forwardable
|
229
|
+
include Enumerable
|
230
|
+
end
|
231
|
+
class SimpleCov::Result
|
232
|
+
def adapt_pre_simplecov_0_18_result(result); end
|
233
|
+
def adapt_result(result); end
|
234
|
+
def command_name; end
|
235
|
+
def command_name=(arg0); end
|
236
|
+
def coverage; end
|
237
|
+
def coverage_statistics(*args, &block); end
|
238
|
+
def covered_branches(*args, &block); end
|
239
|
+
def covered_lines(*args, &block); end
|
240
|
+
def covered_percent(*args, &block); end
|
241
|
+
def covered_percentages(*args, &block); end
|
242
|
+
def covered_strength(*args, &block); end
|
243
|
+
def created_at; end
|
244
|
+
def created_at=(arg0); end
|
245
|
+
def filenames; end
|
246
|
+
def files; end
|
247
|
+
def filter!; end
|
248
|
+
def format!; end
|
249
|
+
def groups; end
|
250
|
+
def initialize(original_result); end
|
251
|
+
def least_covered_file(*args, &block); end
|
252
|
+
def missed_branches(*args, &block); end
|
253
|
+
def missed_lines(*args, &block); end
|
254
|
+
def original_result; end
|
255
|
+
def pre_simplecov_0_18_result?(result); end
|
256
|
+
def self.from_hash(hash); end
|
257
|
+
def source_files; end
|
258
|
+
def to_hash; end
|
259
|
+
def total_branches(*args, &block); end
|
260
|
+
def total_lines(*args, &block); end
|
261
|
+
extend Forwardable
|
262
|
+
end
|
263
|
+
class SimpleCov::Filter
|
264
|
+
def filter_argument; end
|
265
|
+
def initialize(filter_argument); end
|
266
|
+
def matches?(_source_file); end
|
267
|
+
def passes?(source_file); end
|
268
|
+
def self.build_filter(filter_argument); end
|
269
|
+
def self.class_for_argument(filter_argument); end
|
270
|
+
end
|
271
|
+
class SimpleCov::StringFilter < SimpleCov::Filter
|
272
|
+
def matches?(source_file); end
|
273
|
+
end
|
274
|
+
class SimpleCov::RegexFilter < SimpleCov::Filter
|
275
|
+
def matches?(source_file); end
|
276
|
+
end
|
277
|
+
class SimpleCov::BlockFilter < SimpleCov::Filter
|
278
|
+
def matches?(source_file); end
|
279
|
+
end
|
280
|
+
class SimpleCov::ArrayFilter < SimpleCov::Filter
|
281
|
+
def initialize(filter_argument); end
|
282
|
+
def matches?(source_files_list); end
|
283
|
+
end
|
284
|
+
class SimpleCov::Formatter::SimpleFormatter
|
285
|
+
def format(result); end
|
286
|
+
end
|
287
|
+
module SimpleCov::LastRun
|
288
|
+
def self.last_run_path; end
|
289
|
+
def self.read; end
|
290
|
+
def self.write(json); end
|
291
|
+
end
|
292
|
+
class SimpleCov::LinesClassifier
|
293
|
+
def classify(lines); end
|
294
|
+
def self.no_cov_line; end
|
295
|
+
def self.no_cov_line?(line); end
|
296
|
+
def self.whitespace_line?(line); end
|
297
|
+
end
|
298
|
+
module SimpleCov::ResultMerger
|
299
|
+
def self.clear_resultset; end
|
300
|
+
def self.merge_and_store(*results); end
|
301
|
+
def self.merge_results(*results); end
|
302
|
+
def self.merged_result; end
|
303
|
+
def self.results; end
|
304
|
+
def self.resultset; end
|
305
|
+
def self.resultset_path; end
|
306
|
+
def self.resultset_writelock; end
|
307
|
+
def self.store_result(result); end
|
308
|
+
def self.stored_data; end
|
309
|
+
def self.synchronize_resultset; end
|
310
|
+
end
|
311
|
+
module SimpleCov::CommandGuesser
|
312
|
+
def self.from_command_line_options; end
|
313
|
+
def self.from_defined_constants; end
|
314
|
+
def self.from_env; end
|
315
|
+
def self.guess; end
|
316
|
+
def self.original_run_command; end
|
317
|
+
def self.original_run_command=(arg0); end
|
318
|
+
end
|
319
|
+
class SimpleCov::ResultAdapter
|
320
|
+
def adapt; end
|
321
|
+
def initialize(result); end
|
322
|
+
def result; end
|
323
|
+
def self.call(*args); end
|
324
|
+
end
|
325
|
+
module SimpleCov::Combine
|
326
|
+
def combine(combiner_module, coverage_a, coverage_b); end
|
327
|
+
def empty_coverage?(coverage_a, coverage_b); end
|
328
|
+
def existing_coverage(coverage_a, coverage_b); end
|
329
|
+
def self.combine(combiner_module, coverage_a, coverage_b); end
|
330
|
+
def self.empty_coverage?(coverage_a, coverage_b); end
|
331
|
+
def self.existing_coverage(coverage_a, coverage_b); end
|
332
|
+
end
|
333
|
+
module SimpleCov::Combine::BranchesCombiner
|
334
|
+
def combine(coverage_a, coverage_b); end
|
335
|
+
def self.combine(coverage_a, coverage_b); end
|
336
|
+
end
|
337
|
+
module SimpleCov::Combine::FilesCombiner
|
338
|
+
def combine(coverage_a, coverage_b); end
|
339
|
+
def self.combine(coverage_a, coverage_b); end
|
340
|
+
end
|
341
|
+
module SimpleCov::Combine::LinesCombiner
|
342
|
+
def combine(coverage_a, coverage_b); end
|
343
|
+
def merge_line_coverage(first_val, second_val); end
|
344
|
+
def self.combine(coverage_a, coverage_b); end
|
345
|
+
def self.merge_line_coverage(first_val, second_val); end
|
346
|
+
end
|
347
|
+
module SimpleCov::Combine::ResultsCombiner
|
348
|
+
def combine(*results); end
|
349
|
+
def combine_file_coverage(coverage_a, coverage_b); end
|
350
|
+
def combine_result_sets(combined_results, result); end
|
351
|
+
def self.combine(*results); end
|
352
|
+
def self.combine_file_coverage(coverage_a, coverage_b); end
|
353
|
+
def self.combine_result_sets(combined_results, result); end
|
354
|
+
end
|
355
|
+
module SimpleCov::UselessResultsRemover
|
356
|
+
def self.call(coverage_result); end
|
357
|
+
end
|
358
|
+
module SimpleCov::SimulateCoverage
|
359
|
+
def call(absolute_path); end
|
360
|
+
def self.call(absolute_path); end
|
361
|
+
end
|