unicode-name 1.13.2 β†’ 1.13.3

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: ca6d8f90ce7c5fa9c9da362be1d90b10260da01d8ac97e2412e0699fa69ca40a
4
- data.tar.gz: a3a2a417c76906c32fe429ce51e16c543696687bb0078340aecb293a65595800
3
+ metadata.gz: 7d5b492a10c5d32a1452b2c01a98dce50e1dbeedbe75b5fc3d73aae7cac013d8
4
+ data.tar.gz: d1b1cd8ced4f9685c31833b15e7d441469ec3117911f46a13b07cbd7ea33426b
5
5
  SHA512:
6
- metadata.gz: 9ad0910912fcf5e226e00955c72cd3325796acc49137ce2e9c141fdcaa5518585fb38795de6587cd792d22b428110d08592a212220dc09a91f3e92016140a86a
7
- data.tar.gz: 5b8de2a4c57c893d6e18ef4ce5b876a032f0cc0f3726504753a0dfbf9b7b4e4bf18d2b6b7aadf1a976231079d285872a6203e352d66fe26154883c31237d9aca
6
+ metadata.gz: 20e926fc2271e4421359f767a0b601c52e37c012c8bb804c1318df4bf8d50686bfd8206d6c0bf26454921e14aae237c255c734e15aaede0ef875a398a91757e7
7
+ data.tar.gz: c2c46f3bd4dd9b83f32343c7d18e15a16a1af440a51db7c0512f3acdd0382a6b5cb7653653b3ed9695ebd277172b7d8c15bedda517ce9d8028b4db0bf475f4bb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.13.3
4
+
5
+ - Fix regression introduced in 1.13.2 that some CJK ideographs were missing
6
+
3
7
  ### 1.13.2
4
8
 
5
9
  - Optimize index size by removing ranges that have codepoints embedded
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unicode-name (1.13.2)
4
+ unicode-name (1.13.3)
5
5
  unicode-types (~> 1.10)
6
6
 
7
7
  GEM
data/data/name.marshal.gz CHANGED
Binary file
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Unicode
4
4
  module Name
5
- VERSION = "1.13.2"
5
+ VERSION = "1.13.3"
6
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
data/lib/unicode/name.rb CHANGED
@@ -79,8 +79,6 @@ module Unicode
79
79
  label(char)
80
80
  end
81
81
 
82
- private
83
-
84
82
  # See https://en.wikipedia.org/wiki/Korean_language_and_computers#Hangul_Syllables_Area
85
83
  def self.hangul_decomposition(codepoint)
86
84
  base = codepoint - HANGUL_START
@@ -100,6 +98,11 @@ module Unicode
100
98
  end
101
99
  }.join.chomp
102
100
  end
101
+
102
+ class << self
103
+ private :hangul_decomposition
104
+ private :insert_words
105
+ end
103
106
  end
104
107
  end
105
108
 
@@ -11,6 +11,7 @@ describe Unicode::Name do
11
11
 
12
12
  it "works for CJK unified ideographs" do
13
13
  assert_equal "CJK UNIFIED IDEOGRAPH-4E01", Unicode::Name.of("丁")
14
+ assert_equal "SQUARED CJK UNIFIED IDEOGRAPH-6709", Unicode::Name.of("🈢")
14
15
  end
15
16
 
16
17
  it "works for Hangul syllables" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-name
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.2
4
+ version: 1.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis