unicode-display_width 2.0.0.pre1 → 2.0.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/README.md +1 -1
- data/data/display_width.marshal.gz +0 -0
- data/lib/unicode/display_width/constants.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16df472b2cba994dc42b13d90148fc976fc0a4329cc22b570dc1b38944f5a748
|
4
|
+
data.tar.gz: 5d9febcb7006fb1d6edf19c4acaec72f5229ae99e9e5d1bd206e323795bf4961
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1ce5cb4e91a79d2c5549e34bb43a29d6cd0a4c80c581d4def0efce81588d19d16b74e88aec4039a7fbd02c3670490eb7218db5f74d28555a0da950fd39c0757
|
7
|
+
data.tar.gz: cda1b9b21ed83462ad68a4e8abfabf6616d1646287868cfcafb30575581ccea2b83c2299d1b2194776a4e77b2bceddafeefaf8d64a8953f8e01722d21675a759
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
-
## 2.0.0.
|
3
|
+
## 2.0.0.pre2
|
4
|
+
|
5
|
+
- Update 2.0 branch to Unicode 13
|
6
|
+
|
7
|
+
## 2.0.0.pre1
|
4
8
|
|
5
9
|
Will be published as non-pre version on rubygems.org when Ruby 3.0 is released (December 2020)
|
6
10
|
|
@@ -16,6 +20,10 @@ Refactorings / Internal Changes:
|
|
16
20
|
- Freeze string literals
|
17
21
|
- The Unicode::DisplayWidth now is class, instead of a module, this enables the new config-object API
|
18
22
|
|
23
|
+
## 1.7.0
|
24
|
+
|
25
|
+
- Unicode 13
|
26
|
+
|
19
27
|
## 1.6.1
|
20
28
|
|
21
29
|
- Fix that ambiguous and overwrite options where ignored for emoji-measuring
|
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](https://www.unicode.org/Public/UNIDATA/EastAsianWidth.txt) and other data, 100% in Ruby. It does not rely on the OS vendor (like [wcwidth()](https://github.com/janlelis/wcswidth-ruby)) to provide an up-to-date method for measuring string width.
|
4
4
|
|
5
|
-
Unicode version: **
|
5
|
+
Unicode version: **13.0.0** (March 2020)
|
6
6
|
|
7
7
|
Supported Rubies: **2.7**, **2.6**, **2.5**, **2.4**
|
8
8
|
|
Binary file
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
module Unicode
|
4
4
|
class DisplayWidth
|
5
|
-
VERSION = "2.0.0.
|
6
|
-
UNICODE_VERSION = "
|
5
|
+
VERSION = "2.0.0.pre2"
|
6
|
+
UNICODE_VERSION = "13.0.0".freeze
|
7
7
|
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/")
|
8
8
|
INDEX_FILENAME = DATA_DIRECTORY + "/display_width.marshal.gz"
|
9
9
|
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: 2.0.0.
|
4
|
+
version: 2.0.0.pre2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-11 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 13.0.0] Determines the monospace display width of a string
|
42
42
|
using EastAsianWidth.txt, Unicode general category, and other data."
|
43
43
|
email:
|
44
44
|
- hi@ruby.consulting
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: 1.3.1
|
82
82
|
requirements: []
|
83
|
-
rubygems_version: 3.
|
83
|
+
rubygems_version: 3.1.2
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Determines the monospace display width of a string in Ruby.
|