ruby-paseto 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/paseto/paserk_types.rb +1 -1
- data/lib/paseto/util.rb +1 -2
- data/lib/paseto/v3/public.rb +3 -65
- data/lib/paseto/version.rb +1 -1
- data/paseto.gemspec +1 -13
- data/sorbet/rbi/gems/{irb@1.5.1.rbi → irb@1.6.3.rbi} +44 -44
- data/sorbet/rbi/gems/{oj@3.13.23.rbi → oj@3.14.2.rbi} +4 -2
- data/sorbet/rbi/gems/{openssl@3.0.1.rbi → openssl@3.1.0.rbi} +63 -59
- data/sorbet/rbi/gems/{regexp_parser@2.6.1.rbi → regexp_parser@2.7.0.rbi} +250 -151
- data/sorbet/rbi/gems/{rspec-core@3.12.0.rbi → rspec-core@3.12.1.rbi} +30 -112
- data/sorbet/rbi/gems/{rspec-expectations@3.12.0.rbi → rspec-expectations@3.12.2.rbi} +201 -185
- data/sorbet/rbi/gems/{rspec-mocks@3.12.0.rbi → rspec-mocks@3.12.4.rbi} +218 -207
- data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +364 -286
- data/sorbet/rbi/gems/{simplecov@0.21.2.rbi → simplecov@0.22.0.rbi} +62 -49
- data/sorbet/rbi/gems/{unicode-display_width@2.3.0.rbi → unicode-display_width@2.4.2.rbi} +24 -7
- data/sorbet/rbi/gems/{yard-sorbet@0.7.0.rbi → yard-sorbet@0.8.0.rbi} +91 -41
- data/sorbet/rbi/gems/zeitwerk@2.6.7.rbi +8 -0
- data/sorbet/tapioca/config.yml +1 -1
- metadata +25 -173
- data/sorbet/rbi/gems/zeitwerk@2.6.6.rbi +0 -950
- /data/sorbet/rbi/gems/{io-console@0.5.11.rbi → io-console@0.6.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.3.1.rbi → reline@0.3.2.rbi} +0 -0
@@ -214,36 +214,36 @@ module SimpleCov
|
|
214
214
|
#
|
215
215
|
# @return [Hash]
|
216
216
|
#
|
217
|
-
# source://simplecov//lib/simplecov.rb#
|
217
|
+
# source://simplecov//lib/simplecov.rb#399
|
218
218
|
def adapt_coverage_result; end
|
219
219
|
|
220
220
|
# Finds files that were to be tracked but were not loaded and initializes
|
221
221
|
# the line-by-line coverage to zero (if relevant) or nil (comments / whitespace etc).
|
222
222
|
#
|
223
|
-
# source://simplecov//lib/simplecov.rb#
|
223
|
+
# source://simplecov//lib/simplecov.rb#371
|
224
224
|
def add_not_loaded_files(result); end
|
225
225
|
|
226
226
|
# source://simplecov//lib/simplecov.rb#302
|
227
227
|
def initial_setup(profile, &block); end
|
228
228
|
|
229
|
-
# source://simplecov//lib/simplecov.rb#
|
229
|
+
# source://simplecov//lib/simplecov.rb#363
|
230
230
|
def lookup_corresponding_ruby_coverage_name(criterion); end
|
231
231
|
|
232
232
|
# parallel_tests isn't always available, see: https://github.com/grosser/parallel_tests/issues/772
|
233
233
|
#
|
234
|
-
# source://simplecov//lib/simplecov.rb#
|
234
|
+
# source://simplecov//lib/simplecov.rb#425
|
235
235
|
def make_parallel_tests_available; end
|
236
236
|
|
237
237
|
# @return [Boolean]
|
238
238
|
#
|
239
|
-
# source://simplecov//lib/simplecov.rb#
|
239
|
+
# source://simplecov//lib/simplecov.rb#434
|
240
240
|
def probably_running_parallel_tests?; end
|
241
241
|
|
242
242
|
# Call steps that handle process coverage result
|
243
243
|
#
|
244
244
|
# @return [Hash]
|
245
245
|
#
|
246
|
-
# source://simplecov//lib/simplecov.rb#
|
246
|
+
# source://simplecov//lib/simplecov.rb#388
|
247
247
|
def process_coverage_result; end
|
248
248
|
|
249
249
|
# Filter coverage result
|
@@ -252,7 +252,7 @@ module SimpleCov
|
|
252
252
|
#
|
253
253
|
# @return [Hash]
|
254
254
|
#
|
255
|
-
# source://simplecov//lib/simplecov.rb#
|
255
|
+
# source://simplecov//lib/simplecov.rb#410
|
256
256
|
def remove_useless_results; end
|
257
257
|
|
258
258
|
# Initialize result with files that are not included by coverage
|
@@ -260,7 +260,7 @@ module SimpleCov
|
|
260
260
|
#
|
261
261
|
# @return [Hash]
|
262
262
|
#
|
263
|
-
# source://simplecov//lib/simplecov.rb#
|
263
|
+
# source://simplecov//lib/simplecov.rb#420
|
264
264
|
def result_with_not_loaded_files; end
|
265
265
|
|
266
266
|
# Trigger Coverage.start depends on given config coverage_criterion
|
@@ -292,7 +292,7 @@ class SimpleCov::ArrayFilter < ::SimpleCov::Filter
|
|
292
292
|
def matches?(source_files_list); end
|
293
293
|
end
|
294
294
|
|
295
|
-
# source://simplecov//lib/simplecov/filter.rb#
|
295
|
+
# source://simplecov//lib/simplecov/filter.rb#69
|
296
296
|
class SimpleCov::BlockFilter < ::SimpleCov::Filter
|
297
297
|
# Returns true if the block given when initializing this filter with BlockFilter.new {|src_file| ... }
|
298
298
|
# returns true for the given source file.
|
@@ -643,7 +643,7 @@ module SimpleCov::Configuration
|
|
643
643
|
|
644
644
|
# @return [Boolean]
|
645
645
|
#
|
646
|
-
# source://simplecov//lib/simplecov/configuration.rb#
|
646
|
+
# source://simplecov//lib/simplecov/configuration.rb#443
|
647
647
|
def branch_coverage_supported?; end
|
648
648
|
|
649
649
|
# source://simplecov//lib/simplecov/configuration.rb#424
|
@@ -703,6 +703,16 @@ module SimpleCov::Configuration
|
|
703
703
|
# source://simplecov//lib/simplecov/configuration.rb#34
|
704
704
|
def coverage_dir(dir = T.unsafe(nil)); end
|
705
705
|
|
706
|
+
# @return [Boolean]
|
707
|
+
#
|
708
|
+
# source://simplecov//lib/simplecov/configuration.rb#452
|
709
|
+
def coverage_for_eval_enabled?; end
|
710
|
+
|
711
|
+
# @return [Boolean]
|
712
|
+
#
|
713
|
+
# source://simplecov//lib/simplecov/configuration.rb#447
|
714
|
+
def coverage_for_eval_supported?; end
|
715
|
+
|
706
716
|
# Returns the full path to the output directory using SimpleCov.root
|
707
717
|
# and SimpleCov.coverage_dir, so you can adjust this by configuring those
|
708
718
|
# values. Will create the directory if it's missing
|
@@ -718,6 +728,9 @@ module SimpleCov::Configuration
|
|
718
728
|
# source://simplecov//lib/simplecov/configuration.rb#401
|
719
729
|
def enable_coverage(criterion); end
|
720
730
|
|
731
|
+
# source://simplecov//lib/simplecov/configuration.rb#456
|
732
|
+
def enable_coverage_for_eval; end
|
733
|
+
|
721
734
|
# gets or sets the enabled_for_subprocess configuration
|
722
735
|
# when true, this will inject SimpleCov code into Process.fork
|
723
736
|
#
|
@@ -901,18 +914,18 @@ module SimpleCov::Configuration
|
|
901
914
|
|
902
915
|
private
|
903
916
|
|
904
|
-
# source://simplecov//lib/simplecov/configuration.rb#
|
917
|
+
# source://simplecov//lib/simplecov/configuration.rb#483
|
905
918
|
def minimum_possible_coverage_exceeded(coverage_option); end
|
906
919
|
|
907
920
|
# The actual filter processor. Not meant for direct use
|
908
921
|
#
|
909
|
-
# source://simplecov//lib/simplecov/configuration.rb#
|
922
|
+
# source://simplecov//lib/simplecov/configuration.rb#490
|
910
923
|
def parse_filter(filter_argument = T.unsafe(nil), &filter_proc); end
|
911
924
|
|
912
|
-
# source://simplecov//lib/simplecov/configuration.rb#
|
925
|
+
# source://simplecov//lib/simplecov/configuration.rb#466
|
913
926
|
def raise_if_criterion_disabled(criterion); end
|
914
927
|
|
915
|
-
# source://simplecov//lib/simplecov/configuration.rb#
|
928
|
+
# source://simplecov//lib/simplecov/configuration.rb#475
|
916
929
|
def raise_if_criterion_unsupported(criterion); end
|
917
930
|
end
|
918
931
|
|
@@ -1157,7 +1170,7 @@ class SimpleCov::FileList
|
|
1157
1170
|
# source://simplecov//lib/simplecov/file_list.rb#101
|
1158
1171
|
def branch_covered_percent; end
|
1159
1172
|
|
1160
|
-
# source://forwardable/1.3.
|
1173
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1161
1174
|
def count(*args, **_arg1, &block); end
|
1162
1175
|
|
1163
1176
|
# source://simplecov//lib/simplecov/file_list.rb#26
|
@@ -1196,10 +1209,10 @@ class SimpleCov::FileList
|
|
1196
1209
|
# source://simplecov//lib/simplecov/file_list.rb#82
|
1197
1210
|
def covered_strength; end
|
1198
1211
|
|
1199
|
-
# source://forwardable/1.3.
|
1212
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1200
1213
|
def each(*args, **_arg1, &block); end
|
1201
1214
|
|
1202
|
-
# source://forwardable/1.3.
|
1215
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1203
1216
|
def empty?(*args, **_arg1, &block); end
|
1204
1217
|
|
1205
1218
|
# Finds the least covered file and returns that file's name
|
@@ -1207,7 +1220,7 @@ class SimpleCov::FileList
|
|
1207
1220
|
# source://simplecov//lib/simplecov/file_list.rb#65
|
1208
1221
|
def least_covered_file; end
|
1209
1222
|
|
1210
|
-
# source://forwardable/1.3.
|
1223
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1211
1224
|
def length(*args, **_arg1, &block); end
|
1212
1225
|
|
1213
1226
|
# Returns the overall amount of relevant lines of code across all files in this list
|
@@ -1215,7 +1228,7 @@ class SimpleCov::FileList
|
|
1215
1228
|
# source://simplecov//lib/simplecov/file_list.rb#70
|
1216
1229
|
def lines_of_code; end
|
1217
1230
|
|
1218
|
-
# source://forwardable/1.3.
|
1231
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1219
1232
|
def map(*args, **_arg1, &block); end
|
1220
1233
|
|
1221
1234
|
# Return total count of covered branches
|
@@ -1233,7 +1246,7 @@ class SimpleCov::FileList
|
|
1233
1246
|
# source://simplecov//lib/simplecov/file_list.rb#45
|
1234
1247
|
def never_lines; end
|
1235
1248
|
|
1236
|
-
# source://forwardable/1.3.
|
1249
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1237
1250
|
def size(*args, **_arg1, &block); end
|
1238
1251
|
|
1239
1252
|
# Returns the count of skipped lines
|
@@ -1241,10 +1254,10 @@ class SimpleCov::FileList
|
|
1241
1254
|
# source://simplecov//lib/simplecov/file_list.rb#52
|
1242
1255
|
def skipped_lines; end
|
1243
1256
|
|
1244
|
-
# source://forwardable/1.3.
|
1257
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1245
1258
|
def to_a(*args, **_arg1, &block); end
|
1246
1259
|
|
1247
|
-
# source://forwardable/1.3.
|
1260
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1248
1261
|
def to_ary(*args, **_arg1, &block); end
|
1249
1262
|
|
1250
1263
|
# Return total count of branches in all files
|
@@ -1398,7 +1411,7 @@ SimpleCov::LinesClassifier::WHITESPACE_OR_COMMENT_LINE = T.let(T.unsafe(nil), Re
|
|
1398
1411
|
# # SimpleCov configuration here, same as in SimpleCov.configure
|
1399
1412
|
# end
|
1400
1413
|
#
|
1401
|
-
# source://simplecov//lib/simplecov/profiles.rb#
|
1414
|
+
# source://simplecov//lib/simplecov/profiles.rb#11
|
1402
1415
|
class SimpleCov::Profiles < ::Hash
|
1403
1416
|
# Define a SimpleCov profile:
|
1404
1417
|
# SimpleCov.profiles.define 'rails' do
|
@@ -1414,7 +1427,7 @@ class SimpleCov::Profiles < ::Hash
|
|
1414
1427
|
def load(name); end
|
1415
1428
|
end
|
1416
1429
|
|
1417
|
-
# source://simplecov//lib/simplecov/filter.rb#
|
1430
|
+
# source://simplecov//lib/simplecov/filter.rb#61
|
1418
1431
|
class SimpleCov::RegexFilter < ::SimpleCov::Filter
|
1419
1432
|
# Returns true when the given source file's filename matches the
|
1420
1433
|
# regex configured when initializing this Filter with RegexFilter.new(/someregex/)
|
@@ -1451,25 +1464,25 @@ class SimpleCov::Result
|
|
1451
1464
|
# source://simplecov//lib/simplecov/result.rb#21
|
1452
1465
|
def command_name=(_arg0); end
|
1453
1466
|
|
1454
|
-
# source://forwardable/1.3.
|
1467
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1455
1468
|
def coverage_statistics(*args, **_arg1, &block); end
|
1456
1469
|
|
1457
|
-
# source://forwardable/1.3.
|
1470
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1458
1471
|
def coverage_statistics_by_file(*args, **_arg1, &block); end
|
1459
1472
|
|
1460
|
-
# source://forwardable/1.3.
|
1473
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1461
1474
|
def covered_branches(*args, **_arg1, &block); end
|
1462
1475
|
|
1463
|
-
# source://forwardable/1.3.
|
1476
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1464
1477
|
def covered_lines(*args, **_arg1, &block); end
|
1465
1478
|
|
1466
|
-
# source://forwardable/1.3.
|
1479
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1467
1480
|
def covered_percent(*args, **_arg1, &block); end
|
1468
1481
|
|
1469
|
-
# source://forwardable/1.3.
|
1482
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1470
1483
|
def covered_percentages(*args, **_arg1, &block); end
|
1471
1484
|
|
1472
|
-
# source://forwardable/1.3.
|
1485
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1473
1486
|
def covered_strength(*args, **_arg1, &block); end
|
1474
1487
|
|
1475
1488
|
# Defines when this result has been created. Defaults to Time.now
|
@@ -1502,13 +1515,13 @@ class SimpleCov::Result
|
|
1502
1515
|
# source://simplecov//lib/simplecov/result.rb#45
|
1503
1516
|
def groups; end
|
1504
1517
|
|
1505
|
-
# source://forwardable/1.3.
|
1518
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1506
1519
|
def least_covered_file(*args, **_arg1, &block); end
|
1507
1520
|
|
1508
|
-
# source://forwardable/1.3.
|
1521
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1509
1522
|
def missed_branches(*args, **_arg1, &block); end
|
1510
1523
|
|
1511
|
-
# source://forwardable/1.3.
|
1524
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1512
1525
|
def missed_lines(*args, **_arg1, &block); end
|
1513
1526
|
|
1514
1527
|
# Returns the original Coverage.result used for this instance of SimpleCov::Result
|
@@ -1526,10 +1539,10 @@ class SimpleCov::Result
|
|
1526
1539
|
# source://simplecov//lib/simplecov/result.rb#66
|
1527
1540
|
def to_hash; end
|
1528
1541
|
|
1529
|
-
# source://forwardable/1.3.
|
1542
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1530
1543
|
def total_branches(*args, **_arg1, &block); end
|
1531
1544
|
|
1532
|
-
# source://forwardable/1.3.
|
1545
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1533
1546
|
def total_lines(*args, **_arg1, &block); end
|
1534
1547
|
|
1535
1548
|
private
|
@@ -1843,20 +1856,20 @@ class SimpleCov::SourceFile
|
|
1843
1856
|
|
1844
1857
|
private
|
1845
1858
|
|
1846
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1859
|
+
# source://simplecov//lib/simplecov/source_file.rb#346
|
1847
1860
|
def branch_coverage_statistics; end
|
1848
1861
|
|
1849
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1862
|
+
# source://simplecov//lib/simplecov/source_file.rb#324
|
1850
1863
|
def build_branch(branch_data, hit_count, condition_start_line); end
|
1851
1864
|
|
1852
1865
|
# Call recursive method that transform our static hash to array of objects
|
1853
1866
|
#
|
1854
1867
|
# @return [Array]
|
1855
1868
|
#
|
1856
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1869
|
+
# source://simplecov//lib/simplecov/source_file.rb#273
|
1857
1870
|
def build_branches; end
|
1858
1871
|
|
1859
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1872
|
+
# source://simplecov//lib/simplecov/source_file.rb#310
|
1860
1873
|
def build_branches_from(condition, branches); end
|
1861
1874
|
|
1862
1875
|
# Build full branches report
|
@@ -1865,10 +1878,10 @@ class SimpleCov::SourceFile
|
|
1865
1878
|
#
|
1866
1879
|
# @return [Hash]
|
1867
1880
|
#
|
1868
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1881
|
+
# source://simplecov//lib/simplecov/source_file.rb#262
|
1869
1882
|
def build_branches_report; end
|
1870
1883
|
|
1871
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1884
|
+
# source://simplecov//lib/simplecov/source_file.rb#229
|
1872
1885
|
def build_lines; end
|
1873
1886
|
|
1874
1887
|
# source://simplecov//lib/simplecov/source_file.rb#164
|
@@ -1876,16 +1889,16 @@ class SimpleCov::SourceFile
|
|
1876
1889
|
|
1877
1890
|
# Warning to identify condition from Issue #56
|
1878
1891
|
#
|
1879
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1892
|
+
# source://simplecov//lib/simplecov/source_file.rb#251
|
1880
1893
|
def coverage_exceeding_source_warn; end
|
1881
1894
|
|
1882
1895
|
# source://simplecov//lib/simplecov/source_file.rb#214
|
1883
1896
|
def ensure_remove_undefs(file_lines); end
|
1884
1897
|
|
1885
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1898
|
+
# source://simplecov//lib/simplecov/source_file.rb#336
|
1886
1899
|
def line_coverage_statistics; end
|
1887
1900
|
|
1888
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1901
|
+
# source://simplecov//lib/simplecov/source_file.rb#246
|
1889
1902
|
def lines_strength; end
|
1890
1903
|
|
1891
1904
|
# source://simplecov//lib/simplecov/source_file.rb#178
|
@@ -1896,10 +1909,10 @@ class SimpleCov::SourceFile
|
|
1896
1909
|
# source://simplecov//lib/simplecov/source_file.rb#160
|
1897
1910
|
def no_cov_chunks; end
|
1898
1911
|
|
1899
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1912
|
+
# source://simplecov//lib/simplecov/source_file.rb#282
|
1900
1913
|
def process_skipped_branches(branches); end
|
1901
1914
|
|
1902
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1915
|
+
# source://simplecov//lib/simplecov/source_file.rb#237
|
1903
1916
|
def process_skipped_lines(lines); end
|
1904
1917
|
|
1905
1918
|
# source://simplecov//lib/simplecov/source_file.rb#198
|
@@ -1913,7 +1926,7 @@ class SimpleCov::SourceFile
|
|
1913
1926
|
#
|
1914
1927
|
# See #801
|
1915
1928
|
#
|
1916
|
-
# source://simplecov//lib/simplecov/source_file.rb#
|
1929
|
+
# source://simplecov//lib/simplecov/source_file.rb#300
|
1917
1930
|
def restore_ruby_data_structure(structure); end
|
1918
1931
|
|
1919
1932
|
# source://simplecov//lib/simplecov/source_file.rb#206
|
@@ -2107,7 +2120,7 @@ SimpleCov::SourceFile::RUBY_FILE_ENCODING_MAGIC_COMMENT_REGEX = T.let(T.unsafe(n
|
|
2107
2120
|
# source://simplecov//lib/simplecov/source_file.rb#193
|
2108
2121
|
SimpleCov::SourceFile::SHEBANG_REGEX = T.let(T.unsafe(nil), Regexp)
|
2109
2122
|
|
2110
|
-
# source://simplecov//lib/simplecov/filter.rb#
|
2123
|
+
# source://simplecov//lib/simplecov/filter.rb#53
|
2111
2124
|
class SimpleCov::StringFilter < ::SimpleCov::Filter
|
2112
2125
|
# Returns true when the given source file's filename matches the
|
2113
2126
|
# string configured when initializing this Filter with StringFilter.new('somestring')
|
@@ -11,29 +11,43 @@ module Unicode; end
|
|
11
11
|
class Unicode::DisplayWidth
|
12
12
|
# @return [DisplayWidth] a new instance of DisplayWidth
|
13
13
|
#
|
14
|
-
# source://unicode-display_width//lib/unicode/display_width.rb#
|
14
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#104
|
15
15
|
def initialize(ambiguous: T.unsafe(nil), overwrite: T.unsafe(nil), emoji: T.unsafe(nil)); end
|
16
16
|
|
17
|
-
# source://unicode-display_width//lib/unicode/display_width.rb#
|
17
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#110
|
18
18
|
def get_config(**kwargs); end
|
19
19
|
|
20
|
-
# source://unicode-display_width//lib/unicode/display_width.rb#
|
20
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#118
|
21
21
|
def of(string, **kwargs); end
|
22
22
|
|
23
23
|
class << self
|
24
|
-
# source://unicode-display_width//lib/unicode/display_width.rb#
|
24
|
+
# source://unicode-display_width//lib/unicode/display_width/index.rb#14
|
25
|
+
def decompress_index(index, level); end
|
26
|
+
|
27
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#86
|
25
28
|
def emoji_extra_width_of(string, ambiguous = T.unsafe(nil), overwrite = T.unsafe(nil), _ = T.unsafe(nil)); end
|
26
29
|
|
27
|
-
# source://unicode-display_width//lib/unicode/display_width.rb#
|
30
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#12
|
28
31
|
def of(string, ambiguous = T.unsafe(nil), overwrite = T.unsafe(nil), options = T.unsafe(nil)); end
|
32
|
+
|
33
|
+
# Same as .width_no_overwrite - but with applying overwrites for each char
|
34
|
+
#
|
35
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#57
|
36
|
+
def width_all_features(string, ambiguous, overwrite, options); end
|
37
|
+
|
38
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#30
|
39
|
+
def width_no_overwrite(string, ambiguous, options = T.unsafe(nil)); end
|
29
40
|
end
|
30
41
|
end
|
31
42
|
|
43
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#9
|
44
|
+
Unicode::DisplayWidth::ASCII_NON_ZERO_REGEX = T.let(T.unsafe(nil), Regexp)
|
45
|
+
|
32
46
|
# source://unicode-display_width//lib/unicode/display_width/constants.rb#7
|
33
47
|
Unicode::DisplayWidth::DATA_DIRECTORY = T.let(T.unsafe(nil), String)
|
34
48
|
|
35
|
-
# source://unicode-display_width//lib/unicode/display_width.rb#
|
36
|
-
Unicode::DisplayWidth::
|
49
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#10
|
50
|
+
Unicode::DisplayWidth::FIRST_4096 = T.let(T.unsafe(nil), Array)
|
37
51
|
|
38
52
|
# source://unicode-display_width//lib/unicode/display_width/index.rb#11
|
39
53
|
Unicode::DisplayWidth::INDEX = T.let(T.unsafe(nil), Array)
|
@@ -41,6 +55,9 @@ Unicode::DisplayWidth::INDEX = T.let(T.unsafe(nil), Array)
|
|
41
55
|
# source://unicode-display_width//lib/unicode/display_width/constants.rb#8
|
42
56
|
Unicode::DisplayWidth::INDEX_FILENAME = T.let(T.unsafe(nil), String)
|
43
57
|
|
58
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#8
|
59
|
+
Unicode::DisplayWidth::INITIAL_DEPTH = T.let(T.unsafe(nil), Integer)
|
60
|
+
|
44
61
|
# source://unicode-display_width//lib/unicode/display_width/constants.rb#6
|
45
62
|
Unicode::DisplayWidth::UNICODE_VERSION = T.let(T.unsafe(nil), String)
|
46
63
|
|