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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/.rake_tasks +1 -0
  3. data/CHANGELOG.md +13 -0
  4. data/Gemfile.lock +3 -3
  5. data/README.md +30 -20
  6. data/data/generate_constants.rb +31 -8
  7. data/lib/unicode/emoji/constants.rb +6 -2
  8. data/lib/unicode/emoji/generated/regex.rb +1 -1
  9. data/lib/unicode/emoji/generated/regex_basic.rb +1 -1
  10. data/lib/unicode/emoji/generated/regex_emoji_keycap.rb +8 -0
  11. data/lib/unicode/emoji/generated/regex_include_mqe.rb +1 -1
  12. data/lib/unicode/emoji/generated/regex_include_mqe_uqe.rb +1 -1
  13. data/lib/unicode/emoji/generated/regex_include_text.rb +1 -1
  14. data/lib/unicode/emoji/generated/regex_prop_component.rb +8 -0
  15. data/lib/unicode/emoji/generated/regex_prop_emoji.rb +8 -0
  16. data/lib/unicode/emoji/generated/regex_prop_modifier.rb +8 -0
  17. data/lib/unicode/emoji/generated/regex_prop_modifier_base.rb +8 -0
  18. data/lib/unicode/emoji/generated/regex_prop_presentation.rb +8 -0
  19. data/lib/unicode/emoji/generated/regex_valid.rb +1 -1
  20. data/lib/unicode/emoji/generated/regex_valid_include_text.rb +1 -1
  21. data/lib/unicode/emoji/generated/regex_well_formed.rb +1 -1
  22. data/lib/unicode/emoji/generated/regex_well_formed_include_text.rb +1 -1
  23. data/lib/unicode/emoji/generated_native/regex.rb +1 -1
  24. data/lib/unicode/emoji/generated_native/regex_basic.rb +1 -1
  25. data/lib/unicode/emoji/generated_native/regex_emoji_keycap.rb +8 -0
  26. data/lib/unicode/emoji/generated_native/regex_include_mqe.rb +1 -1
  27. data/lib/unicode/emoji/generated_native/regex_include_mqe_uqe.rb +1 -1
  28. data/lib/unicode/emoji/generated_native/regex_include_text.rb +1 -1
  29. data/lib/unicode/emoji/generated_native/regex_picto_no_emoji.rb +1 -1
  30. data/lib/unicode/emoji/generated_native/regex_prop_component.rb +8 -0
  31. data/lib/unicode/emoji/generated_native/{regex_any.rb → regex_prop_emoji.rb} +1 -1
  32. data/lib/unicode/emoji/generated_native/regex_prop_modifier.rb +8 -0
  33. data/lib/unicode/emoji/generated_native/regex_prop_modifier_base.rb +8 -0
  34. data/lib/unicode/emoji/generated_native/regex_prop_presentation.rb +8 -0
  35. data/lib/unicode/emoji/generated_native/regex_text.rb +1 -1
  36. data/lib/unicode/emoji/generated_native/regex_valid.rb +1 -1
  37. data/lib/unicode/emoji/generated_native/regex_valid_include_text.rb +1 -1
  38. data/lib/unicode/emoji/generated_native/regex_well_formed.rb +1 -1
  39. data/lib/unicode/emoji/generated_native/regex_well_formed_include_text.rb +1 -1
  40. data/lib/unicode/emoji.rb +8 -2
  41. data/spec/unicode_emoji_spec.rb +97 -16
  42. metadata +14 -4
  43. 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: 3.8.0
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-10-28 00:00:00.000000000 Z
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