unicode-emoji 3.8.0 → 4.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rake_tasks +1 -0
- data/CHANGELOG.md +59 -33
- data/Gemfile.lock +2 -4
- data/README.md +32 -21
- data/data/generate_constants.rb +32 -8
- data/lib/unicode/emoji/constants.rb +6 -2
- data/lib/unicode/emoji/generated/regex.rb +1 -1
- data/lib/unicode/emoji/generated/regex_basic.rb +1 -1
- data/lib/unicode/emoji/generated/regex_emoji_keycap.rb +8 -0
- data/lib/unicode/emoji/generated/regex_include_mqe.rb +1 -1
- data/lib/unicode/emoji/generated/regex_include_mqe_uqe.rb +1 -1
- data/lib/unicode/emoji/generated/regex_include_text.rb +1 -1
- data/lib/unicode/emoji/generated/regex_prop_component.rb +8 -0
- data/lib/unicode/emoji/generated/regex_prop_emoji.rb +8 -0
- data/lib/unicode/emoji/generated/regex_prop_modifier.rb +8 -0
- data/lib/unicode/emoji/generated/regex_prop_modifier_base.rb +8 -0
- data/lib/unicode/emoji/generated/regex_prop_presentation.rb +8 -0
- data/lib/unicode/emoji/generated/regex_text_presentation.rb +8 -0
- data/lib/unicode/emoji/generated/regex_valid.rb +1 -1
- data/lib/unicode/emoji/generated/regex_valid_include_text.rb +1 -1
- data/lib/unicode/emoji/generated/regex_well_formed.rb +1 -1
- data/lib/unicode/emoji/generated/regex_well_formed_include_text.rb +1 -1
- data/lib/unicode/emoji/generated_native/regex.rb +1 -1
- data/lib/unicode/emoji/generated_native/regex_basic.rb +1 -1
- data/lib/unicode/emoji/generated_native/regex_emoji_keycap.rb +8 -0
- data/lib/unicode/emoji/generated_native/regex_include_mqe.rb +1 -1
- data/lib/unicode/emoji/generated_native/regex_include_mqe_uqe.rb +1 -1
- data/lib/unicode/emoji/generated_native/regex_include_text.rb +1 -1
- data/lib/unicode/emoji/generated_native/regex_picto_no_emoji.rb +1 -1
- data/lib/unicode/emoji/generated_native/regex_prop_component.rb +8 -0
- data/lib/unicode/emoji/generated_native/{regex_any.rb → regex_prop_emoji.rb} +1 -1
- data/lib/unicode/emoji/generated_native/regex_prop_modifier.rb +8 -0
- data/lib/unicode/emoji/generated_native/regex_prop_modifier_base.rb +8 -0
- data/lib/unicode/emoji/generated_native/regex_prop_presentation.rb +8 -0
- data/lib/unicode/emoji/generated_native/regex_text.rb +1 -1
- data/lib/unicode/emoji/generated_native/regex_text_presentation.rb +8 -0
- data/lib/unicode/emoji/generated_native/regex_valid.rb +1 -1
- data/lib/unicode/emoji/generated_native/regex_valid_include_text.rb +1 -1
- data/lib/unicode/emoji/generated_native/regex_well_formed.rb +1 -1
- data/lib/unicode/emoji/generated_native/regex_well_formed_include_text.rb +1 -1
- data/lib/unicode/emoji.rb +10 -5
- data/spec/unicode_emoji_spec.rb +97 -16
- data/unicode-emoji.gemspec +1 -3
- metadata +17 -21
- data/lib/unicode/emoji/generated/regex_any.rb +0 -8
- data/spec/data/emoji-test.txt +0 -5331
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicode-emoji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: unicode-version
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.0'
|
11
|
+
date: 2024-11-19 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
27
13
|
description: "[Emoji 16.0] Provides Unicode Emoji data and regexes, incorporating
|
28
14
|
the latest Unicode and Emoji standards. Includes a categorized list of recommended
|
29
15
|
Emoji."
|
@@ -47,29 +33,41 @@ files:
|
|
47
33
|
- lib/unicode/emoji.rb
|
48
34
|
- lib/unicode/emoji/constants.rb
|
49
35
|
- lib/unicode/emoji/generated/regex.rb
|
50
|
-
- lib/unicode/emoji/generated/regex_any.rb
|
51
36
|
- lib/unicode/emoji/generated/regex_basic.rb
|
37
|
+
- lib/unicode/emoji/generated/regex_emoji_keycap.rb
|
52
38
|
- lib/unicode/emoji/generated/regex_include_mqe.rb
|
53
39
|
- lib/unicode/emoji/generated/regex_include_mqe_uqe.rb
|
54
40
|
- lib/unicode/emoji/generated/regex_include_text.rb
|
55
41
|
- lib/unicode/emoji/generated/regex_picto.rb
|
56
42
|
- lib/unicode/emoji/generated/regex_picto_no_emoji.rb
|
57
43
|
- lib/unicode/emoji/generated/regex_possible.rb
|
44
|
+
- lib/unicode/emoji/generated/regex_prop_component.rb
|
45
|
+
- lib/unicode/emoji/generated/regex_prop_emoji.rb
|
46
|
+
- lib/unicode/emoji/generated/regex_prop_modifier.rb
|
47
|
+
- lib/unicode/emoji/generated/regex_prop_modifier_base.rb
|
48
|
+
- lib/unicode/emoji/generated/regex_prop_presentation.rb
|
58
49
|
- lib/unicode/emoji/generated/regex_text.rb
|
50
|
+
- lib/unicode/emoji/generated/regex_text_presentation.rb
|
59
51
|
- lib/unicode/emoji/generated/regex_valid.rb
|
60
52
|
- lib/unicode/emoji/generated/regex_valid_include_text.rb
|
61
53
|
- lib/unicode/emoji/generated/regex_well_formed.rb
|
62
54
|
- lib/unicode/emoji/generated/regex_well_formed_include_text.rb
|
63
55
|
- lib/unicode/emoji/generated_native/regex.rb
|
64
|
-
- lib/unicode/emoji/generated_native/regex_any.rb
|
65
56
|
- lib/unicode/emoji/generated_native/regex_basic.rb
|
57
|
+
- lib/unicode/emoji/generated_native/regex_emoji_keycap.rb
|
66
58
|
- lib/unicode/emoji/generated_native/regex_include_mqe.rb
|
67
59
|
- lib/unicode/emoji/generated_native/regex_include_mqe_uqe.rb
|
68
60
|
- lib/unicode/emoji/generated_native/regex_include_text.rb
|
69
61
|
- lib/unicode/emoji/generated_native/regex_picto.rb
|
70
62
|
- lib/unicode/emoji/generated_native/regex_picto_no_emoji.rb
|
71
63
|
- lib/unicode/emoji/generated_native/regex_possible.rb
|
64
|
+
- lib/unicode/emoji/generated_native/regex_prop_component.rb
|
65
|
+
- lib/unicode/emoji/generated_native/regex_prop_emoji.rb
|
66
|
+
- lib/unicode/emoji/generated_native/regex_prop_modifier.rb
|
67
|
+
- lib/unicode/emoji/generated_native/regex_prop_modifier_base.rb
|
68
|
+
- lib/unicode/emoji/generated_native/regex_prop_presentation.rb
|
72
69
|
- lib/unicode/emoji/generated_native/regex_text.rb
|
70
|
+
- lib/unicode/emoji/generated_native/regex_text_presentation.rb
|
73
71
|
- lib/unicode/emoji/generated_native/regex_valid.rb
|
74
72
|
- lib/unicode/emoji/generated_native/regex_valid_include_text.rb
|
75
73
|
- lib/unicode/emoji/generated_native/regex_well_formed.rb
|
@@ -78,7 +76,6 @@ files:
|
|
78
76
|
- lib/unicode/emoji/lazy_constants.rb
|
79
77
|
- lib/unicode/emoji/list.rb
|
80
78
|
- spec/data/.keep
|
81
|
-
- spec/data/emoji-test.txt
|
82
79
|
- spec/emoji_test_txt_spec.rb
|
83
80
|
- spec/unicode_emoji_spec.rb
|
84
81
|
- unicode-emoji.gemspec
|
@@ -111,6 +108,5 @@ specification_version: 4
|
|
111
108
|
summary: Emoji data and regex
|
112
109
|
test_files:
|
113
110
|
- spec/data/.keep
|
114
|
-
- spec/data/emoji-test.txt
|
115
111
|
- spec/emoji_test_txt_spec.rb
|
116
112
|
- spec/unicode_emoji_spec.rb
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# This file was generated by a script, please do not edit it by hand.
|
2
|
-
# See `$ rake generate_constants` and data/generate_constants.rb for more info.
|
3
|
-
|
4
|
-
module Unicode
|
5
|
-
module Emoji
|
6
|
-
REGEX_ANY = /[\#\*0-9©®‼⁉™ℹ↔-↙↩↪⌚⌛⌨⏏⏩-⏳⏸-⏺Ⓜ▪▫▶◀◻-◾☀-☄☎☑☔☕☘☝☠☢☣☦☪☮☯☸-☺♀♂♈-♓♟♠♣♥♦♨♻♾♿⚒-⚗⚙⚛⚜⚠⚡⚧⚪⚫⚰⚱⚽⚾⛄⛅⛈⛎⛏⛑⛓⛔⛩⛪⛰-⛵⛷-⛺⛽✂✅✈-✍✏✒✔✖✝✡✨✳✴❄❇❌❎❓-❕❗❣❤➕-➗➡➰➿⤴⤵⬅-⬇⬛⬜⭐⭕〰〽㊗㊙🀄🃏🅰🅱🅾🅿🆎🆑-🆚🇦-🇿🈁🈂🈚🈯🈲-🈺🉐🉑🌀-🌡🌤-🎓🎖🎗🎙-🎛🎞-🏰🏳-🏵🏷-📽📿-🔽🕉-🕎🕐-🕧🕯🕰🕳-🕺🖇🖊-🖍🖐🖕🖖🖤🖥🖨🖱🖲🖼🗂-🗄🗑-🗓🗜-🗞🗡🗣🗨🗯🗳🗺-🙏🚀-🛅🛋-🛒🛕-🛗🛜-🛥🛩🛫🛬🛰🛳-🛼🟠-🟫🟰🤌-🤺🤼-🥅🥇-🧿🩰-🩼🪀--🫎--🫰-🫸]/
|
7
|
-
end
|
8
|
-
end
|