danger-packwerk 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/lib/danger-packwerk/packwerk_wrapper.rb +2 -2
  3. data/lib/danger-packwerk/version.rb +1 -1
  4. data/sorbet/config +1 -0
  5. data/sorbet/rbi/gems/actionview@7.0.4.rbi +11543 -0
  6. data/sorbet/rbi/gems/activesupport@7.0.4.rbi +12959 -0
  7. data/sorbet/rbi/gems/addressable@2.8.1.rbi +1505 -0
  8. data/sorbet/rbi/gems/ast@2.4.2.rbi +522 -0
  9. data/sorbet/rbi/gems/better_html@2.0.1.rbi +286 -0
  10. data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
  11. data/sorbet/rbi/gems/claide-plugins@0.9.2.rbi +791 -0
  12. data/sorbet/rbi/gems/claide@1.1.0.rbi +1132 -0
  13. data/sorbet/rbi/gems/coderay@1.1.3.rbi +2256 -0
  14. data/sorbet/rbi/gems/colored2@3.1.2.rbi +130 -0
  15. data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +8695 -0
  16. data/sorbet/rbi/gems/cork@0.3.0.rbi +248 -0
  17. data/sorbet/rbi/gems/crass@1.0.6.rbi +436 -0
  18. data/sorbet/rbi/gems/danger-plugin-api@1.0.0.rbi +8 -0
  19. data/sorbet/rbi/gems/danger@9.0.0.rbi +4722 -0
  20. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +862 -0
  21. data/sorbet/rbi/gems/erubi@1.11.0.rbi +102 -0
  22. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +266 -0
  23. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +209 -0
  24. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +212 -0
  25. data/sorbet/rbi/gems/faraday-http-cache@2.4.1.rbi +805 -0
  26. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +221 -0
  27. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +266 -0
  28. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +216 -0
  29. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +206 -0
  30. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +212 -0
  31. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +225 -0
  32. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +222 -0
  33. data/sorbet/rbi/gems/faraday@1.10.2.rbi +1862 -0
  34. data/sorbet/rbi/gems/git@1.12.0.rbi +1936 -0
  35. data/sorbet/rbi/gems/i18n@1.12.0.rbi +1643 -0
  36. data/sorbet/rbi/gems/json@2.6.2.rbi +1418 -0
  37. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +8 -0
  38. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +2168 -0
  39. data/sorbet/rbi/gems/loofah@2.19.0.rbi +646 -0
  40. data/sorbet/rbi/gems/method_source@1.0.0.rbi +199 -0
  41. data/sorbet/rbi/gems/minitest@5.16.3.rbi +997 -0
  42. data/sorbet/rbi/gems/multipart-post@2.2.3.rbi +165 -0
  43. data/sorbet/rbi/gems/nap@1.1.0.rbi +351 -0
  44. data/sorbet/rbi/gems/no_proxy_fix@0.1.2.rbi +8 -0
  45. data/sorbet/rbi/gems/nokogiri@1.13.8.rbi +4916 -0
  46. data/sorbet/rbi/gems/octokit@5.6.1.rbi +8939 -0
  47. data/sorbet/rbi/gems/open4@1.3.4.rbi +8 -0
  48. data/sorbet/rbi/gems/{packwerk@2.1.1.rbi → packwerk@2.2.1.rbi} +602 -51
  49. data/sorbet/rbi/gems/parallel@1.22.1.rbi +163 -0
  50. data/sorbet/rbi/gems/parser@3.1.2.1.rbi +5988 -0
  51. data/sorbet/rbi/gems/pry@0.14.1.rbi +6969 -0
  52. data/sorbet/rbi/gems/public_suffix@5.0.0.rbi +779 -0
  53. data/sorbet/rbi/gems/racc@1.6.0.rbi +92 -0
  54. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +8 -0
  55. data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +493 -0
  56. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +227 -0
  57. data/sorbet/rbi/gems/rake@13.0.6.rbi +1865 -0
  58. data/sorbet/rbi/gems/rbi@0.0.14.rbi +2337 -0
  59. data/sorbet/rbi/gems/rchardet@1.8.0.rbi +587 -0
  60. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +1851 -0
  61. data/sorbet/rbi/gems/rexml@3.2.5.rbi +3852 -0
  62. data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +7725 -0
  63. data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +6201 -0
  64. data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +3625 -0
  65. data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +1176 -0
  66. data/sorbet/rbi/gems/rspec@3.11.0.rbi +40 -0
  67. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +4193 -0
  68. data/sorbet/rbi/gems/rubocop-sorbet@0.6.8.rbi +677 -0
  69. data/sorbet/rbi/gems/rubocop@1.36.0.rbi +37914 -0
  70. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +732 -0
  71. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
  72. data/sorbet/rbi/gems/sawyer@0.9.2.rbi +513 -0
  73. data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +326 -0
  74. data/sorbet/rbi/gems/spoom@1.1.11.rbi +1600 -0
  75. data/sorbet/rbi/gems/tapioca@0.8.0.rbi +1959 -0
  76. data/sorbet/rbi/gems/terminal-table@3.0.2.rbi +438 -0
  77. data/sorbet/rbi/gems/thor@1.2.1.rbi +2921 -0
  78. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +4879 -0
  79. data/sorbet/rbi/gems/unicode-display_width@2.3.0.rbi +27 -0
  80. data/sorbet/rbi/gems/unparser@0.6.5.rbi +2789 -0
  81. data/sorbet/rbi/gems/webrick@1.7.0.rbi +1802 -0
  82. data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +288 -0
  83. data/sorbet/rbi/gems/yard@0.9.27.rbi +12668 -0
  84. data/sorbet/rbi/todo.rbi +122 -0
  85. metadata +84 -7
  86. data/sorbet/rbi/gems/danger@8.5.0.rbi +0 -122
@@ -0,0 +1,587 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `rchardet` gem.
5
+ # Please instead update this file by running `bin/tapioca gem rchardet`.
6
+
7
+ module CharDet
8
+ class << self
9
+ def detect(aBuf); end
10
+ end
11
+ end
12
+
13
+ # accent capital other
14
+ CharDet::ACO = T.let(T.unsafe(nil), Integer)
15
+
16
+ # accent capital vowel
17
+ CharDet::ACV = T.let(T.unsafe(nil), Integer)
18
+
19
+ # ascii capital letter
20
+ CharDet::ASC = T.let(T.unsafe(nil), Integer)
21
+
22
+ # accent small other
23
+ CharDet::ASO = T.let(T.unsafe(nil), Integer)
24
+
25
+ # ascii small letter
26
+ CharDet::ASS = T.let(T.unsafe(nil), Integer)
27
+
28
+ # accent small vowel
29
+ CharDet::ASV = T.let(T.unsafe(nil), Integer)
30
+
31
+ # Char to FreqOrder table
32
+ CharDet::BIG5_TABLE_SIZE = T.let(T.unsafe(nil), Integer)
33
+
34
+ CharDet::BIG5_TYPICAL_DISTRIBUTION_RATIO = T.let(T.unsafe(nil), Float)
35
+
36
+ # BIG5
37
+ CharDet::BIG5_cls = T.let(T.unsafe(nil), Array)
38
+
39
+ CharDet::BIG5_st = T.let(T.unsafe(nil), Array)
40
+ CharDet::Big5CharLenTable = T.let(T.unsafe(nil), Array)
41
+ CharDet::Big5CharToFreqOrder = T.let(T.unsafe(nil), Array)
42
+
43
+ class CharDet::Big5DistributionAnalysis < ::CharDet::CharDistributionAnalysis
44
+ # @return [Big5DistributionAnalysis] a new instance of Big5DistributionAnalysis
45
+ def initialize; end
46
+
47
+ def get_order(aStr); end
48
+ end
49
+
50
+ class CharDet::Big5Prober < ::CharDet::MultiByteCharSetProber
51
+ # @return [Big5Prober] a new instance of Big5Prober
52
+ def initialize; end
53
+
54
+ def get_charset_name; end
55
+ end
56
+
57
+ CharDet::Big5SMModel = T.let(T.unsafe(nil), Hash)
58
+
59
+ # Model Table:
60
+ # total sequences: 100%
61
+ # first 512 sequences: 96.9392%
62
+ # first 1024 sequences:3.0618%
63
+ # rest sequences: 0.2992%
64
+ # negative sequences: 0.0020%
65
+ CharDet::BulgarianLangModel = T.let(T.unsafe(nil), Array)
66
+
67
+ # total classes
68
+ CharDet::CLASS_NUM = T.let(T.unsafe(nil), Integer)
69
+
70
+ class CharDet::CharDistributionAnalysis
71
+ # @return [CharDistributionAnalysis] a new instance of CharDistributionAnalysis
72
+ def initialize; end
73
+
74
+ def feed(aStr, aCharLen); end
75
+ def get_confidence; end
76
+ def get_order(aStr); end
77
+ def got_enough_data; end
78
+ def reset; end
79
+ end
80
+
81
+ class CharDet::CharSetGroupProber < ::CharDet::CharSetProber
82
+ # @return [CharSetGroupProber] a new instance of CharSetGroupProber
83
+ def initialize; end
84
+
85
+ def feed(aBuf); end
86
+ def get_charset_name; end
87
+ def get_confidence; end
88
+
89
+ # Returns the value of attribute probers.
90
+ def probers; end
91
+
92
+ # Sets the attribute probers
93
+ #
94
+ # @param value the value to set the attribute probers to.
95
+ def probers=(_arg0); end
96
+
97
+ def reset; end
98
+ end
99
+
100
+ class CharDet::CharSetProber
101
+ # @return [CharSetProber] a new instance of CharSetProber
102
+ def initialize; end
103
+
104
+ # Returns the value of attribute active.
105
+ def active; end
106
+
107
+ # Sets the attribute active
108
+ #
109
+ # @param value the value to set the attribute active to.
110
+ def active=(_arg0); end
111
+
112
+ def feed(aBuf); end
113
+ def filter_high_bit_only(aBuf); end
114
+ def filter_with_english_letters(aBuf); end
115
+ def filter_without_english_letters(aBuf); end
116
+ def get_charset_name; end
117
+ def get_confidence; end
118
+ def get_state; end
119
+ def reset; end
120
+ end
121
+
122
+ class CharDet::CodingStateMachine
123
+ # @return [CodingStateMachine] a new instance of CodingStateMachine
124
+ def initialize(sm); end
125
+
126
+ # Returns the value of attribute active.
127
+ def active; end
128
+
129
+ # Sets the attribute active
130
+ #
131
+ # @param value the value to set the attribute active to.
132
+ def active=(_arg0); end
133
+
134
+ def get_coding_state_machine; end
135
+ def get_current_charlen; end
136
+ def next_state(c); end
137
+ def reset; end
138
+ end
139
+
140
+ CharDet::DONT_KNOW = T.let(T.unsafe(nil), Integer)
141
+ CharDet::EDetecting = T.let(T.unsafe(nil), Integer)
142
+ CharDet::EError = T.let(T.unsafe(nil), Integer)
143
+ CharDet::EEscAscii = T.let(T.unsafe(nil), Integer)
144
+ CharDet::EFoundIt = T.let(T.unsafe(nil), Integer)
145
+ CharDet::EHighbyte = T.let(T.unsafe(nil), Integer)
146
+ CharDet::EItsMe = T.let(T.unsafe(nil), Integer)
147
+ CharDet::ENOUGH_DATA_THRESHOLD = T.let(T.unsafe(nil), Integer)
148
+ CharDet::ENOUGH_REL_THRESHOLD = T.let(T.unsafe(nil), Integer)
149
+ CharDet::ENotMe = T.let(T.unsafe(nil), Integer)
150
+ CharDet::EPureAscii = T.let(T.unsafe(nil), Integer)
151
+ CharDet::EStart = T.let(T.unsafe(nil), Integer)
152
+ CharDet::EUCJPCharLenTable = T.let(T.unsafe(nil), Array)
153
+
154
+ class CharDet::EUCJPContextAnalysis < ::CharDet::JapaneseContextAnalysis
155
+ def get_order(aStr); end
156
+ end
157
+
158
+ class CharDet::EUCJPDistributionAnalysis < ::CharDet::CharDistributionAnalysis
159
+ # @return [EUCJPDistributionAnalysis] a new instance of EUCJPDistributionAnalysis
160
+ def initialize; end
161
+
162
+ def get_order(aStr); end
163
+ end
164
+
165
+ class CharDet::EUCJPProber < ::CharDet::MultiByteCharSetProber
166
+ # @return [EUCJPProber] a new instance of EUCJPProber
167
+ def initialize; end
168
+
169
+ def feed(aBuf); end
170
+ def get_charset_name; end
171
+ def get_confidence; end
172
+ def reset; end
173
+ end
174
+
175
+ CharDet::EUCJPSMModel = T.let(T.unsafe(nil), Hash)
176
+
177
+ # EUC-JP
178
+ CharDet::EUCJP_cls = T.let(T.unsafe(nil), Array)
179
+
180
+ CharDet::EUCJP_st = T.let(T.unsafe(nil), Array)
181
+ CharDet::EUCKRCharLenTable = T.let(T.unsafe(nil), Array)
182
+
183
+ # Char to FreqOrder table ,
184
+ CharDet::EUCKRCharToFreqOrder = T.let(T.unsafe(nil), Array)
185
+
186
+ class CharDet::EUCKRDistributionAnalysis < ::CharDet::CharDistributionAnalysis
187
+ # @return [EUCKRDistributionAnalysis] a new instance of EUCKRDistributionAnalysis
188
+ def initialize; end
189
+
190
+ def get_order(aStr); end
191
+ end
192
+
193
+ class CharDet::EUCKRProber < ::CharDet::MultiByteCharSetProber
194
+ # @return [EUCKRProber] a new instance of EUCKRProber
195
+ def initialize; end
196
+
197
+ def get_charset_name; end
198
+ end
199
+
200
+ CharDet::EUCKRSMModel = T.let(T.unsafe(nil), Hash)
201
+ CharDet::EUCKR_TABLE_SIZE = T.let(T.unsafe(nil), Integer)
202
+ CharDet::EUCKR_TYPICAL_DISTRIBUTION_RATIO = T.let(T.unsafe(nil), Float)
203
+
204
+ # EUC-KR
205
+ CharDet::EUCKR_cls = T.let(T.unsafe(nil), Array)
206
+
207
+ CharDet::EUCKR_st = T.let(T.unsafe(nil), Array)
208
+ CharDet::EUCTWCharLenTable = T.let(T.unsafe(nil), Array)
209
+ CharDet::EUCTWCharToFreqOrder = T.let(T.unsafe(nil), Array)
210
+
211
+ class CharDet::EUCTWDistributionAnalysis < ::CharDet::CharDistributionAnalysis
212
+ # @return [EUCTWDistributionAnalysis] a new instance of EUCTWDistributionAnalysis
213
+ def initialize; end
214
+
215
+ def get_confidence; end
216
+ def get_order(aStr); end
217
+ end
218
+
219
+ class CharDet::EUCTWProber < ::CharDet::MultiByteCharSetProber
220
+ # @return [EUCTWProber] a new instance of EUCTWProber
221
+ def initialize; end
222
+
223
+ def get_charset_name; end
224
+ end
225
+
226
+ CharDet::EUCTWSMModel = T.let(T.unsafe(nil), Hash)
227
+
228
+ # Char to FreqOrder table ,
229
+ CharDet::EUCTW_TABLE_SIZE = T.let(T.unsafe(nil), Integer)
230
+
231
+ CharDet::EUCTW_TYPICAL_DISTRIBUTION_RATIO = T.let(T.unsafe(nil), Float)
232
+
233
+ # EUC-TW
234
+ CharDet::EUCTW_cls = T.let(T.unsafe(nil), Array)
235
+
236
+ CharDet::EUCTW_st = T.let(T.unsafe(nil), Array)
237
+
238
+ class CharDet::EscCharSetProber < ::CharDet::CharSetProber
239
+ # @return [EscCharSetProber] a new instance of EscCharSetProber
240
+ def initialize; end
241
+
242
+ def feed(aBuf); end
243
+ def get_charset_name; end
244
+ def get_confidence; end
245
+ def reset; end
246
+ end
247
+
248
+ CharDet::FINAL_KAF = T.let(T.unsafe(nil), String)
249
+ CharDet::FINAL_MEM = T.let(T.unsafe(nil), String)
250
+ CharDet::FINAL_NUN = T.let(T.unsafe(nil), String)
251
+ CharDet::FINAL_PE = T.let(T.unsafe(nil), String)
252
+ CharDet::FINAL_TSADI = T.let(T.unsafe(nil), String)
253
+ CharDet::FREQ_CAT_NUM = T.let(T.unsafe(nil), Integer)
254
+
255
+ # To be accurate, the length of class 6 can be either 2 or 4.
256
+ # But it is not necessary to discriminate between the two since
257
+ # it is used for frequency analysis only, and we are validing
258
+ # each code range there as well. So it is safe to set it to be
259
+ # 2 here.
260
+ CharDet::GB18030CharLenTable = T.let(T.unsafe(nil), Array)
261
+
262
+ CharDet::GB18030CharToFreqOrder = T.let(T.unsafe(nil), Array)
263
+
264
+ class CharDet::GB18030DistributionAnalysis < ::CharDet::CharDistributionAnalysis
265
+ # @return [GB18030DistributionAnalysis] a new instance of GB18030DistributionAnalysis
266
+ def initialize; end
267
+
268
+ def get_order(aStr); end
269
+ end
270
+
271
+ class CharDet::GB18030Prober < ::CharDet::MultiByteCharSetProber
272
+ # @return [GB18030Prober] a new instance of GB18030Prober
273
+ def initialize; end
274
+
275
+ def get_charset_name; end
276
+ end
277
+
278
+ CharDet::GB18030SMModel = T.let(T.unsafe(nil), Hash)
279
+ CharDet::GB18030_TABLE_SIZE = T.let(T.unsafe(nil), Integer)
280
+ CharDet::GB18030_TYPICAL_DISTRIBUTION_RATIO = T.let(T.unsafe(nil), Float)
281
+
282
+ # GB18030
283
+ CharDet::GB18030_cls = T.let(T.unsafe(nil), Array)
284
+
285
+ CharDet::GB18030_st = T.let(T.unsafe(nil), Array)
286
+
287
+ # Model Table:
288
+ # total sequences: 100%
289
+ # first 512 sequences: 98.2851%
290
+ # first 1024 sequences:1.7001%
291
+ # rest sequences: 0.0359%
292
+ # negative sequences: 0.0148%
293
+ CharDet::GreekLangModel = T.let(T.unsafe(nil), Array)
294
+
295
+ CharDet::HZCharLenTable = T.let(T.unsafe(nil), Array)
296
+ CharDet::HZSMModel = T.let(T.unsafe(nil), Hash)
297
+ CharDet::HZ_cls = T.let(T.unsafe(nil), Array)
298
+ CharDet::HZ_st = T.let(T.unsafe(nil), Array)
299
+
300
+ # Model Table:
301
+ # total sequences: 100%
302
+ # first 512 sequences: 98.4004%
303
+ # first 1024 sequences: 1.5981%
304
+ # rest sequences: 0.087%
305
+ # negative sequences: 0.0015%
306
+ CharDet::HebrewLangModel = T.let(T.unsafe(nil), Array)
307
+
308
+ class CharDet::HebrewProber < ::CharDet::CharSetProber
309
+ # @return [HebrewProber] a new instance of HebrewProber
310
+ def initialize; end
311
+
312
+ def feed(aBuf); end
313
+ def get_charset_name; end
314
+ def get_state; end
315
+ def is_final(c); end
316
+ def is_non_final(c); end
317
+ def reset; end
318
+ def set_model_probers(logicalProber, visualProber); end
319
+ end
320
+
321
+ # Model Table:
322
+ # total sequences: 100%
323
+ # first 512 sequences: 94.7368%
324
+ # first 1024 sequences:5.2623%
325
+ # rest sequences: 0.8894%
326
+ # negative sequences: 0.0009%
327
+ CharDet::HungarianLangModel = T.let(T.unsafe(nil), Array)
328
+
329
+ CharDet::IBM855_CharToOrderMap = T.let(T.unsafe(nil), Array)
330
+ CharDet::IBM866_CharToOrderMap = T.let(T.unsafe(nil), Array)
331
+ CharDet::ISO2022CNCharLenTable = T.let(T.unsafe(nil), Array)
332
+ CharDet::ISO2022CNSMModel = T.let(T.unsafe(nil), Hash)
333
+ CharDet::ISO2022CN_cls = T.let(T.unsafe(nil), Array)
334
+ CharDet::ISO2022CN_st = T.let(T.unsafe(nil), Array)
335
+ CharDet::ISO2022JPCharLenTable = T.let(T.unsafe(nil), Array)
336
+ CharDet::ISO2022JPSMModel = T.let(T.unsafe(nil), Hash)
337
+ CharDet::ISO2022JP_cls = T.let(T.unsafe(nil), Array)
338
+ CharDet::ISO2022JP_st = T.let(T.unsafe(nil), Array)
339
+ CharDet::ISO2022KRCharLenTable = T.let(T.unsafe(nil), Array)
340
+ CharDet::ISO2022KRSMModel = T.let(T.unsafe(nil), Hash)
341
+ CharDet::ISO2022KR_cls = T.let(T.unsafe(nil), Array)
342
+ CharDet::ISO2022KR_st = T.let(T.unsafe(nil), Array)
343
+ CharDet::Ibm855Model = T.let(T.unsafe(nil), Hash)
344
+ CharDet::Ibm866Model = T.let(T.unsafe(nil), Hash)
345
+ CharDet::JISCharToFreqOrder = T.let(T.unsafe(nil), Array)
346
+
347
+ # Char to FreqOrder table ,
348
+ CharDet::JIS_TABLE_SIZE = T.let(T.unsafe(nil), Integer)
349
+
350
+ CharDet::JIS_TYPICAL_DISTRIBUTION_RATIO = T.let(T.unsafe(nil), Float)
351
+
352
+ # This is hiragana 2-char sequence table, the number in each cell represents its frequency category
353
+ CharDet::JP2_CHAR_CONTEXT = T.let(T.unsafe(nil), Array)
354
+
355
+ class CharDet::JapaneseContextAnalysis
356
+ # @return [JapaneseContextAnalysis] a new instance of JapaneseContextAnalysis
357
+ def initialize; end
358
+
359
+ def feed(aBuf, aLen); end
360
+ def get_confidence; end
361
+ def get_order(aStr); end
362
+ def got_enough_data; end
363
+ def reset; end
364
+ end
365
+
366
+ # Character Mapping Table:
367
+ CharDet::KOI8R_CharToOrderMap = T.let(T.unsafe(nil), Array)
368
+
369
+ CharDet::Koi8rModel = T.let(T.unsafe(nil), Hash)
370
+ CharDet::LOGICAL_HEBREW_NAME = T.let(T.unsafe(nil), String)
371
+
372
+ # 0 : illegal
373
+ # 1 : very unlikely
374
+ # 2 : normal
375
+ # 3 : very likely
376
+ CharDet::Latin1ClassModel = T.let(T.unsafe(nil), Array)
377
+
378
+ class CharDet::Latin1Prober < ::CharDet::CharSetProber
379
+ # @return [Latin1Prober] a new instance of Latin1Prober
380
+ def initialize; end
381
+
382
+ def feed(aBuf); end
383
+ def get_charset_name; end
384
+ def get_confidence; end
385
+ def reset; end
386
+ end
387
+
388
+ CharDet::Latin1_CharToClass = T.let(T.unsafe(nil), Array)
389
+ CharDet::Latin2HungarianModel = T.let(T.unsafe(nil), Hash)
390
+
391
+ # Character Mapping Table:
392
+ CharDet::Latin2_HungarianCharToOrderMap = T.let(T.unsafe(nil), Array)
393
+
394
+ CharDet::Latin5BulgarianModel = T.let(T.unsafe(nil), Hash)
395
+ CharDet::Latin5CyrillicModel = T.let(T.unsafe(nil), Hash)
396
+ CharDet::Latin5_BulgarianCharToOrderMap = T.let(T.unsafe(nil), Array)
397
+ CharDet::Latin7GreekModel = T.let(T.unsafe(nil), Hash)
398
+
399
+ # Character Mapping Table:
400
+ CharDet::Latin7_CharToOrderMap = T.let(T.unsafe(nil), Array)
401
+
402
+ CharDet::MAX_REL_THRESHOLD = T.let(T.unsafe(nil), Integer)
403
+
404
+ class CharDet::MBCSGroupProber < ::CharDet::CharSetGroupProber
405
+ # @return [MBCSGroupProber] a new instance of MBCSGroupProber
406
+ def initialize; end
407
+ end
408
+
409
+ CharDet::MINIMUM_DATA_THRESHOLD = T.let(T.unsafe(nil), Integer)
410
+ CharDet::MINIMUM_THRESHOLD = T.let(T.unsafe(nil), Float)
411
+
412
+ # Minimum Visual vs Logical final letter score difference.
413
+ # If the difference is below this, don't rely solely on the final letter score distance.
414
+ CharDet::MIN_FINAL_CHAR_DISTANCE = T.let(T.unsafe(nil), Integer)
415
+
416
+ # Minimum Visual vs Logical model score difference.
417
+ # If the difference is below this, don't rely at all on the model score distance.
418
+ CharDet::MIN_MODEL_DISTANCE = T.let(T.unsafe(nil), Float)
419
+
420
+ CharDet::MacCyrillicModel = T.let(T.unsafe(nil), Hash)
421
+
422
+ class CharDet::MultiByteCharSetProber < ::CharDet::CharSetProber
423
+ # @return [MultiByteCharSetProber] a new instance of MultiByteCharSetProber
424
+ def initialize; end
425
+
426
+ def feed(aBuf); end
427
+ def get_charset_name; end
428
+ def get_confidence; end
429
+ def reset; end
430
+ end
431
+
432
+ CharDet::NEGATIVE_SHORTCUT_THRESHOLD = T.let(T.unsafe(nil), Float)
433
+ CharDet::NORMAL_KAF = T.let(T.unsafe(nil), String)
434
+ CharDet::NORMAL_MEM = T.let(T.unsafe(nil), String)
435
+ CharDet::NORMAL_NUN = T.let(T.unsafe(nil), String)
436
+ CharDet::NORMAL_PE = T.let(T.unsafe(nil), String)
437
+ CharDet::NORMAL_TSADI = T.let(T.unsafe(nil), String)
438
+ CharDet::NUMBER_OF_SEQ_CAT = T.let(T.unsafe(nil), Integer)
439
+ CharDet::NUM_OF_CATEGORY = T.let(T.unsafe(nil), Integer)
440
+ CharDet::ONE_CHAR_PROB = T.let(T.unsafe(nil), Float)
441
+
442
+ # other
443
+ CharDet::OTH = T.let(T.unsafe(nil), Integer)
444
+
445
+ CharDet::POSITIVE_CAT = T.let(T.unsafe(nil), Integer)
446
+ CharDet::POSITIVE_SHORTCUT_THRESHOLD = T.let(T.unsafe(nil), Float)
447
+
448
+ # Model Table:
449
+ # total sequences: 100%
450
+ # first 512 sequences: 97.6601%
451
+ # first 1024 sequences: 2.3389%
452
+ # rest sequences: 0.1237%
453
+ # negative sequences: 0.0009%
454
+ CharDet::RussianLangModel = T.let(T.unsafe(nil), Array)
455
+
456
+ CharDet::SAMPLE_SIZE = T.let(T.unsafe(nil), Integer)
457
+
458
+ class CharDet::SBCSGroupProber < ::CharDet::CharSetGroupProber
459
+ # @return [SBCSGroupProber] a new instance of SBCSGroupProber
460
+ def initialize; end
461
+ end
462
+
463
+ CharDet::SB_ENOUGH_REL_THRESHOLD = T.let(T.unsafe(nil), Integer)
464
+ CharDet::SHORTCUT_THRESHOLD = T.let(T.unsafe(nil), Float)
465
+ CharDet::SJISCharLenTable = T.let(T.unsafe(nil), Array)
466
+
467
+ class CharDet::SJISContextAnalysis < ::CharDet::JapaneseContextAnalysis
468
+ def get_order(aStr); end
469
+ end
470
+
471
+ class CharDet::SJISDistributionAnalysis < ::CharDet::CharDistributionAnalysis
472
+ # @return [SJISDistributionAnalysis] a new instance of SJISDistributionAnalysis
473
+ def initialize; end
474
+
475
+ def get_order(aStr); end
476
+ end
477
+
478
+ class CharDet::SJISProber < ::CharDet::MultiByteCharSetProber
479
+ # @return [SJISProber] a new instance of SJISProber
480
+ def initialize; end
481
+
482
+ def feed(aBuf); end
483
+ def get_charset_name; end
484
+ def get_confidence; end
485
+ def reset; end
486
+ end
487
+
488
+ CharDet::SJISSMModel = T.let(T.unsafe(nil), Hash)
489
+
490
+ # Shift_JIS
491
+ CharDet::SJIS_cls = T.let(T.unsafe(nil), Array)
492
+
493
+ CharDet::SJIS_st = T.let(T.unsafe(nil), Array)
494
+ CharDet::SURE_NO = T.let(T.unsafe(nil), Float)
495
+ CharDet::SURE_YES = T.let(T.unsafe(nil), Float)
496
+ CharDet::SYMBOL_CAT_ORDER = T.let(T.unsafe(nil), Integer)
497
+
498
+ # NEGATIVE_CAT = 0
499
+ class CharDet::SingleByteCharSetProber < ::CharDet::CharSetProber
500
+ # @return [SingleByteCharSetProber] a new instance of SingleByteCharSetProber
501
+ def initialize(model, reversed = T.unsafe(nil), nameProber = T.unsafe(nil)); end
502
+
503
+ def feed(aBuf); end
504
+ def get_charset_name; end
505
+ def get_confidence; end
506
+ def reset; end
507
+ end
508
+
509
+ # Character Mapping Table:
510
+ CharDet::TIS620CharToOrderMap = T.let(T.unsafe(nil), Array)
511
+
512
+ CharDet::TIS620ThaiModel = T.let(T.unsafe(nil), Hash)
513
+
514
+ # Model Table:
515
+ # total sequences: 100%
516
+ # first 512 sequences: 92.6386%
517
+ # first 1024 sequences:7.3177%
518
+ # rest sequences: 1.0230%
519
+ # negative sequences: 0.0436%
520
+ CharDet::ThaiLangModel = T.let(T.unsafe(nil), Array)
521
+
522
+ CharDet::UCS2BECharLenTable = T.let(T.unsafe(nil), Array)
523
+ CharDet::UCS2BESMModel = T.let(T.unsafe(nil), Hash)
524
+
525
+ # UCS2-BE
526
+ CharDet::UCS2BE_cls = T.let(T.unsafe(nil), Array)
527
+
528
+ CharDet::UCS2BE_st = T.let(T.unsafe(nil), Array)
529
+ CharDet::UCS2LECharLenTable = T.let(T.unsafe(nil), Array)
530
+ CharDet::UCS2LESMModel = T.let(T.unsafe(nil), Hash)
531
+
532
+ # UCS2-LE
533
+ CharDet::UCS2LE_cls = T.let(T.unsafe(nil), Array)
534
+
535
+ CharDet::UCS2LE_st = T.let(T.unsafe(nil), Array)
536
+
537
+ # undefined
538
+ CharDet::UDF = T.let(T.unsafe(nil), Integer)
539
+
540
+ CharDet::UTF8CharLenTable = T.let(T.unsafe(nil), Array)
541
+
542
+ class CharDet::UTF8Prober < ::CharDet::CharSetProber
543
+ # @return [UTF8Prober] a new instance of UTF8Prober
544
+ def initialize; end
545
+
546
+ def feed(aBuf); end
547
+ def get_charset_name; end
548
+ def get_confidence; end
549
+ def reset; end
550
+ end
551
+
552
+ CharDet::UTF8SMModel = T.let(T.unsafe(nil), Hash)
553
+
554
+ # UTF-8
555
+ CharDet::UTF8_cls = T.let(T.unsafe(nil), Array)
556
+
557
+ CharDet::UTF8_st = T.let(T.unsafe(nil), Array)
558
+
559
+ class CharDet::UniversalDetector
560
+ # @return [UniversalDetector] a new instance of UniversalDetector
561
+ def initialize; end
562
+
563
+ def close; end
564
+
565
+ # Returns the value of attribute done.
566
+ def done; end
567
+
568
+ def feed(aBuf); end
569
+ def reset; end
570
+
571
+ # Returns the value of attribute result.
572
+ def result; end
573
+ end
574
+
575
+ CharDet::VERSION = T.let(T.unsafe(nil), String)
576
+ CharDet::VISUAL_HEBREW_NAME = T.let(T.unsafe(nil), String)
577
+ CharDet::Win1250HungarianCharToOrderMap = T.let(T.unsafe(nil), Array)
578
+ CharDet::Win1250HungarianModel = T.let(T.unsafe(nil), Hash)
579
+ CharDet::Win1251BulgarianModel = T.let(T.unsafe(nil), Hash)
580
+ CharDet::Win1251CyrillicModel = T.let(T.unsafe(nil), Hash)
581
+ CharDet::Win1253GreekModel = T.let(T.unsafe(nil), Hash)
582
+ CharDet::Win1253_CharToOrderMap = T.let(T.unsafe(nil), Array)
583
+ CharDet::Win1255HebrewModel = T.let(T.unsafe(nil), Hash)
584
+
585
+ # Windows-1255 language model
586
+ # Character Mapping Table:
587
+ CharDet::Win1255_CharToOrderMap = T.let(T.unsafe(nil), Array)