unicode-name 1.14.0 β†’ 1.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08c008d9d6c618fe406ea50850679d4bd3034cf84ca15eef5d03b29f67939333'
4
- data.tar.gz: 2e7d2c861a0d30d0a3292e91d0108b8d92c5ea68cfaab9363dd5cd26b36b1b57
3
+ metadata.gz: 5866eec980edc09684a5fd2ba740671cfb8953945c33b97c6ff8bd4e133ee93b
4
+ data.tar.gz: 89d892c6fc4f1bd12a076c8adf8cc434689d741aa2d57d958c565b608bd887d3
5
5
  SHA512:
6
- metadata.gz: 2ac2cfea9daa2574ba68896cdb5f9aa04dfd627b7bf8495dd2485087fba37631a9ad898fd798629f5252d616f781532f63d9021c16e29d9562860c30f618d92f
7
- data.tar.gz: ba10b8c1b1a03964d4ab7902df5d9ed5e97360f7d86c70183eae0f36bdc990f51aaf549876510ce173eb9104350d7acfdb351c875172ee1095b442f954aa430e
6
+ metadata.gz: 3b23e49b1171d36e3ccaff09814e8b395be86bc36f70bd4d6bf01e026dd99b7e19db3034d965bedd4842ccef87fb01e3336183d804b05ebe7c3c830b814f5b38
7
+ data.tar.gz: e162302e3bc99a5caef3f16ac3abdeb5e4b2b025e279600a1401e7bccb19583224976c313281d65048d0058824e4975b17aacd8cc7ab48f7326b1a642587e27b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.15.1
4
+
5
+ - Fix missing names of new Jurchen and Small Seal characters
6
+
7
+ ### 1.15.0
8
+
9
+ - Unicode 18.0
10
+
3
11
  ### 1.14.0
4
12
 
5
13
  - Unicode 17.0
data/Gemfile.lock CHANGED
@@ -2,25 +2,41 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  unicode-name (1.14.0)
5
- unicode-types (~> 1.11)
5
+ unicode-types (~> 1.12)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- io-console (0.7.2)
11
- irb (1.14.1)
10
+ drb (2.2.3)
11
+ erb (6.0.7)
12
+ io-console (0.9.4)
13
+ irb (1.18.0)
14
+ pp (>= 0.6.0)
15
+ prism (>= 1.3.0)
12
16
  rdoc (>= 4.0.0)
13
17
  reline (>= 0.4.2)
14
- minitest (5.25.1)
15
- psych (5.1.2)
16
- stringio
17
- rake (13.2.1)
18
- rdoc (6.7.0)
19
- psych (>= 4.0.0)
20
- reline (0.5.10)
18
+ logger (1.7.0)
19
+ minitest (6.0.6)
20
+ drb (~> 2.0)
21
+ prism (~> 1.5)
22
+ pp (0.6.4)
23
+ prettyprint
24
+ prettyprint (0.2.0)
25
+ prism (1.9.0)
26
+ rake (13.4.2)
27
+ rbs (4.2.0)
28
+ logger
29
+ prism (>= 1.6.0)
30
+ tsort
31
+ rdoc (8.0.0)
32
+ erb
33
+ prism (>= 1.6.0)
34
+ rbs (>= 4.0.0)
35
+ tsort
36
+ reline (0.7.0)
21
37
  io-console (~> 0.5)
22
- stringio (3.1.1)
23
- unicode-types (1.11.0)
38
+ tsort (0.2.0)
39
+ unicode-types (1.12.0)
24
40
 
25
41
  PLATFORMS
26
42
  ruby
@@ -32,4 +48,4 @@ DEPENDENCIES
32
48
  unicode-name!
33
49
 
34
50
  BUNDLED WITH
35
- 2.4.4
51
+ 4.1.0.beta1
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016-2025 Jan Lelis, https://janlelis.com
1
+ Copyright (c) 2016-2026 Jan Lelis, https://janlelis.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Return Unicode codepoint names, aliases, and labels.
4
4
 
5
- Unicode version: **17.0.0** (September 2025)
5
+ Unicode version: **18.0.0** (September 2026)
6
6
 
7
7
  ## Usage
8
8
 
@@ -15,6 +15,9 @@ Unicode::Name.of "🚑" # => "AERIAL TRAMWAY"
15
15
  Unicode::Name.of "丁" # => "CJK UNIFIED IDEOGRAPH-4E01"
16
16
  Unicode::Name.of "ν•œ" # => "HANGUL SYLLABLE HAN"
17
17
 
18
+ # Unicode 18 (2026) example
19
+ Unicode::Name.of "𝉷" # => "MUSICAL SYMBOL G CLEF OTTAVA BASSA WITH C CLEF"
20
+
18
21
  # Unicode 17 (2025) example
19
22
  Unicode::Name.of "π‘Ά°" # => "TOLONG SIKI LETTER I"
20
23
 
@@ -50,5 +53,5 @@ See [unicode-name.js](https://github.com/janlelis/unicode-name.js) for a JavaScr
50
53
 
51
54
  ## MIT License
52
55
 
53
- - Copyright (C) 2016-2025 Jan Lelis <https://janlelis.com>. Released under the MIT license.
56
+ - Copyright (C) 2016-2026 Jan Lelis <https://janlelis.com>. Released under the MIT license.
54
57
  - 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.14.0"
6
- UNICODE_VERSION = "17.0.0"
5
+ VERSION = "1.15.1"
6
+ UNICODE_VERSION = "18.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
@@ -26,6 +26,7 @@ describe Unicode::Name do
26
26
  assert_equal "EGYPTIAN HIEROGLYPH-143F5", Unicode::Name.of("𔏡")
27
27
  assert_equal "KHITAN SMALL SCRIPT CHARACTER-18C12", Unicode::Name.of("π˜°’")
28
28
  assert_equal "TANGUT IDEOGRAPH-18D00", Unicode::Name.of("π˜΄€")
29
+ assert_equal "SEAL CHARACTER-3D001", Unicode::Name.of("𽀁")
29
30
  assert_equal "NUSHU CHARACTER-1B171", Unicode::Name.of("π›…±")
30
31
  assert_equal "CJK COMPATIBILITY IDEOGRAPH-2F9B1", Unicode::Name.of("𧃒")
31
32
  assert_equal "CJK COMPATIBILITY IDEOGRAPH-F978", Unicode::Name.of("ο₯Έ")
@@ -37,6 +38,7 @@ describe Unicode::Name do
37
38
  end
38
39
 
39
40
  it "works with recent Unicode characters" do
41
+ assert_equal "MUSICAL SYMBOL G CLEF OTTAVA BASSA WITH C CLEF", Unicode::Name.of("𝉷") # Unicode 18.0
40
42
  assert_equal "TOLONG SIKI LETTER I", Unicode::Name.of("π‘Ά°") # Unicode 17.0
41
43
  assert_equal "SQUARE SPIRAL FROM TOP LEFT", Unicode::Name.of("𜱼") # Unicode 16.0
42
44
  assert_equal "ALCHEMICAL SYMBOL FOR QUICK LIME", Unicode::Name.of("🝁") # Unicode 15.1
data/unicode-name.gemspec CHANGED
@@ -19,5 +19,5 @@ Gem::Specification.new do |gem|
19
19
  gem.metadata = { "rubygems_mfa_required" => "true" }
20
20
 
21
21
  gem.required_ruby_version = ">= 2.0"
22
- gem.add_dependency "unicode-types", "~> 1.11"
22
+ gem.add_dependency "unicode-types", "~> 1.12"
23
23
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-name
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-09-09 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: unicode-types
@@ -16,15 +15,15 @@ dependencies:
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: '1.11'
18
+ version: '1.12'
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
- version: '1.11'
27
- description: "[Unicode 17.0.0] Returns the name, aliases, or label of a Unicode code
25
+ version: '1.12'
26
+ description: "[Unicode 18.0.0] Returns the name, aliases, or label of a Unicode code
28
27
  point"
29
28
  email:
30
29
  - hi@ruby.consulting
@@ -33,7 +32,6 @@ extensions: []
33
32
  extra_rdoc_files: []
34
33
  files:
35
34
  - ".gitignore"
36
- - ".rake_tasks"
37
35
  - CHANGELOG.md
38
36
  - CODE_OF_CONDUCT.md
39
37
  - Gemfile
@@ -53,7 +51,6 @@ licenses:
53
51
  - MIT
54
52
  metadata:
55
53
  rubygems_mfa_required: 'true'
56
- post_install_message:
57
54
  rdoc_options: []
58
55
  require_paths:
59
56
  - lib
@@ -68,8 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
65
  - !ruby/object:Gem::Version
69
66
  version: '0'
70
67
  requirements: []
71
- rubygems_version: 3.5.21
72
- signing_key:
68
+ rubygems_version: 4.0.10
73
69
  specification_version: 4
74
70
  summary: Returns name/aliases/label of a Unicode codepoint
75
71
  test_files:
data/.rake_tasks DELETED
@@ -1,3 +0,0 @@
1
- gem
2
- irb
3
- spec