unicode-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 +4 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +3 -3
- data/data/name.marshal.gz +0 -0
- data/lib/unicode/name/constants.rb +2 -2
- data/spec/unicode_name_spec.rb +5 -0
- data/unicode-name.gemspec +2 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 992f6ac0d8ba1905b8d655010bf607877138e56052b2ef9daa754f6e2382e75d
|
4
|
+
data.tar.gz: 80596657fbac856d35124194ebc5bb3eb84f37a7e1742793ad7abb832ba017f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f33087431829955619d69b05c6fd626cc61f857589b8225e6aca290bb9bba8daa30ae45341981c8ca7df952d6c26757315c2dca36a65edad0c376f3779aac6a5
|
7
|
+
data.tar.gz: 9b43070400f15bb1d29816a102698bda752c3e37619ca461c5a2f18f50eed74cc3fcbaf3c3c1791d198ceb7dc63a2d11a97dcbc1a0c9f830a41afb3812de01bf
|
data/CHANGELOG.md
CHANGED
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
Return Unicode codepoint names, aliases, and labels.
|
4
4
|
|
5
|
-
Unicode version: **
|
5
|
+
Unicode version: **15.0.0** (September 2022)
|
6
6
|
|
7
|
-
Supported Rubies: **3.0**, **2.7**
|
7
|
+
Supported Rubies: **3.1**, **3.0**, **2.7**
|
8
8
|
|
9
9
|
Old Rubies that might still work: **2.6**, **2.5**, **2.4**, **2.3**, **2.2**, **2.1**, **2.0**
|
10
10
|
|
@@ -45,5 +45,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
|
|
45
45
|
|
46
46
|
## MIT License
|
47
47
|
|
48
|
-
- Copyright (C) 2016-
|
48
|
+
- Copyright (C) 2016-2022 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
49
49
|
- Unicode data: https://www.unicode.org/copyright.html#Exhibit1
|
data/data/name.marshal.gz
CHANGED
Binary file
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
module Unicode
|
4
4
|
module Name
|
5
|
-
VERSION = "1.
|
6
|
-
UNICODE_VERSION = "
|
5
|
+
VERSION = "1.11.0"
|
6
|
+
UNICODE_VERSION = "15.0.0"
|
7
7
|
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
|
8
8
|
INDEX_FILENAME = (DATA_DIRECTORY + "/name.marshal.gz").freeze
|
9
9
|
end
|
data/spec/unicode_name_spec.rb
CHANGED
@@ -22,6 +22,11 @@ describe Unicode::Name do
|
|
22
22
|
assert_nil Unicode::Name.of("\u{10c50}")
|
23
23
|
assert_nil Unicode::Name.of("\0")
|
24
24
|
end
|
25
|
+
|
26
|
+
it "works with recent Unicode characters" do
|
27
|
+
assert_equal "KAKTOVIK NUMERAL ZERO", Unicode::Name.of("𝋀") # Unicode 15.0
|
28
|
+
assert_equal "ETHIOPIC SYLLABLE HHYAA", Unicode::Name.of("𞟣") # Unicode 14.0
|
29
|
+
end
|
25
30
|
end
|
26
31
|
|
27
32
|
describe ".correct" do
|
data/unicode-name.gemspec
CHANGED
@@ -16,7 +16,8 @@ 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
|
-
gem.add_dependency "unicode-types", "~> 1.
|
22
|
+
gem.add_dependency "unicode-types", "~> 1.8"
|
22
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicode-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
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unicode-types
|
@@ -16,15 +16,15 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.8'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
27
|
-
description: "[Unicode
|
26
|
+
version: '1.8'
|
27
|
+
description: "[Unicode 15.0.0] Returns the name, aliases, or label of a Unicode code
|
28
28
|
point"
|
29
29
|
email:
|
30
30
|
- hi@ruby.consulting
|
@@ -50,7 +50,8 @@ files:
|
|
50
50
|
homepage: https://github.com/janlelis/unicode-name
|
51
51
|
licenses:
|
52
52
|
- MIT
|
53
|
-
metadata:
|
53
|
+
metadata:
|
54
|
+
rubygems_mfa_required: 'true'
|
54
55
|
post_install_message:
|
55
56
|
rdoc_options: []
|
56
57
|
require_paths:
|
@@ -66,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
67
|
- !ruby/object:Gem::Version
|
67
68
|
version: '0'
|
68
69
|
requirements: []
|
69
|
-
rubygems_version: 3.
|
70
|
+
rubygems_version: 3.3.7
|
70
71
|
signing_key:
|
71
72
|
specification_version: 4
|
72
73
|
summary: Returns name/aliases/label of a Unicode codepoint
|