workos 4.1.0 → 4.2.1
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 +37 -0
- data/.github/workflows/release.yml +43 -0
- data/.rubocop.yml +8 -1
- data/Gemfile.lock +22 -69
- data/lib/workos/audit_log_export.rb +8 -31
- data/lib/workos/audit_logs.rb +0 -26
- data/lib/workos/authentication_factor_and_challenge.rb +0 -3
- data/lib/workos/authentication_response.rb +3 -6
- data/lib/workos/challenge.rb +9 -28
- data/lib/workos/client.rb +0 -41
- data/lib/workos/configuration.rb +0 -1
- data/lib/workos/connection.rb +11 -35
- data/lib/workos/directory.rb +10 -37
- data/lib/workos/directory_group.rb +9 -36
- data/lib/workos/directory_sync.rb +0 -21
- data/lib/workos/directory_user.rb +17 -51
- data/lib/workos/errors.rb +0 -16
- data/lib/workos/event.rb +5 -26
- data/lib/workos/events.rb +0 -7
- data/lib/workos/factor.rb +9 -28
- data/lib/workos/hash_provider.rb +0 -1
- data/lib/workos/impersonator.rb +0 -3
- data/lib/workos/invitation.rb +12 -37
- data/lib/workos/mfa.rb +0 -42
- data/lib/workos/organization.rb +8 -31
- data/lib/workos/organization_membership.rb +8 -27
- data/lib/workos/organizations.rb +0 -26
- data/lib/workos/passwordless.rb +0 -14
- data/lib/workos/portal.rb +1 -13
- data/lib/workos/profile.rb +12 -39
- data/lib/workos/profile_and_token.rb +1 -4
- data/lib/workos/refresh_authentication_response.rb +2 -5
- data/lib/workos/sso.rb +1 -43
- data/lib/workos/types/intent.rb +16 -0
- data/lib/workos/types/list_struct.rb +8 -5
- data/lib/workos/types/passwordless_session_struct.rb +10 -9
- data/lib/workos/types/provider.rb +15 -0
- data/lib/workos/types.rb +5 -23
- data/lib/workos/user.rb +10 -31
- data/lib/workos/user_and_token.rb +1 -4
- data/lib/workos/user_management.rb +36 -244
- data/lib/workos/user_response.rb +0 -3
- data/lib/workos/verify_challenge.rb +4 -18
- data/lib/workos/version.rb +1 -2
- data/lib/workos/webhook.rb +5 -26
- data/lib/workos/webhooks.rb +1 -38
- data/lib/workos.rb +0 -2
- data/spec/lib/workos/audit_logs_spec.rb +2 -3
- data/spec/lib/workos/configuration_spec.rb +0 -1
- data/spec/lib/workos/directory_sync_spec.rb +0 -1
- data/spec/lib/workos/directory_user_spec.rb +0 -1
- data/spec/lib/workos/event_spec.rb +0 -1
- data/spec/lib/workos/mfa_spec.rb +0 -1
- data/spec/lib/workos/organizations_spec.rb +0 -1
- data/spec/lib/workos/passwordless_spec.rb +0 -1
- data/spec/lib/workos/portal_spec.rb +0 -1
- data/spec/lib/workos/sso_spec.rb +0 -1
- data/spec/lib/workos/user_management_spec.rb +29 -1
- data/spec/lib/workos/webhooks_spec.rb +0 -1
- data/spec/spec_helper.rb +0 -9
- data/spec/support/fixtures/vcr_cassettes/user_management/revoke_session/not_found.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/user_management/revoke_session/valid.yml +76 -0
- data/spec/support/shared_examples/client_spec.rb +0 -1
- data/workos.gemspec +1 -6
- metadata +15 -129
- data/.semaphore/rubygems.yml +0 -24
- data/.semaphore/semaphore.yml +0 -51
- data/bin/tapioca +0 -29
- data/codecov.yml +0 -12
- data/devbox.json +0 -18
- data/devbox.lock +0 -11
- data/lib/workos/types/audit_log_export_struct.rb +0 -17
- data/lib/workos/types/challenge_struct.rb +0 -18
- data/lib/workos/types/connection_struct.rb +0 -20
- data/lib/workos/types/directory_group_struct.rb +0 -19
- data/lib/workos/types/directory_struct.rb +0 -19
- data/lib/workos/types/directory_user_struct.rb +0 -26
- data/lib/workos/types/event_struct.rb +0 -15
- data/lib/workos/types/factor_struct.rb +0 -18
- data/lib/workos/types/intent_enum.rb +0 -17
- data/lib/workos/types/invitation_struct.rb +0 -20
- data/lib/workos/types/magic_auth_challenge_struct.rb +0 -12
- data/lib/workos/types/organization_membership_struct.rb +0 -16
- data/lib/workos/types/organization_struct.rb +0 -17
- data/lib/workos/types/profile_struct.rb +0 -21
- data/lib/workos/types/provider_enum.rb +0 -16
- data/lib/workos/types/user_struct.rb +0 -18
- data/lib/workos/types/verify_challenge_struct.rb +0 -13
- data/lib/workos/types/webhook_struct.rb +0 -15
- data/sorbet/config +0 -2
- data/sorbet/rbi/gems/addressable@2.8.0.rbi +0 -290
- data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
- data/sorbet/rbi/gems/codecov@0.2.12.rbi +0 -55
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
- data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -57
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
- data/sorbet/rbi/gems/docile@1.3.5.rbi +0 -54
- data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +0 -82
- data/sorbet/rbi/gems/json@2.5.1.rbi +0 -109
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
- data/sorbet/rbi/gems/parser@3.0.1.0.rbi +0 -1187
- data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -8
- data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +0 -146
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
- data/sorbet/rbi/gems/rake@13.0.3.rbi +0 -807
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +0 -2118
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1117
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -709
- data/sorbet/rbi/gems/rspec-core@3.9.3.rbi +0 -2467
- data/sorbet/rbi/gems/rspec-expectations@3.9.4.rbi +0 -1569
- data/sorbet/rbi/gems/rspec-mocks@3.9.1.rbi +0 -1493
- data/sorbet/rbi/gems/rspec-support@3.9.4.rbi +0 -511
- data/sorbet/rbi/gems/rspec@3.9.0.rbi +0 -38
- data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +0 -1881
- data/sorbet/rbi/gems/rubocop@0.93.1.rbi +0 -11497
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.2.rbi +0 -8
- data/sorbet/rbi/gems/spoom@1.1.15.rbi +0 -1549
- data/sorbet/rbi/gems/tapioca@0.7.3.rbi +0 -1718
- data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -844
- data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +0 -22
- data/sorbet/rbi/gems/unparser@0.6.2.rbi +0 -8
- data/sorbet/rbi/gems/vcr@5.0.0.rbi +0 -699
- data/sorbet/rbi/gems/webmock@3.12.2.rbi +0 -662
- data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +0 -268
- data/sorbet/rbi/gems/yard@0.9.26.rbi +0 -4048
- data/sorbet/tapioca/config.yml +0 -13
- data/sorbet/tapioca/require.rb +0 -4
@@ -1,405 +0,0 @@
|
|
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
|
-
def initialize(options = T.unsafe(nil)); end
|
17
|
-
|
18
|
-
def clear(*args, **_arg1, &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, **_arg1, &block); end
|
27
|
-
def pause; end
|
28
|
-
def paused?; end
|
29
|
-
def progress(*args, **_arg1, &block); end
|
30
|
-
def progress=(new_progress); end
|
31
|
-
def progress_mark=(mark); end
|
32
|
-
def refresh(*args, **_arg1, &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, **_arg1, &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
|
@@ -1,89 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `simplecov-html` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem simplecov-html`.
|
6
|
-
|
7
|
-
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)
|