unicode-emoji 3.8.0 → 4.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.rake_tasks +1 -0
  3. data/CHANGELOG.md +55 -33
  4. data/Gemfile.lock +2 -4
  5. data/README.md +31 -21
  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 +9 -5
  41. data/spec/unicode_emoji_spec.rb +97 -16
  42. data/unicode-emoji.gemspec +1 -3
  43. metadata +15 -21
  44. data/lib/unicode/emoji/generated/regex_any.rb +0 -8
  45. 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: 3.8.0
4
+ version: 4.0.3
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
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-13 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,28 +33,38 @@ 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
59
50
  - lib/unicode/emoji/generated/regex_valid.rb
60
51
  - lib/unicode/emoji/generated/regex_valid_include_text.rb
61
52
  - lib/unicode/emoji/generated/regex_well_formed.rb
62
53
  - lib/unicode/emoji/generated/regex_well_formed_include_text.rb
63
54
  - lib/unicode/emoji/generated_native/regex.rb
64
- - lib/unicode/emoji/generated_native/regex_any.rb
65
55
  - lib/unicode/emoji/generated_native/regex_basic.rb
56
+ - lib/unicode/emoji/generated_native/regex_emoji_keycap.rb
66
57
  - lib/unicode/emoji/generated_native/regex_include_mqe.rb
67
58
  - lib/unicode/emoji/generated_native/regex_include_mqe_uqe.rb
68
59
  - lib/unicode/emoji/generated_native/regex_include_text.rb
69
60
  - lib/unicode/emoji/generated_native/regex_picto.rb
70
61
  - lib/unicode/emoji/generated_native/regex_picto_no_emoji.rb
71
62
  - lib/unicode/emoji/generated_native/regex_possible.rb
63
+ - lib/unicode/emoji/generated_native/regex_prop_component.rb
64
+ - lib/unicode/emoji/generated_native/regex_prop_emoji.rb
65
+ - lib/unicode/emoji/generated_native/regex_prop_modifier.rb
66
+ - lib/unicode/emoji/generated_native/regex_prop_modifier_base.rb
67
+ - lib/unicode/emoji/generated_native/regex_prop_presentation.rb
72
68
  - lib/unicode/emoji/generated_native/regex_text.rb
73
69
  - lib/unicode/emoji/generated_native/regex_valid.rb
74
70
  - lib/unicode/emoji/generated_native/regex_valid_include_text.rb
@@ -78,7 +74,6 @@ files:
78
74
  - lib/unicode/emoji/lazy_constants.rb
79
75
  - lib/unicode/emoji/list.rb
80
76
  - spec/data/.keep
81
- - spec/data/emoji-test.txt
82
77
  - spec/emoji_test_txt_spec.rb
83
78
  - spec/unicode_emoji_spec.rb
84
79
  - unicode-emoji.gemspec
@@ -111,6 +106,5 @@ specification_version: 4
111
106
  summary: Emoji data and regex
112
107
  test_files:
113
108
  - spec/data/.keep
114
- - spec/data/emoji-test.txt
115
109
  - spec/emoji_test_txt_spec.rb
116
110
  - 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