unicode-display_width 2.1.0 → 2.2.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: 83f868860aad325832499e0994c9b727daac6bc8f2f2059a2c3762d947372c80
4
- data.tar.gz: f7e6c78087266834cd0edd4e4728b0742455309cc1f83dd6562efbfcd62dac92
3
+ metadata.gz: 7ffaa48384e0e104eeaa7b4ddd92c77c014c42670fd34b9b53c484328cfd6101
4
+ data.tar.gz: aca8e2e11f726baf9ef0dcbf7d7c6e49aa1e9e521b8daef737e043afe695f201
5
5
  SHA512:
6
- metadata.gz: 1c765285a14f5b45fed8add2fa4d35e144465de2e1943d0d4e8aaab54e1f225fca88858408e24ac7ad110ec9b71fb14d4ea1165282e3f9aae733b34962cacb4d
7
- data.tar.gz: 585579fa0a392c9005a8ef43aaba4c6f69ca2282c5474f873f5287d39604cf042eaa1448edc818de5f4bacd94a1522a3f9dfbd3b7c9b2630aa30d696fe82c2d4
6
+ metadata.gz: bef56545861c63ac28714e9f83e31b2e37791c4695def8d8a470caec8edfbc5d04c2d09b28f478928969966f7d48d47c41a01dd9db3b7655a5926731da9292bd
7
+ data.tar.gz: 3bcdb857803a71186d5de93cebee4343b16ffddf09177dd5312013c245eb4beac5cf50c4ebdd866a13ee85004ed05a8c4a104f213ba7f5b0397ab74cf175cd10
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2.2.0
4
+
5
+ - Add *Hangul Jamo Extended-B* block to zero-width chars, thanks @ninjalj #22
6
+
3
7
  ## 2.1.0
4
8
 
5
9
  - Unicode 14.0
data/MIT-LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT LICENSE
2
2
 
3
- Copyright (c) 2011, 2015-2021 Jan Lelis
3
+ Copyright (c) 2011, 2015-2022 Jan Lelis
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -4,7 +4,7 @@ Determines the monospace display width of a string in Ruby. Implementation based
4
4
 
5
5
  Unicode version: **14.0.0** (September 2021)
6
6
 
7
- Supported Rubies: **3.0**, **2.7**
7
+ Supported Rubies: **3.1**, **3.0**, **2.7**
8
8
 
9
9
  Old Rubies which might still work: **2.6**, **2.5**, **2.4**, **2.3**, **2.2**, **2.1**, **2.0**, **1.9**
10
10
 
@@ -44,7 +44,7 @@ X | (user defined) | Overwrites any other values
44
44
  2 | `"\u{2E3A}"` | TWO-EM DASH
45
45
  3 | `"\u{2E3B}"` | THREE-EM DASH
46
46
  0 | General Categories: Mn, Me, Cf (non-arabic) | Excludes ARABIC format characters
47
- 0 | `"\u{1160}".."\u{11FF}"` | HANGUL JUNGSEONG
47
+ 0 | `"\u{1160}".."\u{11FF}"`, `"\u{D7B0}".."\u{D7FF}"` | HANGUL JUNGSEONG
48
48
  0 | `"\u{2060}".."\u{206F}"`, `"\u{FFF0}".."\u{FFF8}"`, `"\u{E0000}".."\u{E0FFF}"` | Ignorable ranges
49
49
  2 | East Asian Width: F, W | Full-width characters
50
50
  2 | `"\u{3400}".."\u{4DBF}"`, `"\u{4E00}".."\u{9FFF}"`, `"\u{F900}".."\u{FAFF}"`, `"\u{20000}".."\u{2FFFD}"`, `"\u{30000}".."\u{3FFFD}"` | Full-width ranges
@@ -153,7 +153,7 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
153
153
 
154
154
  ## Copyright & Info
155
155
 
156
- - Copyright (c) 2011, 2015-2021 Jan Lelis, https://janlelis.com, released under the MIT
156
+ - Copyright (c) 2011, 2015-2022 Jan Lelis, https://janlelis.com, released under the MIT
157
157
  license
158
158
  - Early versions based on runpaint's unicode-data interface: Copyright (c) 2009 Run Paint Run Run
159
159
  - Unicode data: https://www.unicode.org/copyright.html#Exhibit1
Binary file
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Unicode
4
4
  class DisplayWidth
5
- VERSION = "2.1.0"
5
+ VERSION = "2.2.0"
6
6
  UNICODE_VERSION = "14.0.0"
7
7
  DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/")
8
8
  INDEX_FILENAME = DATA_DIRECTORY + "/display_width.marshal.gz"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-display_width
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.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-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -65,6 +65,7 @@ metadata:
65
65
  changelog_uri: https://github.com/janlelis/unicode-display_width/blob/master/CHANGELOG.md
66
66
  source_code_uri: https://github.com/janlelis/unicode-display_width
67
67
  bug_tracker_uri: https://github.com/janlelis/unicode-display_width/issues
68
+ rubygems_mfa_required: 'true'
68
69
  post_install_message:
69
70
  rdoc_options: []
70
71
  require_paths:
@@ -80,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
81
  - !ruby/object:Gem::Version
81
82
  version: '0'
82
83
  requirements: []
83
- rubygems_version: 3.2.3
84
+ rubygems_version: 3.3.3
84
85
  signing_key:
85
86
  specification_version: 4
86
87
  summary: Determines the monospace display width of a string in Ruby.