danger-packwerk 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/danger-packwerk/packwerk_wrapper.rb +2 -2
- data/lib/danger-packwerk/version.rb +1 -1
- data/sorbet/config +1 -0
- data/sorbet/rbi/gems/actionview@7.0.4.rbi +11543 -0
- data/sorbet/rbi/gems/activesupport@7.0.4.rbi +12959 -0
- data/sorbet/rbi/gems/addressable@2.8.1.rbi +1505 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +522 -0
- data/sorbet/rbi/gems/better_html@2.0.1.rbi +286 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
- data/sorbet/rbi/gems/claide-plugins@0.9.2.rbi +791 -0
- data/sorbet/rbi/gems/claide@1.1.0.rbi +1132 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +2256 -0
- data/sorbet/rbi/gems/colored2@3.1.2.rbi +130 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +8695 -0
- data/sorbet/rbi/gems/cork@0.3.0.rbi +248 -0
- data/sorbet/rbi/gems/crass@1.0.6.rbi +436 -0
- data/sorbet/rbi/gems/danger-plugin-api@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/danger@9.0.0.rbi +4722 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +862 -0
- data/sorbet/rbi/gems/erubi@1.11.0.rbi +102 -0
- data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +266 -0
- data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +209 -0
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +212 -0
- data/sorbet/rbi/gems/faraday-http-cache@2.4.1.rbi +805 -0
- data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +221 -0
- data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +266 -0
- data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +216 -0
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +206 -0
- data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +212 -0
- data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +225 -0
- data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +222 -0
- data/sorbet/rbi/gems/faraday@1.10.2.rbi +1862 -0
- data/sorbet/rbi/gems/git@1.12.0.rbi +1936 -0
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +1643 -0
- data/sorbet/rbi/gems/json@2.6.2.rbi +1418 -0
- data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/kramdown@2.4.0.rbi +2168 -0
- data/sorbet/rbi/gems/loofah@2.19.0.rbi +646 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +199 -0
- data/sorbet/rbi/gems/minitest@5.16.3.rbi +997 -0
- data/sorbet/rbi/gems/multipart-post@2.2.3.rbi +165 -0
- data/sorbet/rbi/gems/nap@1.1.0.rbi +351 -0
- data/sorbet/rbi/gems/no_proxy_fix@0.1.2.rbi +8 -0
- data/sorbet/rbi/gems/nokogiri@1.13.8.rbi +4916 -0
- data/sorbet/rbi/gems/octokit@5.6.1.rbi +8939 -0
- data/sorbet/rbi/gems/open4@1.3.4.rbi +8 -0
- data/sorbet/rbi/gems/{packwerk@2.1.1.rbi → packwerk@2.2.1.rbi} +602 -51
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +163 -0
- data/sorbet/rbi/gems/parser@3.1.2.1.rbi +5988 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +6969 -0
- data/sorbet/rbi/gems/public_suffix@5.0.0.rbi +779 -0
- data/sorbet/rbi/gems/racc@1.6.0.rbi +92 -0
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +8 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +493 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +227 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +1865 -0
- data/sorbet/rbi/gems/rbi@0.0.14.rbi +2337 -0
- data/sorbet/rbi/gems/rchardet@1.8.0.rbi +587 -0
- data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +1851 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +3852 -0
- data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +7725 -0
- data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +6201 -0
- data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +3625 -0
- data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +1176 -0
- data/sorbet/rbi/gems/rspec@3.11.0.rbi +40 -0
- data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +4193 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.8.rbi +677 -0
- data/sorbet/rbi/gems/rubocop@1.36.0.rbi +37914 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +732 -0
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
- data/sorbet/rbi/gems/sawyer@0.9.2.rbi +513 -0
- data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +326 -0
- data/sorbet/rbi/gems/spoom@1.1.11.rbi +1600 -0
- data/sorbet/rbi/gems/tapioca@0.8.0.rbi +1959 -0
- data/sorbet/rbi/gems/terminal-table@3.0.2.rbi +438 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +2921 -0
- data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +4879 -0
- data/sorbet/rbi/gems/unicode-display_width@2.3.0.rbi +27 -0
- data/sorbet/rbi/gems/unparser@0.6.5.rbi +2789 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +1802 -0
- data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +288 -0
- data/sorbet/rbi/gems/yard@0.9.27.rbi +12668 -0
- data/sorbet/rbi/todo.rbi +122 -0
- metadata +84 -7
- data/sorbet/rbi/gems/danger@8.5.0.rbi +0 -122
@@ -0,0 +1,732 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `ruby-progressbar` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem ruby-progressbar`.
|
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
|
+
# @return [Base] a new instance of Base
|
17
|
+
def initialize(options = T.unsafe(nil)); end
|
18
|
+
|
19
|
+
def clear(*args, &block); end
|
20
|
+
def decrement; end
|
21
|
+
def finish; end
|
22
|
+
|
23
|
+
# @return [Boolean]
|
24
|
+
def finished?; end
|
25
|
+
|
26
|
+
def format(other); end
|
27
|
+
def format=(other); end
|
28
|
+
def increment; end
|
29
|
+
def inspect; end
|
30
|
+
def log(*args, &block); end
|
31
|
+
def pause; end
|
32
|
+
|
33
|
+
# @return [Boolean]
|
34
|
+
def paused?; end
|
35
|
+
|
36
|
+
def progress(*args, &block); end
|
37
|
+
def progress=(new_progress); end
|
38
|
+
def progress_mark=(mark); end
|
39
|
+
def refresh(*args, &block); end
|
40
|
+
def remainder_mark=(mark); end
|
41
|
+
def reset; end
|
42
|
+
def resume; end
|
43
|
+
def start(options = T.unsafe(nil)); end
|
44
|
+
|
45
|
+
# @return [Boolean]
|
46
|
+
def started?; end
|
47
|
+
|
48
|
+
def stop; end
|
49
|
+
|
50
|
+
# @return [Boolean]
|
51
|
+
def stopped?; end
|
52
|
+
|
53
|
+
def title; end
|
54
|
+
def title=(title); end
|
55
|
+
def to_h; end
|
56
|
+
def to_s(new_format = T.unsafe(nil)); end
|
57
|
+
def total(*args, &block); end
|
58
|
+
def total=(new_total); end
|
59
|
+
|
60
|
+
protected
|
61
|
+
|
62
|
+
# Returns the value of attribute autofinish.
|
63
|
+
def autofinish; end
|
64
|
+
|
65
|
+
# Sets the attribute autofinish
|
66
|
+
#
|
67
|
+
# @param value the value to set the attribute autofinish to.
|
68
|
+
def autofinish=(_arg0); end
|
69
|
+
|
70
|
+
# Returns the value of attribute autostart.
|
71
|
+
def autostart; end
|
72
|
+
|
73
|
+
# Sets the attribute autostart
|
74
|
+
#
|
75
|
+
# @param value the value to set the attribute autostart to.
|
76
|
+
def autostart=(_arg0); end
|
77
|
+
|
78
|
+
# Returns the value of attribute bar.
|
79
|
+
def bar; end
|
80
|
+
|
81
|
+
# Sets the attribute bar
|
82
|
+
#
|
83
|
+
# @param value the value to set the attribute bar to.
|
84
|
+
def bar=(_arg0); end
|
85
|
+
|
86
|
+
# Returns the value of attribute finished.
|
87
|
+
def finished; end
|
88
|
+
|
89
|
+
# Sets the attribute finished
|
90
|
+
#
|
91
|
+
# @param value the value to set the attribute finished to.
|
92
|
+
def finished=(_arg0); end
|
93
|
+
|
94
|
+
# Returns the value of attribute output.
|
95
|
+
def output; end
|
96
|
+
|
97
|
+
# Sets the attribute output
|
98
|
+
#
|
99
|
+
# @param value the value to set the attribute output to.
|
100
|
+
def output=(_arg0); end
|
101
|
+
|
102
|
+
# Returns the value of attribute percentage.
|
103
|
+
def percentage; end
|
104
|
+
|
105
|
+
# Sets the attribute percentage
|
106
|
+
#
|
107
|
+
# @param value the value to set the attribute percentage to.
|
108
|
+
def percentage=(_arg0); end
|
109
|
+
|
110
|
+
# Returns the value of attribute progressable.
|
111
|
+
def progressable; end
|
112
|
+
|
113
|
+
# Sets the attribute progressable
|
114
|
+
#
|
115
|
+
# @param value the value to set the attribute progressable to.
|
116
|
+
def progressable=(_arg0); end
|
117
|
+
|
118
|
+
# Returns the value of attribute rate.
|
119
|
+
def rate; end
|
120
|
+
|
121
|
+
# Sets the attribute rate
|
122
|
+
#
|
123
|
+
# @param value the value to set the attribute rate to.
|
124
|
+
def rate=(_arg0); end
|
125
|
+
|
126
|
+
# Returns the value of attribute time.
|
127
|
+
def time; end
|
128
|
+
|
129
|
+
# Sets the attribute time
|
130
|
+
#
|
131
|
+
# @param value the value to set the attribute time to.
|
132
|
+
def time=(_arg0); end
|
133
|
+
|
134
|
+
# Returns the value of attribute timer.
|
135
|
+
def timer; end
|
136
|
+
|
137
|
+
# Sets the attribute timer
|
138
|
+
#
|
139
|
+
# @param value the value to set the attribute timer to.
|
140
|
+
def timer=(_arg0); end
|
141
|
+
|
142
|
+
# Returns the value of attribute title_comp.
|
143
|
+
def title_comp; end
|
144
|
+
|
145
|
+
# Sets the attribute title_comp
|
146
|
+
#
|
147
|
+
# @param value the value to set the attribute title_comp to.
|
148
|
+
def title_comp=(_arg0); end
|
149
|
+
|
150
|
+
def update_progress(*args); end
|
151
|
+
end
|
152
|
+
|
153
|
+
module ProgressBar::Calculators; end
|
154
|
+
|
155
|
+
class ProgressBar::Calculators::Length
|
156
|
+
# @return [Length] a new instance of Length
|
157
|
+
def initialize(options = T.unsafe(nil)); end
|
158
|
+
|
159
|
+
def calculate_length; end
|
160
|
+
|
161
|
+
# Returns the value of attribute current_length.
|
162
|
+
def current_length; end
|
163
|
+
|
164
|
+
# Sets the attribute current_length
|
165
|
+
#
|
166
|
+
# @param value the value to set the attribute current_length to.
|
167
|
+
def current_length=(_arg0); end
|
168
|
+
|
169
|
+
def length; end
|
170
|
+
|
171
|
+
# @return [Boolean]
|
172
|
+
def length_changed?; end
|
173
|
+
|
174
|
+
# Returns the value of attribute length_override.
|
175
|
+
def length_override; end
|
176
|
+
|
177
|
+
def length_override=(other); end
|
178
|
+
|
179
|
+
# Returns the value of attribute output.
|
180
|
+
def output; end
|
181
|
+
|
182
|
+
# Sets the attribute output
|
183
|
+
#
|
184
|
+
# @param value the value to set the attribute output to.
|
185
|
+
def output=(_arg0); end
|
186
|
+
|
187
|
+
def reset_length; end
|
188
|
+
|
189
|
+
private
|
190
|
+
|
191
|
+
def dynamic_width; end
|
192
|
+
def dynamic_width_stty; end
|
193
|
+
def dynamic_width_tput; end
|
194
|
+
def dynamic_width_via_io_object; end
|
195
|
+
def dynamic_width_via_output_stream_object; end
|
196
|
+
def dynamic_width_via_system_calls; end
|
197
|
+
def terminal_width; end
|
198
|
+
|
199
|
+
# @return [Boolean]
|
200
|
+
def unix?; end
|
201
|
+
end
|
202
|
+
|
203
|
+
class ProgressBar::Calculators::RunningAverage
|
204
|
+
class << self
|
205
|
+
def calculate(current_average, new_value_to_average, smoothing_factor); end
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
module ProgressBar::Components; end
|
210
|
+
|
211
|
+
class ProgressBar::Components::Bar
|
212
|
+
# @return [Bar] a new instance of Bar
|
213
|
+
def initialize(options = T.unsafe(nil)); end
|
214
|
+
|
215
|
+
# Returns the value of attribute length.
|
216
|
+
def length; end
|
217
|
+
|
218
|
+
# Sets the attribute length
|
219
|
+
#
|
220
|
+
# @param value the value to set the attribute length to.
|
221
|
+
def length=(_arg0); end
|
222
|
+
|
223
|
+
# Returns the value of attribute progress.
|
224
|
+
def progress; end
|
225
|
+
|
226
|
+
# Sets the attribute progress
|
227
|
+
#
|
228
|
+
# @param value the value to set the attribute progress to.
|
229
|
+
def progress=(_arg0); end
|
230
|
+
|
231
|
+
# Returns the value of attribute progress_mark.
|
232
|
+
def progress_mark; end
|
233
|
+
|
234
|
+
# Sets the attribute progress_mark
|
235
|
+
#
|
236
|
+
# @param value the value to set the attribute progress_mark to.
|
237
|
+
def progress_mark=(_arg0); end
|
238
|
+
|
239
|
+
# Returns the value of attribute remainder_mark.
|
240
|
+
def remainder_mark; end
|
241
|
+
|
242
|
+
# Sets the attribute remainder_mark
|
243
|
+
#
|
244
|
+
# @param value the value to set the attribute remainder_mark to.
|
245
|
+
def remainder_mark=(_arg0); end
|
246
|
+
|
247
|
+
def to_s(options = T.unsafe(nil)); end
|
248
|
+
|
249
|
+
# Returns the value of attribute upa_steps.
|
250
|
+
def upa_steps; end
|
251
|
+
|
252
|
+
# Sets the attribute upa_steps
|
253
|
+
#
|
254
|
+
# @param value the value to set the attribute upa_steps to.
|
255
|
+
def upa_steps=(_arg0); end
|
256
|
+
|
257
|
+
private
|
258
|
+
|
259
|
+
def bar(length); end
|
260
|
+
def bar_with_percentage(length); end
|
261
|
+
def complete_bar(length); end
|
262
|
+
def complete_bar_with_percentage(length); end
|
263
|
+
def completed_length; end
|
264
|
+
def incomplete_space(length); end
|
265
|
+
def incomplete_string; end
|
266
|
+
def integrated_percentage_complete_string; end
|
267
|
+
def standard_complete_string; end
|
268
|
+
def unknown_progress_frame; end
|
269
|
+
def unknown_string; end
|
270
|
+
end
|
271
|
+
|
272
|
+
ProgressBar::Components::Bar::DEFAULT_PROGRESS_MARK = T.let(T.unsafe(nil), String)
|
273
|
+
ProgressBar::Components::Bar::DEFAULT_REMAINDER_MARK = T.let(T.unsafe(nil), String)
|
274
|
+
ProgressBar::Components::Bar::DEFAULT_UPA_STEPS = T.let(T.unsafe(nil), Array)
|
275
|
+
|
276
|
+
class ProgressBar::Components::Percentage
|
277
|
+
# @return [Percentage] a new instance of Percentage
|
278
|
+
def initialize(options = T.unsafe(nil)); end
|
279
|
+
|
280
|
+
# Returns the value of attribute progress.
|
281
|
+
def progress; end
|
282
|
+
|
283
|
+
# Sets the attribute progress
|
284
|
+
#
|
285
|
+
# @param value the value to set the attribute progress to.
|
286
|
+
def progress=(_arg0); end
|
287
|
+
|
288
|
+
private
|
289
|
+
|
290
|
+
def justified_percentage; end
|
291
|
+
def justified_percentage_with_precision; end
|
292
|
+
def percentage; end
|
293
|
+
def percentage_with_precision; end
|
294
|
+
end
|
295
|
+
|
296
|
+
class ProgressBar::Components::Rate
|
297
|
+
# @return [Rate] a new instance of Rate
|
298
|
+
def initialize(options = T.unsafe(nil)); end
|
299
|
+
|
300
|
+
# Returns the value of attribute progress.
|
301
|
+
def progress; end
|
302
|
+
|
303
|
+
# Sets the attribute progress
|
304
|
+
#
|
305
|
+
# @param value the value to set the attribute progress to.
|
306
|
+
def progress=(_arg0); end
|
307
|
+
|
308
|
+
# Returns the value of attribute rate_scale.
|
309
|
+
def rate_scale; end
|
310
|
+
|
311
|
+
# Sets the attribute rate_scale
|
312
|
+
#
|
313
|
+
# @param value the value to set the attribute rate_scale to.
|
314
|
+
def rate_scale=(_arg0); end
|
315
|
+
|
316
|
+
# Returns the value of attribute started_at.
|
317
|
+
def started_at; end
|
318
|
+
|
319
|
+
# Sets the attribute started_at
|
320
|
+
#
|
321
|
+
# @param value the value to set the attribute started_at to.
|
322
|
+
def started_at=(_arg0); end
|
323
|
+
|
324
|
+
# Returns the value of attribute stopped_at.
|
325
|
+
def stopped_at; end
|
326
|
+
|
327
|
+
# Sets the attribute stopped_at
|
328
|
+
#
|
329
|
+
# @param value the value to set the attribute stopped_at to.
|
330
|
+
def stopped_at=(_arg0); end
|
331
|
+
|
332
|
+
# Returns the value of attribute timer.
|
333
|
+
def timer; end
|
334
|
+
|
335
|
+
# Sets the attribute timer
|
336
|
+
#
|
337
|
+
# @param value the value to set the attribute timer to.
|
338
|
+
def timer=(_arg0); end
|
339
|
+
|
340
|
+
private
|
341
|
+
|
342
|
+
def base_rate; end
|
343
|
+
def elapsed_seconds; end
|
344
|
+
def rate_of_change(format_string = T.unsafe(nil)); end
|
345
|
+
def rate_of_change_with_precision; end
|
346
|
+
def scaled_rate; end
|
347
|
+
end
|
348
|
+
|
349
|
+
class ProgressBar::Components::Time
|
350
|
+
# @return [Time] a new instance of Time
|
351
|
+
def initialize(options = T.unsafe(nil)); end
|
352
|
+
|
353
|
+
def elapsed_with_label; end
|
354
|
+
def estimated_with_label; end
|
355
|
+
|
356
|
+
protected
|
357
|
+
|
358
|
+
def estimated_with_friendly_oob; end
|
359
|
+
def estimated_with_no_oob; end
|
360
|
+
def estimated_with_unknown_oob; end
|
361
|
+
|
362
|
+
# Returns the value of attribute out_of_bounds_time_format.
|
363
|
+
def out_of_bounds_time_format; end
|
364
|
+
|
365
|
+
def out_of_bounds_time_format=(format); end
|
366
|
+
|
367
|
+
# Returns the value of attribute progress.
|
368
|
+
def progress; end
|
369
|
+
|
370
|
+
# Sets the attribute progress
|
371
|
+
#
|
372
|
+
# @param value the value to set the attribute progress to.
|
373
|
+
def progress=(_arg0); end
|
374
|
+
|
375
|
+
# Returns the value of attribute timer.
|
376
|
+
def timer; end
|
377
|
+
|
378
|
+
# Sets the attribute timer
|
379
|
+
#
|
380
|
+
# @param value the value to set the attribute timer to.
|
381
|
+
def timer=(_arg0); end
|
382
|
+
|
383
|
+
private
|
384
|
+
|
385
|
+
def elapsed; end
|
386
|
+
def estimated; end
|
387
|
+
def estimated_seconds_remaining; end
|
388
|
+
def estimated_with_elapsed_fallback; end
|
389
|
+
end
|
390
|
+
|
391
|
+
ProgressBar::Components::Time::ELAPSED_LABEL = T.let(T.unsafe(nil), String)
|
392
|
+
ProgressBar::Components::Time::ESTIMATED_LABEL = T.let(T.unsafe(nil), String)
|
393
|
+
ProgressBar::Components::Time::NO_TIME_ELAPSED_TEXT = T.let(T.unsafe(nil), String)
|
394
|
+
ProgressBar::Components::Time::OOB_FRIENDLY_TIME_TEXT = T.let(T.unsafe(nil), String)
|
395
|
+
ProgressBar::Components::Time::OOB_LIMIT_IN_HOURS = T.let(T.unsafe(nil), Integer)
|
396
|
+
ProgressBar::Components::Time::OOB_TEXT_TO_FORMAT = T.let(T.unsafe(nil), Hash)
|
397
|
+
ProgressBar::Components::Time::OOB_TIME_FORMATS = T.let(T.unsafe(nil), Array)
|
398
|
+
ProgressBar::Components::Time::OOB_UNKNOWN_TIME_TEXT = T.let(T.unsafe(nil), String)
|
399
|
+
ProgressBar::Components::Time::TIME_FORMAT = T.let(T.unsafe(nil), String)
|
400
|
+
|
401
|
+
class ProgressBar::Components::Title
|
402
|
+
# @return [Title] a new instance of Title
|
403
|
+
def initialize(options = T.unsafe(nil)); end
|
404
|
+
|
405
|
+
# Returns the value of attribute title.
|
406
|
+
def title; end
|
407
|
+
|
408
|
+
# Sets the attribute title
|
409
|
+
#
|
410
|
+
# @param value the value to set the attribute title to.
|
411
|
+
def title=(_arg0); end
|
412
|
+
end
|
413
|
+
|
414
|
+
ProgressBar::Components::Title::DEFAULT_TITLE = T.let(T.unsafe(nil), String)
|
415
|
+
module ProgressBar::Format; end
|
416
|
+
|
417
|
+
class ProgressBar::Format::Formatter
|
418
|
+
class << self
|
419
|
+
def process(format_string, max_length, bar); end
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
423
|
+
class ProgressBar::Format::Molecule
|
424
|
+
# @return [Molecule] a new instance of Molecule
|
425
|
+
def initialize(letter); end
|
426
|
+
|
427
|
+
# @return [Boolean]
|
428
|
+
def bar_molecule?; end
|
429
|
+
|
430
|
+
def full_key; end
|
431
|
+
|
432
|
+
# Returns the value of attribute key.
|
433
|
+
def key; end
|
434
|
+
|
435
|
+
# Sets the attribute key
|
436
|
+
#
|
437
|
+
# @param value the value to set the attribute key to.
|
438
|
+
def key=(_arg0); end
|
439
|
+
|
440
|
+
def lookup_value(environment, length = T.unsafe(nil)); end
|
441
|
+
|
442
|
+
# Returns the value of attribute method_name.
|
443
|
+
def method_name; end
|
444
|
+
|
445
|
+
# Sets the attribute method_name
|
446
|
+
#
|
447
|
+
# @param value the value to set the attribute method_name to.
|
448
|
+
def method_name=(_arg0); end
|
449
|
+
|
450
|
+
# @return [Boolean]
|
451
|
+
def non_bar_molecule?; end
|
452
|
+
end
|
453
|
+
|
454
|
+
ProgressBar::Format::Molecule::BAR_MOLECULES = T.let(T.unsafe(nil), Array)
|
455
|
+
ProgressBar::Format::Molecule::MOLECULES = T.let(T.unsafe(nil), Hash)
|
456
|
+
|
457
|
+
class ProgressBar::Format::String < ::String
|
458
|
+
def bar_molecule_placeholder_length; end
|
459
|
+
def bar_molecules; end
|
460
|
+
def displayable_length; end
|
461
|
+
def molecules; end
|
462
|
+
def non_bar_molecules; end
|
463
|
+
end
|
464
|
+
|
465
|
+
ProgressBar::Format::String::ANSI_SGR_PATTERN = T.let(T.unsafe(nil), Regexp)
|
466
|
+
ProgressBar::Format::String::MOLECULE_PATTERN = T.let(T.unsafe(nil), Regexp)
|
467
|
+
class ProgressBar::InvalidProgressError < ::RuntimeError; end
|
468
|
+
|
469
|
+
class ProgressBar::Output
|
470
|
+
# @return [Output] a new instance of Output
|
471
|
+
def initialize(options = T.unsafe(nil)); end
|
472
|
+
|
473
|
+
def clear_string; end
|
474
|
+
def length; end
|
475
|
+
def log(string); end
|
476
|
+
def refresh(options = T.unsafe(nil)); end
|
477
|
+
|
478
|
+
# Returns the value of attribute stream.
|
479
|
+
def stream; end
|
480
|
+
|
481
|
+
# Sets the attribute stream
|
482
|
+
#
|
483
|
+
# @param value the value to set the attribute stream to.
|
484
|
+
def stream=(_arg0); end
|
485
|
+
|
486
|
+
def with_refresh; end
|
487
|
+
|
488
|
+
protected
|
489
|
+
|
490
|
+
# Returns the value of attribute bar.
|
491
|
+
def bar; end
|
492
|
+
|
493
|
+
# Sets the attribute bar
|
494
|
+
#
|
495
|
+
# @param value the value to set the attribute bar to.
|
496
|
+
def bar=(_arg0); end
|
497
|
+
|
498
|
+
# Returns the value of attribute length_calculator.
|
499
|
+
def length_calculator; end
|
500
|
+
|
501
|
+
# Sets the attribute length_calculator
|
502
|
+
#
|
503
|
+
# @param value the value to set the attribute length_calculator to.
|
504
|
+
def length_calculator=(_arg0); end
|
505
|
+
|
506
|
+
# Returns the value of attribute throttle.
|
507
|
+
def throttle; end
|
508
|
+
|
509
|
+
# Sets the attribute throttle
|
510
|
+
#
|
511
|
+
# @param value the value to set the attribute throttle to.
|
512
|
+
def throttle=(_arg0); end
|
513
|
+
|
514
|
+
private
|
515
|
+
|
516
|
+
def print_and_flush; end
|
517
|
+
|
518
|
+
class << self
|
519
|
+
def detect(options = T.unsafe(nil)); end
|
520
|
+
end
|
521
|
+
end
|
522
|
+
|
523
|
+
ProgressBar::Output::DEFAULT_OUTPUT_STREAM = T.let(T.unsafe(nil), IO)
|
524
|
+
module ProgressBar::Outputs; end
|
525
|
+
|
526
|
+
class ProgressBar::Outputs::NonTty < ::ProgressBar::Output
|
527
|
+
def bar_update_string; end
|
528
|
+
def clear; end
|
529
|
+
def default_format; end
|
530
|
+
def eol; end
|
531
|
+
def last_update_length; end
|
532
|
+
def refresh_with_format_change(*_arg0); end
|
533
|
+
def resolve_format(*_arg0); end
|
534
|
+
|
535
|
+
protected
|
536
|
+
|
537
|
+
# Sets the attribute last_update_length
|
538
|
+
#
|
539
|
+
# @param value the value to set the attribute last_update_length to.
|
540
|
+
def last_update_length=(_arg0); end
|
541
|
+
end
|
542
|
+
|
543
|
+
ProgressBar::Outputs::NonTty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String)
|
544
|
+
|
545
|
+
class ProgressBar::Outputs::Tty < ::ProgressBar::Output
|
546
|
+
def bar_update_string; end
|
547
|
+
def clear; end
|
548
|
+
def default_format; end
|
549
|
+
def eol; end
|
550
|
+
def refresh_with_format_change; end
|
551
|
+
def resolve_format(other_format); end
|
552
|
+
end
|
553
|
+
|
554
|
+
ProgressBar::Outputs::Tty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String)
|
555
|
+
|
556
|
+
class ProgressBar::Progress
|
557
|
+
# @return [Progress] a new instance of Progress
|
558
|
+
def initialize(options = T.unsafe(nil)); end
|
559
|
+
|
560
|
+
def absolute; end
|
561
|
+
def decrement; end
|
562
|
+
def finish; end
|
563
|
+
|
564
|
+
# @return [Boolean]
|
565
|
+
def finished?; end
|
566
|
+
|
567
|
+
def increment; end
|
568
|
+
|
569
|
+
# @return [Boolean]
|
570
|
+
def none?; end
|
571
|
+
|
572
|
+
def percentage_completed; end
|
573
|
+
def percentage_completed_with_precision; end
|
574
|
+
|
575
|
+
# Returns the value of attribute progress.
|
576
|
+
def progress; end
|
577
|
+
|
578
|
+
def progress=(new_progress); end
|
579
|
+
def reset; end
|
580
|
+
|
581
|
+
# Returns the value of attribute running_average.
|
582
|
+
def running_average; end
|
583
|
+
|
584
|
+
# Sets the attribute running_average
|
585
|
+
#
|
586
|
+
# @param value the value to set the attribute running_average to.
|
587
|
+
def running_average=(_arg0); end
|
588
|
+
|
589
|
+
# Returns the value of attribute smoothing.
|
590
|
+
def smoothing; end
|
591
|
+
|
592
|
+
# Sets the attribute smoothing
|
593
|
+
#
|
594
|
+
# @param value the value to set the attribute smoothing to.
|
595
|
+
def smoothing=(_arg0); end
|
596
|
+
|
597
|
+
def start(options = T.unsafe(nil)); end
|
598
|
+
|
599
|
+
# Returns the value of attribute starting_position.
|
600
|
+
def starting_position; end
|
601
|
+
|
602
|
+
# Sets the attribute starting_position
|
603
|
+
#
|
604
|
+
# @param value the value to set the attribute starting_position to.
|
605
|
+
def starting_position=(_arg0); end
|
606
|
+
|
607
|
+
# Returns the value of attribute total.
|
608
|
+
def total; end
|
609
|
+
|
610
|
+
def total=(new_total); end
|
611
|
+
def total_with_unknown_indicator; end
|
612
|
+
|
613
|
+
# @return [Boolean]
|
614
|
+
def unknown?; end
|
615
|
+
end
|
616
|
+
|
617
|
+
ProgressBar::Progress::DEFAULT_BEGINNING_POSITION = T.let(T.unsafe(nil), Integer)
|
618
|
+
ProgressBar::Progress::DEFAULT_SMOOTHING = T.let(T.unsafe(nil), Float)
|
619
|
+
ProgressBar::Progress::DEFAULT_TOTAL = T.let(T.unsafe(nil), Integer)
|
620
|
+
module ProgressBar::Refinements; end
|
621
|
+
module ProgressBar::Refinements::Enumerator; end
|
622
|
+
|
623
|
+
class ProgressBar::Throttle
|
624
|
+
# @return [Throttle] a new instance of Throttle
|
625
|
+
def initialize(options = T.unsafe(nil)); end
|
626
|
+
|
627
|
+
def choke(options = T.unsafe(nil)); end
|
628
|
+
|
629
|
+
# Returns the value of attribute rate.
|
630
|
+
def rate; end
|
631
|
+
|
632
|
+
# Sets the attribute rate
|
633
|
+
#
|
634
|
+
# @param value the value to set the attribute rate to.
|
635
|
+
def rate=(_arg0); end
|
636
|
+
|
637
|
+
# Returns the value of attribute started_at.
|
638
|
+
def started_at; end
|
639
|
+
|
640
|
+
# Sets the attribute started_at
|
641
|
+
#
|
642
|
+
# @param value the value to set the attribute started_at to.
|
643
|
+
def started_at=(_arg0); end
|
644
|
+
|
645
|
+
# Returns the value of attribute stopped_at.
|
646
|
+
def stopped_at; end
|
647
|
+
|
648
|
+
# Sets the attribute stopped_at
|
649
|
+
#
|
650
|
+
# @param value the value to set the attribute stopped_at to.
|
651
|
+
def stopped_at=(_arg0); end
|
652
|
+
|
653
|
+
# Returns the value of attribute timer.
|
654
|
+
def timer; end
|
655
|
+
|
656
|
+
# Sets the attribute timer
|
657
|
+
#
|
658
|
+
# @param value the value to set the attribute timer to.
|
659
|
+
def timer=(_arg0); end
|
660
|
+
end
|
661
|
+
|
662
|
+
class ProgressBar::Time
|
663
|
+
# @return [Time] a new instance of Time
|
664
|
+
def initialize(time = T.unsafe(nil)); end
|
665
|
+
|
666
|
+
def now; end
|
667
|
+
def unmocked_time_method; end
|
668
|
+
|
669
|
+
protected
|
670
|
+
|
671
|
+
# Returns the value of attribute time.
|
672
|
+
def time; end
|
673
|
+
|
674
|
+
# Sets the attribute time
|
675
|
+
#
|
676
|
+
# @param value the value to set the attribute time to.
|
677
|
+
def time=(_arg0); end
|
678
|
+
end
|
679
|
+
|
680
|
+
ProgressBar::Time::TIME_MOCKING_LIBRARY_METHODS = T.let(T.unsafe(nil), Array)
|
681
|
+
|
682
|
+
class ProgressBar::Timer
|
683
|
+
# @return [Timer] a new instance of Timer
|
684
|
+
def initialize(options = T.unsafe(nil)); end
|
685
|
+
|
686
|
+
def divide_seconds(seconds); end
|
687
|
+
def elapsed_seconds; end
|
688
|
+
def elapsed_whole_seconds; end
|
689
|
+
def pause; end
|
690
|
+
def reset; end
|
691
|
+
|
692
|
+
# @return [Boolean]
|
693
|
+
def reset?; end
|
694
|
+
|
695
|
+
def restart; end
|
696
|
+
def resume; end
|
697
|
+
def start; end
|
698
|
+
|
699
|
+
# @return [Boolean]
|
700
|
+
def started?; end
|
701
|
+
|
702
|
+
# Returns the value of attribute started_at.
|
703
|
+
def started_at; end
|
704
|
+
|
705
|
+
# Sets the attribute started_at
|
706
|
+
#
|
707
|
+
# @param value the value to set the attribute started_at to.
|
708
|
+
def started_at=(_arg0); end
|
709
|
+
|
710
|
+
def stop; end
|
711
|
+
|
712
|
+
# @return [Boolean]
|
713
|
+
def stopped?; end
|
714
|
+
|
715
|
+
# Returns the value of attribute stopped_at.
|
716
|
+
def stopped_at; end
|
717
|
+
|
718
|
+
# Sets the attribute stopped_at
|
719
|
+
#
|
720
|
+
# @param value the value to set the attribute stopped_at to.
|
721
|
+
def stopped_at=(_arg0); end
|
722
|
+
|
723
|
+
protected
|
724
|
+
|
725
|
+
# Returns the value of attribute time.
|
726
|
+
def time; end
|
727
|
+
|
728
|
+
# Sets the attribute time
|
729
|
+
#
|
730
|
+
# @param value the value to set the attribute time to.
|
731
|
+
def time=(_arg0); end
|
732
|
+
end
|