Path to this page:
./
textproc/ruby-unicode-display_width,
Monospace Unicode character width in Ruby
Branch: CURRENT,
Version: 2.6.0,
Package name: ruby32-unicode-display_width-2.6.0,
Maintainer: pkgsrc-usersDetermines the monospace display width of a string in Ruby.
Implementation based on EastAsianWidth.txt and other data, 100% in
Ruby. Other than wcwidth(), which fulfills a similar purpose, it
does not rely on the OS vendor to provide an up-to-date method for
measuring string width.
Required to run:[
lang/ruby31-base]
Master sites:
Filesize: 13 KB
Version history: (Expand)
- (2024-09-22) Updated to version: ruby32-unicode-display_width-2.6.0
- (2023-12-17) Updated to version: ruby31-unicode-display_width-2.5.0
- (2023-01-15) Updated to version: ruby31-unicode-display_width-2.4.2
- (2022-09-14) Updated to version: ruby27-unicode-display_width-2.3.0
- (2022-08-30) Updated to version: ruby27-unicode-display_width-2.2.0
- (2021-12-11) Updated to version: ruby27-unicode-display_width-2.1.0
CVS history: (Expand)
2023-12-17 16:59:35 by Takahiro Kambe | Files touched by this commit (2) | |
Log message:
textproc/ruby-unicode-display_width: update to 2.5.0
2.5.0 (2023-10-01)
* Unicode 15.1
|
2023-01-15 16:51:24 by Takahiro Kambe | Files touched by this commit (2) | |
Log message:
textproc/ruby-unicode-display_width: update to 2.4.2
2.4.0 (2023-01-03)
* Improve performance for ASCII-only strings, by @fatkodima
* Require Ruby 2.4
2.4.1 (2023-01-03)
* Improve general performance!
* Further improve performance for ASCII strings
You should really upgrade - it's much faster now!
2.4.2 (2023-01-04)
More performance improvements:
* Optimize lookup of first 4096 codepoints
* Avoid overwrite lookup if no overwrites are set
|
2022-09-14 15:34:28 by Takahiro Kambe | Files touched by this commit (2) | |
Log message:
textproc/ruby-unicode-display_width: update to 2.3.0
2.3.0 (2022-09-13)
* Unicode 15.0
|
2022-08-30 17:45:42 by Takahiro Kambe | Files touched by this commit (2) | |
Log message:
textproc/ruby-unicode-display_width: update to 2.2.0
2.2.0 (2022-06-24)
* Add Hangul Jamo Extended-B block to zero-width chars, thanks @ninjalj #22
|
2021-12-11 15:39:28 by Takahiro Kambe | Files touched by this commit (2) | |
Log message:
textproc/ruby-unicode-display_width: update to 2.1.0
2.1.0 (2021-09-15)
* Unicode 14.0
|
2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161) |
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
|
2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162) |
Log message:
textproc: Remove SHA1 hashes for distfiles
|
2021-03-11 16:31:15 by Takahiro Kambe | Files touched by this commit (2) | |
Log message:
textproc/ruby-unicode-display_width: update to 2.0.0
2.0.0 (2020-12-30)
* Release 2.0.0
* Supports Ruby 3.0
2.0.0.pre2 (2020-03-11)
* Update 2.0 branch to Unicode 13
2.0.0.pre1 (2020-01-16)
Will be published as non-pre version on rubygems.org when Ruby 3.0 is
released (December 2020)
* Introduce new class-based API, which remembers your string-width
configuration. See README for details.
* Remove auto-loading of string extension
o You can: require "unicode/display_width/string_ext" to continue to use
the string extension
o The manual opt-out require "unicode/display_width/no_string_ext" is not
needed anymore and will issue a warning in the future
* Remove (already deprecated) String#display_size and String#display_width
aliases
Refactorings / Internal Changes:
* Freeze string literals
* The Unicode::DisplayWidth now is class, instead of a module, this enables
the new config-object API
|