unicode-name 1.11.0 → 1.12.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/Gemfile.lock +17 -7
- data/MIT-LICENSE.txt +1 -1
- data/README.md +4 -4
- data/data/name.marshal.gz +0 -0
- data/lib/unicode/name/constants.rb +2 -2
- data/spec/unicode_name_spec.rb +1 -0
- data/unicode-name.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e224838479368b45f2389528552e9470b2d19e9121d49e907543bba33b02ffc
|
4
|
+
data.tar.gz: 7a69f50d817a23cee1cc754cd563d19ba25c7ebf1d1e6bcbe280d073ede5d3d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74411c5a90bb68b2083c4f91a9ce54fa691721068a8cb02fc33c3d90b8ebe6f0f9102c3bc214ce720d576afad3a4738ec1a13fbaef5ddc74bd87b6f0b490c35c
|
7
|
+
data.tar.gz: cf35ee115810759287747811a2da2b75ed8580d274eced571788f3352df65993ae86eb65f70a1ce66cdcb879549d23c7a74e0c4046e61e04f96239b5efc339df
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,16 +1,26 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
unicode-name (1.
|
5
|
-
unicode-types (~> 1.
|
4
|
+
unicode-name (1.12.0)
|
5
|
+
unicode-types (~> 1.9)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
io-console (0.6.0)
|
11
|
+
irb (1.8.1)
|
12
|
+
rdoc
|
13
|
+
reline (>= 0.3.8)
|
14
|
+
minitest (5.20.0)
|
15
|
+
psych (5.1.0)
|
16
|
+
stringio
|
17
|
+
rake (13.0.6)
|
18
|
+
rdoc (6.5.0)
|
19
|
+
psych (>= 4.0.0)
|
20
|
+
reline (0.3.8)
|
21
|
+
io-console (~> 0.5)
|
22
|
+
stringio (3.0.8)
|
23
|
+
unicode-types (1.9.0)
|
14
24
|
|
15
25
|
PLATFORMS
|
16
26
|
ruby
|
@@ -22,4 +32,4 @@ DEPENDENCIES
|
|
22
32
|
unicode-name!
|
23
33
|
|
24
34
|
BUNDLED WITH
|
25
|
-
|
35
|
+
2.4.4
|
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Return Unicode codepoint names, aliases, and labels.
|
4
4
|
|
5
|
-
Unicode version: **15.
|
5
|
+
Unicode version: **15.1.0** (September 2023)
|
6
6
|
|
7
|
-
Supported Rubies: **3.
|
7
|
+
Supported Rubies: **3.2**, **3.1**, **3.0**
|
8
8
|
|
9
|
-
Old Rubies that might still work: **2.
|
9
|
+
Old Rubies that might still work: **2.X**
|
10
10
|
|
11
11
|
## Usage
|
12
12
|
|
@@ -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-2023 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 = "15.
|
5
|
+
VERSION = "1.12.0"
|
6
|
+
UNICODE_VERSION = "15.1.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
@@ -24,6 +24,7 @@ describe Unicode::Name do
|
|
24
24
|
end
|
25
25
|
|
26
26
|
it "works with recent Unicode characters" do
|
27
|
+
assert_equal "ALCHEMICAL SYMBOL FOR QUICK LIME", Unicode::Name.of("🝁") # Unicode 15.1
|
27
28
|
assert_equal "KAKTOVIK NUMERAL ZERO", Unicode::Name.of("𝋀") # Unicode 15.0
|
28
29
|
assert_equal "ETHIOPIC SYLLABLE HHYAA", Unicode::Name.of("𞟣") # Unicode 14.0
|
29
30
|
end
|
data/unicode-name.gemspec
CHANGED
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.12.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: 2023-10-01 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.9'
|
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 15.
|
26
|
+
version: '1.9'
|
27
|
+
description: "[Unicode 15.1.0] Returns the name, aliases, or label of a Unicode code
|
28
28
|
point"
|
29
29
|
email:
|
30
30
|
- hi@ruby.consulting
|
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
requirements: []
|
70
|
-
rubygems_version: 3.
|
70
|
+
rubygems_version: 3.4.4
|
71
71
|
signing_key:
|
72
72
|
specification_version: 4
|
73
73
|
summary: Returns name/aliases/label of a Unicode codepoint
|