tsumanne 0.0.2 → 0.0.4
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.
- checksums.yaml +4 -4
- data/.dockerignore +8 -0
- data/.mdlrc +6 -0
- data/.rubocop.yml +20 -12
- data/Dockerfile +24 -0
- data/README.md +0 -4
- data/Rakefile +19 -16
- data/exe/tsumanne +2 -1
- data/lib/tsumanne/api.rb +22 -21
- data/lib/tsumanne/cli.rb +153 -2
- data/lib/tsumanne/models/get_threads.rb +8 -3
- data/lib/tsumanne/models/register_thread.rb +5 -1
- data/lib/tsumanne/models/search_indexes.rb +7 -2
- data/lib/tsumanne/models/search_thread_from_uri.rb +14 -2
- data/lib/tsumanne/version.rb +1 -1
- data/mise.toml +42 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +45 -79
- data/sorbet/rbi/gems/benchmark@0.5.0.rbi +621 -0
- data/sorbet/rbi/gems/{chef-utils@18.2.7.rbi → chef-utils@18.8.54.rbi} +1 -0
- data/sorbet/rbi/gems/{concurrent-ruby@1.2.2.rbi → concurrent-ruby@1.3.5.rbi} +1 -0
- data/sorbet/rbi/gems/{diff-lcs@1.5.0.rbi → diff-lcs@1.6.2.rbi} +183 -199
- data/sorbet/rbi/gems/docile@1.4.0.rbi +147 -147
- data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.1.rbi} +36 -26
- data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.19.4.rbi} +920 -251
- data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +32 -63
- data/sorbet/rbi/gems/{kramdown@2.4.0.rbi → kramdown@2.5.1.rbi} +896 -711
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi +9 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +189 -0
- data/sorbet/rbi/gems/logger@1.7.0.rbi +896 -0
- data/sorbet/rbi/gems/{mdl@0.12.0.rbi → mdl@0.15.0.rbi} +109 -113
- data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +35 -41
- data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +147 -142
- data/sorbet/rbi/gems/{mixlib-shellout@3.2.7.rbi → mixlib-shellout@3.3.9.rbi} +127 -150
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +45 -56
- data/sorbet/rbi/gems/optimist@3.2.1.rbi +895 -0
- data/sorbet/rbi/gems/parallel@1.28.0.rbi +270 -0
- data/sorbet/rbi/gems/parser@3.3.11.1.rbi +5229 -0
- data/sorbet/rbi/gems/prism@1.9.0.rbi +42224 -0
- data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.1.rbi} +48 -44
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +101 -141
- data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.4.2.rbi} +867 -761
- data/sorbet/rbi/gems/rbi@0.3.10.rbi +5520 -0
- data/sorbet/rbi/gems/rbs@4.0.2.rbi +6908 -0
- data/sorbet/rbi/gems/regexp_parser@2.12.0.rbi +3398 -0
- data/sorbet/rbi/gems/require-hooks@0.4.0.rbi +152 -0
- data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.4.4.rbi} +1032 -908
- data/sorbet/rbi/gems/{rspec-core@3.12.2.rbi → rspec-core@3.13.6.rbi} +2860 -4206
- data/sorbet/rbi/gems/rspec-expectations@3.13.5.rbi +6108 -0
- data/sorbet/rbi/gems/{rspec-mocks@3.12.6.rbi → rspec-mocks@3.13.7.rbi} +1264 -1787
- data/sorbet/rbi/gems/rspec-support@3.13.6.rbi +1274 -0
- data/sorbet/rbi/gems/rspec@3.13.2.rbi +15 -0
- data/sorbet/rbi/gems/rubocop-ast@1.49.1.rbi +7212 -0
- data/sorbet/rbi/gems/rubocop-performance@1.26.1.rbi +3403 -0
- data/sorbet/rbi/gems/{rubocop-rake@0.6.0.rbi → rubocop-rake@0.7.1.rbi} +89 -103
- data/sorbet/rbi/gems/rubocop-rspec@3.9.0.rbi +7606 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.12.0.rbi +2448 -0
- data/sorbet/rbi/gems/rubocop@1.86.1.rbi +62232 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +326 -655
- data/sorbet/rbi/gems/rubydex@0.1.0.beta14.rbi +655 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +24 -158
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +450 -606
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +32 -166
- data/sorbet/rbi/gems/spoom@1.7.13.rbi +6151 -0
- data/sorbet/rbi/gems/{tapioca@0.11.8.rbi → tapioca@0.19.1.rbi} +1609 -1379
- data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.5.0.rbi} +1075 -1170
- data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +1 -0
- data/sorbet/rbi/gems/tsort@0.2.0.rbi +389 -0
- data/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi +130 -0
- data/sorbet/rbi/gems/unicode-emoji@4.2.0.rbi +332 -0
- metadata +69 -66
- data/.ruby-version +0 -1
- data/sorbet/rbi/gems/base64@0.1.1.rbi +0 -172
- data/sorbet/rbi/gems/ffi-compiler@1.0.1.rbi +0 -206
- data/sorbet/rbi/gems/ffi@1.15.5.rbi +0 -1994
- data/sorbet/rbi/gems/http-parser@1.2.3.rbi +0 -422
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
- data/sorbet/rbi/gems/mhtml@0.1.6.rbi +0 -353
- data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -273
- data/sorbet/rbi/gems/parser@3.2.2.3.rbi +0 -7253
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
- data/sorbet/rbi/gems/rbi@0.0.17.rbi +0 -2967
- data/sorbet/rbi/gems/regexp_parser@2.8.1.rbi +0 -3749
- data/sorbet/rbi/gems/rspec-expectations@3.12.3.rbi +0 -8100
- data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +0 -1609
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +0 -82
- data/sorbet/rbi/gems/rubocop-ast@1.29.0.rbi +0 -7144
- data/sorbet/rbi/gems/rubocop-capybara@2.18.0.rbi +0 -827
- data/sorbet/rbi/gems/rubocop-factory_bot@2.23.1.rbi +0 -812
- data/sorbet/rbi/gems/rubocop-performance@1.19.0.rbi +0 -3157
- data/sorbet/rbi/gems/rubocop-rspec@2.23.2.rbi +0 -7691
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.3.rbi +0 -1226
- data/sorbet/rbi/gems/rubocop@1.56.2.rbi +0 -56541
- data/sorbet/rbi/gems/spoom@1.2.3.rbi +0 -3199
- data/sorbet/rbi/gems/syntax_tree@6.1.1.rbi +0 -22855
- data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +0 -65
- data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +0 -425
- data/sorbet/rbi/gems/yard@0.9.34.rbi +0 -18219
|
@@ -1,353 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
|
|
3
|
-
# DO NOT EDIT MANUALLY
|
|
4
|
-
# This is an autogenerated file for types exported from the `mhtml` gem.
|
|
5
|
-
# Please instead update this file by running `bin/tapioca gem mhtml`.
|
|
6
|
-
|
|
7
|
-
# source://mhtml//lib/mhtml.rb#2
|
|
8
|
-
module Mhtml
|
|
9
|
-
class << self
|
|
10
|
-
# source://mhtml//lib/mhtml.rb#11
|
|
11
|
-
def is_mhtml(filename); end
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
# source://mhtml//lib/mhtml.rb#5
|
|
16
|
-
Mhtml::DOUBLE_LINE_BREAK = T.let(T.unsafe(nil), String)
|
|
17
|
-
|
|
18
|
-
# source://mhtml//lib/mhtml/document.rb#5
|
|
19
|
-
class Mhtml::Document
|
|
20
|
-
# @return [Document] a new instance of Document
|
|
21
|
-
#
|
|
22
|
-
# source://mhtml//lib/mhtml/document.rb#16
|
|
23
|
-
def initialize(str = T.unsafe(nil)); end
|
|
24
|
-
|
|
25
|
-
# source://mhtml//lib/mhtml/document.rb#43
|
|
26
|
-
def <<(chunk); end
|
|
27
|
-
|
|
28
|
-
# source://mhtml//lib/mhtml/document.rb#47
|
|
29
|
-
def ==(other); end
|
|
30
|
-
|
|
31
|
-
# Returns the value of attribute body.
|
|
32
|
-
#
|
|
33
|
-
# source://mhtml//lib/mhtml/document.rb#8
|
|
34
|
-
def body; end
|
|
35
|
-
|
|
36
|
-
# Sets the attribute body
|
|
37
|
-
#
|
|
38
|
-
# @param value the value to set the attribute body to.
|
|
39
|
-
#
|
|
40
|
-
# source://mhtml//lib/mhtml/document.rb#8
|
|
41
|
-
def body=(_arg0); end
|
|
42
|
-
|
|
43
|
-
# Returns the value of attribute chunked.
|
|
44
|
-
#
|
|
45
|
-
# source://mhtml//lib/mhtml/document.rb#6
|
|
46
|
-
def chunked; end
|
|
47
|
-
|
|
48
|
-
# Returns the value of attribute encoding.
|
|
49
|
-
#
|
|
50
|
-
# source://mhtml//lib/mhtml/document.rb#8
|
|
51
|
-
def encoding; end
|
|
52
|
-
|
|
53
|
-
# Sets the attribute encoding
|
|
54
|
-
#
|
|
55
|
-
# @param value the value to set the attribute encoding to.
|
|
56
|
-
#
|
|
57
|
-
# source://mhtml//lib/mhtml/document.rb#8
|
|
58
|
-
def encoding=(_arg0); end
|
|
59
|
-
|
|
60
|
-
# Returns the value of attribute file_path.
|
|
61
|
-
#
|
|
62
|
-
# source://mhtml//lib/mhtml/document.rb#8
|
|
63
|
-
def file_path; end
|
|
64
|
-
|
|
65
|
-
# Sets the attribute file_path
|
|
66
|
-
#
|
|
67
|
-
# @param value the value to set the attribute file_path to.
|
|
68
|
-
#
|
|
69
|
-
# source://mhtml//lib/mhtml/document.rb#8
|
|
70
|
-
def file_path=(_arg0); end
|
|
71
|
-
|
|
72
|
-
# source://mhtml//lib/mhtml/document.rb#60
|
|
73
|
-
def header(key); end
|
|
74
|
-
|
|
75
|
-
# Returns the value of attribute headers.
|
|
76
|
-
#
|
|
77
|
-
# source://mhtml//lib/mhtml/document.rb#8
|
|
78
|
-
def headers; end
|
|
79
|
-
|
|
80
|
-
# Sets the attribute headers
|
|
81
|
-
#
|
|
82
|
-
# @param value the value to set the attribute headers to.
|
|
83
|
-
#
|
|
84
|
-
# source://mhtml//lib/mhtml/document.rb#8
|
|
85
|
-
def headers=(_arg0); end
|
|
86
|
-
|
|
87
|
-
# Returns the value of attribute is_base_64.
|
|
88
|
-
#
|
|
89
|
-
# source://mhtml//lib/mhtml/document.rb#8
|
|
90
|
-
def is_base_64; end
|
|
91
|
-
|
|
92
|
-
# Sets the attribute is_base_64
|
|
93
|
-
#
|
|
94
|
-
# @param value the value to set the attribute is_base_64 to.
|
|
95
|
-
#
|
|
96
|
-
# source://mhtml//lib/mhtml/document.rb#8
|
|
97
|
-
def is_base_64=(_arg0); end
|
|
98
|
-
|
|
99
|
-
# Returns the value of attribute is_quoted_printable.
|
|
100
|
-
#
|
|
101
|
-
# source://mhtml//lib/mhtml/document.rb#8
|
|
102
|
-
def is_quoted_printable; end
|
|
103
|
-
|
|
104
|
-
# Sets the attribute is_quoted_printable
|
|
105
|
-
#
|
|
106
|
-
# @param value the value to set the attribute is_quoted_printable to.
|
|
107
|
-
#
|
|
108
|
-
# source://mhtml//lib/mhtml/document.rb#8
|
|
109
|
-
def is_quoted_printable=(_arg0); end
|
|
110
|
-
|
|
111
|
-
# source://mhtml//lib/mhtml/document.rb#56
|
|
112
|
-
def on_body; end
|
|
113
|
-
|
|
114
|
-
# source://mhtml//lib/mhtml/document.rb#52
|
|
115
|
-
def on_header; end
|
|
116
|
-
|
|
117
|
-
# Returns the value of attribute parser.
|
|
118
|
-
#
|
|
119
|
-
# source://mhtml//lib/mhtml/document.rb#6
|
|
120
|
-
def parser; end
|
|
121
|
-
|
|
122
|
-
# source://mhtml//lib/mhtml/document.rb#73
|
|
123
|
-
def relative_file_path; end
|
|
124
|
-
|
|
125
|
-
# Returns the value of attribute root_doc.
|
|
126
|
-
#
|
|
127
|
-
# source://mhtml//lib/mhtml/document.rb#8
|
|
128
|
-
def root_doc; end
|
|
129
|
-
|
|
130
|
-
# Sets the attribute root_doc
|
|
131
|
-
#
|
|
132
|
-
# @param value the value to set the attribute root_doc to.
|
|
133
|
-
#
|
|
134
|
-
# source://mhtml//lib/mhtml/document.rb#8
|
|
135
|
-
def root_doc=(_arg0); end
|
|
136
|
-
|
|
137
|
-
# for testing only = no spec implemented
|
|
138
|
-
#
|
|
139
|
-
# source://mhtml//lib/mhtml/document.rb#97
|
|
140
|
-
def to_s; end
|
|
141
|
-
|
|
142
|
-
private
|
|
143
|
-
|
|
144
|
-
# source://mhtml//lib/mhtml/document.rb#169
|
|
145
|
-
def decode(str); end
|
|
146
|
-
|
|
147
|
-
# source://mhtml//lib/mhtml/document.rb#113
|
|
148
|
-
def handle_body(inst, data); end
|
|
149
|
-
|
|
150
|
-
# source://mhtml//lib/mhtml/document.rb#103
|
|
151
|
-
def handle_header_field(inst, data); end
|
|
152
|
-
|
|
153
|
-
# source://mhtml//lib/mhtml/document.rb#109
|
|
154
|
-
def handle_header_value(inst, data); end
|
|
155
|
-
|
|
156
|
-
# source://mhtml//lib/mhtml/document.rb#125
|
|
157
|
-
def handle_message_begin(inst); end
|
|
158
|
-
|
|
159
|
-
# source://mhtml//lib/mhtml/document.rb#128
|
|
160
|
-
def handle_message_complete(inst); end
|
|
161
|
-
|
|
162
|
-
# source://mhtml//lib/mhtml/document.rb#131
|
|
163
|
-
def maybe_create_header; end
|
|
164
|
-
end
|
|
165
|
-
|
|
166
|
-
# source://mhtml//lib/mhtml.rb#9
|
|
167
|
-
Mhtml::FILE_EXTENSIONS = T.let(T.unsafe(nil), Array)
|
|
168
|
-
|
|
169
|
-
# source://mhtml//lib/mhtml/http_header.rb#2
|
|
170
|
-
class Mhtml::HttpHeader
|
|
171
|
-
# @return [HttpHeader] a new instance of HttpHeader
|
|
172
|
-
#
|
|
173
|
-
# source://mhtml//lib/mhtml/http_header.rb#10
|
|
174
|
-
def initialize(key_or_hash, value_lines = T.unsafe(nil)); end
|
|
175
|
-
|
|
176
|
-
# source://mhtml//lib/mhtml/http_header.rb#33
|
|
177
|
-
def ==(other); end
|
|
178
|
-
|
|
179
|
-
# source://mhtml//lib/mhtml/http_header.rb#55
|
|
180
|
-
def clone; end
|
|
181
|
-
|
|
182
|
-
# Returns the value of attribute key.
|
|
183
|
-
#
|
|
184
|
-
# source://mhtml//lib/mhtml/http_header.rb#5
|
|
185
|
-
def key; end
|
|
186
|
-
|
|
187
|
-
# Sets the attribute key
|
|
188
|
-
#
|
|
189
|
-
# @param value the value to set the attribute key to.
|
|
190
|
-
#
|
|
191
|
-
# source://mhtml//lib/mhtml/http_header.rb#5
|
|
192
|
-
def key=(_arg0); end
|
|
193
|
-
|
|
194
|
-
# following methods are for debugging only - no spec implemented
|
|
195
|
-
#
|
|
196
|
-
# source://mhtml//lib/mhtml/http_header.rb#51
|
|
197
|
-
def to_s; end
|
|
198
|
-
|
|
199
|
-
# source://mhtml//lib/mhtml/http_header.rb#37
|
|
200
|
-
def value(key); end
|
|
201
|
-
|
|
202
|
-
# Returns the value of attribute values.
|
|
203
|
-
#
|
|
204
|
-
# source://mhtml//lib/mhtml/http_header.rb#5
|
|
205
|
-
def values; end
|
|
206
|
-
|
|
207
|
-
# Sets the attribute values
|
|
208
|
-
#
|
|
209
|
-
# @param value the value to set the attribute values to.
|
|
210
|
-
#
|
|
211
|
-
# source://mhtml//lib/mhtml/http_header.rb#5
|
|
212
|
-
def values=(_arg0); end
|
|
213
|
-
end
|
|
214
|
-
|
|
215
|
-
# source://mhtml//lib/mhtml/http_header.rb#7
|
|
216
|
-
Mhtml::HttpHeader::KEY_VALUE_SEP = T.let(T.unsafe(nil), String)
|
|
217
|
-
|
|
218
|
-
# source://mhtml//lib/mhtml/http_header.rb#8
|
|
219
|
-
Mhtml::HttpHeader::VALUE_SEP = T.let(T.unsafe(nil), String)
|
|
220
|
-
|
|
221
|
-
# source://mhtml//lib/mhtml/http_header.rb#60
|
|
222
|
-
class Mhtml::HttpHeader::Value
|
|
223
|
-
# str examples:
|
|
224
|
-
# value
|
|
225
|
-
# key="value"
|
|
226
|
-
#
|
|
227
|
-
# @return [Value] a new instance of Value
|
|
228
|
-
#
|
|
229
|
-
# source://mhtml//lib/mhtml/http_header.rb#66
|
|
230
|
-
def initialize(str_or_hash); end
|
|
231
|
-
|
|
232
|
-
# source://mhtml//lib/mhtml/http_header.rb#85
|
|
233
|
-
def ==(other); end
|
|
234
|
-
|
|
235
|
-
# source://mhtml//lib/mhtml/http_header.rb#98
|
|
236
|
-
def clone; end
|
|
237
|
-
|
|
238
|
-
# Returns the value of attribute key.
|
|
239
|
-
#
|
|
240
|
-
# source://mhtml//lib/mhtml/http_header.rb#61
|
|
241
|
-
def key; end
|
|
242
|
-
|
|
243
|
-
# following methods are for debugging only - no spec implemented
|
|
244
|
-
#
|
|
245
|
-
# source://mhtml//lib/mhtml/http_header.rb#90
|
|
246
|
-
def to_s; end
|
|
247
|
-
|
|
248
|
-
# Returns the value of attribute value.
|
|
249
|
-
#
|
|
250
|
-
# source://mhtml//lib/mhtml/http_header.rb#61
|
|
251
|
-
def value; end
|
|
252
|
-
end
|
|
253
|
-
|
|
254
|
-
# source://mhtml//lib/mhtml.rb#4
|
|
255
|
-
Mhtml::LINE_BREAK = T.let(T.unsafe(nil), String)
|
|
256
|
-
|
|
257
|
-
# source://mhtml//lib/mhtml/root_document.rb#2
|
|
258
|
-
class Mhtml::RootDocument < ::Mhtml::Document
|
|
259
|
-
# @return [RootDocument] a new instance of RootDocument
|
|
260
|
-
#
|
|
261
|
-
# source://mhtml//lib/mhtml/root_document.rb#7
|
|
262
|
-
def initialize(str = T.unsafe(nil)); end
|
|
263
|
-
|
|
264
|
-
# source://mhtml//lib/mhtml/root_document.rb#12
|
|
265
|
-
def ==(other); end
|
|
266
|
-
|
|
267
|
-
# Returns the value of attribute boundary.
|
|
268
|
-
#
|
|
269
|
-
# source://mhtml//lib/mhtml/root_document.rb#5
|
|
270
|
-
def boundary; end
|
|
271
|
-
|
|
272
|
-
# Sets the attribute boundary
|
|
273
|
-
#
|
|
274
|
-
# @param value the value to set the attribute boundary to.
|
|
275
|
-
#
|
|
276
|
-
# source://mhtml//lib/mhtml/root_document.rb#5
|
|
277
|
-
def boundary=(_arg0); end
|
|
278
|
-
|
|
279
|
-
# source://mhtml//lib/mhtml/root_document.rb#32
|
|
280
|
-
def boundary_str; end
|
|
281
|
-
|
|
282
|
-
# source://mhtml//lib/mhtml/root_document.rb#36
|
|
283
|
-
def last_boundary_str; end
|
|
284
|
-
|
|
285
|
-
# source://mhtml//lib/mhtml/root_document.rb#16
|
|
286
|
-
def on_subdoc_begin; end
|
|
287
|
-
|
|
288
|
-
# source://mhtml//lib/mhtml/root_document.rb#24
|
|
289
|
-
def on_subdoc_body; end
|
|
290
|
-
|
|
291
|
-
# source://mhtml//lib/mhtml/root_document.rb#28
|
|
292
|
-
def on_subdoc_complete; end
|
|
293
|
-
|
|
294
|
-
# source://mhtml//lib/mhtml/root_document.rb#20
|
|
295
|
-
def on_subdoc_header; end
|
|
296
|
-
|
|
297
|
-
# Returns the value of attribute sub_docs.
|
|
298
|
-
#
|
|
299
|
-
# source://mhtml//lib/mhtml/root_document.rb#5
|
|
300
|
-
def sub_docs; end
|
|
301
|
-
|
|
302
|
-
# Sets the attribute sub_docs
|
|
303
|
-
#
|
|
304
|
-
# @param value the value to set the attribute sub_docs to.
|
|
305
|
-
#
|
|
306
|
-
# source://mhtml//lib/mhtml/root_document.rb#5
|
|
307
|
-
def sub_docs=(_arg0); end
|
|
308
|
-
|
|
309
|
-
# for testing only = no spec implemented
|
|
310
|
-
#
|
|
311
|
-
# source://mhtml//lib/mhtml/root_document.rb#41
|
|
312
|
-
def to_s; end
|
|
313
|
-
|
|
314
|
-
private
|
|
315
|
-
|
|
316
|
-
# source://mhtml//lib/mhtml/root_document.rb#113
|
|
317
|
-
def create_chunked_subdoc; end
|
|
318
|
-
|
|
319
|
-
# source://mhtml//lib/mhtml/root_document.rb#49
|
|
320
|
-
def handle_body(inst, data); end
|
|
321
|
-
|
|
322
|
-
# source://mhtml//lib/mhtml/root_document.rb#81
|
|
323
|
-
def handle_chunked_body(chunk, is_last_part, is_last_subdoc); end
|
|
324
|
-
end
|
|
325
|
-
|
|
326
|
-
# source://mhtml//lib/mhtml/root_document.rb#3
|
|
327
|
-
Mhtml::RootDocument::BOUNDARY_PREFIX = T.let(T.unsafe(nil), String)
|
|
328
|
-
|
|
329
|
-
# source://mhtml//lib/mhtml.rb#7
|
|
330
|
-
Mhtml::STATUS_LINE = T.let(T.unsafe(nil), String)
|
|
331
|
-
|
|
332
|
-
# source://mhtml//lib/mhtml/version.rb#2
|
|
333
|
-
Mhtml::VERSION = T.let(T.unsafe(nil), String)
|
|
334
|
-
|
|
335
|
-
# source://mhtml//lib/string.rb#1
|
|
336
|
-
class String
|
|
337
|
-
include ::Comparable
|
|
338
|
-
|
|
339
|
-
# source://mhtml//lib/string.rb#3
|
|
340
|
-
def each_index(x); end
|
|
341
|
-
|
|
342
|
-
# source://mhtml//lib/string.rb#43
|
|
343
|
-
def index_of_split(other); end
|
|
344
|
-
|
|
345
|
-
# source://mhtml//lib/string.rb#54
|
|
346
|
-
def rindex_of_split(other); end
|
|
347
|
-
|
|
348
|
-
# source://mhtml//lib/string.rb#19
|
|
349
|
-
def strip_other(str); end
|
|
350
|
-
|
|
351
|
-
# source://mhtml//lib/string.rb#35
|
|
352
|
-
def underscore; end
|
|
353
|
-
end
|
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
|
|
3
|
-
# DO NOT EDIT MANUALLY
|
|
4
|
-
# This is an autogenerated file for types exported from the `parallel` gem.
|
|
5
|
-
# Please instead update this file by running `bin/tapioca gem parallel`.
|
|
6
|
-
|
|
7
|
-
# source://parallel//lib/parallel/version.rb#2
|
|
8
|
-
module Parallel
|
|
9
|
-
class << self
|
|
10
|
-
# @return [Boolean]
|
|
11
|
-
#
|
|
12
|
-
# source://parallel//lib/parallel.rb#243
|
|
13
|
-
def all?(*args, &block); end
|
|
14
|
-
|
|
15
|
-
# @return [Boolean]
|
|
16
|
-
#
|
|
17
|
-
# source://parallel//lib/parallel.rb#238
|
|
18
|
-
def any?(*args, &block); end
|
|
19
|
-
|
|
20
|
-
# source://parallel//lib/parallel.rb#234
|
|
21
|
-
def each(array, options = T.unsafe(nil), &block); end
|
|
22
|
-
|
|
23
|
-
# source://parallel//lib/parallel.rb#248
|
|
24
|
-
def each_with_index(array, options = T.unsafe(nil), &block); end
|
|
25
|
-
|
|
26
|
-
# source://parallel//lib/parallel.rb#307
|
|
27
|
-
def filter_map(*args, &block); end
|
|
28
|
-
|
|
29
|
-
# source://parallel//lib/parallel.rb#303
|
|
30
|
-
def flat_map(*args, &block); end
|
|
31
|
-
|
|
32
|
-
# source://parallel//lib/parallel.rb#228
|
|
33
|
-
def in_processes(options = T.unsafe(nil), &block); end
|
|
34
|
-
|
|
35
|
-
# source://parallel//lib/parallel.rb#212
|
|
36
|
-
def in_threads(options = T.unsafe(nil)); end
|
|
37
|
-
|
|
38
|
-
# source://parallel//lib/parallel.rb#252
|
|
39
|
-
def map(source, options = T.unsafe(nil), &block); end
|
|
40
|
-
|
|
41
|
-
# source://parallel//lib/parallel.rb#299
|
|
42
|
-
def map_with_index(array, options = T.unsafe(nil), &block); end
|
|
43
|
-
|
|
44
|
-
# Number of physical processor cores on the current system.
|
|
45
|
-
#
|
|
46
|
-
# source://parallel//lib/parallel.rb#312
|
|
47
|
-
def physical_processor_count; end
|
|
48
|
-
|
|
49
|
-
# Number of processors seen by the OS, used for process scheduling
|
|
50
|
-
#
|
|
51
|
-
# source://parallel//lib/parallel.rb#345
|
|
52
|
-
def processor_count; end
|
|
53
|
-
|
|
54
|
-
# source://parallel//lib/parallel.rb#350
|
|
55
|
-
def worker_number; end
|
|
56
|
-
|
|
57
|
-
# TODO: this does not work when doing threads in forks, so should remove and yield the number instead if needed
|
|
58
|
-
#
|
|
59
|
-
# source://parallel//lib/parallel.rb#355
|
|
60
|
-
def worker_number=(worker_num); end
|
|
61
|
-
|
|
62
|
-
private
|
|
63
|
-
|
|
64
|
-
# source://parallel//lib/parallel.rb#361
|
|
65
|
-
def add_progress_bar!(job_factory, options); end
|
|
66
|
-
|
|
67
|
-
# source://parallel//lib/parallel.rb#624
|
|
68
|
-
def call_with_index(item, index, options, &block); end
|
|
69
|
-
|
|
70
|
-
# source://parallel//lib/parallel.rb#556
|
|
71
|
-
def create_workers(job_factory, options, &block); end
|
|
72
|
-
|
|
73
|
-
# options is either a Integer or a Hash with :count
|
|
74
|
-
#
|
|
75
|
-
# source://parallel//lib/parallel.rb#614
|
|
76
|
-
def extract_count_from_options(options); end
|
|
77
|
-
|
|
78
|
-
# source://parallel//lib/parallel.rb#642
|
|
79
|
-
def instrument_finish(item, index, result, options); end
|
|
80
|
-
|
|
81
|
-
# source://parallel//lib/parallel.rb#647
|
|
82
|
-
def instrument_start(item, index, options); end
|
|
83
|
-
|
|
84
|
-
# source://parallel//lib/parallel.rb#590
|
|
85
|
-
def process_incoming_jobs(read, write, job_factory, options, &block); end
|
|
86
|
-
|
|
87
|
-
# source://parallel//lib/parallel.rb#544
|
|
88
|
-
def replace_worker(job_factory, workers, index, options, blk); end
|
|
89
|
-
|
|
90
|
-
# source://parallel//lib/parallel.rb#635
|
|
91
|
-
def with_instrumentation(item, index, options); end
|
|
92
|
-
|
|
93
|
-
# source://parallel//lib/parallel.rb#386
|
|
94
|
-
def work_direct(job_factory, options, &block); end
|
|
95
|
-
|
|
96
|
-
# source://parallel//lib/parallel.rb#496
|
|
97
|
-
def work_in_processes(job_factory, options, &blk); end
|
|
98
|
-
|
|
99
|
-
# source://parallel//lib/parallel.rb#430
|
|
100
|
-
def work_in_ractors(job_factory, options); end
|
|
101
|
-
|
|
102
|
-
# source://parallel//lib/parallel.rb#405
|
|
103
|
-
def work_in_threads(job_factory, options, &block); end
|
|
104
|
-
|
|
105
|
-
# source://parallel//lib/parallel.rb#564
|
|
106
|
-
def worker(job_factory, options, &block); end
|
|
107
|
-
end
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
# source://parallel//lib/parallel.rb#11
|
|
111
|
-
class Parallel::Break < ::StandardError
|
|
112
|
-
# @return [Break] a new instance of Break
|
|
113
|
-
#
|
|
114
|
-
# source://parallel//lib/parallel.rb#14
|
|
115
|
-
def initialize(value = T.unsafe(nil)); end
|
|
116
|
-
|
|
117
|
-
# Returns the value of attribute value.
|
|
118
|
-
#
|
|
119
|
-
# source://parallel//lib/parallel.rb#12
|
|
120
|
-
def value; end
|
|
121
|
-
end
|
|
122
|
-
|
|
123
|
-
# source://parallel//lib/parallel.rb#8
|
|
124
|
-
class Parallel::DeadWorker < ::StandardError; end
|
|
125
|
-
|
|
126
|
-
# source://parallel//lib/parallel.rb#32
|
|
127
|
-
class Parallel::ExceptionWrapper
|
|
128
|
-
# @return [ExceptionWrapper] a new instance of ExceptionWrapper
|
|
129
|
-
#
|
|
130
|
-
# source://parallel//lib/parallel.rb#35
|
|
131
|
-
def initialize(exception); end
|
|
132
|
-
|
|
133
|
-
# Returns the value of attribute exception.
|
|
134
|
-
#
|
|
135
|
-
# source://parallel//lib/parallel.rb#33
|
|
136
|
-
def exception; end
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
# source://parallel//lib/parallel.rb#98
|
|
140
|
-
class Parallel::JobFactory
|
|
141
|
-
# @return [JobFactory] a new instance of JobFactory
|
|
142
|
-
#
|
|
143
|
-
# source://parallel//lib/parallel.rb#99
|
|
144
|
-
def initialize(source, mutex); end
|
|
145
|
-
|
|
146
|
-
# source://parallel//lib/parallel.rb#107
|
|
147
|
-
def next; end
|
|
148
|
-
|
|
149
|
-
# generate item that is sent to workers
|
|
150
|
-
# just index is faster + less likely to blow up with unserializable errors
|
|
151
|
-
#
|
|
152
|
-
# source://parallel//lib/parallel.rb#136
|
|
153
|
-
def pack(item, index); end
|
|
154
|
-
|
|
155
|
-
# source://parallel//lib/parallel.rb#126
|
|
156
|
-
def size; end
|
|
157
|
-
|
|
158
|
-
# unpack item that is sent to workers
|
|
159
|
-
#
|
|
160
|
-
# source://parallel//lib/parallel.rb#141
|
|
161
|
-
def unpack(data); end
|
|
162
|
-
|
|
163
|
-
private
|
|
164
|
-
|
|
165
|
-
# @return [Boolean]
|
|
166
|
-
#
|
|
167
|
-
# source://parallel//lib/parallel.rb#147
|
|
168
|
-
def producer?; end
|
|
169
|
-
|
|
170
|
-
# source://parallel//lib/parallel.rb#151
|
|
171
|
-
def queue_wrapper(array); end
|
|
172
|
-
end
|
|
173
|
-
|
|
174
|
-
# source://parallel//lib/parallel.rb#20
|
|
175
|
-
class Parallel::Kill < ::Parallel::Break; end
|
|
176
|
-
|
|
177
|
-
# source://parallel//lib/parallel.rb#6
|
|
178
|
-
Parallel::Stop = T.let(T.unsafe(nil), Object)
|
|
179
|
-
|
|
180
|
-
# source://parallel//lib/parallel.rb#23
|
|
181
|
-
class Parallel::UndumpableException < ::StandardError
|
|
182
|
-
# @return [UndumpableException] a new instance of UndumpableException
|
|
183
|
-
#
|
|
184
|
-
# source://parallel//lib/parallel.rb#26
|
|
185
|
-
def initialize(original); end
|
|
186
|
-
|
|
187
|
-
# Returns the value of attribute backtrace.
|
|
188
|
-
#
|
|
189
|
-
# source://parallel//lib/parallel.rb#24
|
|
190
|
-
def backtrace; end
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
# source://parallel//lib/parallel.rb#156
|
|
194
|
-
class Parallel::UserInterruptHandler
|
|
195
|
-
class << self
|
|
196
|
-
# source://parallel//lib/parallel.rb#181
|
|
197
|
-
def kill(thing); end
|
|
198
|
-
|
|
199
|
-
# kill all these pids or threads if user presses Ctrl+c
|
|
200
|
-
#
|
|
201
|
-
# source://parallel//lib/parallel.rb#161
|
|
202
|
-
def kill_on_ctrl_c(pids, options); end
|
|
203
|
-
|
|
204
|
-
private
|
|
205
|
-
|
|
206
|
-
# source://parallel//lib/parallel.rb#205
|
|
207
|
-
def restore_interrupt(old, signal); end
|
|
208
|
-
|
|
209
|
-
# source://parallel//lib/parallel.rb#190
|
|
210
|
-
def trap_interrupt(signal); end
|
|
211
|
-
end
|
|
212
|
-
end
|
|
213
|
-
|
|
214
|
-
# source://parallel//lib/parallel.rb#157
|
|
215
|
-
Parallel::UserInterruptHandler::INTERRUPT_SIGNAL = T.let(T.unsafe(nil), Symbol)
|
|
216
|
-
|
|
217
|
-
# source://parallel//lib/parallel/version.rb#3
|
|
218
|
-
Parallel::VERSION = T.let(T.unsafe(nil), String)
|
|
219
|
-
|
|
220
|
-
# source://parallel//lib/parallel/version.rb#3
|
|
221
|
-
Parallel::Version = T.let(T.unsafe(nil), String)
|
|
222
|
-
|
|
223
|
-
# source://parallel//lib/parallel.rb#51
|
|
224
|
-
class Parallel::Worker
|
|
225
|
-
# @return [Worker] a new instance of Worker
|
|
226
|
-
#
|
|
227
|
-
# source://parallel//lib/parallel.rb#55
|
|
228
|
-
def initialize(read, write, pid); end
|
|
229
|
-
|
|
230
|
-
# might be passed to started_processes and simultaneously closed by another thread
|
|
231
|
-
# when running in isolation mode, so we have to check if it is closed before closing
|
|
232
|
-
#
|
|
233
|
-
# source://parallel//lib/parallel.rb#68
|
|
234
|
-
def close_pipes; end
|
|
235
|
-
|
|
236
|
-
# Returns the value of attribute pid.
|
|
237
|
-
#
|
|
238
|
-
# source://parallel//lib/parallel.rb#52
|
|
239
|
-
def pid; end
|
|
240
|
-
|
|
241
|
-
# Returns the value of attribute read.
|
|
242
|
-
#
|
|
243
|
-
# source://parallel//lib/parallel.rb#52
|
|
244
|
-
def read; end
|
|
245
|
-
|
|
246
|
-
# source://parallel//lib/parallel.rb#61
|
|
247
|
-
def stop; end
|
|
248
|
-
|
|
249
|
-
# Returns the value of attribute thread.
|
|
250
|
-
#
|
|
251
|
-
# source://parallel//lib/parallel.rb#53
|
|
252
|
-
def thread; end
|
|
253
|
-
|
|
254
|
-
# Sets the attribute thread
|
|
255
|
-
#
|
|
256
|
-
# @param value the value to set the attribute thread to.
|
|
257
|
-
#
|
|
258
|
-
# source://parallel//lib/parallel.rb#53
|
|
259
|
-
def thread=(_arg0); end
|
|
260
|
-
|
|
261
|
-
# source://parallel//lib/parallel.rb#73
|
|
262
|
-
def work(data); end
|
|
263
|
-
|
|
264
|
-
# Returns the value of attribute write.
|
|
265
|
-
#
|
|
266
|
-
# source://parallel//lib/parallel.rb#52
|
|
267
|
-
def write; end
|
|
268
|
-
|
|
269
|
-
private
|
|
270
|
-
|
|
271
|
-
# source://parallel//lib/parallel.rb#91
|
|
272
|
-
def wait; end
|
|
273
|
-
end
|