unicode-emoji 3.8.0 → 4.0.0
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 +13 -0
- data/Gemfile.lock +3 -3
- data/README.md +30 -20
- data/data/generate_constants.rb +31 -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_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_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 +8 -2
- data/spec/unicode_emoji_spec.rb +97 -16
- metadata +14 -4
- data/lib/unicode/emoji/generated/regex_any.rb +0 -8
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicode-emoji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
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-
|
11
|
+
date: 2024-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unicode-version
|
@@ -47,28 +47,38 @@ files:
|
|
47
47
|
- lib/unicode/emoji.rb
|
48
48
|
- lib/unicode/emoji/constants.rb
|
49
49
|
- lib/unicode/emoji/generated/regex.rb
|
50
|
-
- lib/unicode/emoji/generated/regex_any.rb
|
51
50
|
- lib/unicode/emoji/generated/regex_basic.rb
|
51
|
+
- lib/unicode/emoji/generated/regex_emoji_keycap.rb
|
52
52
|
- lib/unicode/emoji/generated/regex_include_mqe.rb
|
53
53
|
- lib/unicode/emoji/generated/regex_include_mqe_uqe.rb
|
54
54
|
- lib/unicode/emoji/generated/regex_include_text.rb
|
55
55
|
- lib/unicode/emoji/generated/regex_picto.rb
|
56
56
|
- lib/unicode/emoji/generated/regex_picto_no_emoji.rb
|
57
57
|
- lib/unicode/emoji/generated/regex_possible.rb
|
58
|
+
- lib/unicode/emoji/generated/regex_prop_component.rb
|
59
|
+
- lib/unicode/emoji/generated/regex_prop_emoji.rb
|
60
|
+
- lib/unicode/emoji/generated/regex_prop_modifier.rb
|
61
|
+
- lib/unicode/emoji/generated/regex_prop_modifier_base.rb
|
62
|
+
- lib/unicode/emoji/generated/regex_prop_presentation.rb
|
58
63
|
- lib/unicode/emoji/generated/regex_text.rb
|
59
64
|
- lib/unicode/emoji/generated/regex_valid.rb
|
60
65
|
- lib/unicode/emoji/generated/regex_valid_include_text.rb
|
61
66
|
- lib/unicode/emoji/generated/regex_well_formed.rb
|
62
67
|
- lib/unicode/emoji/generated/regex_well_formed_include_text.rb
|
63
68
|
- lib/unicode/emoji/generated_native/regex.rb
|
64
|
-
- lib/unicode/emoji/generated_native/regex_any.rb
|
65
69
|
- lib/unicode/emoji/generated_native/regex_basic.rb
|
70
|
+
- lib/unicode/emoji/generated_native/regex_emoji_keycap.rb
|
66
71
|
- lib/unicode/emoji/generated_native/regex_include_mqe.rb
|
67
72
|
- lib/unicode/emoji/generated_native/regex_include_mqe_uqe.rb
|
68
73
|
- lib/unicode/emoji/generated_native/regex_include_text.rb
|
69
74
|
- lib/unicode/emoji/generated_native/regex_picto.rb
|
70
75
|
- lib/unicode/emoji/generated_native/regex_picto_no_emoji.rb
|
71
76
|
- lib/unicode/emoji/generated_native/regex_possible.rb
|
77
|
+
- lib/unicode/emoji/generated_native/regex_prop_component.rb
|
78
|
+
- lib/unicode/emoji/generated_native/regex_prop_emoji.rb
|
79
|
+
- lib/unicode/emoji/generated_native/regex_prop_modifier.rb
|
80
|
+
- lib/unicode/emoji/generated_native/regex_prop_modifier_base.rb
|
81
|
+
- lib/unicode/emoji/generated_native/regex_prop_presentation.rb
|
72
82
|
- lib/unicode/emoji/generated_native/regex_text.rb
|
73
83
|
- lib/unicode/emoji/generated_native/regex_valid.rb
|
74
84
|
- lib/unicode/emoji/generated_native/regex_valid_include_text.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
|