dry-monads-sorbet 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +14 -22
- data/.gitignore +3 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -6
- data/bin/tapioca +29 -0
- data/dry-monads-sorbet.gemspec +3 -2
- data/lib/bundled_rbi/dry-monads.rbi +3 -3
- data/lib/dry/monads/sorbet/version.rb +1 -1
- data/nix/sources.json +14 -0
- data/nix/sources.nix +174 -0
- data/run_ci.sh +7 -0
- data/shell.nix +20 -0
- data/sorbet/config +6 -0
- data/sorbet/rbi/gems/{ast.rbi → ast@2.4.2.rbi} +28 -22
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +1568 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +915 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
- data/sorbet/rbi/gems/dry-core@0.7.1.rbi +92 -0
- data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +28 -0
- data/sorbet/rbi/gems/dry-monads@1.4.0.rbi +697 -0
- data/sorbet/rbi/gems/ffaker@2.20.0.rbi +3171 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
- data/sorbet/rbi/gems/parallel@1.21.0.rbi +113 -0
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1189 -0
- data/sorbet/rbi/gems/pry-byebug@3.8.0.rbi +458 -0
- data/sorbet/rbi/gems/{pry.rbi → pry@0.14.1.rbi} +2264 -1727
- data/sorbet/rbi/gems/{rainbow.rbi → rainbow@3.0.0.rbi} +90 -55
- data/sorbet/rbi/gems/{rake.rbi → rake@13.0.6.rbi} +578 -431
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
- data/sorbet/rbi/gems/rb-readline@0.5.5.rbi +884 -0
- data/sorbet/rbi/gems/rbi@0.0.6.rbi +1405 -0
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1120 -0
- data/sorbet/rbi/gems/{rexml.rbi → rexml@3.2.5.rbi} +564 -497
- data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.10.1.rbi} +2345 -1766
- data/sorbet/rbi/gems/{rspec-expectations.rbi → rspec-expectations@3.10.1.rbi} +1149 -698
- data/sorbet/rbi/gems/{rspec-mocks.rbi → rspec-mocks@3.10.2.rbi} +1299 -936
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
- data/sorbet/rbi/gems/rubocop-ast@1.12.0.rbi +1938 -0
- data/sorbet/rbi/gems/rubocop-rspec@2.5.0.rbi +1786 -0
- data/sorbet/rbi/gems/rubocop@1.22.1.rbi +13252 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.1.5.rbi +1241 -0
- data/sorbet/rbi/gems/stackprof@0.2.17.rbi +98 -0
- data/sorbet/rbi/gems/tapioca@0.5.2.rbi +949 -0
- data/sorbet/rbi/gems/thor@1.1.0.rbi +839 -0
- data/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +26 -0
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +65 -68
- data/.ruby-version +0 -1
- data/sorbet/rbi/gems/activesupport.rbi +0 -1722
- data/sorbet/rbi/gems/byebug.rbi +0 -1041
- data/sorbet/rbi/gems/coderay.rbi +0 -285
- data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1586
- data/sorbet/rbi/gems/docile.rbi +0 -32
- data/sorbet/rbi/gems/dry-core.rbi +0 -38
- data/sorbet/rbi/gems/dry-equalizer.rbi +0 -26
- data/sorbet/rbi/gems/dry-monads.rbi +0 -510
- data/sorbet/rbi/gems/em-websocket.rbi +0 -225
- data/sorbet/rbi/gems/eventmachine.rbi +0 -489
- data/sorbet/rbi/gems/ffaker.rbi +0 -60
- data/sorbet/rbi/gems/guard.rbi +0 -397
- data/sorbet/rbi/gems/http_parser.rb.rbi +0 -37
- data/sorbet/rbi/gems/i18n.rbi +0 -133
- data/sorbet/rbi/gems/kwalify.rbi +0 -340
- data/sorbet/rbi/gems/listen.rbi +0 -324
- data/sorbet/rbi/gems/lumberjack.rbi +0 -300
- data/sorbet/rbi/gems/method_source.rbi +0 -64
- data/sorbet/rbi/gems/multi_json.rbi +0 -62
- data/sorbet/rbi/gems/nenv.rbi +0 -60
- data/sorbet/rbi/gems/notiffany.rbi +0 -215
- data/sorbet/rbi/gems/parallel.rbi +0 -82
- data/sorbet/rbi/gems/parser.rbi +0 -1846
- data/sorbet/rbi/gems/pry-byebug.rbi +0 -155
- data/sorbet/rbi/gems/rb-fsevent.rbi +0 -31
- data/sorbet/rbi/gems/rb-readline.rbi +0 -767
- data/sorbet/rbi/gems/reek.rbi +0 -1027
- data/sorbet/rbi/gems/regexp_parser.rbi +0 -913
- data/sorbet/rbi/gems/rspec-support.rbi +0 -280
- data/sorbet/rbi/gems/rspec.rbi +0 -15
- data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1053
- data/sorbet/rbi/gems/rubocop-rspec.rbi +0 -937
- data/sorbet/rbi/gems/rubocop.rbi +0 -6841
- data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -305
- data/sorbet/rbi/gems/shellany.rbi +0 -29
- data/sorbet/rbi/gems/shoulda-matchers.rbi +0 -1848
- data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
- data/sorbet/rbi/gems/simplecov.rbi +0 -361
- data/sorbet/rbi/gems/sqlite3.rbi +0 -354
- data/sorbet/rbi/gems/stackprof.rbi +0 -52
- data/sorbet/rbi/gems/thor.rbi +0 -32
- data/sorbet/rbi/gems/thread_safe.rbi +0 -82
- data/sorbet/rbi/gems/timecop.rbi +0 -98
- data/sorbet/rbi/gems/tzinfo.rbi +0 -406
- data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
- data/sorbet/rbi/hidden-definitions/errors.txt +0 -7267
- data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -14661
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +0 -23
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -1431
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -108
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
- data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
- data/sorbet/rbi/sorbet-typed/lib/rubocop-rspec/~>1.39/rubocop-rspec.rbi +0 -398
- data/sorbet/rbi/todo.rbi +0 -8
@@ -0,0 +1,405 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `ruby-progressbar` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem ruby-progressbar`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
class ProgressBar
|
8
|
+
class << self
|
9
|
+
def create(*args); end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
class ProgressBar::Base
|
14
|
+
extend ::Forwardable
|
15
|
+
|
16
|
+
def initialize(options = T.unsafe(nil)); end
|
17
|
+
|
18
|
+
def clear(*args, &block); end
|
19
|
+
def decrement; end
|
20
|
+
def finish; end
|
21
|
+
def finished?; end
|
22
|
+
def format(other); end
|
23
|
+
def format=(other); end
|
24
|
+
def increment; end
|
25
|
+
def inspect; end
|
26
|
+
def log(*args, &block); end
|
27
|
+
def pause; end
|
28
|
+
def paused?; end
|
29
|
+
def progress(*args, &block); end
|
30
|
+
def progress=(new_progress); end
|
31
|
+
def progress_mark=(mark); end
|
32
|
+
def refresh(*args, &block); end
|
33
|
+
def remainder_mark=(mark); end
|
34
|
+
def reset; end
|
35
|
+
def resume; end
|
36
|
+
def start(options = T.unsafe(nil)); end
|
37
|
+
def started?; end
|
38
|
+
def stop; end
|
39
|
+
def stopped?; end
|
40
|
+
def title; end
|
41
|
+
def title=(title); end
|
42
|
+
def to_h; end
|
43
|
+
def to_s(new_format = T.unsafe(nil)); end
|
44
|
+
def total(*args, &block); end
|
45
|
+
def total=(new_total); end
|
46
|
+
|
47
|
+
protected
|
48
|
+
|
49
|
+
def autofinish; end
|
50
|
+
def autofinish=(_arg0); end
|
51
|
+
def autostart; end
|
52
|
+
def autostart=(_arg0); end
|
53
|
+
def bar; end
|
54
|
+
def bar=(_arg0); end
|
55
|
+
def finished; end
|
56
|
+
def finished=(_arg0); end
|
57
|
+
def output; end
|
58
|
+
def output=(_arg0); end
|
59
|
+
def percentage; end
|
60
|
+
def percentage=(_arg0); end
|
61
|
+
def progressable; end
|
62
|
+
def progressable=(_arg0); end
|
63
|
+
def rate; end
|
64
|
+
def rate=(_arg0); end
|
65
|
+
def time; end
|
66
|
+
def time=(_arg0); end
|
67
|
+
def timer; end
|
68
|
+
def timer=(_arg0); end
|
69
|
+
def title_comp; end
|
70
|
+
def title_comp=(_arg0); end
|
71
|
+
def update_progress(*args); end
|
72
|
+
end
|
73
|
+
|
74
|
+
module ProgressBar::Calculators; end
|
75
|
+
|
76
|
+
class ProgressBar::Calculators::Length
|
77
|
+
def initialize(options = T.unsafe(nil)); end
|
78
|
+
|
79
|
+
def calculate_length; end
|
80
|
+
def current_length; end
|
81
|
+
def current_length=(_arg0); end
|
82
|
+
def length; end
|
83
|
+
def length_changed?; end
|
84
|
+
def length_override; end
|
85
|
+
def length_override=(other); end
|
86
|
+
def output; end
|
87
|
+
def output=(_arg0); end
|
88
|
+
def reset_length; end
|
89
|
+
|
90
|
+
private
|
91
|
+
|
92
|
+
def dynamic_width; end
|
93
|
+
def dynamic_width_stty; end
|
94
|
+
def dynamic_width_tput; end
|
95
|
+
def dynamic_width_via_io_object; end
|
96
|
+
def dynamic_width_via_output_stream_object; end
|
97
|
+
def dynamic_width_via_system_calls; end
|
98
|
+
def terminal_width; end
|
99
|
+
def unix?; end
|
100
|
+
end
|
101
|
+
|
102
|
+
class ProgressBar::Calculators::RunningAverage
|
103
|
+
class << self
|
104
|
+
def calculate(current_average, new_value_to_average, smoothing_factor); end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
module ProgressBar::Components; end
|
109
|
+
|
110
|
+
class ProgressBar::Components::Bar
|
111
|
+
def initialize(options = T.unsafe(nil)); end
|
112
|
+
|
113
|
+
def length; end
|
114
|
+
def length=(_arg0); end
|
115
|
+
def progress; end
|
116
|
+
def progress=(_arg0); end
|
117
|
+
def progress_mark; end
|
118
|
+
def progress_mark=(_arg0); end
|
119
|
+
def remainder_mark; end
|
120
|
+
def remainder_mark=(_arg0); end
|
121
|
+
def to_s(options = T.unsafe(nil)); end
|
122
|
+
def upa_steps; end
|
123
|
+
def upa_steps=(_arg0); end
|
124
|
+
|
125
|
+
private
|
126
|
+
|
127
|
+
def bar(length); end
|
128
|
+
def bar_with_percentage(length); end
|
129
|
+
def complete_bar(length); end
|
130
|
+
def complete_bar_with_percentage(length); end
|
131
|
+
def completed_length; end
|
132
|
+
def incomplete_space(length); end
|
133
|
+
def incomplete_string; end
|
134
|
+
def integrated_percentage_complete_string; end
|
135
|
+
def standard_complete_string; end
|
136
|
+
def unknown_progress_frame; end
|
137
|
+
def unknown_string; end
|
138
|
+
end
|
139
|
+
|
140
|
+
ProgressBar::Components::Bar::DEFAULT_PROGRESS_MARK = T.let(T.unsafe(nil), String)
|
141
|
+
ProgressBar::Components::Bar::DEFAULT_REMAINDER_MARK = T.let(T.unsafe(nil), String)
|
142
|
+
ProgressBar::Components::Bar::DEFAULT_UPA_STEPS = T.let(T.unsafe(nil), Array)
|
143
|
+
|
144
|
+
class ProgressBar::Components::Percentage
|
145
|
+
def initialize(options = T.unsafe(nil)); end
|
146
|
+
|
147
|
+
def progress; end
|
148
|
+
def progress=(_arg0); end
|
149
|
+
|
150
|
+
private
|
151
|
+
|
152
|
+
def justified_percentage; end
|
153
|
+
def justified_percentage_with_precision; end
|
154
|
+
def percentage; end
|
155
|
+
def percentage_with_precision; end
|
156
|
+
end
|
157
|
+
|
158
|
+
class ProgressBar::Components::Rate
|
159
|
+
def initialize(options = T.unsafe(nil)); end
|
160
|
+
|
161
|
+
def progress; end
|
162
|
+
def progress=(_arg0); end
|
163
|
+
def rate_scale; end
|
164
|
+
def rate_scale=(_arg0); end
|
165
|
+
def started_at; end
|
166
|
+
def started_at=(_arg0); end
|
167
|
+
def stopped_at; end
|
168
|
+
def stopped_at=(_arg0); end
|
169
|
+
def timer; end
|
170
|
+
def timer=(_arg0); end
|
171
|
+
|
172
|
+
private
|
173
|
+
|
174
|
+
def base_rate; end
|
175
|
+
def elapsed_seconds; end
|
176
|
+
def rate_of_change(format_string = T.unsafe(nil)); end
|
177
|
+
def rate_of_change_with_precision; end
|
178
|
+
def scaled_rate; end
|
179
|
+
end
|
180
|
+
|
181
|
+
class ProgressBar::Components::Time
|
182
|
+
def initialize(options = T.unsafe(nil)); end
|
183
|
+
|
184
|
+
def elapsed_with_label; end
|
185
|
+
def estimated_with_label; end
|
186
|
+
|
187
|
+
protected
|
188
|
+
|
189
|
+
def estimated_with_friendly_oob; end
|
190
|
+
def estimated_with_no_oob; end
|
191
|
+
def estimated_with_unknown_oob; end
|
192
|
+
def out_of_bounds_time_format; end
|
193
|
+
def out_of_bounds_time_format=(format); end
|
194
|
+
def progress; end
|
195
|
+
def progress=(_arg0); end
|
196
|
+
def timer; end
|
197
|
+
def timer=(_arg0); end
|
198
|
+
|
199
|
+
private
|
200
|
+
|
201
|
+
def elapsed; end
|
202
|
+
def estimated; end
|
203
|
+
def estimated_seconds_remaining; end
|
204
|
+
def estimated_with_elapsed_fallback; end
|
205
|
+
end
|
206
|
+
|
207
|
+
ProgressBar::Components::Time::ELAPSED_LABEL = T.let(T.unsafe(nil), String)
|
208
|
+
ProgressBar::Components::Time::ESTIMATED_LABEL = T.let(T.unsafe(nil), String)
|
209
|
+
ProgressBar::Components::Time::NO_TIME_ELAPSED_TEXT = T.let(T.unsafe(nil), String)
|
210
|
+
ProgressBar::Components::Time::OOB_FRIENDLY_TIME_TEXT = T.let(T.unsafe(nil), String)
|
211
|
+
ProgressBar::Components::Time::OOB_LIMIT_IN_HOURS = T.let(T.unsafe(nil), Integer)
|
212
|
+
ProgressBar::Components::Time::OOB_TEXT_TO_FORMAT = T.let(T.unsafe(nil), Hash)
|
213
|
+
ProgressBar::Components::Time::OOB_TIME_FORMATS = T.let(T.unsafe(nil), Array)
|
214
|
+
ProgressBar::Components::Time::OOB_UNKNOWN_TIME_TEXT = T.let(T.unsafe(nil), String)
|
215
|
+
ProgressBar::Components::Time::TIME_FORMAT = T.let(T.unsafe(nil), String)
|
216
|
+
|
217
|
+
class ProgressBar::Components::Title
|
218
|
+
def initialize(options = T.unsafe(nil)); end
|
219
|
+
|
220
|
+
def title; end
|
221
|
+
def title=(_arg0); end
|
222
|
+
end
|
223
|
+
|
224
|
+
ProgressBar::Components::Title::DEFAULT_TITLE = T.let(T.unsafe(nil), String)
|
225
|
+
module ProgressBar::Format; end
|
226
|
+
|
227
|
+
class ProgressBar::Format::Formatter
|
228
|
+
class << self
|
229
|
+
def process(format_string, max_length, bar); end
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
class ProgressBar::Format::Molecule
|
234
|
+
def initialize(letter); end
|
235
|
+
|
236
|
+
def bar_molecule?; end
|
237
|
+
def full_key; end
|
238
|
+
def key; end
|
239
|
+
def key=(_arg0); end
|
240
|
+
def lookup_value(environment, length = T.unsafe(nil)); end
|
241
|
+
def method_name; end
|
242
|
+
def method_name=(_arg0); end
|
243
|
+
def non_bar_molecule?; end
|
244
|
+
end
|
245
|
+
|
246
|
+
ProgressBar::Format::Molecule::BAR_MOLECULES = T.let(T.unsafe(nil), Array)
|
247
|
+
ProgressBar::Format::Molecule::MOLECULES = T.let(T.unsafe(nil), Hash)
|
248
|
+
|
249
|
+
class ProgressBar::Format::String < ::String
|
250
|
+
def bar_molecule_placeholder_length; end
|
251
|
+
def bar_molecules; end
|
252
|
+
def displayable_length; end
|
253
|
+
def molecules; end
|
254
|
+
def non_bar_molecules; end
|
255
|
+
end
|
256
|
+
|
257
|
+
ProgressBar::Format::String::ANSI_SGR_PATTERN = T.let(T.unsafe(nil), Regexp)
|
258
|
+
ProgressBar::Format::String::MOLECULE_PATTERN = T.let(T.unsafe(nil), Regexp)
|
259
|
+
class ProgressBar::InvalidProgressError < ::RuntimeError; end
|
260
|
+
|
261
|
+
class ProgressBar::Output
|
262
|
+
def initialize(options = T.unsafe(nil)); end
|
263
|
+
|
264
|
+
def clear_string; end
|
265
|
+
def length; end
|
266
|
+
def log(string); end
|
267
|
+
def refresh(options = T.unsafe(nil)); end
|
268
|
+
def stream; end
|
269
|
+
def stream=(_arg0); end
|
270
|
+
def with_refresh; end
|
271
|
+
|
272
|
+
protected
|
273
|
+
|
274
|
+
def bar; end
|
275
|
+
def bar=(_arg0); end
|
276
|
+
def length_calculator; end
|
277
|
+
def length_calculator=(_arg0); end
|
278
|
+
def throttle; end
|
279
|
+
def throttle=(_arg0); end
|
280
|
+
|
281
|
+
private
|
282
|
+
|
283
|
+
def print_and_flush; end
|
284
|
+
|
285
|
+
class << self
|
286
|
+
def detect(options = T.unsafe(nil)); end
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
290
|
+
ProgressBar::Output::DEFAULT_OUTPUT_STREAM = T.let(T.unsafe(nil), IO)
|
291
|
+
module ProgressBar::Outputs; end
|
292
|
+
|
293
|
+
class ProgressBar::Outputs::NonTty < ::ProgressBar::Output
|
294
|
+
def bar_update_string; end
|
295
|
+
def clear; end
|
296
|
+
def default_format; end
|
297
|
+
def eol; end
|
298
|
+
def last_update_length; end
|
299
|
+
def refresh_with_format_change(*_arg0); end
|
300
|
+
def resolve_format(*_arg0); end
|
301
|
+
|
302
|
+
protected
|
303
|
+
|
304
|
+
def last_update_length=(_arg0); end
|
305
|
+
end
|
306
|
+
|
307
|
+
ProgressBar::Outputs::NonTty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String)
|
308
|
+
|
309
|
+
class ProgressBar::Outputs::Tty < ::ProgressBar::Output
|
310
|
+
def bar_update_string; end
|
311
|
+
def clear; end
|
312
|
+
def default_format; end
|
313
|
+
def eol; end
|
314
|
+
def refresh_with_format_change; end
|
315
|
+
def resolve_format(other_format); end
|
316
|
+
end
|
317
|
+
|
318
|
+
ProgressBar::Outputs::Tty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String)
|
319
|
+
|
320
|
+
class ProgressBar::Progress
|
321
|
+
def initialize(options = T.unsafe(nil)); end
|
322
|
+
|
323
|
+
def absolute; end
|
324
|
+
def decrement; end
|
325
|
+
def finish; end
|
326
|
+
def finished?; end
|
327
|
+
def increment; end
|
328
|
+
def none?; end
|
329
|
+
def percentage_completed; end
|
330
|
+
def percentage_completed_with_precision; end
|
331
|
+
def progress; end
|
332
|
+
def progress=(new_progress); end
|
333
|
+
def reset; end
|
334
|
+
def running_average; end
|
335
|
+
def running_average=(_arg0); end
|
336
|
+
def smoothing; end
|
337
|
+
def smoothing=(_arg0); end
|
338
|
+
def start(options = T.unsafe(nil)); end
|
339
|
+
def starting_position; end
|
340
|
+
def starting_position=(_arg0); end
|
341
|
+
def total; end
|
342
|
+
def total=(new_total); end
|
343
|
+
def total_with_unknown_indicator; end
|
344
|
+
def unknown?; end
|
345
|
+
end
|
346
|
+
|
347
|
+
ProgressBar::Progress::DEFAULT_BEGINNING_POSITION = T.let(T.unsafe(nil), Integer)
|
348
|
+
ProgressBar::Progress::DEFAULT_SMOOTHING = T.let(T.unsafe(nil), Float)
|
349
|
+
ProgressBar::Progress::DEFAULT_TOTAL = T.let(T.unsafe(nil), Integer)
|
350
|
+
module ProgressBar::Refinements; end
|
351
|
+
module ProgressBar::Refinements::Enumerator; end
|
352
|
+
|
353
|
+
class ProgressBar::Throttle
|
354
|
+
def initialize(options = T.unsafe(nil)); end
|
355
|
+
|
356
|
+
def choke(options = T.unsafe(nil)); end
|
357
|
+
def rate; end
|
358
|
+
def rate=(_arg0); end
|
359
|
+
def started_at; end
|
360
|
+
def started_at=(_arg0); end
|
361
|
+
def stopped_at; end
|
362
|
+
def stopped_at=(_arg0); end
|
363
|
+
def timer; end
|
364
|
+
def timer=(_arg0); end
|
365
|
+
end
|
366
|
+
|
367
|
+
class ProgressBar::Time
|
368
|
+
def initialize(time = T.unsafe(nil)); end
|
369
|
+
|
370
|
+
def now; end
|
371
|
+
def unmocked_time_method; end
|
372
|
+
|
373
|
+
protected
|
374
|
+
|
375
|
+
def time; end
|
376
|
+
def time=(_arg0); end
|
377
|
+
end
|
378
|
+
|
379
|
+
ProgressBar::Time::TIME_MOCKING_LIBRARY_METHODS = T.let(T.unsafe(nil), Array)
|
380
|
+
|
381
|
+
class ProgressBar::Timer
|
382
|
+
def initialize(options = T.unsafe(nil)); end
|
383
|
+
|
384
|
+
def divide_seconds(seconds); end
|
385
|
+
def elapsed_seconds; end
|
386
|
+
def elapsed_whole_seconds; end
|
387
|
+
def pause; end
|
388
|
+
def reset; end
|
389
|
+
def reset?; end
|
390
|
+
def restart; end
|
391
|
+
def resume; end
|
392
|
+
def start; end
|
393
|
+
def started?; end
|
394
|
+
def started_at; end
|
395
|
+
def started_at=(_arg0); end
|
396
|
+
def stop; end
|
397
|
+
def stopped?; end
|
398
|
+
def stopped_at; end
|
399
|
+
def stopped_at=(_arg0); end
|
400
|
+
|
401
|
+
protected
|
402
|
+
|
403
|
+
def time; end
|
404
|
+
def time=(_arg0); end
|
405
|
+
end
|
@@ -0,0 +1,89 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `simplecov-html` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca gem simplecov-html`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module SimpleCov
|
8
|
+
extend ::SimpleCov::Configuration
|
9
|
+
|
10
|
+
class << self
|
11
|
+
def at_exit_behavior; end
|
12
|
+
def clear_result; end
|
13
|
+
def collate(result_filenames, profile = T.unsafe(nil), ignore_timeout: T.unsafe(nil), &block); end
|
14
|
+
def exit_and_report_previous_error(exit_status); end
|
15
|
+
def exit_status_from_exception; end
|
16
|
+
def external_at_exit; end
|
17
|
+
def external_at_exit=(_arg0); end
|
18
|
+
def external_at_exit?; end
|
19
|
+
def filtered(files); end
|
20
|
+
def final_result_process?; end
|
21
|
+
def grouped(files); end
|
22
|
+
def load_adapter(name); end
|
23
|
+
def load_profile(name); end
|
24
|
+
def pid; end
|
25
|
+
def pid=(_arg0); end
|
26
|
+
def previous_error?(error_exit_status); end
|
27
|
+
def process_result(result); end
|
28
|
+
def process_results_and_report_error; end
|
29
|
+
def ready_to_process_results?; end
|
30
|
+
def result; end
|
31
|
+
def result?; end
|
32
|
+
def result_exit_status(result); end
|
33
|
+
def round_coverage(coverage); end
|
34
|
+
def run_exit_tasks!; end
|
35
|
+
def running; end
|
36
|
+
def running=(_arg0); end
|
37
|
+
def start(profile = T.unsafe(nil), &block); end
|
38
|
+
def wait_for_other_processes; end
|
39
|
+
def write_last_run(result); end
|
40
|
+
|
41
|
+
private
|
42
|
+
|
43
|
+
def adapt_coverage_result; end
|
44
|
+
def add_not_loaded_files(result); end
|
45
|
+
def initial_setup(profile, &block); end
|
46
|
+
def lookup_corresponding_ruby_coverage_name(criterion); end
|
47
|
+
def make_parallel_tests_available; end
|
48
|
+
def probably_running_parallel_tests?; end
|
49
|
+
def process_coverage_result; end
|
50
|
+
def remove_useless_results; end
|
51
|
+
def result_with_not_loaded_files; end
|
52
|
+
def start_coverage_measurement; end
|
53
|
+
def start_coverage_with_criteria; end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
module SimpleCov::Formatter
|
58
|
+
class << self
|
59
|
+
def from_env(env); end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
class SimpleCov::Formatter::HTMLFormatter
|
64
|
+
def initialize; end
|
65
|
+
|
66
|
+
def branchable_result?; end
|
67
|
+
def format(result); end
|
68
|
+
def line_status?(source_file, line); end
|
69
|
+
def output_message(result); end
|
70
|
+
|
71
|
+
private
|
72
|
+
|
73
|
+
def asset_output_path; end
|
74
|
+
def assets_path(name); end
|
75
|
+
def coverage_css_class(covered_percent); end
|
76
|
+
def covered_percent(percent); end
|
77
|
+
def formatted_file_list(title, source_files); end
|
78
|
+
def formatted_source_file(source_file); end
|
79
|
+
def id(source_file); end
|
80
|
+
def link_to_source_file(source_file); end
|
81
|
+
def output_path; end
|
82
|
+
def shortened_filename(source_file); end
|
83
|
+
def strength_css_class(covered_strength); end
|
84
|
+
def template(name); end
|
85
|
+
def timeago(time); end
|
86
|
+
end
|
87
|
+
|
88
|
+
SimpleCov::Formatter::HTMLFormatter::VERSION = T.let(T.unsafe(nil), String)
|
89
|
+
SimpleCov::VERSION = T.let(T.unsafe(nil), String)
|