unicode-emoji 2.2.0 โ†’ 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19509b0d69c0a7936f00d86c857e09ce901fe8fe054ae218ef9f9a3fbeb83d02
4
- data.tar.gz: 47df3f9305acb0ddf24c7e6e53fb06bfa4cdc64e1b5c7d768522386719290b19
3
+ metadata.gz: 788c88b436ec7e999463d69d280aa78c1d57d80f16a307809284eed76fc1b683
4
+ data.tar.gz: 76cb02301ca2048677b26cafdcbb711d785e1355119843a694faa9fc593e742c
5
5
  SHA512:
6
- metadata.gz: 414b87bb48ef0796bec0febe837107c0500ee59c909b4648f396f5c77a657e77a97840ce7aaef66b9ad64744a6d5d0e678132e3e70b5e89d624313c52909f533
7
- data.tar.gz: d815de65334d9e52ea25754f921ad2a42aca585d1e1110e436886bf3568c2449fe3cd82b5dc4d2c763aeddc05cc37c40b1c6a455555185a68560cc5ee418ef98
6
+ metadata.gz: fd79cb4b8dea53571487e35e1586921dad7814dfeb6ce50b6e891fec05cd13c6ec9d9f4655c67981a6031f8d40e19d228d899218cb9696222445e81d6c874c04
7
+ data.tar.gz: 984c6f4dc63250ecdf2c27a13042c0caf532d91efe135b3eaa8bf321019c0387210eef68c866116cb8f785198e0b2c128da17c19bc2ae4ea422e42374b73e0a5
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 2.3.0
4
+
5
+ - Emoji 12.1
6
+
3
7
  ### 2.2.0
4
8
 
5
9
  - Update subdivisions to CLDR 36
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.0** (February 2019)
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
- => ["๐Ÿฑ", "๐Ÿ˜", "๐Ÿ™", "๐Ÿš", "๐Ÿ›", "๐Ÿœ", "๐Ÿ", "๐Ÿ ", "๐Ÿข", "๐Ÿฃ", "๐Ÿค", "๐Ÿฅ", "๐Ÿก", "\u{1F95F}", "\u{1F960}", "\u{1F961}"]
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 attemting to retrieve old categories using the `#list` method.
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](http://unicode.org/Public/emoji/11.0/emoji-data.txt) file:
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](http://www.unicode.org/reports/tr51/proposed.html)
143
- - [Emoji data](http://unicode.org/Public/emoji/11.0/)
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 <http://janlelis.com>. Released under the MIT license.
151
- - Unicode data: http://www.unicode.org/copyright.html#Exhibit1
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
Binary file
@@ -41,7 +41,6 @@ module Unicode
41
41
  LIST = INDEX[:LIST].freeze.each_value(&:freeze)
42
42
  LIST_REMOVED_KEYS = [
43
43
  "Smileys & People",
44
- "Component",
45
44
  ]
46
45
 
47
46
  pack = ->(ord){ Regexp.escape(Array(ord).pack("U*")) }
@@ -2,8 +2,8 @@
2
2
 
3
3
  module Unicode
4
4
  module Emoji
5
- VERSION = "2.2.0"
6
- EMOJI_VERSION = "12.0"
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.2.0
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-06 00:00:00.000000000 Z
11
+ date: 2019-10-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: "[Emoji 12.0] Retrieve emoji data about Unicode codepoints. Also contains
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.3
55
+ rubygems_version: 3.0.6
56
56
  signing_key:
57
57
  specification_version: 4
58
58
  summary: Retrieve Emoji data about Unicode codepoints.