ech_config 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +21 -17
- data/lib/ech_config/ech_config_contents/hpke_key_config/hpke_kem_id.rb +6 -2
- data/lib/ech_config/ech_config_contents/hpke_key_config/hpke_public_key.rb +0 -1
- data/lib/ech_config/ech_config_contents/hpke_key_config/hpke_symmetric_cipher_suite/hpke_aead_id.rb +6 -2
- data/lib/ech_config/ech_config_contents/hpke_key_config/hpke_symmetric_cipher_suite/hpke_kdf_id.rb +6 -2
- data/lib/ech_config/ech_config_contents/hpke_key_config/hpke_symmetric_cipher_suite.rb +6 -2
- data/lib/ech_config/ech_config_contents/hpke_key_config.rb +1 -1
- data/lib/ech_config/ech_config_contents.rb +1 -1
- data/lib/ech_config/version.rb +1 -1
- data/lib/ech_config.rb +1 -1
- data/sorbet/rbi/gems/ech_config.rbi +1 -1
- data/sorbet/rbi/gems/parallel.rbi +4 -6
- data/sorbet/rbi/gems/parser.rbi +95 -39
- data/sorbet/rbi/gems/racc.rbi +43 -0
- data/sorbet/rbi/gems/rake.rbi +2 -1
- data/sorbet/rbi/gems/regexp_parser.rbi +78 -36
- data/sorbet/rbi/gems/rexml.rbi +9 -5
- data/sorbet/rbi/gems/rubocop-ast.rbi +6 -1
- data/sorbet/rbi/gems/rubocop-sorbet.rbi +147 -53
- data/sorbet/rbi/gems/ruby-progressbar.rbi +171 -154
- data/sorbet/rbi/gems/unicode-display_width.rbi +1 -1
- data/sorbet/rbi/gems/webrick.rbi +6 -1
- data/sorbet/rbi/hidden-definitions/errors.txt +353 -170
- data/sorbet/rbi/hidden-definitions/hidden.rbi +161 -47
- data/spec/ech_config_spec.rb +35 -0
- data/spec/hpke_key_config_spec.rb +6 -7
- metadata +5 -2
@@ -7,7 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rubocop-sorbet/all/rubocop-sorbet.rbi
|
9
9
|
#
|
10
|
-
# rubocop-sorbet-0.6
|
10
|
+
# rubocop-sorbet-0.7.6
|
11
11
|
|
12
12
|
module RuboCop
|
13
13
|
end
|
@@ -22,39 +22,55 @@ module RuboCop::Cop
|
|
22
22
|
end
|
23
23
|
module RuboCop::Cop::Sorbet
|
24
24
|
end
|
25
|
-
|
26
|
-
def
|
27
|
-
def
|
28
|
-
def
|
29
|
-
def
|
30
|
-
def
|
31
|
-
|
32
|
-
|
33
|
-
def
|
34
|
-
def
|
35
|
-
|
25
|
+
module RuboCop::Cop::Sorbet::TargetSorbetVersion
|
26
|
+
def enabled_for_sorbet_static_version?; end
|
27
|
+
def read_sorbet_static_version_from_bundler_lock_file; end
|
28
|
+
def self.included(target); end
|
29
|
+
def sorbet_enabled?; end
|
30
|
+
def target_sorbet_static_version_from_bundler_lock_file; end
|
31
|
+
end
|
32
|
+
module RuboCop::Cop::Sorbet::TargetSorbetVersion::ClassMethods
|
33
|
+
def minimum_target_sorbet_static_version(version); end
|
34
|
+
def supports_target_sorbet_static_version?(version); end
|
35
|
+
end
|
36
|
+
module RuboCop::Cop::Sorbet::SignatureHelp
|
37
|
+
def on_block(node); end
|
38
|
+
def on_numblock(node); end
|
39
|
+
def on_signature(_node); end
|
40
|
+
def signature?(param0 = nil); end
|
41
|
+
def with_runtime?(param0 = nil); end
|
42
|
+
def without_runtime?(param0 = nil); end
|
43
|
+
extend RuboCop::AST::NodePattern::Macros
|
44
|
+
end
|
45
|
+
class RuboCop::Cop::Sorbet::BindingConstantWithoutTypeAlias < RuboCop::Cop::Base
|
36
46
|
def on_casgn(node); end
|
37
|
-
def
|
38
|
-
def
|
39
|
-
def
|
47
|
+
def requires_type_alias?(param0 = nil); end
|
48
|
+
def send_leaf(node); end
|
49
|
+
def type_alias_with_block?(param0 = nil); end
|
50
|
+
def type_alias_without_block(param0 = nil); end
|
51
|
+
extend RuboCop::Cop::AutoCorrector
|
40
52
|
end
|
41
53
|
class RuboCop::Cop::Sorbet::ConstantsFromStrings < RuboCop::Cop::Cop
|
42
54
|
def constant_from_string?(param0 = nil); end
|
43
55
|
def on_send(node); end
|
44
56
|
end
|
45
|
-
class RuboCop::Cop::Sorbet::ForbidSuperclassConstLiteral < RuboCop::Cop::
|
46
|
-
def
|
57
|
+
class RuboCop::Cop::Sorbet::ForbidSuperclassConstLiteral < RuboCop::Cop::Base
|
58
|
+
def dynamic_superclass?(param0 = nil); end
|
47
59
|
def on_class(node); end
|
48
60
|
end
|
49
|
-
class RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral < RuboCop::Cop::
|
50
|
-
def
|
51
|
-
def
|
52
|
-
def not_lit_const_include?(param0 = nil); end
|
61
|
+
class RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral < RuboCop::Cop::Base
|
62
|
+
def dynamic_inclusion?(param0 = nil); end
|
63
|
+
def neither_const_nor_self?(node); end
|
53
64
|
def on_send(node); end
|
54
|
-
def
|
55
|
-
|
65
|
+
def within_onymous_module?(node); end
|
66
|
+
extend RuboCop::Cop::AutoCorrector
|
67
|
+
end
|
68
|
+
class RuboCop::Cop::Sorbet::ForbidTypeAliasedShapes < RuboCop::Cop::Base
|
69
|
+
def on_block(node); end
|
70
|
+
def on_numblock(node); end
|
71
|
+
def shape_type_alias?(param0 = nil); end
|
56
72
|
end
|
57
|
-
class RuboCop::Cop::Sorbet::ForbidUntypedStructProps < RuboCop::Cop::
|
73
|
+
class RuboCop::Cop::Sorbet::ForbidUntypedStructProps < RuboCop::Cop::Base
|
58
74
|
def on_class(node); end
|
59
75
|
def subclass_of_t_struct?(param0 = nil); end
|
60
76
|
def t_nilable_untyped(param0 = nil); end
|
@@ -62,6 +78,12 @@ class RuboCop::Cop::Sorbet::ForbidUntypedStructProps < RuboCop::Cop::Cop
|
|
62
78
|
def t_untyped(param0 = nil); end
|
63
79
|
def untyped_props(param0); end
|
64
80
|
end
|
81
|
+
class RuboCop::Cop::Sorbet::ImplicitConversionMethod < RuboCop::Cop::Base
|
82
|
+
def on_alias(node); end
|
83
|
+
def on_def(node); end
|
84
|
+
def on_defs(node); end
|
85
|
+
def on_send(node); end
|
86
|
+
end
|
65
87
|
class RuboCop::Cop::Sorbet::OneAncestorPerLine < RuboCop::Cop::Cop
|
66
88
|
def abstract?(param0); end
|
67
89
|
def autocorrect(node); end
|
@@ -76,23 +98,89 @@ class RuboCop::Cop::Sorbet::CallbackConditionalsBinding < RuboCop::Cop::Cop
|
|
76
98
|
def autocorrect(node); end
|
77
99
|
def on_send(node); end
|
78
100
|
end
|
79
|
-
class RuboCop::Cop::Sorbet::
|
101
|
+
class RuboCop::Cop::Sorbet::ForbidTStruct < RuboCop::Cop::Base
|
102
|
+
def initialize_method(indent, props); end
|
103
|
+
def on_class(node); end
|
104
|
+
def on_send(node); end
|
105
|
+
def previous_line_blank?(node); end
|
106
|
+
def t_props?(param0 = nil); end
|
107
|
+
def t_struct?(param0 = nil); end
|
108
|
+
extend RuboCop::Cop::AutoCorrector
|
109
|
+
include RuboCop::Cop::Alignment
|
110
|
+
include RuboCop::Cop::CommentsHelp
|
111
|
+
include RuboCop::Cop::RangeHelp
|
112
|
+
end
|
113
|
+
class RuboCop::Cop::Sorbet::ForbidTStruct::TStructWalker
|
114
|
+
def extend_t_sig?(param0 = nil); end
|
115
|
+
def has_extend_t_sig; end
|
116
|
+
def initialize; end
|
117
|
+
def on_send(node); end
|
118
|
+
def props; end
|
119
|
+
def t_struct_prop?(param0 = nil); end
|
120
|
+
extend RuboCop::AST::NodePattern::Macros
|
121
|
+
include RuboCop::AST::Traversal
|
122
|
+
end
|
123
|
+
class RuboCop::Cop::Sorbet::ForbidTStruct::Property
|
124
|
+
def attr_accessor; end
|
125
|
+
def attr_sig; end
|
126
|
+
def default; end
|
127
|
+
def factory; end
|
128
|
+
def initialize(node, kind, name, type, default:, factory:); end
|
129
|
+
def initialize_assign; end
|
130
|
+
def initialize_param; end
|
131
|
+
def initialize_sig_param; end
|
132
|
+
def kind; end
|
133
|
+
def name; end
|
134
|
+
def nilable?; end
|
135
|
+
def node; end
|
136
|
+
def type; end
|
137
|
+
end
|
138
|
+
class RuboCop::Cop::Sorbet::ForbidTUnsafe < RuboCop::Cop::Base
|
80
139
|
def on_send(node); end
|
81
140
|
def t_unsafe?(param0 = nil); end
|
82
141
|
end
|
83
|
-
class RuboCop::Cop::Sorbet::ForbidTUntyped < RuboCop::Cop::
|
142
|
+
class RuboCop::Cop::Sorbet::ForbidTUntyped < RuboCop::Cop::Base
|
84
143
|
def on_send(node); end
|
85
144
|
def t_untyped?(param0 = nil); end
|
86
145
|
end
|
87
|
-
class RuboCop::Cop::Sorbet::
|
88
|
-
def
|
146
|
+
class RuboCop::Cop::Sorbet::RedundantExtendTSig < RuboCop::Cop::Base
|
147
|
+
def extend_t_sig?(param0 = nil); end
|
148
|
+
def on_send(node); end
|
149
|
+
extend RuboCop::Cop::AutoCorrector
|
150
|
+
include RuboCop::Cop::RangeHelp
|
151
|
+
end
|
152
|
+
class RuboCop::Cop::Sorbet::TypeAliasName < RuboCop::Cop::Base
|
89
153
|
def on_casgn(node); end
|
154
|
+
def underscored_type_alias?(param0 = nil); end
|
155
|
+
end
|
156
|
+
class RuboCop::Cop::Sorbet::ObsoleteStrictMemoization < RuboCop::Cop::Base
|
157
|
+
def legacy_memoization_pattern?(param0 = nil); end
|
158
|
+
def on_begin(node); end
|
159
|
+
def relevant_file?(file); end
|
160
|
+
extend RuboCop::Cop::AutoCorrector
|
161
|
+
extend RuboCop::Cop::Sorbet::TargetSorbetVersion::ClassMethods
|
162
|
+
include RuboCop::Cop::Alignment
|
163
|
+
include RuboCop::Cop::LineLengthHelp
|
164
|
+
include RuboCop::Cop::MatchRange
|
165
|
+
include RuboCop::Cop::RangeHelp
|
166
|
+
include RuboCop::Cop::Sorbet::TargetSorbetVersion
|
167
|
+
end
|
168
|
+
class RuboCop::Cop::Sorbet::BuggyObsoleteStrictMemoization < RuboCop::Cop::Base
|
169
|
+
def buggy_legacy_memoization_pattern?(param0 = nil); end
|
170
|
+
def on_begin(node); end
|
171
|
+
def relevant_file?(file); end
|
172
|
+
extend RuboCop::Cop::AutoCorrector
|
173
|
+
extend RuboCop::Cop::Sorbet::TargetSorbetVersion::ClassMethods
|
174
|
+
include RuboCop::Cop::Alignment
|
175
|
+
include RuboCop::Cop::LineLengthHelp
|
176
|
+
include RuboCop::Cop::MatchRange
|
177
|
+
include RuboCop::Cop::RangeHelp
|
178
|
+
include RuboCop::Cop::Sorbet::TargetSorbetVersion
|
90
179
|
end
|
91
|
-
class RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims < RuboCop::Cop::
|
92
|
-
def
|
93
|
-
def extend_t_helpers?(param0 = nil); end
|
94
|
-
def extend_t_sig?(param0 = nil); end
|
180
|
+
class RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims < RuboCop::Cop::Base
|
181
|
+
def extend_t_sig_or_helpers?(param0 = nil); end
|
95
182
|
def on_send(node); end
|
183
|
+
extend RuboCop::Cop::AutoCorrector
|
96
184
|
include RuboCop::Cop::RangeHelp
|
97
185
|
end
|
98
186
|
class RuboCop::Cop::Sorbet::ForbidRBIOutsideOfAllowedPaths < RuboCop::Cop::Cop
|
@@ -100,48 +188,43 @@ class RuboCop::Cop::Sorbet::ForbidRBIOutsideOfAllowedPaths < RuboCop::Cop::Cop
|
|
100
188
|
def investigate(processed_source); end
|
101
189
|
include RuboCop::Cop::RangeHelp
|
102
190
|
end
|
103
|
-
class RuboCop::Cop::Sorbet::SingleLineRbiClassModuleDefinitions < RuboCop::Cop::
|
104
|
-
def
|
105
|
-
def convert_newlines(source); end
|
191
|
+
class RuboCop::Cop::Sorbet::SingleLineRbiClassModuleDefinitions < RuboCop::Cop::Base
|
192
|
+
def convert_newlines_to_semicolons(source); end
|
106
193
|
def on_class(node); end
|
107
194
|
def on_module(node); end
|
108
|
-
|
195
|
+
extend RuboCop::Cop::AutoCorrector
|
109
196
|
end
|
110
|
-
class RuboCop::Cop::Sorbet::AllowIncompatibleOverride < RuboCop::Cop::
|
111
|
-
def
|
112
|
-
def
|
113
|
-
def not_nil?(node); end
|
197
|
+
class RuboCop::Cop::Sorbet::AllowIncompatibleOverride < RuboCop::Cop::Base
|
198
|
+
def on_block(node); end
|
199
|
+
def on_numblock(node); end
|
114
200
|
def on_send(node); end
|
201
|
+
def override?(param0 = nil); end
|
115
202
|
def sig?(param0); end
|
203
|
+
def sig_dot_override?(param0 = nil); end
|
116
204
|
end
|
117
|
-
class RuboCop::Cop::Sorbet::
|
118
|
-
def allowed_recv(recv); end
|
119
|
-
def on_block(node); end
|
120
|
-
def on_signature(_); end
|
121
|
-
def signature?(param0 = nil); end
|
122
|
-
def with_runtime?(param0 = nil); end
|
123
|
-
def without_runtime?(param0 = nil); end
|
124
|
-
end
|
125
|
-
class RuboCop::Cop::Sorbet::CheckedTrueInSignature < RuboCop::Cop::Sorbet::SignatureCop
|
205
|
+
class RuboCop::Cop::Sorbet::CheckedTrueInSignature < RuboCop::Cop::Cop
|
126
206
|
def offending_node(param0); end
|
127
207
|
def on_signature(node); end
|
128
208
|
include RuboCop::Cop::RangeHelp
|
209
|
+
include RuboCop::Cop::Sorbet::SignatureHelp
|
129
210
|
end
|
130
|
-
class RuboCop::Cop::Sorbet::KeywordArgumentOrdering < RuboCop::Cop::
|
211
|
+
class RuboCop::Cop::Sorbet::KeywordArgumentOrdering < RuboCop::Cop::Cop
|
131
212
|
def check_order_for_kwoptargs(parameters); end
|
132
213
|
def on_signature(node); end
|
214
|
+
include RuboCop::Cop::Sorbet::SignatureHelp
|
133
215
|
end
|
134
|
-
class RuboCop::Cop::Sorbet::SignatureBuildOrder < RuboCop::Cop::
|
216
|
+
class RuboCop::Cop::Sorbet::SignatureBuildOrder < RuboCop::Cop::Cop
|
135
217
|
def autocorrect(node); end
|
136
218
|
def call_chain(sig_child_node); end
|
137
219
|
def can_autocorrect?; end
|
138
220
|
def node_reparsed_with_modern_features(node); end
|
139
221
|
def on_signature(node); end
|
140
222
|
def root_call(param0); end
|
223
|
+
include RuboCop::Cop::Sorbet::SignatureHelp
|
141
224
|
end
|
142
225
|
class RuboCop::Cop::Sorbet::SignatureBuildOrder::ModernBuilder < RuboCop::AST::Builder
|
143
226
|
end
|
144
|
-
class RuboCop::Cop::Sorbet::EnforceSignatures < RuboCop::Cop::
|
227
|
+
class RuboCop::Cop::Sorbet::EnforceSignatures < RuboCop::Cop::Cop
|
145
228
|
def accessor?(param0 = nil); end
|
146
229
|
def autocorrect(node); end
|
147
230
|
def check_node(node); end
|
@@ -153,6 +236,7 @@ class RuboCop::Cop::Sorbet::EnforceSignatures < RuboCop::Cop::Sorbet::SignatureC
|
|
153
236
|
def param_type_placeholder; end
|
154
237
|
def return_type_placeholder; end
|
155
238
|
def scope(node); end
|
239
|
+
include RuboCop::Cop::Sorbet::SignatureHelp
|
156
240
|
end
|
157
241
|
class RuboCop::Cop::Sorbet::EnforceSignatures::SigSuggestion
|
158
242
|
def generate_params; end
|
@@ -164,19 +248,29 @@ class RuboCop::Cop::Sorbet::EnforceSignatures::SigSuggestion
|
|
164
248
|
def returns=(arg0); end
|
165
249
|
def to_autocorrect; end
|
166
250
|
end
|
251
|
+
class RuboCop::Cop::Sorbet::EmptyLineAfterSig < RuboCop::Cop::Base
|
252
|
+
def lines_between(node1, node2, buffer: nil); end
|
253
|
+
def next_sibling(node); end
|
254
|
+
def on_signature(sig); end
|
255
|
+
def sig_or_signable_method_definition?(param0 = nil); end
|
256
|
+
extend RuboCop::Cop::AutoCorrector
|
257
|
+
include RuboCop::Cop::RangeHelp
|
258
|
+
include RuboCop::Cop::Sorbet::SignatureHelp
|
259
|
+
end
|
167
260
|
class RuboCop::Cop::Sorbet::ValidSigil < RuboCop::Cop::Cop
|
168
261
|
def autocorrect(_node); end
|
169
262
|
def check_sigil_present(sigil); end
|
170
263
|
def check_strictness_level(sigil, strictness); end
|
171
264
|
def check_strictness_not_empty(sigil, strictness); end
|
172
265
|
def check_strictness_valid(sigil, strictness); end
|
266
|
+
def exact_strictness; end
|
173
267
|
def extract_sigil(processed_source); end
|
174
268
|
def extract_strictness(sigil); end
|
175
269
|
def investigate(processed_source); end
|
176
270
|
def minimum_strictness; end
|
177
271
|
def require_sigil_on_all_files?; end
|
178
272
|
def suggested_strictness; end
|
179
|
-
def suggested_strictness_level
|
273
|
+
def suggested_strictness_level; end
|
180
274
|
end
|
181
275
|
class RuboCop::Cop::Sorbet::HasSigil < RuboCop::Cop::Sorbet::ValidSigil
|
182
276
|
def require_sigil_on_all_files?; end
|
@@ -7,142 +7,11 @@
|
|
7
7
|
#
|
8
8
|
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/ruby-progressbar/all/ruby-progressbar.rbi
|
9
9
|
#
|
10
|
-
# ruby-progressbar-1.
|
10
|
+
# ruby-progressbar-1.13.0
|
11
11
|
|
12
12
|
class ProgressBar
|
13
13
|
def self.create(*args); end
|
14
14
|
end
|
15
|
-
class ProgressBar::Output
|
16
|
-
def bar; end
|
17
|
-
def bar=(arg0); end
|
18
|
-
def clear_string; end
|
19
|
-
def initialize(options = nil); end
|
20
|
-
def length; end
|
21
|
-
def length_calculator; end
|
22
|
-
def length_calculator=(arg0); end
|
23
|
-
def log(string); end
|
24
|
-
def print_and_flush; end
|
25
|
-
def refresh(options = nil); end
|
26
|
-
def self.detect(options = nil); end
|
27
|
-
def stream; end
|
28
|
-
def stream=(arg0); end
|
29
|
-
def throttle; end
|
30
|
-
def throttle=(arg0); end
|
31
|
-
def with_refresh; end
|
32
|
-
end
|
33
|
-
module ProgressBar::Outputs
|
34
|
-
end
|
35
|
-
class ProgressBar::Outputs::Tty < ProgressBar::Output
|
36
|
-
def bar_update_string; end
|
37
|
-
def clear; end
|
38
|
-
def default_format; end
|
39
|
-
def eol; end
|
40
|
-
def refresh_with_format_change; end
|
41
|
-
def resolve_format(other_format); end
|
42
|
-
end
|
43
|
-
class ProgressBar::Outputs::NonTty < ProgressBar::Output
|
44
|
-
def bar_update_string; end
|
45
|
-
def clear; end
|
46
|
-
def default_format; end
|
47
|
-
def eol; end
|
48
|
-
def last_update_length; end
|
49
|
-
def last_update_length=(arg0); end
|
50
|
-
def refresh_with_format_change(*arg0); end
|
51
|
-
def resolve_format(*arg0); end
|
52
|
-
end
|
53
|
-
class ProgressBar::Time
|
54
|
-
def initialize(time = nil); end
|
55
|
-
def now; end
|
56
|
-
def time; end
|
57
|
-
def time=(arg0); end
|
58
|
-
def unmocked_time_method; end
|
59
|
-
end
|
60
|
-
class ProgressBar::Timer
|
61
|
-
def divide_seconds(seconds); end
|
62
|
-
def elapsed_seconds; end
|
63
|
-
def elapsed_whole_seconds; end
|
64
|
-
def initialize(options = nil); end
|
65
|
-
def pause; end
|
66
|
-
def reset; end
|
67
|
-
def reset?; end
|
68
|
-
def restart; end
|
69
|
-
def resume; end
|
70
|
-
def start; end
|
71
|
-
def started?; end
|
72
|
-
def started_at; end
|
73
|
-
def started_at=(arg0); end
|
74
|
-
def stop; end
|
75
|
-
def stopped?; end
|
76
|
-
def stopped_at; end
|
77
|
-
def stopped_at=(arg0); end
|
78
|
-
def time; end
|
79
|
-
def time=(arg0); end
|
80
|
-
end
|
81
|
-
class ProgressBar::InvalidProgressError < RuntimeError
|
82
|
-
end
|
83
|
-
class ProgressBar::Progress
|
84
|
-
def absolute; end
|
85
|
-
def decrement; end
|
86
|
-
def finish; end
|
87
|
-
def finished?; end
|
88
|
-
def increment; end
|
89
|
-
def initialize(options = nil); end
|
90
|
-
def none?; end
|
91
|
-
def percentage_completed; end
|
92
|
-
def percentage_completed_with_precision; end
|
93
|
-
def progress; end
|
94
|
-
def progress=(new_progress); end
|
95
|
-
def reset; end
|
96
|
-
def running_average; end
|
97
|
-
def running_average=(arg0); end
|
98
|
-
def smoothing; end
|
99
|
-
def smoothing=(arg0); end
|
100
|
-
def start(options = nil); end
|
101
|
-
def starting_position; end
|
102
|
-
def starting_position=(arg0); end
|
103
|
-
def total; end
|
104
|
-
def total=(new_total); end
|
105
|
-
def total_with_unknown_indicator; end
|
106
|
-
def unknown?; end
|
107
|
-
end
|
108
|
-
class ProgressBar::Throttle
|
109
|
-
def choke(options = nil); end
|
110
|
-
def initialize(options = nil); end
|
111
|
-
def rate; end
|
112
|
-
def rate=(arg0); end
|
113
|
-
def started_at; end
|
114
|
-
def started_at=(arg0); end
|
115
|
-
def stopped_at; end
|
116
|
-
def stopped_at=(arg0); end
|
117
|
-
def timer; end
|
118
|
-
def timer=(arg0); end
|
119
|
-
end
|
120
|
-
module ProgressBar::Calculators
|
121
|
-
end
|
122
|
-
class ProgressBar::Calculators::Length
|
123
|
-
def calculate_length; end
|
124
|
-
def current_length; end
|
125
|
-
def current_length=(arg0); end
|
126
|
-
def dynamic_width; end
|
127
|
-
def dynamic_width_stty; end
|
128
|
-
def dynamic_width_tput; end
|
129
|
-
def dynamic_width_via_io_object; end
|
130
|
-
def dynamic_width_via_output_stream_object; end
|
131
|
-
def dynamic_width_via_system_calls; end
|
132
|
-
def initialize(options = nil); end
|
133
|
-
def length; end
|
134
|
-
def length_changed?; end
|
135
|
-
def length_override; end
|
136
|
-
def length_override=(other); end
|
137
|
-
def output; end
|
138
|
-
def output=(arg0); end
|
139
|
-
def reset_length; end
|
140
|
-
def terminal_width; end
|
141
|
-
def unix?; end
|
142
|
-
end
|
143
|
-
class ProgressBar::Calculators::RunningAverage
|
144
|
-
def self.calculate(current_average, new_value_to_average, smoothing_factor); end
|
145
|
-
end
|
146
15
|
module ProgressBar::Components
|
147
16
|
end
|
148
17
|
class ProgressBar::Components::Bar
|
@@ -190,28 +59,25 @@ class ProgressBar::Components::Rate
|
|
190
59
|
def rate_scale; end
|
191
60
|
def rate_scale=(arg0); end
|
192
61
|
def scaled_rate; end
|
193
|
-
def started_at; end
|
194
|
-
def started_at=(arg0); end
|
195
|
-
def stopped_at; end
|
196
|
-
def stopped_at=(arg0); end
|
197
62
|
def timer; end
|
198
63
|
def timer=(arg0); end
|
199
64
|
end
|
200
65
|
class ProgressBar::Components::Time
|
201
66
|
def elapsed; end
|
202
67
|
def elapsed_with_label; end
|
203
|
-
def estimated; end
|
68
|
+
def estimated(out_of_bounds_time_format); end
|
204
69
|
def estimated_seconds_remaining; end
|
205
|
-
def
|
70
|
+
def estimated_wall_clock; end
|
71
|
+
def estimated_with_elapsed_fallback(out_of_bounds_time_format); end
|
206
72
|
def estimated_with_friendly_oob; end
|
207
|
-
def estimated_with_label; end
|
73
|
+
def estimated_with_label(out_of_bounds_time_format = nil); end
|
208
74
|
def estimated_with_no_oob; end
|
209
75
|
def estimated_with_unknown_oob; end
|
210
76
|
def initialize(options = nil); end
|
211
|
-
def out_of_bounds_time_format; end
|
212
|
-
def out_of_bounds_time_format=(format); end
|
213
77
|
def progress; end
|
214
78
|
def progress=(arg0); end
|
79
|
+
def projector; end
|
80
|
+
def projector=(arg0); end
|
215
81
|
def timer; end
|
216
82
|
def timer=(arg0); end
|
217
83
|
end
|
@@ -222,6 +88,9 @@ class ProgressBar::Components::Title
|
|
222
88
|
end
|
223
89
|
module ProgressBar::Format
|
224
90
|
end
|
91
|
+
class ProgressBar::Format::Formatter
|
92
|
+
def self.process(format_string, max_length, bar); end
|
93
|
+
end
|
225
94
|
class ProgressBar::Format::Molecule
|
226
95
|
def bar_molecule?; end
|
227
96
|
def full_key; end
|
@@ -233,9 +102,6 @@ class ProgressBar::Format::Molecule
|
|
233
102
|
def method_name=(arg0); end
|
234
103
|
def non_bar_molecule?; end
|
235
104
|
end
|
236
|
-
class ProgressBar::Format::Formatter
|
237
|
-
def self.process(format_string, max_length, bar); end
|
238
|
-
end
|
239
105
|
class ProgressBar::Format::String < String
|
240
106
|
def bar_molecule_placeholder_length; end
|
241
107
|
def bar_molecules; end
|
@@ -243,13 +109,162 @@ class ProgressBar::Format::String < String
|
|
243
109
|
def molecules; end
|
244
110
|
def non_bar_molecules; end
|
245
111
|
end
|
112
|
+
module ProgressBar::Calculators
|
113
|
+
end
|
114
|
+
class ProgressBar::Calculators::Length
|
115
|
+
def calculate_length; end
|
116
|
+
def current_length; end
|
117
|
+
def current_length=(arg0); end
|
118
|
+
def dynamic_width; end
|
119
|
+
def dynamic_width_stty; end
|
120
|
+
def dynamic_width_tput; end
|
121
|
+
def dynamic_width_via_io_object; end
|
122
|
+
def dynamic_width_via_output_stream_object; end
|
123
|
+
def dynamic_width_via_system_calls; end
|
124
|
+
def initialize(options = nil); end
|
125
|
+
def length; end
|
126
|
+
def length_changed?; end
|
127
|
+
def length_override; end
|
128
|
+
def length_override=(other); end
|
129
|
+
def output; end
|
130
|
+
def output=(arg0); end
|
131
|
+
def reset_length; end
|
132
|
+
def terminal_width; end
|
133
|
+
def unix?; end
|
134
|
+
end
|
135
|
+
class ProgressBar::Throttle
|
136
|
+
def choke(options = nil); end
|
137
|
+
def initialize(options = nil); end
|
138
|
+
def rate; end
|
139
|
+
def rate=(arg0); end
|
140
|
+
def started_at; end
|
141
|
+
def started_at=(arg0); end
|
142
|
+
def stopped_at; end
|
143
|
+
def stopped_at=(arg0); end
|
144
|
+
def timer; end
|
145
|
+
def timer=(arg0); end
|
146
|
+
end
|
147
|
+
class ProgressBar::Output
|
148
|
+
def bar; end
|
149
|
+
def bar=(arg0); end
|
150
|
+
def clear_string; end
|
151
|
+
def initialize(options = nil); end
|
152
|
+
def length; end
|
153
|
+
def length_calculator; end
|
154
|
+
def length_calculator=(arg0); end
|
155
|
+
def log(string); end
|
156
|
+
def print_and_flush; end
|
157
|
+
def refresh(options = nil); end
|
158
|
+
def self.detect(options = nil); end
|
159
|
+
def stream; end
|
160
|
+
def stream=(arg0); end
|
161
|
+
def throttle; end
|
162
|
+
def throttle=(arg0); end
|
163
|
+
def with_refresh; end
|
164
|
+
end
|
165
|
+
module ProgressBar::Outputs
|
166
|
+
end
|
167
|
+
class ProgressBar::Outputs::NonTty < ProgressBar::Output
|
168
|
+
def bar_update_string; end
|
169
|
+
def clear; end
|
170
|
+
def default_format; end
|
171
|
+
def eol; end
|
172
|
+
def last_update_length; end
|
173
|
+
def last_update_length=(arg0); end
|
174
|
+
def refresh_with_format_change(*arg0); end
|
175
|
+
def resolve_format(*arg0); end
|
176
|
+
end
|
177
|
+
class ProgressBar::Outputs::Tty < ProgressBar::Output
|
178
|
+
def bar_update_string; end
|
179
|
+
def clear; end
|
180
|
+
def default_format; end
|
181
|
+
def eol; end
|
182
|
+
def refresh_with_format_change; end
|
183
|
+
def resolve_format(other_format); end
|
184
|
+
end
|
185
|
+
class ProgressBar::InvalidProgressError < RuntimeError
|
186
|
+
end
|
187
|
+
class ProgressBar::Progress
|
188
|
+
def absolute; end
|
189
|
+
def decrement; end
|
190
|
+
def finish; end
|
191
|
+
def finished?; end
|
192
|
+
def increment; end
|
193
|
+
def initialize(options = nil); end
|
194
|
+
def none?; end
|
195
|
+
def percentage_completed; end
|
196
|
+
def percentage_completed_with_precision; end
|
197
|
+
def progress; end
|
198
|
+
def progress=(new_progress); end
|
199
|
+
def reset; end
|
200
|
+
def start(options = nil); end
|
201
|
+
def starting_position; end
|
202
|
+
def starting_position=(arg0); end
|
203
|
+
def total; end
|
204
|
+
def total=(new_total); end
|
205
|
+
def total_with_unknown_indicator; end
|
206
|
+
def unknown?; end
|
207
|
+
end
|
208
|
+
module ProgressBar::Projectors
|
209
|
+
end
|
210
|
+
class ProgressBar::Projectors::SmoothedAverage
|
211
|
+
def absolute; end
|
212
|
+
def decrement; end
|
213
|
+
def increment; end
|
214
|
+
def initialize(options = nil); end
|
215
|
+
def none?; end
|
216
|
+
def progress; end
|
217
|
+
def progress=(new_progress); end
|
218
|
+
def projection; end
|
219
|
+
def projection=(arg0); end
|
220
|
+
def reset; end
|
221
|
+
def samples; end
|
222
|
+
def samples=(arg0); end
|
223
|
+
def self.calculate(current_projection, new_value, rate); end
|
224
|
+
def start(options = nil); end
|
225
|
+
def strength; end
|
226
|
+
def strength=(arg0); end
|
227
|
+
def total=(_new_total); end
|
228
|
+
end
|
229
|
+
class ProgressBar::Projector
|
230
|
+
def self.from_type(name); end
|
231
|
+
end
|
232
|
+
class ProgressBar::Time
|
233
|
+
def initialize(time = nil); end
|
234
|
+
def now; end
|
235
|
+
def time; end
|
236
|
+
def time=(arg0); end
|
237
|
+
def unmocked_time_method; end
|
238
|
+
end
|
239
|
+
class ProgressBar::Timer
|
240
|
+
def divide_seconds(seconds); end
|
241
|
+
def elapsed_seconds; end
|
242
|
+
def elapsed_whole_seconds; end
|
243
|
+
def initialize(options = nil); end
|
244
|
+
def now; end
|
245
|
+
def pause; end
|
246
|
+
def reset; end
|
247
|
+
def reset?; end
|
248
|
+
def restart; end
|
249
|
+
def resume; end
|
250
|
+
def start; end
|
251
|
+
def started?; end
|
252
|
+
def started_at; end
|
253
|
+
def started_at=(arg0); end
|
254
|
+
def stop; end
|
255
|
+
def stopped?; end
|
256
|
+
def stopped_at; end
|
257
|
+
def stopped_at=(arg0); end
|
258
|
+
def time; end
|
259
|
+
def time=(arg0); end
|
260
|
+
end
|
246
261
|
class ProgressBar::Base
|
247
262
|
def autofinish; end
|
248
263
|
def autofinish=(arg0); end
|
249
264
|
def autostart; end
|
250
265
|
def autostart=(arg0); end
|
251
|
-
def
|
252
|
-
def
|
266
|
+
def bar_component; end
|
267
|
+
def bar_component=(arg0); end
|
253
268
|
def clear(*args, **, &block); end
|
254
269
|
def decrement; end
|
255
270
|
def finish; end
|
@@ -266,15 +281,17 @@ class ProgressBar::Base
|
|
266
281
|
def output=(arg0); end
|
267
282
|
def pause; end
|
268
283
|
def paused?; end
|
269
|
-
def
|
270
|
-
def
|
284
|
+
def percentage_component; end
|
285
|
+
def percentage_component=(arg0); end
|
271
286
|
def progress(*args, **, &block); end
|
272
287
|
def progress=(new_progress); end
|
273
288
|
def progress_mark=(mark); end
|
274
289
|
def progressable; end
|
275
290
|
def progressable=(arg0); end
|
276
|
-
def
|
277
|
-
def
|
291
|
+
def projector; end
|
292
|
+
def projector=(arg0); end
|
293
|
+
def rate_component; end
|
294
|
+
def rate_component=(arg0); end
|
278
295
|
def refresh(*args, **, &block); end
|
279
296
|
def remainder_mark=(mark); end
|
280
297
|
def reset; end
|
@@ -283,14 +300,14 @@ class ProgressBar::Base
|
|
283
300
|
def started?; end
|
284
301
|
def stop; end
|
285
302
|
def stopped?; end
|
286
|
-
def
|
287
|
-
def
|
303
|
+
def time_component; end
|
304
|
+
def time_component=(arg0); end
|
288
305
|
def timer; end
|
289
306
|
def timer=(arg0); end
|
290
307
|
def title; end
|
291
308
|
def title=(title); end
|
292
|
-
def
|
293
|
-
def
|
309
|
+
def title_component; end
|
310
|
+
def title_component=(arg0); end
|
294
311
|
def to_h; end
|
295
312
|
def to_s(new_format = nil); end
|
296
313
|
def total(*args, **, &block); end
|