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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27a2d82431b184d4607b42b00cd95cf019b6276acd89e0b0f47429d0e9edfbd5
4
- data.tar.gz: 7317530c7419356def7bb0a77b00cf6c4fa78d29b1cf67f57f641180a4b1dbf3
3
+ metadata.gz: 992f6ac0d8ba1905b8d655010bf607877138e56052b2ef9daa754f6e2382e75d
4
+ data.tar.gz: 80596657fbac856d35124194ebc5bb3eb84f37a7e1742793ad7abb832ba017f4
5
5
  SHA512:
6
- metadata.gz: ae8df054a4a77b8393bbf3d987616d903bb618d5d0594a19748338f888af0a167d964107c403faf35d2221a9c27e354c10b93b37eeb1dcf9f61cb730bcc33564
7
- data.tar.gz: 7a3fb361fffa2b90ecb3fb35b400903b12aac238220bed8b1a2ecfe4268211342d10884e8707621189f3099e988c57074feb0812bb79d2485f2b3f6a964e3076
6
+ metadata.gz: f33087431829955619d69b05c6fd626cc61f857589b8225e6aca290bb9bba8daa30ae45341981c8ca7df952d6c26757315c2dca36a65edad0c376f3779aac6a5
7
+ data.tar.gz: 9b43070400f15bb1d29816a102698bda752c3e37619ca461c5a2f18f50eed74cc3fcbaf3c3c1791d198ceb7dc63a2d11a97dcbc1a0c9f830a41afb3812de01bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.11.0
4
+
5
+ - Unicode 15.0
6
+
3
7
  ### 1.10.0
4
8
 
5
9
  - Unicode 14.0
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016-2021 Jan Lelis, https://janlelis.com
1
+ Copyright (c) 2016-2022 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,9 +2,9 @@
2
2
 
3
3
  Return Unicode codepoint names, aliases, and labels.
4
4
 
5
- Unicode version: **14.0.0** (September 2021)
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-2021 Jan Lelis <https://janlelis.com>. Released under the MIT license.
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.10.0"
6
- UNICODE_VERSION = "14.0.0"
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
@@ -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.7"
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.10.0
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: 2021-09-15 00:00:00.000000000 Z
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.7'
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.7'
27
- description: "[Unicode 14.0.0] Returns the name, aliases, or label of a Unicode code
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.2.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