unicode-display_width 1.3.3 → 1.4.0
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +2 -2
- data/data/display_width.marshal.gz +0 -0
- data/lib/unicode/display_width/constants.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 840ae42ecadddf7525926243ffd0872a39c6a89c773b8a406750fc59258bf4ad
|
|
4
|
+
data.tar.gz: ca8af98922171d4c28f6eb5ccd2f499efdb9bf80e2813c651b3c18d824a48bb7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d58ef100d3173ed6a360cde55dd18631443e5e917529fc6b245e29e0f2b06c46f4b71138400e5e12cb9ea33923f238ed28b02fb437c13eb8a8b698f5121a11dd
|
|
7
|
+
data.tar.gz: 0c6f8be05c7a23a21208c3a3f395626aca12a558d23c64fdaaaadc2ad474513a4f4954af77a5f903b7cf2039b6971e6188ef8e613c9c89e99df90fac5fb1d6eb
|
data/CHANGELOG.md
CHANGED
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Determines the monospace display width of a string in Ruby. Implementation based on [EastAsianWidth.txt](http://www.unicode.org/Public/UNIDATA/EastAsianWidth.txt) and other data, 100% in Ruby. Other than [wcwidth()](https://github.com/janlelis/wcswidth-ruby), which fulfills a similar purpose, it does not rely on the OS vendor to provide an up-to-date method for measuring string width.
|
|
4
4
|
|
|
5
|
-
Unicode version: **
|
|
5
|
+
Unicode version: **11.0.0**
|
|
6
6
|
|
|
7
7
|
Supported Rubies: **2.5**, **2.4**, **2.3**
|
|
8
8
|
|
|
@@ -118,7 +118,7 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
|
|
|
118
118
|
|
|
119
119
|
## Copyright & Info
|
|
120
120
|
|
|
121
|
-
- Copyright (c) 2011, 2015-
|
|
121
|
+
- Copyright (c) 2011, 2015-2018 Jan Lelis, http://janlelis.com, released under the MIT
|
|
122
122
|
license
|
|
123
123
|
- Early versions based on runpaint's unicode-data interface: Copyright (c) 2009 Run Paint Run Run
|
|
124
124
|
- Unicode data: http://www.unicode.org/copyright.html#Exhibit1
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Unicode
|
|
2
2
|
module DisplayWidth
|
|
3
|
-
VERSION = '1.
|
|
4
|
-
UNICODE_VERSION = "
|
|
3
|
+
VERSION = '1.4.0'
|
|
4
|
+
UNICODE_VERSION = "11.0.0".freeze
|
|
5
5
|
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + '/../../../data/').freeze
|
|
6
6
|
INDEX_FILENAME = (DATA_DIRECTORY + '/display_width.marshal.gz').freeze
|
|
7
7
|
end
|
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: 1.
|
|
4
|
+
version: 1.4.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: 2018-05
|
|
11
|
+
date: 2018-06-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -38,7 +38,7 @@ dependencies:
|
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '10.4'
|
|
41
|
-
description: "[Unicode
|
|
41
|
+
description: "[Unicode 11.0.0] Determines the monospace display width of a string
|
|
42
42
|
using EastAsianWidth.txt, Unicode general category, and other data."
|
|
43
43
|
email: mail@janlelis.de
|
|
44
44
|
executables: []
|