active_cached_resource 0.0.1.pre → 0.1.0
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/.rubocop.yml +2 -1
- data/Rakefile +22 -14
- data/lib/active_cached_resource/version.rb +3 -3
- data/lib/activeresource/examples/performance.rb +1 -1
- data/lib/activeresource/lib/active_resource/collection.rb +14 -1
- data/lib/activeresource/lib/active_resource/railtie.rb +2 -2
- data/lib/activeresource/lib/active_resource.rb +1 -1
- data/lib/activeresource/test/abstract_unit.rb +2 -1
- data/lib/activeresource/test/cases/active_job_serializer_test.rb +1 -1
- data/lib/activeresource/test/cases/collection_test.rb +24 -0
- data/lib/activeresource/test/cases/log_subscriber_test.rb +2 -1
- data/lib/activeresource/test/fixtures/fixtures.rbi +46 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/{actioncable@8.0.0.rbi → actioncable@8.0.1.rbi} +51 -51
- data/sorbet/rbi/gems/{actionpack@8.0.0.rbi → actionpack@8.0.1.rbi} +548 -346
- data/sorbet/rbi/gems/{actionview@8.0.0.rbi → actionview@8.0.1.rbi} +465 -263
- data/sorbet/rbi/gems/activejob@8.0.1.rbi +90 -0
- data/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi +4 -4
- data/sorbet/rbi/gems/{activemodel@8.0.0.rbi → activemodel@8.0.1.rbi} +11 -3
- data/sorbet/rbi/gems/{activerecord@8.0.0.rbi → activerecord@8.0.1.rbi} +957 -576
- data/sorbet/rbi/gems/{activesupport@8.0.0.rbi → activesupport@8.0.1.rbi} +287 -112
- data/sorbet/rbi/gems/{json@2.8.2.rbi → json@2.9.0.rbi} +107 -64
- data/sorbet/rbi/gems/{logger@1.6.1.rbi → logger@1.6.3.rbi} +31 -11
- data/sorbet/rbi/gems/mocha@2.7.1.rbi +12 -0
- data/sorbet/rbi/gems/msgpack@1.7.5.rbi +320 -0
- data/sorbet/rbi/gems/{nokogiri@1.16.7.rbi → nokogiri@1.17.2.rbi} +1692 -802
- data/sorbet/rbi/gems/{psych@5.2.0.rbi → psych@5.2.1.rbi} +47 -47
- data/sorbet/rbi/gems/rack@3.1.8.rbi +1 -1
- data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +22 -22
- data/sorbet/rbi/gems/{rails-html-sanitizer@1.6.0.rbi → rails-html-sanitizer@1.6.2.rbi} +100 -100
- data/sorbet/rbi/gems/{railties@8.0.0.rbi → railties@8.0.1.rbi} +186 -126
- data/sorbet/rbi/gems/rake@13.2.1.rbi +0 -63
- data/sorbet/rbi/gems/{rdoc@6.8.1.rbi → rdoc@6.9.1.rbi} +160 -139
- data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.9.3.rbi} +35 -35
- data/sorbet/rbi/gems/{reline@0.5.12.rbi → reline@0.6.0.rbi} +473 -435
- data/sorbet/rbi/gems/{rexml@3.3.9.rbi → rexml@3.4.0.rbi} +87 -74
- data/sorbet/rbi/gems/rspec-core@3.13.2.rbi +3 -6
- data/sorbet/rbi/gems/{rubocop-ast@1.36.1.rbi → rubocop-ast@1.37.0.rbi} +514 -104
- data/sorbet/rbi/gems/rubocop-md@1.2.4.rbi +123 -0
- data/sorbet/rbi/gems/rubocop-minitest@0.36.0.rbi +2613 -0
- data/sorbet/rbi/gems/rubocop-packaging@0.5.2.rbi +388 -0
- data/sorbet/rbi/gems/rubocop-rails@2.27.0.rbi +9535 -0
- data/sorbet/rbi/gems/{rubocop@1.65.1.rbi → rubocop@1.69.2.rbi} +4058 -2628
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +78 -0
- data/sorbet/rbi/gems/sqlite3@2.3.1.rbi +1824 -0
- data/sorbet/rbi/gems/{standard@1.40.0.rbi → standard@1.43.0.rbi} +61 -64
- data/sorbet/rbi/gems/unicode-display_width@3.1.2.rbi +130 -0
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
- data/sorbet/tapioca/require.rb +2 -1
- metadata +49 -139
- data/sorbet/rbi/gems/activejob@8.0.0.rbi +0 -9
- data/sorbet/rbi/gems/activeresource@6.1.4.rbi +0 -3944
- data/sorbet/rbi/gems/securerandom@0.3.2.rbi +0 -395
- data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +0 -66
- /data/sorbet/rbi/gems/{actionmailbox@8.0.0.rbi → actionmailbox@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{actionmailer@8.0.0.rbi → actionmailer@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{actiontext@8.0.0.rbi → actiontext@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{activestorage@8.0.0.rbi → activestorage@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{date@3.4.0.rbi → date@3.4.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{io-console@0.7.2.rbi → io-console@0.8.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{minitest@5.25.2.rbi → minitest@5.25.4.rbi} +0 -0
- /data/sorbet/rbi/gems/{net-imap@0.5.1.rbi → net-imap@0.5.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rails@8.0.0.rbi → rails@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{rspec-support@3.13.1.rbi → rspec-support@3.13.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rubocop-performance@1.21.1.rbi → rubocop-performance@1.23.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{standard-performance@1.4.0.rbi → standard-performance@1.6.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{useragent@0.16.10.rbi → useragent@0.16.11.rbi} +0 -0
|
@@ -15,75 +15,75 @@ class RuboCop::CommentConfig
|
|
|
15
15
|
# source://standard//lib/standard/rubocop/ext.rb#20
|
|
16
16
|
def initialize(processed_source); end
|
|
17
17
|
|
|
18
|
-
# source://rubocop/1.
|
|
18
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#63
|
|
19
19
|
def comment_only_line?(line_number); end
|
|
20
20
|
|
|
21
|
-
# source://
|
|
22
|
-
def config(*
|
|
21
|
+
# source://rubocop-ast/1.37.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
22
|
+
def config(*_arg0, **_arg1, &_arg2); end
|
|
23
23
|
|
|
24
|
-
# source://rubocop/1.
|
|
24
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#51
|
|
25
25
|
def cop_disabled_line_ranges; end
|
|
26
26
|
|
|
27
|
-
# source://rubocop/1.
|
|
27
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#39
|
|
28
28
|
def cop_enabled_at_line?(cop, line_number); end
|
|
29
29
|
|
|
30
|
-
# source://rubocop/1.
|
|
30
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#47
|
|
31
31
|
def cop_opted_in?(cop); end
|
|
32
32
|
|
|
33
|
-
# source://rubocop/1.
|
|
33
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#55
|
|
34
34
|
def extra_enabled_comments; end
|
|
35
35
|
|
|
36
|
-
# source://rubocop/1.
|
|
36
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#30
|
|
37
37
|
def processed_source; end
|
|
38
38
|
|
|
39
|
-
# source://
|
|
40
|
-
def registry(*
|
|
39
|
+
# source://rubocop-ast/1.37.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
40
|
+
def registry(*_arg0, **_arg1, &_arg2); end
|
|
41
41
|
|
|
42
42
|
private
|
|
43
43
|
|
|
44
|
-
# source://rubocop/1.
|
|
44
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#96
|
|
45
45
|
def analyze; end
|
|
46
46
|
|
|
47
|
-
# source://rubocop/1.
|
|
47
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#124
|
|
48
48
|
def analyze_cop(analysis, directive); end
|
|
49
49
|
|
|
50
|
-
# source://rubocop/1.
|
|
50
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#144
|
|
51
51
|
def analyze_disabled(analysis, directive); end
|
|
52
52
|
|
|
53
|
-
# source://rubocop/1.
|
|
53
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#155
|
|
54
54
|
def analyze_rest(analysis, directive); end
|
|
55
55
|
|
|
56
|
-
# source://rubocop/1.
|
|
56
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#135
|
|
57
57
|
def analyze_single_line(analysis, directive); end
|
|
58
58
|
|
|
59
|
-
# source://rubocop/1.
|
|
59
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#164
|
|
60
60
|
def cop_line_ranges(analysis); end
|
|
61
61
|
|
|
62
|
-
# source://rubocop/1.
|
|
62
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#170
|
|
63
63
|
def each_directive; end
|
|
64
64
|
|
|
65
|
-
# source://rubocop/1.
|
|
65
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#69
|
|
66
66
|
def extra_enabled_comments_with_names(extras:, names:); end
|
|
67
67
|
|
|
68
|
-
# source://rubocop/1.
|
|
68
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#190
|
|
69
69
|
def handle_enable_all(directive, names, extras); end
|
|
70
70
|
|
|
71
|
-
# source://rubocop/1.
|
|
71
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#204
|
|
72
72
|
def handle_switch(directive, names, extras); end
|
|
73
73
|
|
|
74
|
-
# source://rubocop/1.
|
|
74
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#115
|
|
75
75
|
def inject_disabled_cops_directives(analyses); end
|
|
76
76
|
|
|
77
|
-
# source://rubocop/1.
|
|
77
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#183
|
|
78
78
|
def non_comment_token_line_numbers; end
|
|
79
79
|
|
|
80
|
-
# source://rubocop/1.
|
|
80
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#34
|
|
81
81
|
def old_initialize(processed_source); end
|
|
82
82
|
|
|
83
|
-
# source://rubocop/1.
|
|
83
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#83
|
|
84
84
|
def opt_in_cops; end
|
|
85
85
|
|
|
86
|
-
# source://rubocop/1.
|
|
86
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#179
|
|
87
87
|
def qualified_cop_name(cop_name); end
|
|
88
88
|
end
|
|
89
89
|
|
|
@@ -95,114 +95,114 @@ class RuboCop::Cop::Lint::AssignmentInCondition < ::RuboCop::Cop::Base
|
|
|
95
95
|
# source://standard//lib/standard/rubocop/ext.rb#4
|
|
96
96
|
def message(_); end
|
|
97
97
|
|
|
98
|
-
# source://rubocop/1.
|
|
98
|
+
# source://rubocop/1.69.2/lib/rubocop/cop/lint/assignment_in_condition.rb#55
|
|
99
99
|
def on_if(node); end
|
|
100
100
|
|
|
101
|
-
# source://rubocop/1.
|
|
101
|
+
# source://rubocop/1.69.2/lib/rubocop/cop/lint/assignment_in_condition.rb#55
|
|
102
102
|
def on_until(node); end
|
|
103
103
|
|
|
104
|
-
# source://rubocop/1.
|
|
104
|
+
# source://rubocop/1.69.2/lib/rubocop/cop/lint/assignment_in_condition.rb#55
|
|
105
105
|
def on_while(node); end
|
|
106
106
|
|
|
107
107
|
private
|
|
108
108
|
|
|
109
|
-
# source://rubocop/1.
|
|
109
|
+
# source://rubocop/1.69.2/lib/rubocop/cop/lint/assignment_in_condition.rb#82
|
|
110
110
|
def allowed_construct?(asgn_node); end
|
|
111
111
|
|
|
112
|
-
# source://rubocop/1.
|
|
112
|
+
# source://rubocop/1.69.2/lib/rubocop/cop/lint/assignment_in_condition.rb#86
|
|
113
113
|
def conditional_assignment?(asgn_node); end
|
|
114
114
|
|
|
115
|
-
# source://rubocop/1.
|
|
115
|
+
# source://rubocop/1.69.2/lib/rubocop/cop/lint/assignment_in_condition.rb#90
|
|
116
116
|
def skip_children?(asgn_node); end
|
|
117
117
|
|
|
118
|
-
# source://rubocop/1.
|
|
118
|
+
# source://rubocop/1.69.2/lib/rubocop/cop/lint/assignment_in_condition.rb#96
|
|
119
119
|
def traverse_node(node, &block); end
|
|
120
120
|
end
|
|
121
121
|
|
|
122
122
|
# source://standard//lib/standard/rubocop/ext.rb#9
|
|
123
123
|
class RuboCop::DirectiveComment
|
|
124
|
-
# source://rubocop/1.
|
|
124
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#32
|
|
125
125
|
def initialize(comment, cop_registry = T.unsafe(nil)); end
|
|
126
126
|
|
|
127
|
-
# source://rubocop/1.
|
|
127
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#82
|
|
128
128
|
def all_cops?; end
|
|
129
129
|
|
|
130
|
-
# source://rubocop/1.
|
|
130
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#30
|
|
131
131
|
def comment; end
|
|
132
132
|
|
|
133
|
-
# source://rubocop/1.
|
|
133
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#87
|
|
134
134
|
def cop_names; end
|
|
135
135
|
|
|
136
|
-
# source://rubocop/1.
|
|
136
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#30
|
|
137
137
|
def cop_registry; end
|
|
138
138
|
|
|
139
|
-
# source://rubocop/1.
|
|
139
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#30
|
|
140
140
|
def cops; end
|
|
141
141
|
|
|
142
|
-
# source://rubocop/1.
|
|
142
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#93
|
|
143
143
|
def department_names; end
|
|
144
144
|
|
|
145
|
-
# source://rubocop/1.
|
|
145
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#107
|
|
146
146
|
def directive_count; end
|
|
147
147
|
|
|
148
|
-
# source://rubocop/1.
|
|
148
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#62
|
|
149
149
|
def disabled?; end
|
|
150
150
|
|
|
151
|
-
# source://rubocop/1.
|
|
151
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#77
|
|
152
152
|
def disabled_all?; end
|
|
153
153
|
|
|
154
|
-
# source://rubocop/1.
|
|
154
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#67
|
|
155
155
|
def enabled?; end
|
|
156
156
|
|
|
157
|
-
# source://rubocop/1.
|
|
157
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#72
|
|
158
158
|
def enabled_all?; end
|
|
159
159
|
|
|
160
|
-
# source://rubocop/1.
|
|
160
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#98
|
|
161
161
|
def in_directive_department?(cop); end
|
|
162
162
|
|
|
163
|
-
# source://rubocop/1.
|
|
163
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#112
|
|
164
164
|
def line_number; end
|
|
165
165
|
|
|
166
|
-
# source://rubocop/1.
|
|
166
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#44
|
|
167
167
|
def match?(cop_names); end
|
|
168
168
|
|
|
169
|
-
# source://rubocop/1.
|
|
169
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#57
|
|
170
170
|
def match_captures; end
|
|
171
171
|
|
|
172
|
-
# source://rubocop/1.
|
|
172
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#30
|
|
173
173
|
def mode; end
|
|
174
174
|
|
|
175
|
-
# source://rubocop/1.
|
|
175
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#103
|
|
176
176
|
def overridden_by_department?(cop); end
|
|
177
177
|
|
|
178
|
-
# source://rubocop/1.
|
|
178
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#48
|
|
179
179
|
def range; end
|
|
180
180
|
|
|
181
|
-
# source://rubocop/1.
|
|
181
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#39
|
|
182
182
|
def single_line?; end
|
|
183
183
|
|
|
184
184
|
private
|
|
185
185
|
|
|
186
|
-
# source://rubocop/1.
|
|
186
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#133
|
|
187
187
|
def all_cop_names; end
|
|
188
188
|
|
|
189
|
-
# source://rubocop/1.
|
|
189
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#137
|
|
190
190
|
def cop_names_for_department(department); end
|
|
191
191
|
|
|
192
|
-
# source://rubocop/1.
|
|
192
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#129
|
|
193
193
|
def department?(name); end
|
|
194
194
|
|
|
195
|
-
# source://rubocop/1.
|
|
195
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#142
|
|
196
196
|
def exclude_lint_department_cops(cops); end
|
|
197
197
|
|
|
198
|
-
# source://rubocop/1.
|
|
198
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#122
|
|
199
199
|
def parsed_cop_names; end
|
|
200
200
|
|
|
201
|
-
# source://rubocop/1.
|
|
201
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#118
|
|
202
202
|
def splitted_cops_string; end
|
|
203
203
|
|
|
204
204
|
class << self
|
|
205
|
-
# source://rubocop/1.
|
|
205
|
+
# source://rubocop/1.69.2/lib/rubocop/directive_comment.rb#26
|
|
206
206
|
def before_comment(line); end
|
|
207
207
|
end
|
|
208
208
|
end
|
|
@@ -632,7 +632,7 @@ class Standard::Lsp::StdinRubocopRunner < ::RuboCop::Runner
|
|
|
632
632
|
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#10
|
|
633
633
|
def config_for_working_directory; end
|
|
634
634
|
|
|
635
|
-
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#
|
|
635
|
+
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#60
|
|
636
636
|
def formatted_source; end
|
|
637
637
|
|
|
638
638
|
# Returns the value of attribute offenses.
|
|
@@ -645,7 +645,7 @@ class Standard::Lsp::StdinRubocopRunner < ::RuboCop::Runner
|
|
|
645
645
|
|
|
646
646
|
private
|
|
647
647
|
|
|
648
|
-
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#
|
|
648
|
+
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#66
|
|
649
649
|
def file_finished(_file, offenses); end
|
|
650
650
|
end
|
|
651
651
|
|
|
@@ -860,9 +860,6 @@ Standard::Plugin::StandardizesConfiguredPlugins::BUILT_INS = T.let(T.unsafe(nil)
|
|
|
860
860
|
# source://standard//lib/standard/plugin/standardizes_configured_plugins.rb#4
|
|
861
861
|
Standard::Plugin::StandardizesConfiguredPlugins::DEFAULT_PLUGIN_CONFIG = T.let(T.unsafe(nil), Hash)
|
|
862
862
|
|
|
863
|
-
# source://standard//lib/standard/railtie.rb#4
|
|
864
|
-
class Standard::Railtie < ::Rails::Railtie; end
|
|
865
|
-
|
|
866
863
|
# source://standard//lib/standard/resolves_yaml_option.rb#4
|
|
867
864
|
class Standard::ResolvesYamlOption
|
|
868
865
|
# source://standard//lib/standard/resolves_yaml_option.rb#5
|
|
@@ -0,0 +1,130 @@
|
|
|
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#220
|
|
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#226
|
|
22
|
+
def get_config(**kwargs); end
|
|
23
|
+
|
|
24
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#234
|
|
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#134
|
|
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#164
|
|
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#192
|
|
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#49
|
|
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#124
|
|
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#108
|
|
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
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#45
|
|
118
|
+
Unicode::DisplayWidth::REGEX_EMOJI_ALL_SEQUENCES = T.let(T.unsafe(nil), Regexp)
|
|
119
|
+
|
|
120
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#46
|
|
121
|
+
Unicode::DisplayWidth::REGEX_EMOJI_ALL_SEQUENCES_AND_VS16 = T.let(T.unsafe(nil), Regexp)
|
|
122
|
+
|
|
123
|
+
# source://unicode-display_width//lib/unicode/display_width.rb#37
|
|
124
|
+
Unicode::DisplayWidth::REGEX_EMOJI_VS16 = T.let(T.unsafe(nil), Regexp)
|
|
125
|
+
|
|
126
|
+
# source://unicode-display_width//lib/unicode/display_width/constants.rb#6
|
|
127
|
+
Unicode::DisplayWidth::UNICODE_VERSION = T.let(T.unsafe(nil), String)
|
|
128
|
+
|
|
129
|
+
# source://unicode-display_width//lib/unicode/display_width/constants.rb#5
|
|
130
|
+
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)
|