Skip to content

Commit

Permalink
Update Unicode version number
Browse files Browse the repository at this point in the history
  • Loading branch information
janlelis committed Sep 10, 2022
1 parent 2b672d3 commit da13ef3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 2.3.0 (unreleased)

- Unicode 15.0

## 2.2.0

- Add *Hangul Jamo Extended-B* block to zero-width chars, thanks @ninjalj #22
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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.

Unicode version: **14.0.0** (September 2021)
Unicode version: **15.0.0** (September 2022)

Supported Rubies: **3.1**, **3.0**, **2.7**

Expand Down
2 changes: 1 addition & 1 deletion lib/unicode/display_width/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Unicode
class DisplayWidth
VERSION = "2.2.0"
UNICODE_VERSION = "14.0.0"
UNICODE_VERSION = "15.0.0"
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/")
INDEX_FILENAME = DATA_DIRECTORY + "/display_width.marshal.gz"
end
Expand Down

0 comments on commit da13ef3

Please sign in to comment.