unicode-name 1.12.0 β†’ 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e224838479368b45f2389528552e9470b2d19e9121d49e907543bba33b02ffc
4
- data.tar.gz: 7a69f50d817a23cee1cc754cd563d19ba25c7ebf1d1e6bcbe280d073ede5d3d7
3
+ metadata.gz: a4698018ace1d5ea494dae78e89b9b034ef75bbb78441c960a3e9afed0a7632b
4
+ data.tar.gz: 26bec8d0de6272266d958e400b45efc8b979a6e0c5c9792c08824060b239d72d
5
5
  SHA512:
6
- metadata.gz: 74411c5a90bb68b2083c4f91a9ce54fa691721068a8cb02fc33c3d90b8ebe6f0f9102c3bc214ce720d576afad3a4738ec1a13fbaef5ddc74bd87b6f0b490c35c
7
- data.tar.gz: cf35ee115810759287747811a2da2b75ed8580d274eced571788f3352df65993ae86eb65f70a1ce66cdcb879549d23c7a74e0c4046e61e04f96239b5efc339df
6
+ metadata.gz: c016a26447bb75579756602a8bf3ea68a29d8fc46074be79c4583d559779f3251bfbdd6838def8913274c2bbf1f69d225acf6ed6dec258513bb2c091535e7d0c
7
+ data.tar.gz: f67d5e5edf3554ccc69d52709f1551f8ac066325234c428b604f9e050700883a2cb503d812123cd3b88774afca488b63167c331274bf34ab8e15bb00b43e143c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.13.0
4
+
5
+ - Unicode 16.0
6
+
3
7
  ### 1.12.0
4
8
 
5
9
  - Unicode 15.1
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unicode-name (1.12.0)
5
- unicode-types (~> 1.9)
4
+ unicode-name (1.13.0)
5
+ unicode-types (~> 1.10)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -20,7 +20,7 @@ GEM
20
20
  reline (0.3.8)
21
21
  io-console (~> 0.5)
22
22
  stringio (3.0.8)
23
- unicode-types (1.9.0)
23
+ unicode-types (1.10.0)
24
24
 
25
25
  PLATFORMS
26
26
  ruby
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016-2023 Jan Lelis, https://janlelis.com
1
+ Copyright (c) 2016-2024 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,11 +2,11 @@
2
2
 
3
3
  Return Unicode codepoint names, aliases, and labels.
4
4
 
5
- Unicode version: **15.1.0** (September 2023)
5
+ Unicode version: **16.0.0** (September 2024)
6
6
 
7
- Supported Rubies: **3.2**, **3.1**, **3.0**
7
+ Supported Rubies: **3.3**, **3.2**, **3.1**, **3.0**
8
8
 
9
- Old Rubies that might still work: **2.X**
9
+ Old Rubies that might still work: **2.7**, **2.6**, **2.5**, **2.4**, **2.3**, **2.X**
10
10
 
11
11
  ## Usage
12
12
 
@@ -19,6 +19,9 @@ Unicode::Name.of "🚑" # => "AERIAL TRAMWAY"
19
19
  Unicode::Name.of "丁" # => "CJK UNIFIED IDEOGRAPH-4E01"
20
20
  Unicode::Name.of "ν•œ" # => "HANGUL SYLLABLE HAN"
21
21
 
22
+ # Unicode 16 (2024) example
23
+ Unicode::Name.of "𜱼" # => "SQUARE SPIRAL FROM TOP LEFT"
24
+
22
25
  # Aliases, by type
23
26
  Unicode::Name.aliases "\t" # => {:control=>["CHARACTER TABULATION", "HORIZONTAL TABULATION"],
24
27
  :abbreviation=>["HT", "TAB"]}
@@ -45,5 +48,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
45
48
 
46
49
  ## MIT License
47
50
 
48
- - Copyright (C) 2016-2023 Jan Lelis <https://janlelis.com>. Released under the MIT license.
51
+ - Copyright (C) 2016-2024 Jan Lelis <https://janlelis.com>. Released under the MIT license.
49
52
  - 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.12.0"
6
- UNICODE_VERSION = "15.1.0"
5
+ VERSION = "1.13.0"
6
+ UNICODE_VERSION = "16.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
@@ -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 "SQUARE SPIRAL FROM TOP LEFT", Unicode::Name.of("𜱼") # Unicode 16.0
27
28
  assert_equal "ALCHEMICAL SYMBOL FOR QUICK LIME", Unicode::Name.of("🝁") # Unicode 15.1
28
29
  assert_equal "KAKTOVIK NUMERAL ZERO", Unicode::Name.of("𝋀") # Unicode 15.0
29
30
  assert_equal "ETHIOPIC SYLLABLE HHYAA", Unicode::Name.of("𞟣") # Unicode 14.0
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.9"
22
+ gem.add_dependency "unicode-types", "~> 1.10"
23
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.12.0
4
+ version: 1.13.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: 2023-10-01 00:00:00.000000000 Z
11
+ date: 2024-09-13 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.9'
19
+ version: '1.10'
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.9'
27
- description: "[Unicode 15.1.0] Returns the name, aliases, or label of a Unicode code
26
+ version: '1.10'
27
+ description: "[Unicode 16.0.0] Returns the name, aliases, or label of a Unicode code
28
28
  point"
29
29
  email:
30
30
  - hi@ruby.consulting
@@ -52,7 +52,7 @@ licenses:
52
52
  - MIT
53
53
  metadata:
54
54
  rubygems_mfa_required: 'true'
55
- post_install_message:
55
+ post_install_message:
56
56
  rdoc_options: []
57
57
  require_paths:
58
58
  - lib
@@ -67,8 +67,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  requirements: []
70
- rubygems_version: 3.4.4
71
- signing_key:
70
+ rubygems_version: 3.5.9
71
+ signing_key:
72
72
  specification_version: 4
73
73
  summary: Returns name/aliases/label of a Unicode codepoint
74
74
  test_files: