repeatable 1.2.0 → 1.2.1
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 +19 -23
- data/.ruby-version +1 -0
- data/.yardopts +1 -0
- data/CHANGELOG.md +16 -2
- data/Gemfile +1 -0
- data/Gemfile.lock +86 -73
- data/README.md +8 -5
- data/lib/repeatable/expression/date.rb +1 -0
- data/lib/repeatable/expression/range_in_year.rb +2 -0
- data/lib/repeatable/version.rb +1 -1
- data/rbi/repeatable.rbi +1 -1
- data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +3 -3
- data/sorbet/rbi/gems/benchmark@0.4.1.rbi +619 -0
- data/sorbet/rbi/gems/{commander@4.6.0.rbi → commander@5.0.0.rbi} +1 -0
- data/sorbet/rbi/gems/{diff-lcs@1.4.4.rbi → diff-lcs@1.6.2.rbi} +135 -83
- data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.1.rbi} +25 -15
- data/sorbet/rbi/gems/{highline@2.0.3.rbi → highline@3.0.1.rbi} +1 -0
- data/sorbet/rbi/gems/{json@2.7.2.rbi → json@2.13.2.rbi} +759 -233
- data/sorbet/rbi/gems/{language_server-protocol@3.17.0.3.rbi → language_server-protocol@3.17.0.5.rbi} +11 -5
- data/sorbet/rbi/gems/logger@1.7.0.rbi +963 -0
- data/sorbet/rbi/gems/{method_source@1.0.0.rbi → method_source@1.1.0.rbi} +41 -9
- data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.27.0.rbi} +32 -21
- data/sorbet/rbi/gems/{parlour@8.1.0.rbi → parlour@9.1.2.rbi} +86 -68
- data/sorbet/rbi/gems/{parser@3.3.1.0.rbi → parser@3.3.9.0.rbi} +908 -891
- data/sorbet/rbi/gems/{prism@0.28.0.rbi → prism@1.4.0.rbi} +14078 -10249
- data/sorbet/rbi/gems/{pry@0.14.0.rbi → pry@0.15.2.rbi} +437 -244
- data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.1.rbi} +36 -33
- data/sorbet/rbi/gems/{rake@13.0.3.rbi → rake@13.3.0.rbi} +83 -76
- data/sorbet/rbi/gems/rbi@0.3.6.rbi +6893 -0
- data/sorbet/rbi/gems/rbs@3.9.5.rbi +6976 -0
- data/sorbet/rbi/gems/{regexp_parser@2.9.0.rbi → regexp_parser@2.11.2.rbi} +1089 -1015
- data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.4.3.rbi} +833 -329
- data/sorbet/rbi/gems/{rspec-core@3.10.1.rbi → rspec-core@3.13.5.rbi} +1014 -613
- data/sorbet/rbi/gems/{rspec-expectations@3.10.1.rbi → rspec-expectations@3.13.5.rbi} +897 -638
- data/sorbet/rbi/gems/{rspec-mocks@3.10.2.rbi → rspec-mocks@3.13.5.rbi} +547 -444
- data/sorbet/rbi/gems/{rspec-support@3.10.2.rbi → rspec-support@3.13.5.rbi} +337 -304
- data/sorbet/rbi/gems/rspec@3.13.1.rbi +83 -0
- data/sorbet/rbi/gems/{rubocop-ast@1.31.3.rbi → rubocop-ast@1.46.0.rbi} +1678 -958
- data/sorbet/rbi/gems/{rubocop-performance@1.20.2.rbi → rubocop-performance@1.25.0.rbi} +1 -0
- data/sorbet/rbi/gems/{rubocop@1.62.1.rbi → rubocop@1.80.2.rbi} +11243 -5431
- data/sorbet/rbi/gems/simplecov-html@0.13.2.rbi +225 -0
- data/sorbet/rbi/gems/{simplecov@0.21.2.rbi → simplecov@0.22.0.rbi} +39 -25
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +233 -2
- data/sorbet/rbi/gems/spoom@1.6.3.rbi +6985 -0
- data/sorbet/rbi/gems/{standard-performance@1.3.1.rbi → standard-performance@1.8.0.rbi} +1 -0
- data/sorbet/rbi/gems/{standard@1.35.1.rbi → standard@1.51.0.rbi} +181 -96
- data/sorbet/rbi/gems/{tapioca@0.13.3.rbi → tapioca@0.16.11.rbi} +489 -388
- data/sorbet/rbi/gems/{thor@1.3.1.rbi → thor@1.4.0.rbi} +94 -46
- data/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi +132 -0
- data/sorbet/rbi/gems/unicode-emoji@4.1.0.rbi +251 -0
- data/sorbet/rbi/gems/{yard-sorbet@0.8.1.rbi → yard-sorbet@0.9.0.rbi} +36 -29
- data/sorbet/rbi/gems/{yard@0.9.36.rbi → yard@0.9.37.rbi} +394 -236
- metadata +46 -40
- data/sorbet/rbi/gems/rbi@0.1.13.rbi +0 -3071
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -76
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -216
- data/sorbet/rbi/gems/spoom@1.3.2.rbi +0 -4420
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -65
- /data/sorbet/rbi/gems/{docile@1.4.0.rbi → docile@1.4.1.rbi} +0 -0
@@ -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)
|
@@ -4,6 +4,7 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `simplecov` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem simplecov`.
|
6
6
|
|
7
|
+
|
7
8
|
# Code coverage for ruby. Please check out README for a full introduction.
|
8
9
|
#
|
9
10
|
# source://simplecov//lib/simplecov.rb#22
|
@@ -214,36 +215,36 @@ module SimpleCov
|
|
214
215
|
#
|
215
216
|
# @return [Hash]
|
216
217
|
#
|
217
|
-
# source://simplecov//lib/simplecov.rb#
|
218
|
+
# source://simplecov//lib/simplecov.rb#399
|
218
219
|
def adapt_coverage_result; end
|
219
220
|
|
220
221
|
# Finds files that were to be tracked but were not loaded and initializes
|
221
222
|
# the line-by-line coverage to zero (if relevant) or nil (comments / whitespace etc).
|
222
223
|
#
|
223
|
-
# source://simplecov//lib/simplecov.rb#
|
224
|
+
# source://simplecov//lib/simplecov.rb#371
|
224
225
|
def add_not_loaded_files(result); end
|
225
226
|
|
226
227
|
# source://simplecov//lib/simplecov.rb#302
|
227
228
|
def initial_setup(profile, &block); end
|
228
229
|
|
229
|
-
# source://simplecov//lib/simplecov.rb#
|
230
|
+
# source://simplecov//lib/simplecov.rb#363
|
230
231
|
def lookup_corresponding_ruby_coverage_name(criterion); end
|
231
232
|
|
232
233
|
# parallel_tests isn't always available, see: https://github.com/grosser/parallel_tests/issues/772
|
233
234
|
#
|
234
|
-
# source://simplecov//lib/simplecov.rb#
|
235
|
+
# source://simplecov//lib/simplecov.rb#425
|
235
236
|
def make_parallel_tests_available; end
|
236
237
|
|
237
238
|
# @return [Boolean]
|
238
239
|
#
|
239
|
-
# source://simplecov//lib/simplecov.rb#
|
240
|
+
# source://simplecov//lib/simplecov.rb#434
|
240
241
|
def probably_running_parallel_tests?; end
|
241
242
|
|
242
243
|
# Call steps that handle process coverage result
|
243
244
|
#
|
244
245
|
# @return [Hash]
|
245
246
|
#
|
246
|
-
# source://simplecov//lib/simplecov.rb#
|
247
|
+
# source://simplecov//lib/simplecov.rb#388
|
247
248
|
def process_coverage_result; end
|
248
249
|
|
249
250
|
# Filter coverage result
|
@@ -252,7 +253,7 @@ module SimpleCov
|
|
252
253
|
#
|
253
254
|
# @return [Hash]
|
254
255
|
#
|
255
|
-
# source://simplecov//lib/simplecov.rb#
|
256
|
+
# source://simplecov//lib/simplecov.rb#410
|
256
257
|
def remove_useless_results; end
|
257
258
|
|
258
259
|
# Initialize result with files that are not included by coverage
|
@@ -260,7 +261,7 @@ module SimpleCov
|
|
260
261
|
#
|
261
262
|
# @return [Hash]
|
262
263
|
#
|
263
|
-
# source://simplecov//lib/simplecov.rb#
|
264
|
+
# source://simplecov//lib/simplecov.rb#420
|
264
265
|
def result_with_not_loaded_files; end
|
265
266
|
|
266
267
|
# Trigger Coverage.start depends on given config coverage_criterion
|
@@ -643,7 +644,7 @@ module SimpleCov::Configuration
|
|
643
644
|
|
644
645
|
# @return [Boolean]
|
645
646
|
#
|
646
|
-
# source://simplecov//lib/simplecov/configuration.rb#
|
647
|
+
# source://simplecov//lib/simplecov/configuration.rb#443
|
647
648
|
def branch_coverage_supported?; end
|
648
649
|
|
649
650
|
# source://simplecov//lib/simplecov/configuration.rb#424
|
@@ -703,6 +704,16 @@ module SimpleCov::Configuration
|
|
703
704
|
# source://simplecov//lib/simplecov/configuration.rb#34
|
704
705
|
def coverage_dir(dir = T.unsafe(nil)); end
|
705
706
|
|
707
|
+
# @return [Boolean]
|
708
|
+
#
|
709
|
+
# source://simplecov//lib/simplecov/configuration.rb#452
|
710
|
+
def coverage_for_eval_enabled?; end
|
711
|
+
|
712
|
+
# @return [Boolean]
|
713
|
+
#
|
714
|
+
# source://simplecov//lib/simplecov/configuration.rb#447
|
715
|
+
def coverage_for_eval_supported?; end
|
716
|
+
|
706
717
|
# Returns the full path to the output directory using SimpleCov.root
|
707
718
|
# and SimpleCov.coverage_dir, so you can adjust this by configuring those
|
708
719
|
# values. Will create the directory if it's missing
|
@@ -718,6 +729,9 @@ module SimpleCov::Configuration
|
|
718
729
|
# source://simplecov//lib/simplecov/configuration.rb#401
|
719
730
|
def enable_coverage(criterion); end
|
720
731
|
|
732
|
+
# source://simplecov//lib/simplecov/configuration.rb#456
|
733
|
+
def enable_coverage_for_eval; end
|
734
|
+
|
721
735
|
# gets or sets the enabled_for_subprocess configuration
|
722
736
|
# when true, this will inject SimpleCov code into Process.fork
|
723
737
|
#
|
@@ -901,18 +915,18 @@ module SimpleCov::Configuration
|
|
901
915
|
|
902
916
|
private
|
903
917
|
|
904
|
-
# source://simplecov//lib/simplecov/configuration.rb#
|
918
|
+
# source://simplecov//lib/simplecov/configuration.rb#483
|
905
919
|
def minimum_possible_coverage_exceeded(coverage_option); end
|
906
920
|
|
907
921
|
# The actual filter processor. Not meant for direct use
|
908
922
|
#
|
909
|
-
# source://simplecov//lib/simplecov/configuration.rb#
|
923
|
+
# source://simplecov//lib/simplecov/configuration.rb#490
|
910
924
|
def parse_filter(filter_argument = T.unsafe(nil), &filter_proc); end
|
911
925
|
|
912
|
-
# source://simplecov//lib/simplecov/configuration.rb#
|
926
|
+
# source://simplecov//lib/simplecov/configuration.rb#466
|
913
927
|
def raise_if_criterion_disabled(criterion); end
|
914
928
|
|
915
|
-
# source://simplecov//lib/simplecov/configuration.rb#
|
929
|
+
# source://simplecov//lib/simplecov/configuration.rb#475
|
916
930
|
def raise_if_criterion_unsupported(criterion); end
|
917
931
|
end
|
918
932
|
|
@@ -1843,20 +1857,20 @@ class SimpleCov::SourceFile
|
|
1843
1857
|
|
1844
1858
|
private
|
1845
1859
|
|
1846
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1860
|
+
# source://simplecov//lib/simplecov/source_file.rb#346
|
1847
1861
|
def branch_coverage_statistics; end
|
1848
1862
|
|
1849
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1863
|
+
# source://simplecov//lib/simplecov/source_file.rb#324
|
1850
1864
|
def build_branch(branch_data, hit_count, condition_start_line); end
|
1851
1865
|
|
1852
1866
|
# Call recursive method that transform our static hash to array of objects
|
1853
1867
|
#
|
1854
1868
|
# @return [Array]
|
1855
1869
|
#
|
1856
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1870
|
+
# source://simplecov//lib/simplecov/source_file.rb#273
|
1857
1871
|
def build_branches; end
|
1858
1872
|
|
1859
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1873
|
+
# source://simplecov//lib/simplecov/source_file.rb#310
|
1860
1874
|
def build_branches_from(condition, branches); end
|
1861
1875
|
|
1862
1876
|
# Build full branches report
|
@@ -1865,10 +1879,10 @@ class SimpleCov::SourceFile
|
|
1865
1879
|
#
|
1866
1880
|
# @return [Hash]
|
1867
1881
|
#
|
1868
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1882
|
+
# source://simplecov//lib/simplecov/source_file.rb#262
|
1869
1883
|
def build_branches_report; end
|
1870
1884
|
|
1871
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1885
|
+
# source://simplecov//lib/simplecov/source_file.rb#229
|
1872
1886
|
def build_lines; end
|
1873
1887
|
|
1874
1888
|
# source://simplecov//lib/simplecov/source_file.rb#164
|
@@ -1876,16 +1890,16 @@ class SimpleCov::SourceFile
|
|
1876
1890
|
|
1877
1891
|
# Warning to identify condition from Issue #56
|
1878
1892
|
#
|
1879
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1893
|
+
# source://simplecov//lib/simplecov/source_file.rb#251
|
1880
1894
|
def coverage_exceeding_source_warn; end
|
1881
1895
|
|
1882
1896
|
# source://simplecov//lib/simplecov/source_file.rb#214
|
1883
1897
|
def ensure_remove_undefs(file_lines); end
|
1884
1898
|
|
1885
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1899
|
+
# source://simplecov//lib/simplecov/source_file.rb#336
|
1886
1900
|
def line_coverage_statistics; end
|
1887
1901
|
|
1888
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1902
|
+
# source://simplecov//lib/simplecov/source_file.rb#246
|
1889
1903
|
def lines_strength; end
|
1890
1904
|
|
1891
1905
|
# source://simplecov//lib/simplecov/source_file.rb#178
|
@@ -1896,10 +1910,10 @@ class SimpleCov::SourceFile
|
|
1896
1910
|
# source://simplecov//lib/simplecov/source_file.rb#160
|
1897
1911
|
def no_cov_chunks; end
|
1898
1912
|
|
1899
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1913
|
+
# source://simplecov//lib/simplecov/source_file.rb#282
|
1900
1914
|
def process_skipped_branches(branches); end
|
1901
1915
|
|
1902
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1916
|
+
# source://simplecov//lib/simplecov/source_file.rb#237
|
1903
1917
|
def process_skipped_lines(lines); end
|
1904
1918
|
|
1905
1919
|
# source://simplecov//lib/simplecov/source_file.rb#198
|
@@ -1913,7 +1927,7 @@ class SimpleCov::SourceFile
|
|
1913
1927
|
#
|
1914
1928
|
# See #801
|
1915
1929
|
#
|
1916
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1930
|
+
# source://simplecov//lib/simplecov/source_file.rb#300
|
1917
1931
|
def restore_ruby_data_structure(structure); end
|
1918
1932
|
|
1919
1933
|
# source://simplecov//lib/simplecov/source_file.rb#206
|
@@ -4,5 +4,236 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `simplecov_json_formatter` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem simplecov_json_formatter`.
|
6
6
|
|
7
|
-
|
8
|
-
#
|
7
|
+
|
8
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter.rb#7
|
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_json_formatter//lib/simplecov_json_formatter.rb#8
|
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_json_formatter//lib/simplecov_json_formatter.rb#9
|
144
|
+
class SimpleCov::Formatter::JSONFormatter
|
145
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter.rb#10
|
146
|
+
def format(result); end
|
147
|
+
|
148
|
+
private
|
149
|
+
|
150
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter.rb#25
|
151
|
+
def export_formatted_result(result_hash); end
|
152
|
+
|
153
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter.rb#20
|
154
|
+
def format_result(result); end
|
155
|
+
|
156
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter.rb#30
|
157
|
+
def output_message(result); end
|
158
|
+
end
|
159
|
+
|
160
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/source_file_formatter.rb#3
|
161
|
+
module SimpleCovJSONFormatter; end
|
162
|
+
|
163
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/result_exporter.rb#4
|
164
|
+
class SimpleCovJSONFormatter::ResultExporter
|
165
|
+
# @return [ResultExporter] a new instance of ResultExporter
|
166
|
+
#
|
167
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/result_exporter.rb#7
|
168
|
+
def initialize(result_hash); end
|
169
|
+
|
170
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/result_exporter.rb#11
|
171
|
+
def export; end
|
172
|
+
|
173
|
+
private
|
174
|
+
|
175
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/result_exporter.rb#23
|
176
|
+
def export_path; end
|
177
|
+
|
178
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/result_exporter.rb#19
|
179
|
+
def json_result; end
|
180
|
+
end
|
181
|
+
|
182
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/result_exporter.rb#5
|
183
|
+
SimpleCovJSONFormatter::ResultExporter::FILENAME = T.let(T.unsafe(nil), String)
|
184
|
+
|
185
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/result_hash_formatter.rb#6
|
186
|
+
class SimpleCovJSONFormatter::ResultHashFormatter
|
187
|
+
# @return [ResultHashFormatter] a new instance of ResultHashFormatter
|
188
|
+
#
|
189
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/result_hash_formatter.rb#7
|
190
|
+
def initialize(result); end
|
191
|
+
|
192
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/result_hash_formatter.rb#11
|
193
|
+
def format; end
|
194
|
+
|
195
|
+
private
|
196
|
+
|
197
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/result_hash_formatter.rb#20
|
198
|
+
def format_files; end
|
199
|
+
|
200
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/result_hash_formatter.rb#27
|
201
|
+
def format_groups; end
|
202
|
+
|
203
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/result_hash_formatter.rb#47
|
204
|
+
def format_source_file(source_file); end
|
205
|
+
|
206
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/result_hash_formatter.rb#37
|
207
|
+
def formatted_result; end
|
208
|
+
end
|
209
|
+
|
210
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/source_file_formatter.rb#4
|
211
|
+
class SimpleCovJSONFormatter::SourceFileFormatter
|
212
|
+
# @return [SourceFileFormatter] a new instance of SourceFileFormatter
|
213
|
+
#
|
214
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/source_file_formatter.rb#5
|
215
|
+
def initialize(source_file); end
|
216
|
+
|
217
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/source_file_formatter.rb#10
|
218
|
+
def format; end
|
219
|
+
|
220
|
+
private
|
221
|
+
|
222
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/source_file_formatter.rb#26
|
223
|
+
def branch_coverage; end
|
224
|
+
|
225
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/source_file_formatter.rb#41
|
226
|
+
def branches; end
|
227
|
+
|
228
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/source_file_formatter.rb#20
|
229
|
+
def line_coverage; end
|
230
|
+
|
231
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/source_file_formatter.rb#32
|
232
|
+
def lines; end
|
233
|
+
|
234
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/source_file_formatter.rb#56
|
235
|
+
def parse_branch(branch); end
|
236
|
+
|
237
|
+
# source://simplecov_json_formatter//lib/simplecov_json_formatter/source_file_formatter.rb#50
|
238
|
+
def parse_line(line); end
|
239
|
+
end
|