unicode-emoji 2.2.0 โ 2.3.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/README.md +10 -11
- data/data/emoji.marshal.gz +0 -0
- data/lib/unicode/emoji.rb +0 -1
- data/lib/unicode/emoji/constants.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 788c88b436ec7e999463d69d280aa78c1d57d80f16a307809284eed76fc1b683
|
4
|
+
data.tar.gz: 76cb02301ca2048677b26cafdcbb711d785e1355119843a694faa9fc593e742c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd79cb4b8dea53571487e35e1586921dad7814dfeb6ce50b6e891fec05cd13c6ec9d9f4655c67981a6031f8d40e19d228d899218cb9696222445e81d6c874c04
|
7
|
+
data.tar.gz: 984c6f4dc63250ecdf2c27a13042c0caf532d91efe135b3eaa8bf321019c0387210eef68c866116cb8f785198e0b2c128da17c19bc2ae4ea422e42374b73e0a5
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -4,7 +4,7 @@ A small Ruby library which provides Unicode Emoji data and regexes.
|
|
4
4
|
|
5
5
|
Also includes a categorized list of recommended Emoji.
|
6
6
|
|
7
|
-
Emoji version: **12.
|
7
|
+
Emoji version: **12.1** (October 2019)
|
8
8
|
|
9
9
|
CLDR version (used for sub-region flags): **36** (October 2019)
|
10
10
|
|
@@ -114,22 +114,22 @@ Use `Unicode::Emoji::LIST` or the list method to get a grouped (and ordered) lis
|
|
114
114
|
|
115
115
|
```ruby
|
116
116
|
Unicode::Emoji.list.keys
|
117
|
-
# => ["Smileys & People", "Animals & Nature", "Food & Drink", "Travel & Places", "Activities", "Objects", "Symbols", "Flags"]
|
117
|
+
# => ["Smileys & Emotion", "People & Body", "Component", "Animals & Nature", "Food & Drink", "Travel & Places", "Activities", "Objects", "Symbols", "Flags"]
|
118
118
|
|
119
119
|
Unicode::Emoji.list("Food & Drink").keys
|
120
|
-
# => ["food-fruit", "food-vegetable", "food-prepared", "food-asian", "food-sweet", "drink", "dishware"]
|
120
|
+
# => ["food-fruit", "food-vegetable", "food-prepared", "food-asian", "food-marine", "food-sweet", "drink", "dishware"]
|
121
121
|
|
122
122
|
Unicode::Emoji.list("Food & Drink", "food-asian")
|
123
|
-
=> ["๐ฑ", "๐", "๐", "๐", "๐", "๐", "๐", "๐ ", "๐ข", "๐ฃ", "๐ค", "๐ฅ", "๐ก", "
|
123
|
+
=> ["๐ฑ", "๐", "๐", "๐", "๐", "๐", "๐", "๐ ", "๐ข", "๐ฃ", "๐ค", "๐ฅ", "๐ฅฎ", "๐ก", "๐ฅ", "๐ฅ ", "๐ฅก"]
|
124
124
|
```
|
125
125
|
|
126
|
-
Please note that categories might change with future versions of the Emoji standard. This gem will issue warnings when
|
126
|
+
Please note that categories might change with future versions of the Emoji standard. This gem will issue warnings when attempting to retrieve old categories using the `#list` method.
|
127
127
|
|
128
128
|
A list of all Emoji can be found at [character.construction](https://character.construction).
|
129
129
|
|
130
130
|
### Properties
|
131
131
|
|
132
|
-
Allows you to access the codepoint data form Unicode's [emoji-data.txt](
|
132
|
+
Allows you to access the codepoint data form Unicode's [emoji-data.txt](https://unicode.org/Public/emoji/12.1/emoji-data.txt) file:
|
133
133
|
|
134
134
|
```ruby
|
135
135
|
require "unicode/emoji"
|
@@ -139,13 +139,12 @@ Unicode::Emoji.properties "โ" # => ["Emoji", "Emoji_Modifier_Base"]
|
|
139
139
|
|
140
140
|
## Also See
|
141
141
|
|
142
|
-
- [Unicodeยฎ Technical Standard #51](
|
143
|
-
- [Emoji
|
144
|
-
- [Emoji categories](http://unicode.org/emoji/charts/emoji-ordering.html)
|
142
|
+
- [Unicodeยฎ Technical Standard #51](https://www.unicode.org/reports/tr51/proposed.html)
|
143
|
+
- [Emoji categories](https://unicode.org/emoji/charts/emoji-ordering.html)
|
145
144
|
- Ruby gem which displays [Emoji sequence names](https://github.com/janlelis/unicode-sequence_name)
|
146
145
|
- Part of [unicode-x](https://github.com/janlelis/unicode-x)
|
147
146
|
|
148
147
|
## MIT
|
149
148
|
|
150
|
-
- Copyright (C) 2017-2019 Jan Lelis <
|
151
|
-
- Unicode data:
|
149
|
+
- Copyright (C) 2017-2019 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
150
|
+
- Unicode data: https://www.unicode.org/copyright.html#Exhibit1
|
data/data/emoji.marshal.gz
CHANGED
Binary file
|
data/lib/unicode/emoji.rb
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
module Unicode
|
4
4
|
module Emoji
|
5
|
-
VERSION = "2.
|
6
|
-
EMOJI_VERSION = "12.
|
5
|
+
VERSION = "2.3.0"
|
6
|
+
EMOJI_VERSION = "12.1"
|
7
7
|
CLDR_VERSION = "36"
|
8
8
|
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
|
9
9
|
INDEX_FILENAME = (DATA_DIRECTORY + "/emoji.marshal.gz").freeze
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicode-emoji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.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: 2019-10-
|
11
|
+
date: 2019-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: "[Emoji 12.
|
13
|
+
description: "[Emoji 12.1] Retrieve emoji data about Unicode codepoints. Also contains
|
14
14
|
a regex to match emoji."
|
15
15
|
email:
|
16
16
|
- mail@janlelis.de
|
@@ -52,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '0'
|
54
54
|
requirements: []
|
55
|
-
rubygems_version: 3.0.
|
55
|
+
rubygems_version: 3.0.6
|
56
56
|
signing_key:
|
57
57
|
specification_version: 4
|
58
58
|
summary: Retrieve Emoji data about Unicode codepoints.
|