lunchmoney 1.4.0 → 1.4.1
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/.github/dependabot.yml +7 -0
- data/.github/workflows/build_and_publish_yard_docs.yml +2 -2
- data/.github/workflows/ci.yml +1 -1
- data/.ruby-version +1 -1
- data/.simplecov +1 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +65 -57
- data/lib/lunchmoney/api.rb +1 -0
- data/lib/lunchmoney/calls/categories.rb +0 -2
- data/lib/lunchmoney/calls/transactions.rb +0 -1
- data/lib/lunchmoney/deprecate.rb +35 -0
- data/lib/lunchmoney/objects/asset.rb +6 -1
- data/lib/lunchmoney/objects/plaid_account.rb +6 -1
- data/lib/lunchmoney/version.rb +1 -1
- data/sorbet/rbi/annotations/activesupport.rbi +5 -0
- data/sorbet/rbi/gems/{activesupport@7.2.1.rbi → activesupport@7.2.2.1.rbi} +109 -86
- data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
- data/sorbet/rbi/gems/{concurrent-ruby@1.3.4.rbi → concurrent-ruby@1.3.5.rbi} +44 -32
- data/sorbet/rbi/gems/{connection_pool@2.4.1.rbi → connection_pool@2.5.0.rbi} +1 -0
- data/sorbet/rbi/gems/{dotenv@3.1.2.rbi → dotenv@3.1.7.rbi} +21 -29
- data/sorbet/rbi/gems/{erubi@1.13.0.rbi → erubi@1.13.1.rbi} +14 -9
- data/sorbet/rbi/gems/{faraday-net_http@3.1.1.rbi → faraday-net_http@3.4.0.rbi} +34 -34
- data/sorbet/rbi/gems/{faraday@2.10.1.rbi → faraday@2.12.2.rbi} +43 -34
- data/sorbet/rbi/gems/{i18n@1.14.5.rbi → i18n@1.14.7.rbi} +80 -80
- data/sorbet/rbi/gems/{json@2.7.2.rbi → json@2.10.2.rbi} +697 -146
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.4.rbi +9 -0
- data/sorbet/rbi/gems/{logger@1.6.0.rbi → logger@1.6.6.rbi} +109 -72
- data/sorbet/rbi/gems/{minitest@5.25.1.rbi → minitest@5.25.5.rbi} +227 -220
- data/sorbet/rbi/gems/{mocha@2.4.5.rbi → mocha@2.7.1.rbi} +154 -118
- data/sorbet/rbi/gems/{net-http@0.4.1.rbi → net-http@0.6.0.rbi} +360 -181
- data/sorbet/rbi/gems/{parser@3.3.4.2.rbi → parser@3.3.7.1.rbi} +23 -17
- data/sorbet/rbi/gems/{prism@0.30.0.rbi → prism@1.4.0.rbi} +12440 -9920
- data/sorbet/rbi/gems/{rack@3.1.7.rbi → rack@3.1.9.rbi} +91 -83
- data/sorbet/rbi/gems/rbi@0.3.1.rbi +6599 -0
- data/sorbet/rbi/gems/rbs@3.9.0.rbi +6978 -0
- data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.10.0.rbi} +193 -170
- data/sorbet/rbi/gems/{rexml@3.3.6.rbi → rexml@3.4.1.rbi} +541 -114
- data/sorbet/rbi/gems/{rubocop-ast@1.32.1.rbi → rubocop-ast@1.38.0.rbi} +1224 -622
- data/sorbet/rbi/gems/{rubocop-minitest@0.35.1.rbi → rubocop-minitest@0.36.0.rbi} +5 -5
- data/sorbet/rbi/gems/{rubocop-rails@2.26.0.rbi → rubocop-rails@2.29.1.rbi} +9412 -6480
- data/sorbet/rbi/gems/{rubocop-sorbet@0.8.5.rbi → rubocop-sorbet@0.8.7.rbi} +44 -1
- data/sorbet/rbi/gems/{rubocop@1.65.1.rbi → rubocop@1.71.2.rbi} +5606 -3467
- data/sorbet/rbi/gems/{securerandom@0.3.1.rbi → securerandom@0.4.1.rbi} +7 -5
- data/sorbet/rbi/gems/{spoom@1.4.2.rbi → spoom@1.6.1.rbi} +3315 -973
- data/sorbet/rbi/gems/{tapioca@0.16.1.rbi → tapioca@0.16.11.rbi} +300 -234
- data/sorbet/rbi/gems/{thor@1.3.1.rbi → thor@1.3.2.rbi} +58 -31
- data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
- data/sorbet/rbi/gems/{uri@0.13.0.rbi → uri@1.0.3.rbi} +278 -256
- data/sorbet/rbi/gems/{webmock@3.23.1.rbi → webmock@3.25.1.rbi} +101 -78
- data/sorbet/rbi/gems/{yard@0.9.36.rbi → yard@0.9.37.rbi} +394 -235
- metadata +42 -44
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
- data/sorbet/rbi/gems/rbi@0.1.14.rbi +0 -3305
- data/sorbet/rbi/gems/strscan@3.1.0.rbi +0 -9
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -65
- /data/sorbet/rbi/gems/{bigdecimal@3.1.8.rbi → bigdecimal@3.1.9.rbi} +0 -0
- /data/sorbet/rbi/gems/{hashdiff@1.1.1.rbi → hashdiff@1.1.2.rbi} +0 -0
@@ -4,6 +4,7 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `thor` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem thor`.
|
6
6
|
|
7
|
+
|
7
8
|
# source://thor//lib/thor/shell/lcs_diff.rb#1
|
8
9
|
module LCSDiff
|
9
10
|
protected
|
@@ -36,7 +37,7 @@ class Thor
|
|
36
37
|
extend ::Thor::Base::ClassMethods
|
37
38
|
extend ::Thor::Invocation::ClassMethods
|
38
39
|
|
39
|
-
# source://thor//lib/thor.rb#
|
40
|
+
# source://thor//lib/thor.rb#663
|
40
41
|
def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end
|
41
42
|
|
42
43
|
class << self
|
@@ -95,6 +96,19 @@ class Thor
|
|
95
96
|
# source://thor//lib/thor.rb#363
|
96
97
|
def check_unknown_options?(config); end
|
97
98
|
|
99
|
+
# Checks if a specified command exists.
|
100
|
+
#
|
101
|
+
# ==== Parameters
|
102
|
+
# command_name<String>:: The name of the command to check for existence.
|
103
|
+
#
|
104
|
+
# ==== Returns
|
105
|
+
# Boolean:: +true+ if the command exists, +false+ otherwise.
|
106
|
+
#
|
107
|
+
# @return [Boolean]
|
108
|
+
#
|
109
|
+
# source://thor//lib/thor.rb#449
|
110
|
+
def command_exists?(command_name); end
|
111
|
+
|
98
112
|
# Prints help information for the given command.
|
99
113
|
#
|
100
114
|
# ==== Parameters
|
@@ -470,48 +484,48 @@ class Thor
|
|
470
484
|
# the command that is going to be invoked and a boolean which indicates if
|
471
485
|
# the namespace should be displayed as arguments.
|
472
486
|
#
|
473
|
-
# source://thor//lib/thor.rb#
|
487
|
+
# source://thor//lib/thor.rb#546
|
474
488
|
def banner(command, namespace = T.unsafe(nil), subcommand = T.unsafe(nil)); end
|
475
489
|
|
476
|
-
# source://thor//lib/thor.rb#
|
490
|
+
# source://thor//lib/thor.rb#552
|
477
491
|
def baseclass; end
|
478
492
|
|
479
|
-
# source://thor//lib/thor.rb#
|
493
|
+
# source://thor//lib/thor.rb#560
|
480
494
|
def create_command(meth); end
|
481
495
|
|
482
|
-
# source://thor//lib/thor.rb#
|
496
|
+
# source://thor//lib/thor.rb#560
|
483
497
|
def create_task(meth); end
|
484
498
|
|
485
499
|
# help command has the required check disabled by default.
|
486
500
|
#
|
487
|
-
# source://thor//lib/thor.rb#
|
501
|
+
# source://thor//lib/thor.rb#478
|
488
502
|
def disable_required_check; end
|
489
503
|
|
490
504
|
# The method responsible for dispatching given the args.
|
491
505
|
#
|
492
506
|
# @yield [instance]
|
493
507
|
#
|
494
|
-
# source://thor//lib/thor.rb#
|
508
|
+
# source://thor//lib/thor.rb#505
|
495
509
|
def dispatch(meth, given_args, given_opts, config); end
|
496
510
|
|
497
|
-
# source://thor//lib/thor.rb#
|
511
|
+
# source://thor//lib/thor.rb#556
|
498
512
|
def dynamic_command_class; end
|
499
513
|
|
500
514
|
# this is the logic that takes the command name passed in by the user
|
501
515
|
# and determines whether it is an unambiguous substrings of a command or
|
502
516
|
# alias name.
|
503
517
|
#
|
504
|
-
# source://thor//lib/thor.rb#
|
518
|
+
# source://thor//lib/thor.rb#626
|
505
519
|
def find_command_possibilities(meth); end
|
506
520
|
|
507
521
|
# this is the logic that takes the command name passed in by the user
|
508
522
|
# and determines whether it is an unambiguous substrings of a command or
|
509
523
|
# alias name.
|
510
524
|
#
|
511
|
-
# source://thor//lib/thor.rb#
|
525
|
+
# source://thor//lib/thor.rb#626
|
512
526
|
def find_task_possibilities(meth); end
|
513
527
|
|
514
|
-
# source://thor//lib/thor.rb#
|
528
|
+
# source://thor//lib/thor.rb#586
|
515
529
|
def initialize_added; end
|
516
530
|
|
517
531
|
# Returns this class at least one of required options array set.
|
@@ -519,7 +533,7 @@ class Thor
|
|
519
533
|
# ==== Returns
|
520
534
|
# Array[Array[Thor::Option.name]]
|
521
535
|
#
|
522
|
-
# source://thor//lib/thor.rb#
|
536
|
+
# source://thor//lib/thor.rb#469
|
523
537
|
def method_at_least_one_option_names; end
|
524
538
|
|
525
539
|
# Returns this class exclusive options array set.
|
@@ -527,7 +541,7 @@ class Thor
|
|
527
541
|
# ==== Returns
|
528
542
|
# Array[Array[Thor::Option.name]]
|
529
543
|
#
|
530
|
-
# source://thor//lib/thor.rb#
|
544
|
+
# source://thor//lib/thor.rb#460
|
531
545
|
def method_exclusive_option_names; end
|
532
546
|
|
533
547
|
# receives a (possibly nil) command name and returns a name that is in
|
@@ -540,7 +554,7 @@ class Thor
|
|
540
554
|
#
|
541
555
|
# @raise [AmbiguousTaskError]
|
542
556
|
#
|
543
|
-
# source://thor//lib/thor.rb#
|
557
|
+
# source://thor//lib/thor.rb#605
|
544
558
|
def normalize_command_name(meth); end
|
545
559
|
|
546
560
|
# receives a (possibly nil) command name and returns a name that is in
|
@@ -553,23 +567,23 @@ class Thor
|
|
553
567
|
#
|
554
568
|
# @raise [AmbiguousTaskError]
|
555
569
|
#
|
556
|
-
# source://thor//lib/thor.rb#
|
570
|
+
# source://thor//lib/thor.rb#605
|
557
571
|
def normalize_task_name(meth); end
|
558
572
|
|
559
|
-
# source://thor//lib/thor.rb#
|
573
|
+
# source://thor//lib/thor.rb#493
|
560
574
|
def print_at_least_one_required_options(shell, command = T.unsafe(nil)); end
|
561
575
|
|
562
|
-
# source://thor//lib/thor.rb#
|
576
|
+
# source://thor//lib/thor.rb#482
|
563
577
|
def print_exclusive_options(shell, command = T.unsafe(nil)); end
|
564
578
|
|
565
579
|
# Retrieve the command name from given args.
|
566
580
|
#
|
567
|
-
# source://thor//lib/thor.rb#
|
581
|
+
# source://thor//lib/thor.rb#592
|
568
582
|
def retrieve_command_name(args); end
|
569
583
|
|
570
584
|
# Retrieve the command name from given args.
|
571
585
|
#
|
572
|
-
# source://thor//lib/thor.rb#
|
586
|
+
# source://thor//lib/thor.rb#592
|
573
587
|
def retrieve_task_name(args); end
|
574
588
|
|
575
589
|
# Sort the commands, lexicographically by default.
|
@@ -577,16 +591,16 @@ class Thor
|
|
577
591
|
# Can be overridden in the subclass to change the display order of the
|
578
592
|
# commands.
|
579
593
|
#
|
580
|
-
# source://thor//lib/thor.rb#
|
594
|
+
# source://thor//lib/thor.rb#653
|
581
595
|
def sort_commands!(list); end
|
582
596
|
|
583
|
-
# source://thor//lib/thor.rb#
|
597
|
+
# source://thor//lib/thor.rb#473
|
584
598
|
def stop_on_unknown_option; end
|
585
599
|
|
586
|
-
# source://thor//lib/thor.rb#
|
600
|
+
# source://thor//lib/thor.rb#641
|
587
601
|
def subcommand_help(cmd); end
|
588
602
|
|
589
|
-
# source://thor//lib/thor.rb#
|
603
|
+
# source://thor//lib/thor.rb#641
|
590
604
|
def subtask_help(cmd); end
|
591
605
|
end
|
592
606
|
end
|
@@ -2629,7 +2643,7 @@ class Thor::Group
|
|
2629
2643
|
# Shortcut to invoke with padding and block handling. Use internally by
|
2630
2644
|
# invoke and invoke_from_option class methods.
|
2631
2645
|
#
|
2632
|
-
# source://thor//lib/thor/group.rb#
|
2646
|
+
# source://thor//lib/thor/group.rb#276
|
2633
2647
|
def _invoke_for_class_method(klass, command = T.unsafe(nil), *args, &block); end
|
2634
2648
|
|
2635
2649
|
class << self
|
@@ -2639,6 +2653,19 @@ class Thor::Group
|
|
2639
2653
|
# source://thor//lib/thor/group.rb#161
|
2640
2654
|
def class_options_help(shell, groups = T.unsafe(nil)); end
|
2641
2655
|
|
2656
|
+
# Checks if a specified command exists.
|
2657
|
+
#
|
2658
|
+
# ==== Parameters
|
2659
|
+
# command_name<String>:: The name of the command to check for existence.
|
2660
|
+
#
|
2661
|
+
# ==== Returns
|
2662
|
+
# Boolean:: +true+ if the command exists, +false+ otherwise.
|
2663
|
+
#
|
2664
|
+
# @return [Boolean]
|
2665
|
+
#
|
2666
|
+
# source://thor//lib/thor/group.rb#221
|
2667
|
+
def command_exists?(command_name); end
|
2668
|
+
|
2642
2669
|
# The description for this Thor::Group. If none is provided, but a source root
|
2643
2670
|
# exists, tries to find the USAGE one folder above it, otherwise searches
|
2644
2671
|
# in the superclass.
|
@@ -2746,33 +2773,33 @@ class Thor::Group
|
|
2746
2773
|
# The banner for this class. You can customize it if you are invoking the
|
2747
2774
|
# thor class by another ways which is not the Thor::Runner.
|
2748
2775
|
#
|
2749
|
-
# source://thor//lib/thor/group.rb#
|
2776
|
+
# source://thor//lib/thor/group.rb#249
|
2750
2777
|
def banner; end
|
2751
2778
|
|
2752
|
-
# source://thor//lib/thor/group.rb#
|
2779
|
+
# source://thor//lib/thor/group.rb#259
|
2753
2780
|
def baseclass; end
|
2754
2781
|
|
2755
|
-
# source://thor//lib/thor/group.rb#
|
2782
|
+
# source://thor//lib/thor/group.rb#263
|
2756
2783
|
def create_command(meth); end
|
2757
2784
|
|
2758
|
-
# source://thor//lib/thor/group.rb#
|
2785
|
+
# source://thor//lib/thor/group.rb#263
|
2759
2786
|
def create_task(meth); end
|
2760
2787
|
|
2761
2788
|
# The method responsible for dispatching given the args.
|
2762
2789
|
#
|
2763
2790
|
# @yield [instance]
|
2764
2791
|
#
|
2765
|
-
# source://thor//lib/thor/group.rb#
|
2792
|
+
# source://thor//lib/thor/group.rb#228
|
2766
2793
|
def dispatch(command, given_args, given_opts, config); end
|
2767
2794
|
|
2768
2795
|
# Represents the whole class as a command.
|
2769
2796
|
#
|
2770
|
-
# source://thor//lib/thor/group.rb#
|
2797
|
+
# source://thor//lib/thor/group.rb#254
|
2771
2798
|
def self_command; end
|
2772
2799
|
|
2773
2800
|
# Represents the whole class as a command.
|
2774
2801
|
#
|
2775
|
-
# source://thor//lib/thor/group.rb#
|
2802
|
+
# source://thor//lib/thor/group.rb#254
|
2776
2803
|
def self_task; end
|
2777
2804
|
end
|
2778
2805
|
end
|
@@ -0,0 +1,132 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `unicode-display_width` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem unicode-display_width`.
|
6
|
+
|
7
|
+
|
8
|
+
# require "rbconfig"
|
9
|
+
# RbConfig::CONFIG["host_os"] =~ /mswin|mingw/ # windows
|
10
|
+
#
|
11
|
+
# source://unicode-display_width//lib/unicode/display_width/constants.rb#3
|
12
|
+
module Unicode; end
|
13
|
+
|
14
|
+
# source://unicode-display_width//lib/unicode/display_width/constants.rb#4
|
15
|
+
class Unicode::DisplayWidth
|
16
|
+
# @return [DisplayWidth] a new instance of DisplayWidth
|
17
|
+
#
|
18
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#229
|
19
|
+
def initialize(ambiguous: T.unsafe(nil), overwrite: T.unsafe(nil), emoji: T.unsafe(nil)); end
|
20
|
+
|
21
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#235
|
22
|
+
def get_config(**kwargs); end
|
23
|
+
|
24
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#243
|
25
|
+
def of(string, **kwargs); end
|
26
|
+
|
27
|
+
class << self
|
28
|
+
# source://unicode-display_width//lib/unicode/display_width/index.rb#14
|
29
|
+
def decompress_index(index, level); end
|
30
|
+
|
31
|
+
# Returns width of all considered Emoji and remaining string
|
32
|
+
#
|
33
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#143
|
34
|
+
def emoji_width(string, mode = T.unsafe(nil), ambiguous = T.unsafe(nil)); end
|
35
|
+
|
36
|
+
# Match possible Emoji first, then refine
|
37
|
+
#
|
38
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#173
|
39
|
+
def emoji_width_via_possible(string, emoji_set_regex, strict_eaw = T.unsafe(nil), ambiguous = T.unsafe(nil)); end
|
40
|
+
|
41
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#201
|
42
|
+
def normalize_options(string, ambiguous = T.unsafe(nil), overwrite = T.unsafe(nil), old_options = T.unsafe(nil), **options); end
|
43
|
+
|
44
|
+
# Returns monospace display width of string
|
45
|
+
#
|
46
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#51
|
47
|
+
def of(string, ambiguous = T.unsafe(nil), overwrite = T.unsafe(nil), old_options = T.unsafe(nil), **options); end
|
48
|
+
|
49
|
+
# Returns width for ASCII-only strings. Will consider zero-width control symbols.
|
50
|
+
#
|
51
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#133
|
52
|
+
def width_ascii(string); end
|
53
|
+
|
54
|
+
# Returns width of custom overwrites and remaining string
|
55
|
+
#
|
56
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#117
|
57
|
+
def width_custom(string, overwrite); end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#16
|
62
|
+
Unicode::DisplayWidth::AMBIGUOUS_MAP = T.let(T.unsafe(nil), Hash)
|
63
|
+
|
64
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#15
|
65
|
+
Unicode::DisplayWidth::ASCII_BACKSPACE = T.let(T.unsafe(nil), String)
|
66
|
+
|
67
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#13
|
68
|
+
Unicode::DisplayWidth::ASCII_NON_ZERO_REGEX = T.let(T.unsafe(nil), Regexp)
|
69
|
+
|
70
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#14
|
71
|
+
Unicode::DisplayWidth::ASCII_NON_ZERO_STRING = T.let(T.unsafe(nil), String)
|
72
|
+
|
73
|
+
# source://unicode-display_width//lib/unicode/display_width/constants.rb#7
|
74
|
+
Unicode::DisplayWidth::DATA_DIRECTORY = T.let(T.unsafe(nil), String)
|
75
|
+
|
76
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#11
|
77
|
+
Unicode::DisplayWidth::DEFAULT_AMBIGUOUS = T.let(T.unsafe(nil), Integer)
|
78
|
+
|
79
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#32
|
80
|
+
Unicode::DisplayWidth::EMOJI_SEQUENCES_REGEX_MAPPING = T.let(T.unsafe(nil), Hash)
|
81
|
+
|
82
|
+
# source://unicode-display_width//lib/unicode/display_width/emoji_support.rb#6
|
83
|
+
module Unicode::DisplayWidth::EmojiSupport
|
84
|
+
class << self
|
85
|
+
# Tries to find out which terminal emulator is used to
|
86
|
+
# set emoji: config to best suiting value
|
87
|
+
#
|
88
|
+
# Please also see section in README.md and
|
89
|
+
# misc/terminal-emoji-width.rb
|
90
|
+
#
|
91
|
+
# Please note: Many terminals do not set any ENV vars,
|
92
|
+
# maybe CSI queries can help?
|
93
|
+
#
|
94
|
+
# source://unicode-display_width//lib/unicode/display_width/emoji_support.rb#15
|
95
|
+
def recommended; end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#28
|
100
|
+
Unicode::DisplayWidth::FIRST_4096 = T.let(T.unsafe(nil), Hash)
|
101
|
+
|
102
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#20
|
103
|
+
Unicode::DisplayWidth::FIRST_AMBIGUOUS = T.let(T.unsafe(nil), Hash)
|
104
|
+
|
105
|
+
# source://unicode-display_width//lib/unicode/display_width/index.rb#11
|
106
|
+
Unicode::DisplayWidth::INDEX = T.let(T.unsafe(nil), Hash)
|
107
|
+
|
108
|
+
# source://unicode-display_width//lib/unicode/display_width/constants.rb#8
|
109
|
+
Unicode::DisplayWidth::INDEX_FILENAME = T.let(T.unsafe(nil), String)
|
110
|
+
|
111
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#12
|
112
|
+
Unicode::DisplayWidth::INITIAL_DEPTH = T.let(T.unsafe(nil), Integer)
|
113
|
+
|
114
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#24
|
115
|
+
Unicode::DisplayWidth::NOT_COMMON_NARROW_REGEX = T.let(T.unsafe(nil), Hash)
|
116
|
+
|
117
|
+
# ebase = Unicode::Emoji::REGEX_PROP_MODIFIER_BASE.source
|
118
|
+
#
|
119
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#47
|
120
|
+
Unicode::DisplayWidth::REGEX_EMOJI_ALL_SEQUENCES = T.let(T.unsafe(nil), Regexp)
|
121
|
+
|
122
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#48
|
123
|
+
Unicode::DisplayWidth::REGEX_EMOJI_ALL_SEQUENCES_AND_VS16 = T.let(T.unsafe(nil), Regexp)
|
124
|
+
|
125
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#37
|
126
|
+
Unicode::DisplayWidth::REGEX_EMOJI_VS16 = T.let(T.unsafe(nil), Regexp)
|
127
|
+
|
128
|
+
# source://unicode-display_width//lib/unicode/display_width/constants.rb#6
|
129
|
+
Unicode::DisplayWidth::UNICODE_VERSION = T.let(T.unsafe(nil), String)
|
130
|
+
|
131
|
+
# source://unicode-display_width//lib/unicode/display_width/constants.rb#5
|
132
|
+
Unicode::DisplayWidth::VERSION = T.let(T.unsafe(nil), String)
|
@@ -0,0 +1,251 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `unicode-emoji` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem unicode-emoji`.
|
6
|
+
|
7
|
+
|
8
|
+
# This file was generated by a script, please do not edit it by hand.
|
9
|
+
# See `$ rake generate_constants` and data/generate_constants.rb for more info.
|
10
|
+
#
|
11
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#3
|
12
|
+
module Unicode; end
|
13
|
+
|
14
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#4
|
15
|
+
module Unicode::Emoji
|
16
|
+
class << self
|
17
|
+
# Returns ordered list of Emoji, categorized in a three-level deep Hash structure
|
18
|
+
#
|
19
|
+
# source://unicode-emoji//lib/unicode/emoji.rb#80
|
20
|
+
def list(key = T.unsafe(nil), sub_key = T.unsafe(nil)); end
|
21
|
+
|
22
|
+
# Return Emoji properties of character as an Array or nil
|
23
|
+
# See PROPERTY_NAMES constant for possible properties
|
24
|
+
#
|
25
|
+
# Source: see https://www.unicode.org/Public/16.0.0/ucd/emoji/emoji-data.txt
|
26
|
+
#
|
27
|
+
# source://unicode-emoji//lib/unicode/emoji.rb#68
|
28
|
+
def properties(char); end
|
29
|
+
|
30
|
+
private
|
31
|
+
|
32
|
+
# source://unicode-emoji//lib/unicode/emoji.rb#88
|
33
|
+
def get_codepoint_value(char); end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
# Last codepoint of tag-based subdivision flags
|
38
|
+
#
|
39
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#31
|
40
|
+
Unicode::Emoji::CANCEL_TAG = T.let(T.unsafe(nil), Integer)
|
41
|
+
|
42
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#7
|
43
|
+
Unicode::Emoji::CLDR_VERSION = T.let(T.unsafe(nil), String)
|
44
|
+
|
45
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#8
|
46
|
+
Unicode::Emoji::DATA_DIRECTORY = T.let(T.unsafe(nil), String)
|
47
|
+
|
48
|
+
# The current list of codepoints with the "Emoji" property
|
49
|
+
# Same characters as \p{Emoji}
|
50
|
+
# (Emoji version of this gem might be more recent than Ruby's Emoji version)
|
51
|
+
#
|
52
|
+
# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#8
|
53
|
+
Unicode::Emoji::EMOJI_CHAR = T.let(T.unsafe(nil), Array)
|
54
|
+
|
55
|
+
# The current list of codepoints with the "Emoji_Component" property
|
56
|
+
# Same characters as \p{Emoji Component} or \p{EComp}
|
57
|
+
# (Emoji version of this gem might be more recent than Ruby's Emoji version)
|
58
|
+
#
|
59
|
+
# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#21
|
60
|
+
Unicode::Emoji::EMOJI_COMPONENT = T.let(T.unsafe(nil), Array)
|
61
|
+
|
62
|
+
# The list of characters that can be used as base for keycap sequences
|
63
|
+
#
|
64
|
+
# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#42
|
65
|
+
Unicode::Emoji::EMOJI_KEYCAPS = T.let(T.unsafe(nil), Array)
|
66
|
+
|
67
|
+
# Combining Enclosing Keycap character
|
68
|
+
#
|
69
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#37
|
70
|
+
Unicode::Emoji::EMOJI_KEYCAP_SUFFIX = T.let(T.unsafe(nil), Integer)
|
71
|
+
|
72
|
+
# The current list of codepoints with the "Emoji_Modifier" property
|
73
|
+
# Same characters as \p{Emoji Modifier} or \p{EMod}
|
74
|
+
# (Emoji version of this gem might be more recent than Ruby's Emoji version)
|
75
|
+
#
|
76
|
+
# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#31
|
77
|
+
Unicode::Emoji::EMOJI_MODIFIERS = T.let(T.unsafe(nil), Array)
|
78
|
+
|
79
|
+
# The current list of codepoints with the "Emoji_Modifier_Base" property
|
80
|
+
# Same characters as \p{Emoji Modifier Base} or \p{EBase}
|
81
|
+
# (Emoji version of this gem might be more recent than Ruby's Emoji version)
|
82
|
+
#
|
83
|
+
# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#26
|
84
|
+
Unicode::Emoji::EMOJI_MODIFIER_BASES = T.let(T.unsafe(nil), Array)
|
85
|
+
|
86
|
+
# The current list of codepoints with the "Emoji_Presentation" property
|
87
|
+
# Same characters as \p{Emoji Presentation} or \p{EPres}
|
88
|
+
# (Emoji version of this gem might be more recent than Ruby's Emoji version)
|
89
|
+
#
|
90
|
+
# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#13
|
91
|
+
Unicode::Emoji::EMOJI_PRESENTATION = T.let(T.unsafe(nil), Array)
|
92
|
+
|
93
|
+
# First codepoint of tag-based subdivision flags
|
94
|
+
#
|
95
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#28
|
96
|
+
Unicode::Emoji::EMOJI_TAG_BASE_FLAG = T.let(T.unsafe(nil), Integer)
|
97
|
+
|
98
|
+
# Variation Selector 16 (VS16), enables emoji presentation mode for preceding codepoint
|
99
|
+
#
|
100
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#22
|
101
|
+
Unicode::Emoji::EMOJI_VARIATION_SELECTOR = T.let(T.unsafe(nil), Integer)
|
102
|
+
|
103
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#6
|
104
|
+
Unicode::Emoji::EMOJI_VERSION = T.let(T.unsafe(nil), String)
|
105
|
+
|
106
|
+
# The current list of codepoints with the "Extended_Pictographic" property
|
107
|
+
# Same characters as \p{Extended Pictographic} or \p{ExtPict}
|
108
|
+
# (Emoji version of this gem might be more recent than Ruby's Emoji version)
|
109
|
+
#
|
110
|
+
# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#36
|
111
|
+
Unicode::Emoji::EXTENDED_PICTOGRAPHIC = T.let(T.unsafe(nil), Array)
|
112
|
+
|
113
|
+
# The current list of codepoints with the "Extended_Pictographic" property that don't have the "Emoji" property
|
114
|
+
#
|
115
|
+
# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#39
|
116
|
+
Unicode::Emoji::EXTENDED_PICTOGRAPHIC_NO_EMOJI = T.let(T.unsafe(nil), Array)
|
117
|
+
|
118
|
+
# source://unicode-emoji//lib/unicode/emoji/index.rb#11
|
119
|
+
Unicode::Emoji::INDEX = T.let(T.unsafe(nil), Hash)
|
120
|
+
|
121
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#9
|
122
|
+
Unicode::Emoji::INDEX_FILENAME = T.let(T.unsafe(nil), String)
|
123
|
+
|
124
|
+
# Contains an ordered and group list of all currently recommended Emoji (RGI/FQE)
|
125
|
+
#
|
126
|
+
# source://unicode-emoji//lib/unicode/emoji/list.rb#6
|
127
|
+
Unicode::Emoji::LIST = T.let(T.unsafe(nil), Hash)
|
128
|
+
|
129
|
+
# Sometimes, categories change, we issue a warning in these cases
|
130
|
+
#
|
131
|
+
# source://unicode-emoji//lib/unicode/emoji/list.rb#9
|
132
|
+
Unicode::Emoji::LIST_REMOVED_KEYS = T.let(T.unsafe(nil), Array)
|
133
|
+
|
134
|
+
# Unicode properties, see https://www.unicode.org/Public/16.0.0/ucd/emoji/emoji-data.txt
|
135
|
+
#
|
136
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#12
|
137
|
+
Unicode::Emoji::PROPERTY_NAMES = T.let(T.unsafe(nil), Hash)
|
138
|
+
|
139
|
+
# The list RGI tag sequence flags
|
140
|
+
#
|
141
|
+
# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#51
|
142
|
+
Unicode::Emoji::RECOMMENDED_SUBDIVISION_FLAGS = T.let(T.unsafe(nil), Array)
|
143
|
+
|
144
|
+
# The list of fully-qualified RGI Emoji ZWJ sequences
|
145
|
+
#
|
146
|
+
# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#54
|
147
|
+
Unicode::Emoji::RECOMMENDED_ZWJ_SEQUENCES = T.let(T.unsafe(nil), Array)
|
148
|
+
|
149
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex.rb#6
|
150
|
+
Unicode::Emoji::REGEX = T.let(T.unsafe(nil), Regexp)
|
151
|
+
|
152
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_basic.rb#6
|
153
|
+
Unicode::Emoji::REGEX_BASIC = T.let(T.unsafe(nil), Regexp)
|
154
|
+
|
155
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_emoji_keycap.rb#6
|
156
|
+
Unicode::Emoji::REGEX_EMOJI_KEYCAP = T.let(T.unsafe(nil), Regexp)
|
157
|
+
|
158
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_include_mqe.rb#6
|
159
|
+
Unicode::Emoji::REGEX_INCLUDE_MQE = T.let(T.unsafe(nil), Regexp)
|
160
|
+
|
161
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_include_mqe_uqe.rb#6
|
162
|
+
Unicode::Emoji::REGEX_INCLUDE_MQE_UQE = T.let(T.unsafe(nil), Regexp)
|
163
|
+
|
164
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_include_text.rb#6
|
165
|
+
Unicode::Emoji::REGEX_INCLUDE_TEXT = T.let(T.unsafe(nil), Regexp)
|
166
|
+
|
167
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_picto.rb#6
|
168
|
+
Unicode::Emoji::REGEX_PICTO = T.let(T.unsafe(nil), Regexp)
|
169
|
+
|
170
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_picto_no_emoji.rb#6
|
171
|
+
Unicode::Emoji::REGEX_PICTO_NO_EMOJI = T.let(T.unsafe(nil), Regexp)
|
172
|
+
|
173
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_possible.rb#6
|
174
|
+
Unicode::Emoji::REGEX_POSSIBLE = T.let(T.unsafe(nil), Regexp)
|
175
|
+
|
176
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_prop_component.rb#6
|
177
|
+
Unicode::Emoji::REGEX_PROP_COMPONENT = T.let(T.unsafe(nil), Regexp)
|
178
|
+
|
179
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_prop_emoji.rb#6
|
180
|
+
Unicode::Emoji::REGEX_PROP_EMOJI = T.let(T.unsafe(nil), Regexp)
|
181
|
+
|
182
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_prop_modifier.rb#6
|
183
|
+
Unicode::Emoji::REGEX_PROP_MODIFIER = T.let(T.unsafe(nil), Regexp)
|
184
|
+
|
185
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_prop_modifier_base.rb#6
|
186
|
+
Unicode::Emoji::REGEX_PROP_MODIFIER_BASE = T.let(T.unsafe(nil), Regexp)
|
187
|
+
|
188
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_prop_presentation.rb#6
|
189
|
+
Unicode::Emoji::REGEX_PROP_PRESENTATION = T.let(T.unsafe(nil), Regexp)
|
190
|
+
|
191
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_text.rb#6
|
192
|
+
Unicode::Emoji::REGEX_TEXT = T.let(T.unsafe(nil), Regexp)
|
193
|
+
|
194
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_text_presentation.rb#6
|
195
|
+
Unicode::Emoji::REGEX_TEXT_PRESENTATION = T.let(T.unsafe(nil), Regexp)
|
196
|
+
|
197
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_valid.rb#6
|
198
|
+
Unicode::Emoji::REGEX_VALID = T.let(T.unsafe(nil), Regexp)
|
199
|
+
|
200
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_valid_include_text.rb#6
|
201
|
+
Unicode::Emoji::REGEX_VALID_INCLUDE_TEXT = T.let(T.unsafe(nil), Regexp)
|
202
|
+
|
203
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_well_formed.rb#6
|
204
|
+
Unicode::Emoji::REGEX_WELL_FORMED = T.let(T.unsafe(nil), Regexp)
|
205
|
+
|
206
|
+
# source://unicode-emoji//lib/unicode/emoji/generated/regex_well_formed_include_text.rb#6
|
207
|
+
Unicode::Emoji::REGEX_WELL_FORMED_INCLUDE_TEXT = T.let(T.unsafe(nil), Regexp)
|
208
|
+
|
209
|
+
# Two regional indicators make up a region
|
210
|
+
#
|
211
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#43
|
212
|
+
Unicode::Emoji::REGIONAL_INDICATORS = T.let(T.unsafe(nil), Array)
|
213
|
+
|
214
|
+
# Tags characters allowed in tag-based subdivision flags
|
215
|
+
#
|
216
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#34
|
217
|
+
Unicode::Emoji::SPEC_TAGS = T.let(T.unsafe(nil), Array)
|
218
|
+
|
219
|
+
# The current list of codepoints with the "Emoji" property that lack the "Emoji Presentation" property
|
220
|
+
#
|
221
|
+
# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#16
|
222
|
+
Unicode::Emoji::TEXT_PRESENTATION = T.let(T.unsafe(nil), Array)
|
223
|
+
|
224
|
+
# Variation Selector 15 (VS15), enables text presentation mode for preceding codepoint
|
225
|
+
#
|
226
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#25
|
227
|
+
Unicode::Emoji::TEXT_VARIATION_SELECTOR = T.let(T.unsafe(nil), Integer)
|
228
|
+
|
229
|
+
# The list of valid regions
|
230
|
+
#
|
231
|
+
# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#45
|
232
|
+
Unicode::Emoji::VALID_REGION_FLAGS = T.let(T.unsafe(nil), Array)
|
233
|
+
|
234
|
+
# The list of valid subdivisions in regex character class syntax
|
235
|
+
#
|
236
|
+
# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#48
|
237
|
+
Unicode::Emoji::VALID_SUBDIVISIONS = T.let(T.unsafe(nil), Array)
|
238
|
+
|
239
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#5
|
240
|
+
Unicode::Emoji::VERSION = T.let(T.unsafe(nil), String)
|
241
|
+
|
242
|
+
# The current list of Emoji components that should have a visual representation
|
243
|
+
# Currently skin tone modifiers + hair components
|
244
|
+
#
|
245
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#47
|
246
|
+
Unicode::Emoji::VISUAL_COMPONENT = T.let(T.unsafe(nil), Array)
|
247
|
+
|
248
|
+
# Zero-width-joiner to enable combination of multiple Emoji in a sequence
|
249
|
+
#
|
250
|
+
# source://unicode-emoji//lib/unicode/emoji/constants.rb#40
|
251
|
+
Unicode::Emoji::ZWJ = T.let(T.unsafe(nil), Integer)
|