packwerk 3.2.2 → 3.2.3

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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/lib/packwerk/application_validator.rb +2 -1
  3. data/lib/packwerk/graph.rb +15 -56
  4. data/lib/packwerk/reference_checking/checkers/dependency_checker.rb +1 -2
  5. data/lib/packwerk/run_context.rb +5 -0
  6. data/lib/packwerk/validators/dependency_validator.rb +5 -4
  7. data/lib/packwerk/version.rb +1 -1
  8. data/sorbet/rbi/gems/{actionpack@7.0.3.1.rbi → actionpack@7.0.8.7.rbi} +1338 -1227
  9. data/sorbet/rbi/gems/{actionview@7.0.3.1.rbi → actionview@7.0.8.7.rbi} +548 -503
  10. data/sorbet/rbi/gems/{activesupport@7.0.3.1.rbi → activesupport@7.0.8.7.rbi} +714 -635
  11. data/sorbet/rbi/gems/{better_html@2.0.1.rbi → better_html@2.1.1.rbi} +21 -21
  12. data/sorbet/rbi/gems/{concurrent-ruby@1.1.10.rbi → concurrent-ruby@1.3.5.rbi} +1390 -1366
  13. data/sorbet/rbi/gems/{constant_resolver@0.2.0.rbi → constant_resolver@0.3.0.rbi} +22 -13
  14. data/sorbet/rbi/gems/{erubi@1.11.0.rbi → erubi@1.13.1.rbi} +28 -17
  15. data/sorbet/rbi/gems/{i18n@1.12.0.rbi → i18n@1.14.7.rbi} +234 -172
  16. data/sorbet/rbi/gems/{json@2.6.2.rbi → json@2.7.2.rbi} +94 -74
  17. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
  18. data/sorbet/rbi/gems/{loofah@2.18.0.rbi → loofah@2.24.0.rbi} +470 -243
  19. data/sorbet/rbi/gems/{minitest@5.16.2.rbi → minitest@5.25.4.rbi} +577 -472
  20. data/sorbet/rbi/gems/{mocha@1.14.0.rbi → mocha@2.5.0.rbi} +468 -684
  21. data/sorbet/rbi/gems/{nokogiri@1.15.3.rbi → nokogiri@1.18.4.rbi} +1756 -869
  22. data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.25.1.rbi} +26 -20
  23. data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.1.rbi} +36 -36
  24. data/sorbet/rbi/gems/{rack-test@2.0.2.rbi → rack-test@2.2.0.rbi} +87 -114
  25. data/sorbet/rbi/gems/{rack@2.2.4.rbi → rack@2.2.13.rbi} +243 -195
  26. data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +754 -0
  27. data/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi +764 -0
  28. data/sorbet/rbi/gems/{railties@7.0.3.1.rbi → railties@7.0.8.7.rbi} +146 -140
  29. data/sorbet/rbi/gems/{regexp_parser@2.5.0.rbi → regexp_parser@2.9.2.rbi} +947 -542
  30. data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.3.9.rbi} +452 -312
  31. data/sorbet/rbi/gems/{rubocop-ast@1.21.0.rbi → rubocop-ast@1.31.3.rbi} +717 -588
  32. data/sorbet/rbi/gems/{rubocop@1.34.1.rbi → rubocop@1.64.1.rbi} +10916 -4406
  33. data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +359 -281
  34. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
  35. data/sorbet/rbi/gems/{tzinfo@2.0.5.rbi → tzinfo@2.0.6.rbi} +144 -141
  36. data/sorbet/rbi/gems/{unicode-display_width@2.2.0.rbi → unicode-display_width@2.5.0.rbi} +24 -7
  37. metadata +36 -41
  38. data/sorbet/rbi/gems/language_server-protocol@3.16.0.3.rbi +0 -8
  39. data/sorbet/rbi/gems/prettier_print@0.1.0.rbi +0 -8
  40. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -455
  41. data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +0 -542
  42. data/sorbet/rbi/gems/ruby-lsp@0.2.3.rbi +0 -11
  43. data/sorbet/rbi/gems/syntax_tree@3.3.0.rbi +0 -8
  44. /data/sorbet/rbi/gems/{builder@3.2.4.rbi → builder@3.3.0.rbi} +0 -0
  45. /data/sorbet/rbi/gems/{parser@3.3.1.0.rbi → parser@3.3.3.0.rbi} +0 -0
@@ -4,253 +4,271 @@
4
4
  # This is an autogenerated file for types exported from the `ruby-progressbar` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem ruby-progressbar`.
6
6
 
7
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#1
7
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#4
8
8
  class ProgressBar
9
9
  class << self
10
- # source://ruby-progressbar//lib/ruby-progressbar.rb#19
10
+ # source://ruby-progressbar//lib/ruby-progressbar.rb#9
11
11
  def create(*args); end
12
12
  end
13
13
  end
14
14
 
15
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#4
15
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#17
16
16
  class ProgressBar::Base
17
17
  extend ::Forwardable
18
18
 
19
19
  # @return [Base] a new instance of Base
20
20
  #
21
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#16
21
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#45
22
22
  def initialize(options = T.unsafe(nil)); end
23
23
 
24
24
  # source://forwardable/1.3.3/forwardable.rb#231
25
25
  def clear(*args, **_arg1, &block); end
26
26
 
27
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#88
27
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#137
28
28
  def decrement; end
29
29
 
30
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#44
30
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#92
31
31
  def finish; end
32
32
 
33
33
  # @return [Boolean]
34
34
  #
35
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#80
35
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#129
36
36
  def finished?; end
37
37
 
38
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#154
38
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#203
39
39
  def format(other); end
40
40
 
41
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#154
41
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#203
42
42
  def format=(other); end
43
43
 
44
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#92
44
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#141
45
45
  def increment; end
46
46
 
47
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#150
47
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#199
48
48
  def inspect; end
49
49
 
50
50
  # source://forwardable/1.3.3/forwardable.rb#231
51
51
  def log(*args, **_arg1, &block); end
52
52
 
53
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#54
53
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#102
54
54
  def pause; end
55
55
 
56
56
  # @return [Boolean]
57
57
  #
58
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#74
58
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#123
59
59
  def paused?; end
60
60
 
61
61
  # source://forwardable/1.3.3/forwardable.rb#231
62
62
  def progress(*args, **_arg1, &block); end
63
63
 
64
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#96
64
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#145
65
65
  def progress=(new_progress); end
66
66
 
67
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#104
67
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#153
68
68
  def progress_mark=(mark); end
69
69
 
70
70
  # source://forwardable/1.3.3/forwardable.rb#231
71
71
  def refresh(*args, **_arg1, &block); end
72
72
 
73
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#108
73
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#157
74
74
  def remainder_mark=(mark); end
75
75
 
76
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#66
76
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#114
77
77
  def reset; end
78
78
 
79
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#62
79
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#110
80
80
  def resume; end
81
81
 
82
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#39
82
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#87
83
83
  def start(options = T.unsafe(nil)); end
84
84
 
85
85
  # @return [Boolean]
86
86
  #
87
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#84
87
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#133
88
88
  def started?; end
89
89
 
90
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#58
90
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#106
91
91
  def stop; end
92
92
 
93
93
  # @return [Boolean]
94
94
  #
95
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#74
95
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#123
96
96
  def stopped?; end
97
97
 
98
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#112
98
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#161
99
99
  def title; end
100
100
 
101
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#116
101
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#165
102
102
  def title=(title); end
103
103
 
104
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#127
104
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#176
105
105
  def to_h; end
106
106
 
107
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#120
107
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#169
108
108
  def to_s(new_format = T.unsafe(nil)); end
109
109
 
110
110
  # source://forwardable/1.3.3/forwardable.rb#231
111
111
  def total(*args, **_arg1, &block); end
112
112
 
113
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#100
113
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#149
114
114
  def total=(new_total); end
115
115
 
116
116
  protected
117
117
 
118
118
  # Returns the value of attribute autofinish.
119
119
  #
120
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
120
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
121
121
  def autofinish; end
122
122
 
123
123
  # Sets the attribute autofinish
124
124
  #
125
125
  # @param value the value to set the attribute autofinish to.
126
126
  #
127
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
127
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
128
128
  def autofinish=(_arg0); end
129
129
 
130
130
  # Returns the value of attribute autostart.
131
131
  #
132
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
132
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
133
133
  def autostart; end
134
134
 
135
135
  # Sets the attribute autostart
136
136
  #
137
137
  # @param value the value to set the attribute autostart to.
138
138
  #
139
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
139
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
140
140
  def autostart=(_arg0); end
141
141
 
142
- # Returns the value of attribute bar.
142
+ # Returns the value of attribute bar_component.
143
143
  #
144
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
145
- def bar; end
144
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
145
+ def bar_component; end
146
146
 
147
- # Sets the attribute bar
147
+ # Sets the attribute bar_component
148
148
  #
149
- # @param value the value to set the attribute bar to.
149
+ # @param value the value to set the attribute bar_component to.
150
150
  #
151
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
152
- def bar=(_arg0); end
151
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
152
+ def bar_component=(_arg0); end
153
153
 
154
154
  # Returns the value of attribute finished.
155
155
  #
156
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
156
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
157
157
  def finished; end
158
158
 
159
159
  # Sets the attribute finished
160
160
  #
161
161
  # @param value the value to set the attribute finished to.
162
162
  #
163
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
163
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
164
164
  def finished=(_arg0); end
165
165
 
166
166
  # Returns the value of attribute output.
167
167
  #
168
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
168
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
169
169
  def output; end
170
170
 
171
171
  # Sets the attribute output
172
172
  #
173
173
  # @param value the value to set the attribute output to.
174
174
  #
175
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
175
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
176
176
  def output=(_arg0); end
177
177
 
178
- # Returns the value of attribute percentage.
178
+ # Returns the value of attribute percentage_component.
179
179
  #
180
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
181
- def percentage; end
180
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
181
+ def percentage_component; end
182
182
 
183
- # Sets the attribute percentage
183
+ # Sets the attribute percentage_component
184
184
  #
185
- # @param value the value to set the attribute percentage to.
185
+ # @param value the value to set the attribute percentage_component to.
186
186
  #
187
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
188
- def percentage=(_arg0); end
187
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
188
+ def percentage_component=(_arg0); end
189
189
 
190
190
  # Returns the value of attribute progressable.
191
191
  #
192
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
192
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
193
193
  def progressable; end
194
194
 
195
195
  # Sets the attribute progressable
196
196
  #
197
197
  # @param value the value to set the attribute progressable to.
198
198
  #
199
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
199
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
200
200
  def progressable=(_arg0); end
201
201
 
202
- # Returns the value of attribute rate.
202
+ # Returns the value of attribute projector.
203
203
  #
204
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
205
- def rate; end
204
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
205
+ def projector; end
206
206
 
207
- # Sets the attribute rate
207
+ # Sets the attribute projector
208
208
  #
209
- # @param value the value to set the attribute rate to.
209
+ # @param value the value to set the attribute projector to.
210
210
  #
211
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
212
- def rate=(_arg0); end
211
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
212
+ def projector=(_arg0); end
213
213
 
214
- # Returns the value of attribute time.
214
+ # Returns the value of attribute rate_component.
215
215
  #
216
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
217
- def time; end
216
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
217
+ def rate_component; end
218
218
 
219
- # Sets the attribute time
219
+ # Sets the attribute rate_component
220
220
  #
221
- # @param value the value to set the attribute time to.
221
+ # @param value the value to set the attribute rate_component to.
222
222
  #
223
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
224
- def time=(_arg0); end
223
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
224
+ def rate_component=(_arg0); end
225
+
226
+ # Returns the value of attribute time_component.
227
+ #
228
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
229
+ def time_component; end
230
+
231
+ # Sets the attribute time_component
232
+ #
233
+ # @param value the value to set the attribute time_component to.
234
+ #
235
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
236
+ def time_component=(_arg0); end
225
237
 
226
238
  # Returns the value of attribute timer.
227
239
  #
228
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
240
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
229
241
  def timer; end
230
242
 
231
243
  # Sets the attribute timer
232
244
  #
233
245
  # @param value the value to set the attribute timer to.
234
246
  #
235
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
247
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
236
248
  def timer=(_arg0); end
237
249
 
238
- # Returns the value of attribute title_comp.
250
+ # Returns the value of attribute title_component.
239
251
  #
240
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
241
- def title_comp; end
252
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
253
+ def title_component; end
242
254
 
243
- # Sets the attribute title_comp
255
+ # Sets the attribute title_component
244
256
  #
245
- # @param value the value to set the attribute title_comp to.
257
+ # @param value the value to set the attribute title_component to.
246
258
  #
247
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#164
248
- def title_comp=(_arg0); end
259
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213
260
+ def title_component=(_arg0); end
249
261
 
250
- # source://ruby-progressbar//lib/ruby-progressbar/base.rb#176
262
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#226
251
263
  def update_progress(*args); end
252
264
  end
253
265
 
266
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#28
267
+ ProgressBar::Base::RUNNING_AVERAGE_RATE_DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
268
+
269
+ # source://ruby-progressbar//lib/ruby-progressbar/base.rb#21
270
+ ProgressBar::Base::SMOOTHING_DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
271
+
254
272
  # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#2
255
273
  module ProgressBar::Calculators; end
256
274
 
@@ -309,22 +327,22 @@ class ProgressBar::Calculators::Length
309
327
 
310
328
  private
311
329
 
312
- # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#57
330
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#56
313
331
  def dynamic_width; end
314
332
 
315
- # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#87
333
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#85
316
334
  def dynamic_width_stty; end
317
335
 
318
- # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#91
336
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#89
319
337
  def dynamic_width_tput; end
320
338
 
321
- # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#78
339
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#76
322
340
  def dynamic_width_via_io_object; end
323
341
 
324
- # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#73
342
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#71
325
343
  def dynamic_width_via_output_stream_object; end
326
344
 
327
- # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#83
345
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#81
328
346
  def dynamic_width_via_system_calls; end
329
347
 
330
348
  # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#43
@@ -332,18 +350,10 @@ class ProgressBar::Calculators::Length
332
350
 
333
351
  # @return [Boolean]
334
352
  #
335
- # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#95
353
+ # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#93
336
354
  def unix?; end
337
355
  end
338
356
 
339
- # source://ruby-progressbar//lib/ruby-progressbar/calculators/running_average.rb#3
340
- class ProgressBar::Calculators::RunningAverage
341
- class << self
342
- # source://ruby-progressbar//lib/ruby-progressbar/calculators/running_average.rb#4
343
- def calculate(current_average, new_value_to_average, smoothing_factor); end
344
- end
345
- end
346
-
347
357
  # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#5
348
358
  module ProgressBar::Components; end
349
359
 
@@ -354,6 +364,21 @@ class ProgressBar::Components::Bar
354
364
  # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#17
355
365
  def initialize(options = T.unsafe(nil)); end
356
366
 
367
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#35
368
+ def bar(length); end
369
+
370
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#63
371
+ def bar_with_percentage(length); end
372
+
373
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#41
374
+ def complete_bar(length); end
375
+
376
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#47
377
+ def complete_bar_with_percentage(length); end
378
+
379
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#53
380
+ def incomplete_space(length); end
381
+
357
382
  # Returns the value of attribute length.
358
383
  #
359
384
  # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11
@@ -419,37 +444,22 @@ class ProgressBar::Components::Bar
419
444
 
420
445
  private
421
446
 
422
- # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#51
423
- def bar(length); end
424
-
425
- # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#85
426
- def bar_with_percentage(length); end
427
-
428
- # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#57
429
- def complete_bar(length); end
430
-
431
- # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#63
432
- def complete_bar_with_percentage(length); end
433
-
434
447
  # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#91
435
448
  def completed_length; end
436
449
 
437
- # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#75
438
- def incomplete_space(length); end
439
-
440
- # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#47
450
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#81
441
451
  def incomplete_string; end
442
452
 
443
- # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#37
453
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#71
444
454
  def integrated_percentage_complete_string; end
445
455
 
446
- # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#43
456
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#77
447
457
  def standard_complete_string; end
448
458
 
449
459
  # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#95
450
460
  def unknown_progress_frame; end
451
461
 
452
- # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#69
462
+ # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#85
453
463
  def unknown_string; end
454
464
  end
455
465
 
@@ -469,6 +479,18 @@ class ProgressBar::Components::Percentage
469
479
  # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#6
470
480
  def initialize(options = T.unsafe(nil)); end
471
481
 
482
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#14
483
+ def justified_percentage; end
484
+
485
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#22
486
+ def justified_percentage_with_precision; end
487
+
488
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#10
489
+ def percentage; end
490
+
491
+ # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#18
492
+ def percentage_with_precision; end
493
+
472
494
  # Returns the value of attribute progress.
473
495
  #
474
496
  # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#4
@@ -480,27 +502,13 @@ class ProgressBar::Components::Percentage
480
502
  #
481
503
  # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#4
482
504
  def progress=(_arg0); end
483
-
484
- private
485
-
486
- # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#16
487
- def justified_percentage; end
488
-
489
- # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#24
490
- def justified_percentage_with_precision; end
491
-
492
- # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#12
493
- def percentage; end
494
-
495
- # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#20
496
- def percentage_with_precision; end
497
505
  end
498
506
 
499
507
  # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#3
500
508
  class ProgressBar::Components::Rate
501
509
  # @return [Rate] a new instance of Rate
502
510
  #
503
- # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#10
511
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#8
504
512
  def initialize(options = T.unsafe(nil)); end
505
513
 
506
514
  # Returns the value of attribute progress.
@@ -515,6 +523,12 @@ class ProgressBar::Components::Rate
515
523
  # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
516
524
  def progress=(_arg0); end
517
525
 
526
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#14
527
+ def rate_of_change(format_string = T.unsafe(nil)); end
528
+
529
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#20
530
+ def rate_of_change_with_precision; end
531
+
518
532
  # Returns the value of attribute rate_scale.
519
533
  #
520
534
  # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
@@ -527,30 +541,6 @@ class ProgressBar::Components::Rate
527
541
  # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
528
542
  def rate_scale=(_arg0); end
529
543
 
530
- # Returns the value of attribute started_at.
531
- #
532
- # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
533
- def started_at; end
534
-
535
- # Sets the attribute started_at
536
- #
537
- # @param value the value to set the attribute started_at to.
538
- #
539
- # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
540
- def started_at=(_arg0); end
541
-
542
- # Returns the value of attribute stopped_at.
543
- #
544
- # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
545
- def stopped_at; end
546
-
547
- # Sets the attribute stopped_at
548
- #
549
- # @param value the value to set the attribute stopped_at to.
550
- #
551
- # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
552
- def stopped_at=(_arg0); end
553
-
554
544
  # Returns the value of attribute timer.
555
545
  #
556
546
  # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4
@@ -565,19 +555,13 @@ class ProgressBar::Components::Rate
565
555
 
566
556
  private
567
557
 
568
- # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#34
558
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#30
569
559
  def base_rate; end
570
560
 
571
- # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#38
561
+ # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#34
572
562
  def elapsed_seconds; end
573
563
 
574
- # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#20
575
- def rate_of_change(format_string = T.unsafe(nil)); end
576
-
577
564
  # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#26
578
- def rate_of_change_with_precision; end
579
-
580
- # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#30
581
565
  def scaled_rate; end
582
566
  end
583
567
 
@@ -585,71 +569,78 @@ end
585
569
  class ProgressBar::Components::Time
586
570
  # @return [Time] a new instance of Time
587
571
  #
588
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#20
572
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#21
589
573
  def initialize(options = T.unsafe(nil)); end
590
574
 
591
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#30
575
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#31
592
576
  def elapsed_with_label; end
593
577
 
594
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#26
595
- def estimated_with_label; end
596
-
597
- protected
578
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#47
579
+ def estimated_wall_clock; end
598
580
 
599
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#48
581
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#43
600
582
  def estimated_with_friendly_oob; end
601
583
 
602
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#36
584
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#27
585
+ def estimated_with_label(out_of_bounds_time_format = T.unsafe(nil)); end
586
+
587
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#35
603
588
  def estimated_with_no_oob; end
604
589
 
605
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#42
590
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#39
606
591
  def estimated_with_unknown_oob; end
607
592
 
608
- # Returns the value of attribute out_of_bounds_time_format.
609
- #
610
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#54
611
- def out_of_bounds_time_format; end
612
-
613
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#58
614
- def out_of_bounds_time_format=(format); end
593
+ protected
615
594
 
616
595
  # Returns the value of attribute progress.
617
596
  #
618
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#55
597
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
619
598
  def progress; end
620
599
 
621
600
  # Sets the attribute progress
622
601
  #
623
602
  # @param value the value to set the attribute progress to.
624
603
  #
625
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#55
604
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
626
605
  def progress=(_arg0); end
627
606
 
607
+ # Returns the value of attribute projector.
608
+ #
609
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
610
+ def projector; end
611
+
612
+ # Sets the attribute projector
613
+ #
614
+ # @param value the value to set the attribute projector to.
615
+ #
616
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
617
+ def projector=(_arg0); end
618
+
628
619
  # Returns the value of attribute timer.
629
620
  #
630
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#55
621
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
631
622
  def timer; end
632
623
 
633
624
  # Sets the attribute timer
634
625
  #
635
626
  # @param value the value to set the attribute timer to.
636
627
  #
637
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#55
628
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60
638
629
  def timer=(_arg0); end
639
630
 
640
631
  private
641
632
 
642
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#82
633
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#80
643
634
  def elapsed; end
644
635
 
645
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#68
646
- def estimated; end
636
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#66
637
+ def estimated(out_of_bounds_time_format); end
647
638
 
648
639
  # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#94
649
640
  def estimated_seconds_remaining; end
650
641
 
651
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#90
652
- def estimated_with_elapsed_fallback; end
642
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#88
643
+ def estimated_with_elapsed_fallback(out_of_bounds_time_format); end
653
644
  end
654
645
 
655
646
  # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#14
@@ -667,7 +658,7 @@ ProgressBar::Components::Time::OOB_FRIENDLY_TIME_TEXT = T.let(T.unsafe(nil), Str
667
658
  # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#9
668
659
  ProgressBar::Components::Time::OOB_LIMIT_IN_HOURS = T.let(T.unsafe(nil), Integer)
669
660
 
670
- # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#15
661
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#16
671
662
  ProgressBar::Components::Time::OOB_TEXT_TO_FORMAT = T.let(T.unsafe(nil), Hash)
672
663
 
673
664
  # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#8
@@ -679,6 +670,9 @@ ProgressBar::Components::Time::OOB_UNKNOWN_TIME_TEXT = T.let(T.unsafe(nil), Stri
679
670
  # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#7
680
671
  ProgressBar::Components::Time::TIME_FORMAT = T.let(T.unsafe(nil), String)
681
672
 
673
+ # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#15
674
+ ProgressBar::Components::Time::WALL_CLOCK_FORMAT = T.let(T.unsafe(nil), String)
675
+
682
676
  # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#3
683
677
  class ProgressBar::Components::Title
684
678
  # @return [Title] a new instance of Title
@@ -702,7 +696,7 @@ end
702
696
  # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#4
703
697
  ProgressBar::Components::Title::DEFAULT_TITLE = T.let(T.unsafe(nil), String)
704
698
 
705
- # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#2
699
+ # source://ruby-progressbar//lib/ruby-progressbar/format/formatter.rb#2
706
700
  module ProgressBar::Format; end
707
701
 
708
702
  # source://ruby-progressbar//lib/ruby-progressbar/format/formatter.rb#3
@@ -717,170 +711,170 @@ end
717
711
  class ProgressBar::Format::Molecule
718
712
  # @return [Molecule] a new instance of Molecule
719
713
  #
720
- # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#32
714
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#33
721
715
  def initialize(letter); end
722
716
 
723
717
  # @return [Boolean]
724
718
  #
725
- # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#37
719
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#38
726
720
  def bar_molecule?; end
727
721
 
728
- # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#45
722
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#46
729
723
  def full_key; end
730
724
 
731
725
  # Returns the value of attribute key.
732
726
  #
733
- # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#29
727
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
734
728
  def key; end
735
729
 
736
730
  # Sets the attribute key
737
731
  #
738
732
  # @param value the value to set the attribute key to.
739
733
  #
740
- # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#29
734
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
741
735
  def key=(_arg0); end
742
736
 
743
- # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#49
737
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#50
744
738
  def lookup_value(environment, length = T.unsafe(nil)); end
745
739
 
746
740
  # Returns the value of attribute method_name.
747
741
  #
748
- # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#29
742
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
749
743
  def method_name; end
750
744
 
751
745
  # Sets the attribute method_name
752
746
  #
753
747
  # @param value the value to set the attribute method_name to.
754
748
  #
755
- # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#29
749
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30
756
750
  def method_name=(_arg0); end
757
751
 
758
752
  # @return [Boolean]
759
753
  #
760
- # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#41
754
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#42
761
755
  def non_bar_molecule?; end
762
756
  end
763
757
 
764
- # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#27
758
+ # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#28
765
759
  ProgressBar::Format::Molecule::BAR_MOLECULES = T.let(T.unsafe(nil), Array)
766
760
 
767
761
  # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#4
768
762
  ProgressBar::Format::Molecule::MOLECULES = T.let(T.unsafe(nil), Hash)
769
763
 
770
- # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#3
764
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#5
771
765
  class ProgressBar::Format::String < ::String
772
- # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#11
766
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#13
773
767
  def bar_molecule_placeholder_length; end
774
768
 
775
- # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#19
769
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#21
776
770
  def bar_molecules; end
777
771
 
778
- # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#7
772
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#9
779
773
  def displayable_length; end
780
774
 
781
- # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#23
775
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#25
782
776
  def molecules; end
783
777
 
784
- # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#15
778
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#17
785
779
  def non_bar_molecules; end
786
780
  end
787
781
 
788
- # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#5
782
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#7
789
783
  ProgressBar::Format::String::ANSI_SGR_PATTERN = T.let(T.unsafe(nil), Regexp)
790
784
 
791
- # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#4
785
+ # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#6
792
786
  ProgressBar::Format::String::MOLECULE_PATTERN = T.let(T.unsafe(nil), Regexp)
793
787
 
794
788
  # source://ruby-progressbar//lib/ruby-progressbar/errors/invalid_progress_error.rb#2
795
789
  class ProgressBar::InvalidProgressError < ::RuntimeError; end
796
790
 
797
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#2
791
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#5
798
792
  class ProgressBar::Output
799
793
  # @return [Output] a new instance of Output
800
794
  #
801
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#7
795
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#10
802
796
  def initialize(options = T.unsafe(nil)); end
803
797
 
804
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#34
798
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#37
805
799
  def clear_string; end
806
800
 
807
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#38
801
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#41
808
802
  def length; end
809
803
 
810
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#27
804
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#30
811
805
  def log(string); end
812
806
 
813
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#47
807
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#50
814
808
  def refresh(options = T.unsafe(nil)); end
815
809
 
816
810
  # Returns the value of attribute stream.
817
811
  #
818
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#5
812
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#8
819
813
  def stream; end
820
814
 
821
815
  # Sets the attribute stream
822
816
  #
823
817
  # @param value the value to set the attribute stream to.
824
818
  #
825
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#5
819
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#8
826
820
  def stream=(_arg0); end
827
821
 
828
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#42
822
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#45
829
823
  def with_refresh; end
830
824
 
831
825
  protected
832
826
 
833
827
  # Returns the value of attribute bar.
834
828
  #
835
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#57
829
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
836
830
  def bar; end
837
831
 
838
832
  # Sets the attribute bar
839
833
  #
840
834
  # @param value the value to set the attribute bar to.
841
835
  #
842
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#57
836
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
843
837
  def bar=(_arg0); end
844
838
 
845
839
  # Returns the value of attribute length_calculator.
846
840
  #
847
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#57
841
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
848
842
  def length_calculator; end
849
843
 
850
844
  # Sets the attribute length_calculator
851
845
  #
852
846
  # @param value the value to set the attribute length_calculator to.
853
847
  #
854
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#57
848
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
855
849
  def length_calculator=(_arg0); end
856
850
 
857
851
  # Returns the value of attribute throttle.
858
852
  #
859
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#57
853
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
860
854
  def throttle; end
861
855
 
862
856
  # Sets the attribute throttle
863
857
  #
864
858
  # @param value the value to set the attribute throttle to.
865
859
  #
866
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#57
860
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60
867
861
  def throttle=(_arg0); end
868
862
 
869
863
  private
870
864
 
871
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#63
865
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#66
872
866
  def print_and_flush; end
873
867
 
874
868
  class << self
875
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#17
869
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#20
876
870
  def detect(options = T.unsafe(nil)); end
877
871
  end
878
872
  end
879
873
 
880
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#3
874
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#6
881
875
  ProgressBar::Output::DEFAULT_OUTPUT_STREAM = T.let(T.unsafe(nil), IO)
882
876
 
883
- # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#4
877
+ # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#4
884
878
  module ProgressBar::Outputs; end
885
879
 
886
880
  # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#5
@@ -933,7 +927,7 @@ class ProgressBar::Outputs::Tty < ::ProgressBar::Output
933
927
  # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#27
934
928
  def eol; end
935
929
 
936
- # source://ruby-progressbar//lib/ruby-progressbar/output.rb#42
930
+ # source://ruby-progressbar//lib/ruby-progressbar/output.rb#45
937
931
  def refresh_with_format_change; end
938
932
 
939
933
  # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#23
@@ -947,119 +941,200 @@ ProgressBar::Outputs::Tty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String)
947
941
  class ProgressBar::Progress
948
942
  # @return [Progress] a new instance of Progress
949
943
  #
950
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#16
944
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#12
951
945
  def initialize(options = T.unsafe(nil)); end
952
946
 
953
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#114
947
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#104
954
948
  def absolute; end
955
949
 
956
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#47
950
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#41
957
951
  def decrement; end
958
952
 
959
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#29
953
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#23
960
954
  def finish; end
961
955
 
962
956
  # @return [Boolean]
963
957
  #
964
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#33
958
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#27
965
959
  def finished?; end
966
960
 
967
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#37
961
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#31
968
962
  def increment; end
969
963
 
970
964
  # @return [Boolean]
971
965
  #
972
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#95
966
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#85
973
967
  def none?; end
974
968
 
975
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#83
969
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#73
976
970
  def percentage_completed; end
977
971
 
978
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#107
972
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#97
979
973
  def percentage_completed_with_precision; end
980
974
 
981
975
  # Returns the value of attribute progress.
982
976
  #
983
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#9
977
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#8
984
978
  def progress; end
985
979
 
986
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#61
980
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#55
987
981
  def progress=(new_progress); end
988
982
 
989
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#57
983
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#51
990
984
  def reset; end
991
985
 
992
- # Returns the value of attribute running_average.
993
- #
994
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#12
995
- def running_average; end
996
-
997
- # Sets the attribute running_average
998
- #
999
- # @param value the value to set the attribute running_average to.
1000
- #
1001
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#12
1002
- def running_average=(_arg0); end
1003
-
1004
- # Returns the value of attribute smoothing.
1005
- #
1006
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#12
1007
- def smoothing; end
1008
-
1009
- # Sets the attribute smoothing
1010
- #
1011
- # @param value the value to set the attribute smoothing to.
1012
- #
1013
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#12
1014
- def smoothing=(_arg0); end
1015
-
1016
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#23
986
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#18
1017
987
  def start(options = T.unsafe(nil)); end
1018
988
 
1019
989
  # Returns the value of attribute starting_position.
1020
990
  #
1021
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#12
991
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#10
1022
992
  def starting_position; end
1023
993
 
1024
994
  # Sets the attribute starting_position
1025
995
  #
1026
996
  # @param value the value to set the attribute starting_position to.
1027
997
  #
1028
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#12
998
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#10
1029
999
  def starting_position=(_arg0); end
1030
1000
 
1031
1001
  # Returns the value of attribute total.
1032
1002
  #
1033
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#9
1003
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#8
1034
1004
  def total; end
1035
1005
 
1036
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#74
1006
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#64
1037
1007
  def total=(new_total); end
1038
1008
 
1039
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#103
1009
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#93
1040
1010
  def total_with_unknown_indicator; end
1041
1011
 
1042
1012
  # @return [Boolean]
1043
1013
  #
1044
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#99
1014
+ # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#89
1045
1015
  def unknown?; end
1046
1016
  end
1047
1017
 
1048
1018
  # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#6
1049
1019
  ProgressBar::Progress::DEFAULT_BEGINNING_POSITION = T.let(T.unsafe(nil), Integer)
1050
1020
 
1051
- # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#7
1052
- ProgressBar::Progress::DEFAULT_SMOOTHING = T.let(T.unsafe(nil), Float)
1053
-
1054
1021
  # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#5
1055
1022
  ProgressBar::Progress::DEFAULT_TOTAL = T.let(T.unsafe(nil), Integer)
1056
1023
 
1057
- # source://ruby-progressbar//lib/ruby-progressbar/refinements/enumerator.rb#2
1024
+ # source://ruby-progressbar//lib/ruby-progressbar/projector.rb#4
1025
+ class ProgressBar::Projector
1026
+ class << self
1027
+ # source://ruby-progressbar//lib/ruby-progressbar/projector.rb#10
1028
+ def from_type(name); end
1029
+ end
1030
+ end
1031
+
1032
+ # source://ruby-progressbar//lib/ruby-progressbar/projector.rb#5
1033
+ ProgressBar::Projector::DEFAULT_PROJECTOR = ProgressBar::Projectors::SmoothedAverage
1034
+
1035
+ # source://ruby-progressbar//lib/ruby-progressbar/projector.rb#6
1036
+ ProgressBar::Projector::NAME_TO_PROJECTOR_MAP = T.let(T.unsafe(nil), Hash)
1037
+
1038
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#2
1039
+ module ProgressBar::Projectors; end
1040
+
1041
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#3
1042
+ class ProgressBar::Projectors::SmoothedAverage
1043
+ # @return [SmoothedAverage] a new instance of SmoothedAverage
1044
+ #
1045
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#11
1046
+ def initialize(options = T.unsafe(nil)); end
1047
+
1048
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#24
1049
+ def decrement; end
1050
+
1051
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#28
1052
+ def increment; end
1053
+
1054
+ # @return [Boolean]
1055
+ #
1056
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#52
1057
+ def none?; end
1058
+
1059
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#32
1060
+ def progress; end
1061
+
1062
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#42
1063
+ def progress=(new_progress); end
1064
+
1065
+ # Returns the value of attribute projection.
1066
+ #
1067
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#9
1068
+ def projection; end
1069
+
1070
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#38
1071
+ def reset; end
1072
+
1073
+ # Returns the value of attribute samples.
1074
+ #
1075
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
1076
+ def samples; end
1077
+
1078
+ # Sets the attribute samples
1079
+ #
1080
+ # @param value the value to set the attribute samples to.
1081
+ #
1082
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
1083
+ def samples=(_arg0); end
1084
+
1085
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#19
1086
+ def start(options = T.unsafe(nil)); end
1087
+
1088
+ # Returns the value of attribute strength.
1089
+ #
1090
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
1091
+ def strength; end
1092
+
1093
+ # Sets the attribute strength
1094
+ #
1095
+ # @param value the value to set the attribute strength to.
1096
+ #
1097
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7
1098
+ def strength=(_arg0); end
1099
+
1100
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#36
1101
+ def total=(_new_total); end
1102
+
1103
+ protected
1104
+
1105
+ # Sets the attribute projection
1106
+ #
1107
+ # @param value the value to set the attribute projection to.
1108
+ #
1109
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#62
1110
+ def projection=(_arg0); end
1111
+
1112
+ private
1113
+
1114
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#66
1115
+ def absolute; end
1116
+
1117
+ class << self
1118
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#56
1119
+ def calculate(current_projection, new_value, rate); end
1120
+ end
1121
+ end
1122
+
1123
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#5
1124
+ ProgressBar::Projectors::SmoothedAverage::DEFAULT_BEGINNING_POSITION = T.let(T.unsafe(nil), Integer)
1125
+
1126
+ # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#4
1127
+ ProgressBar::Projectors::SmoothedAverage::DEFAULT_STRENGTH = T.let(T.unsafe(nil), Float)
1128
+
1129
+ # source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#2
1058
1130
  module ProgressBar::Refinements; end
1059
1131
 
1060
- # source://ruby-progressbar//lib/ruby-progressbar/refinements/enumerator.rb#3
1132
+ # source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#3
1061
1133
  module ProgressBar::Refinements::Enumerator; end
1062
1134
 
1135
+ # source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#4
1136
+ ProgressBar::Refinements::Enumerator::ARITY_ERROR_MESSAGE = T.let(T.unsafe(nil), String)
1137
+
1063
1138
  # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#2
1064
1139
  class ProgressBar::Throttle
1065
1140
  # @return [Throttle] a new instance of Throttle
@@ -1136,14 +1211,14 @@ class ProgressBar::Time
1136
1211
 
1137
1212
  # Returns the value of attribute time.
1138
1213
  #
1139
- # source://ruby-progressbar//lib/ruby-progressbar/time.rb#29
1214
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#27
1140
1215
  def time; end
1141
1216
 
1142
1217
  # Sets the attribute time
1143
1218
  #
1144
1219
  # @param value the value to set the attribute time to.
1145
1220
  #
1146
- # source://ruby-progressbar//lib/ruby-progressbar/time.rb#29
1221
+ # source://ruby-progressbar//lib/ruby-progressbar/time.rb#27
1147
1222
  def time=(_arg0); end
1148
1223
  end
1149
1224
 
@@ -1157,27 +1232,30 @@ class ProgressBar::Timer
1157
1232
  # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#8
1158
1233
  def initialize(options = T.unsafe(nil)); end
1159
1234
 
1160
- # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#61
1235
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#67
1161
1236
  def divide_seconds(seconds); end
1162
1237
 
1163
- # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#53
1238
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#57
1164
1239
  def elapsed_seconds; end
1165
1240
 
1166
- # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#57
1241
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#63
1167
1242
  def elapsed_whole_seconds; end
1168
1243
 
1244
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#31
1245
+ def now; end
1246
+
1169
1247
  # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#23
1170
1248
  def pause; end
1171
1249
 
1172
- # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#39
1250
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#43
1173
1251
  def reset; end
1174
1252
 
1175
1253
  # @return [Boolean]
1176
1254
  #
1177
- # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#44
1255
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#48
1178
1256
  def reset?; end
1179
1257
 
1180
- # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#48
1258
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#52
1181
1259
  def restart; end
1182
1260
 
1183
1261
  # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#27
@@ -1188,7 +1266,7 @@ class ProgressBar::Timer
1188
1266
 
1189
1267
  # @return [Boolean]
1190
1268
  #
1191
- # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#31
1269
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#35
1192
1270
  def started?; end
1193
1271
 
1194
1272
  # Returns the value of attribute started_at.
@@ -1208,7 +1286,7 @@ class ProgressBar::Timer
1208
1286
 
1209
1287
  # @return [Boolean]
1210
1288
  #
1211
- # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#35
1289
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#39
1212
1290
  def stopped?; end
1213
1291
 
1214
1292
  # Returns the value of attribute stopped_at.
@@ -1227,13 +1305,13 @@ class ProgressBar::Timer
1227
1305
 
1228
1306
  # Returns the value of attribute time.
1229
1307
  #
1230
- # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#70
1308
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#76
1231
1309
  def time; end
1232
1310
 
1233
1311
  # Sets the attribute time
1234
1312
  #
1235
1313
  # @param value the value to set the attribute time to.
1236
1314
  #
1237
- # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#70
1315
+ # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#76
1238
1316
  def time=(_arg0); end
1239
1317
  end