unicode-sequence_name 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +4 -4
- data/data/sequence_name.marshal.gz +0 -0
- data/lib/unicode/sequence_name/constants.rb +3 -3
- data/spec/unicode_sequence_name_spec.rb +1 -0
- data/unicode-sequence_name.gemspec +1 -0
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1354e3204eb3d1e73f0dda9b9a5b3228c7c37eaddf45ee6e18ac8f423ba68d64
|
4
|
+
data.tar.gz: 3c032dbddf9e97b6ec756985bb2e1a97c2d4f5ee323bee2c8e9ec8fda1ce704f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 976f284578e70eb6be55e5bdab0e574b686a6be51c2fdceb9d728549be5554d54c22018742f0014b8092c571412f52c11daf1b15d31874ffd2eef0d1d70eff70
|
7
|
+
data.tar.gz: 392182aebee07db053ed1b2f6888e2adbb75fd82bfee356c4616eba5503bc4eaaa3d04da98320d184d43ea3cefc20f234eb85a27d45522ddedca97b60ebca54d
|
data/CHANGELOG.md
CHANGED
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
Returns the name of a Unicode codepoint sequence, if one exists.
|
4
4
|
|
5
|
-
Unicode version: **
|
5
|
+
Unicode version: **15.0.0** (September 2022)
|
6
6
|
|
7
|
-
Emoji version: **
|
7
|
+
Emoji version: **15.0** (September 2022)
|
8
8
|
|
9
9
|
IVD version: **2020-11-06** (November 2020)
|
10
10
|
|
11
|
-
Supported Rubies: **3.0**, **2.7**
|
11
|
+
Supported Rubies: **3.1**, **3.0**, **2.7**
|
12
12
|
|
13
13
|
Old Rubies which might still work: **2.6**, **2.5**, **2.4**, **2.3**, **2.2**, **2.1**, **2.0**
|
14
14
|
|
@@ -37,5 +37,5 @@ Names for singular codepoints are not included, you can use [unicode-name](https
|
|
37
37
|
|
38
38
|
## MIT License
|
39
39
|
|
40
|
-
- Copyright (C) 2017-
|
40
|
+
- Copyright (C) 2017-2022 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
41
41
|
- Unicode data: https://www.unicode.org/copyright.html#Exhibit1
|
Binary file
|
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
module Unicode
|
4
4
|
module SequenceName
|
5
|
-
VERSION = "1.
|
6
|
-
UNICODE_VERSION = "
|
7
|
-
EMOJI_VERSION = "
|
5
|
+
VERSION = "1.11.0"
|
6
|
+
UNICODE_VERSION = "15.0.0"
|
7
|
+
EMOJI_VERSION = "15.0"
|
8
8
|
IVD_VERSION = "2020-11-06"
|
9
9
|
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
|
10
10
|
INDEX_FILENAME = (DATA_DIRECTORY + "/sequence_name.marshal.gz").freeze
|
@@ -14,6 +14,7 @@ describe Unicode::SequenceName do
|
|
14
14
|
assert_equal "MAN FEEDING BABY", Unicode::SequenceName.of("👨🍼") # Emoji 13.0
|
15
15
|
assert_equal "HEART ON FIRE", Unicode::SequenceName.of("❤️🔥") # Emoji 13.1
|
16
16
|
assert_equal "HANDSHAKE: LIGHT SKIN TONE, MEDIUM-DARK SKIN TONE", Unicode::SequenceName.of("🫱🏻🫲🏾") # Emoji 14.0
|
17
|
+
assert_equal "BLACK BIRD", Unicode::SequenceName.of("🐦⬛") # Emoji 15.0
|
17
18
|
end
|
18
19
|
|
19
20
|
it "will return nil for characters without name" do
|
@@ -16,6 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
|
+
gem.metadata = { "rubygems_mfa_required" => "true" }
|
19
20
|
|
20
21
|
gem.required_ruby_version = ">= 2.0"
|
21
22
|
end
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicode-sequence_name
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.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:
|
11
|
+
date: 2022-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: "[Unicode
|
13
|
+
description: "[Unicode 15.0.0][Emoji 15.0] Returns the name of a Unicode code point
|
14
14
|
sequence, if one exists"
|
15
15
|
email:
|
16
16
|
- hi@ruby.consulting
|
@@ -36,7 +36,8 @@ files:
|
|
36
36
|
homepage: https://github.com/janlelis/unicode-sequence_name
|
37
37
|
licenses:
|
38
38
|
- MIT
|
39
|
-
metadata:
|
39
|
+
metadata:
|
40
|
+
rubygems_mfa_required: 'true'
|
40
41
|
post_install_message:
|
41
42
|
rdoc_options: []
|
42
43
|
require_paths:
|
@@ -52,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
53
|
- !ruby/object:Gem::Version
|
53
54
|
version: '0'
|
54
55
|
requirements: []
|
55
|
-
rubygems_version: 3.
|
56
|
+
rubygems_version: 3.3.7
|
56
57
|
signing_key:
|
57
58
|
specification_version: 4
|
58
59
|
summary: Returns the name of a Unicode codepoint sequence, if one exists
|