unicode-emoji 2.8.0 β 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +2 -2
- data/README.md +4 -4
- data/data/emoji.marshal.gz +0 -0
- data/lib/unicode/emoji/constants.rb +2 -2
- data/spec/unicode_emoji_spec.rb +5 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 06ae1680808ba5598860f0f4b0f64b968af2aaed1a1e96b1ab4fc2ca5099d376
|
|
4
|
+
data.tar.gz: 7b7444bd720d5db58bcaaa4cced183eb2305509bfb9f743c8117343979368e0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '088d0efe6451f2992fde8aa399571f7ae355bda7ad7b4824bbdf3a533760c9e17e278c7e1ff32758e4daea80f65171bedd4f936a420a66b1d4d00af93a33b6be'
|
|
7
|
+
data.tar.gz: 3ae0ecb947e8ba6c357396dcc778cfc8e9e68f0f629dbb13a93a0099467b6e4da144aed767f9e0ee95d894372d0d1680f01c9414d604f58fa1cecea682547be0
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -8,9 +8,9 @@ Emoji version: **13.1** (September 2020)
|
|
|
8
8
|
|
|
9
9
|
CLDR version (used for sub-region flags): **39** (April 2021)
|
|
10
10
|
|
|
11
|
-
Supported Rubies: **3.0**, **2.7
|
|
11
|
+
Supported Rubies: **3.0**, **2.7**
|
|
12
12
|
|
|
13
|
-
No longer supported Rubies, but might still work: **2.4**, **2.3**
|
|
13
|
+
No longer supported Rubies, but might still work: **2.6**, **2.5**, **2.4**, **2.3**
|
|
14
14
|
|
|
15
15
|
If you are stuck on an older Ruby version, checkout the latest [0.9 version](https://rubygems.org/gems/unicode-emoji/versions/0.9.3) of this gem.
|
|
16
16
|
|
|
@@ -60,7 +60,7 @@ Regex | Description | Example Matches | Example Non-Matc
|
|
|
60
60
|
- If you want broader matching (e.g. more sub-regions), choose `REGEX_VALID`
|
|
61
61
|
- If you even want to match for invalid sequences, too, use `REGEX_WELL_FORMED`
|
|
62
62
|
|
|
63
|
-
Please see [the standard](
|
|
63
|
+
Please see [the standard](https://www.unicode.org/reports/tr51/#Emoji_Sets) for details.
|
|
64
64
|
|
|
65
65
|
Property | `REGEX` (RGI / Recommended) | `REGEX_VALID` (Valid) | `REGEX_WELL_FORMED` (Well-formed)
|
|
66
66
|
---------|-----------------------------|-----------------------|----------------------------------
|
|
@@ -72,7 +72,7 @@ Tag Sequence "π΄σ §σ ’σ ‘σ ‘σ ‘σ Ώ" | No | No | Yes
|
|
|
72
72
|
ZWJ Sequence "π€Ύπ½ββοΈ" | Yes | Yes | Yes
|
|
73
73
|
ZWJ Sequence "π€ βπ€’" | No | Yes | Yes
|
|
74
74
|
|
|
75
|
-
More info about valid vs. recommended Emoji in this [blog article on Emojipedia](
|
|
75
|
+
More info about valid vs. recommended Emoji in this [blog article on Emojipedia](https://blog.emojipedia.org/unicode-behind-the-curtain/).
|
|
76
76
|
|
|
77
77
|
#### Singleton Regexes
|
|
78
78
|
|
data/data/emoji.marshal.gz
CHANGED
|
Binary file
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module Unicode
|
|
4
4
|
module Emoji
|
|
5
|
-
VERSION = "2.
|
|
6
|
-
EMOJI_VERSION = "
|
|
5
|
+
VERSION = "2.9.0"
|
|
6
|
+
EMOJI_VERSION = "14.0"
|
|
7
7
|
CLDR_VERSION = "39"
|
|
8
8
|
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
|
|
9
9
|
INDEX_FILENAME = (DATA_DIRECTORY + "/emoji.marshal.gz").freeze
|
data/spec/unicode_emoji_spec.rb
CHANGED
|
@@ -103,6 +103,11 @@ describe Unicode::Emoji do
|
|
|
103
103
|
"β€οΈβπ₯ heart on fire" =~ Unicode::Emoji::REGEX
|
|
104
104
|
assert_equal "β€οΈβπ₯", $&
|
|
105
105
|
end
|
|
106
|
+
|
|
107
|
+
it "matches 14.0 emoji" do
|
|
108
|
+
"πͺΊ nest with eggs" =~ Unicode::Emoji::REGEX
|
|
109
|
+
assert_equal "πͺΊ", $&
|
|
110
|
+
end
|
|
106
111
|
end
|
|
107
112
|
|
|
108
113
|
describe "REGEX_VALID" do
|
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: 2.
|
|
4
|
+
version: 2.9.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: 2021-
|
|
11
|
+
date: 2021-09-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: unicode-version
|
|
@@ -24,7 +24,7 @@ dependencies:
|
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '1.0'
|
|
27
|
-
description: "[Emoji
|
|
27
|
+
description: "[Emoji 14.0] A small Ruby library which provides Unicode Emoji data
|
|
28
28
|
and regexes, incorporating the latest Unicode and Emoji standards. Includes a categorized
|
|
29
29
|
list of recommended Emoji."
|
|
30
30
|
email:
|