File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
module Unicode
4
4
module Emoji
5
- VERSION = "3.8 .0"
5
+ VERSION = "4.0 .0"
6
6
EMOJI_VERSION = "16.0"
7
- CLDR_VERSION = "45 "
7
+ CLDR_VERSION = "46 "
8
8
DATA_DIRECTORY = File . expand_path ( '../../../data' , __dir__ ) . freeze
9
9
INDEX_FILENAME = ( DATA_DIRECTORY + "/emoji.marshal.gz" ) . freeze
10
10
@@ -41,5 +41,9 @@ module Emoji
41
41
42
42
# Two regional indicators make up a region
43
43
REGIONAL_INDICATORS = [ *0x1F1E6 ..0x1F1FF ] . freeze
44
+
45
+ # The current list of Emoji components that should have a visual representation
46
+ # Currently skin tone modifiers + hair components
47
+ VISUAL_COMPONENT = [ *0x1F3FB ..0x1F3FF , *0x1F9B0 ..0x1F9B3 ]
44
48
end
45
49
end
Original file line number Diff line number Diff line change @@ -20,10 +20,6 @@ module Emoji
20
20
# (Emoji version of this gem might be more recent than Ruby's Emoji version)
21
21
EMOJI_COMPONENT = INDEX [ :PROPERTIES ] . select { |ord , props | props . include? ( :C ) } . keys . freeze
22
22
23
- # The current list of Emoji components that should have a visual representation
24
- # Currently skin tone modifiers + hair components
25
- VISUAL_COMPONENT = [ *0x1F3FB ..0x1F3FF , *0x1F9B0 ..0x1F9B3 ]
26
-
27
23
# The current list of codepoints with the "Emoji_Modifier_Base" property
28
24
# Same characters as \p{Emoji Modifier Base} or \p{EBase}
29
25
# (Emoji version of this gem might be more recent than Ruby's Emoji version)
You can’t perform that action at this time.
0 commit comments