lib/unicode/emoji/lazy_constants.rb in unicode-emoji-3.6.0 vs lib/unicode/emoji/lazy_constants.rb in unicode-emoji-3.7.0
- old
+ new
@@ -11,15 +11,10 @@
EXTENDED_PICTOGRAPHIC = INDEX[:PROPERTIES].select{ |ord, props| props.include?(:X) }.keys.freeze
EXTENDED_PICTOGRAPHIC_NO_EMOJI= INDEX[:PROPERTIES].select{ |ord, props| props.include?(:X) && !props.include?(:E) }.keys.freeze
EMOJI_KEYCAPS = INDEX[:KEYCAPS].freeze
VALID_REGION_FLAGS = INDEX[:FLAGS].freeze
- VALID_SUBDIVISIONS = INDEX[:SD].freeze
+ VALID_SUBDIVISIONS = INDEX[:SD].map{_1.sub(/(.)~(.)/, '[\1-\2]') }
RECOMMENDED_SUBDIVISION_FLAGS = INDEX[:TAGS].freeze
RECOMMENDED_ZWJ_SEQUENCES = INDEX[:ZWJ].freeze
-
- LIST = INDEX[:LIST].freeze.each_value(&:freeze)
- LIST_REMOVED_KEYS = [
- "Smileys & People",
- ].freeze
end
end