unicode-sequence_name 1.12.0 â 1.14.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 +10 -0
- data/Gemfile.lock +14 -8
- data/MIT-LICENSE.txt +1 -1
- data/README.md +9 -7
- data/data/sequence_name.marshal.gz +0 -0
- data/lib/unicode/sequence_name/constants.rb +3 -3
- data/spec/unicode_sequence_name_spec.rb +2 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc56290d80aa559b72e07cdb113a85785bf38408d3aa8c60cf6ab1096a7c77ab
|
4
|
+
data.tar.gz: e7e6183d46725245663b546c68abe9335ae633247d7814ccea486c1cb55bd033
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab8100396577cb4b360f13eef2cdb9f18ddd66436d1c39046d54d45c33aa4cbd9b6f5afc421368dfe816171b6261b0d4eaecd1cef59a0ef594a13974927da1f8
|
7
|
+
data.tar.gz: 9bafbec1dac2df24e2c3b8654c76e4939b415609f8eb30989a3153486fe1d3405f83a6f885df601cc6e7dadea12f209460550faf2f7a4fbda3d2e69d55fb63dd
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,18 +1,24 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
unicode-sequence_name (1.
|
4
|
+
unicode-sequence_name (1.14.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
io-console (0.
|
10
|
-
irb (1.
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
9
|
+
io-console (0.6.0)
|
10
|
+
irb (1.8.1)
|
11
|
+
rdoc
|
12
|
+
reline (>= 0.3.8)
|
13
|
+
minitest (5.20.0)
|
14
|
+
psych (5.1.0)
|
15
|
+
stringio
|
16
|
+
rake (13.0.6)
|
17
|
+
rdoc (6.5.0)
|
18
|
+
psych (>= 4.0.0)
|
19
|
+
reline (0.3.8)
|
15
20
|
io-console (~> 0.5)
|
21
|
+
stringio (3.0.8)
|
16
22
|
|
17
23
|
PLATFORMS
|
18
24
|
ruby
|
@@ -24,4 +30,4 @@ DEPENDENCIES
|
|
24
30
|
unicode-sequence_name!
|
25
31
|
|
26
32
|
BUNDLED WITH
|
27
|
-
2.
|
33
|
+
2.4.4
|
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
Returns the name of a Unicode codepoint sequence (= more than one codepoint involved), if one exists.
|
4
4
|
|
5
|
-
Unicode version: **
|
5
|
+
Unicode version: **16.0.0** (September 2024)
|
6
6
|
|
7
|
-
Emoji version: **
|
7
|
+
Emoji version: **16.0** (September 2024)
|
8
8
|
|
9
9
|
IVD version: **2022-09-13** (September 2022)
|
10
10
|
|
11
|
-
Supported Rubies: **3.
|
11
|
+
Supported Rubies: **3.3**, **3.2**, **3.1**, **3.0**
|
12
12
|
|
13
|
-
Old Rubies which might still work: **2.
|
13
|
+
Old Rubies which might still work: **2.7**, **2.6**, **2.5**, **2.4**, **2.3**, **2.X**
|
14
14
|
|
15
15
|
## Usage
|
16
16
|
|
@@ -26,8 +26,10 @@ Unicode::SequenceName.of "đ´ó §ó ˘ó łó Łó ´ó ż" # => "SCOTLAND"
|
|
26
26
|
Unicode::SequenceName.of "đ§âđŚą" # => "PERSON: CURLY HAIR"
|
27
27
|
Unicode::SequenceName.of "đ¨âđź" # => "MAN FEEDING BABY"
|
28
28
|
Unicode::SequenceName.of "â¤ď¸âđĽ" # => "HEART ON FIRE"
|
29
|
-
Unicode::SequenceName.of
|
30
|
-
Unicode::SequenceName.of
|
29
|
+
Unicode::SequenceName.of "đŤąđťâđŤ˛đž" # => "HANDSHAKE: LIGHT SKIN TONE, MEDIUM-DARK SKIN TONE"
|
30
|
+
Unicode::SequenceName.of "đŚââŹ" # => "BLACK BIRD"
|
31
|
+
Unicode::SequenceName.of "đââď¸" # => "HEAD SHAKING HORIZONTALLY"
|
32
|
+
Unicode::SequenceName.of "âď¸" # => "LEFT SINGLE QUOTATION MARK (right-justified fullwidth form)"
|
31
33
|
```
|
32
34
|
|
33
35
|
Names for singular codepoints are not included, you can use [unicode-name](https://github.com/janlelis/unicode-name) for that purpose.
|
@@ -39,5 +41,5 @@ Names for singular codepoints are not included, you can use [unicode-name](https
|
|
39
41
|
|
40
42
|
## MIT License
|
41
43
|
|
42
|
-
- Copyright (C) 2017-
|
44
|
+
- Copyright (C) 2017-2024 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
43
45
|
- 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.14.0"
|
6
|
+
UNICODE_VERSION = "16.0.0"
|
7
|
+
EMOJI_VERSION = "16.0"
|
8
8
|
IVD_VERSION = "2022-09-13"
|
9
9
|
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
|
10
10
|
INDEX_FILENAME = (DATA_DIRECTORY + "/sequence_name.marshal.gz").freeze
|
@@ -15,6 +15,8 @@ describe Unicode::SequenceName do
|
|
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
17
|
assert_equal "BLACK BIRD", Unicode::SequenceName.of("đŚââŹ") # Emoji 15.0
|
18
|
+
assert_equal "HEAD SHAKING HORIZONTALLY", Unicode::SequenceName.of("đââď¸") # Emoji 15.1
|
19
|
+
assert_equal "LEFT SINGLE QUOTATION MARK (right-justified fullwidth form)", Unicode::SequenceName.of("âď¸") # Unicode 16.0
|
18
20
|
end
|
19
21
|
|
20
22
|
it "will return nil for characters without name" do
|
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.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: "[Unicode
|
13
|
+
description: "[Unicode 16.0.0][Emoji 16.0] Returns the name of a Unicode code point
|
14
14
|
sequence, if one exists"
|
15
15
|
email:
|
16
16
|
- hi@ruby.consulting
|
@@ -38,7 +38,7 @@ licenses:
|
|
38
38
|
- MIT
|
39
39
|
metadata:
|
40
40
|
rubygems_mfa_required: 'true'
|
41
|
-
post_install_message:
|
41
|
+
post_install_message:
|
42
42
|
rdoc_options: []
|
43
43
|
require_paths:
|
44
44
|
- lib
|
@@ -53,8 +53,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
requirements: []
|
56
|
-
rubygems_version: 3.
|
57
|
-
signing_key:
|
56
|
+
rubygems_version: 3.5.9
|
57
|
+
signing_key:
|
58
58
|
specification_version: 4
|
59
59
|
summary: Returns the name of a Unicode codepoint sequence, if one exists
|
60
60
|
test_files:
|