unicode-display_width 2.4.2 → 2.5.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: e0bcd900f031999ffa43dd6ef091b07b45d425b1ab04e6559f8c8e2c54e08710
4
- data.tar.gz: ec3daad5e92107072f8f590d5f2217fd1213d7b25d6491bb3b20ee103f7a2087
3
+ metadata.gz: 27acdfc12bbc4c8455095846bcd520ae1a816d6927ba8fa607d93c0925127c70
4
+ data.tar.gz: 5c65efc8de3821260f0080f582d7ece1085fdb762f501b5c2c0306fd95dbf6f2
5
5
  SHA512:
6
- metadata.gz: da2098a3b5d56518129b453aa88e113583403fefb37bb23eeb3f2ff3213426ea6a7076ab0a2f4c778f91a6cfbe3f98f59ea8dc6a4e37ff4bb6a1499536a5a4b9
7
- data.tar.gz: 8559483daad47ca76757cf8701f09060bf66f99017a32d62b9c6f739794e1fcc15f2a4b9aae754252d7c8176571f18b590555ed3aa83748836e8e6a681bc7e10
6
+ metadata.gz: 00026a3cf58828846a8f1429f818c900f0998c672b0ad637c402fec46cd63b4470751d6ac35168e7d092a33b966de608ebce84a4e5c2fb936610e9866c1ef7fb
7
+ data.tar.gz: 21f6105c2084a3b4f4f5ad0f6eb12840e0bf8adc408b073dc69f919acfa451bca8adb80e1c813e9a887728467420dcad4198faa30333cc87d63f994b2e396337
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2.5.0
4
+
5
+ - Unicode 15.1
6
+
3
7
  ## 2.4.2
4
8
 
5
9
  More performance improvements:
data/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Determines the monospace display width of a string in Ruby. Useful for all kinds of terminal-based applications. 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: **15.0.0** (September 2022)
5
+ Unicode version: **15.1.0** (September 2023)
6
6
 
7
- Supported Rubies: **3.1**, **3.0**, **2.7**
7
+ Supported Rubies: **3.2**, **3.1**, **3.0**, **2.7**
8
8
 
9
9
  Old Rubies which might still work: **2.6**, **2.5**, **2.4**
10
10
 
@@ -12,7 +12,7 @@ For even older Rubies, use version 2.3.0 of this gem: **2.3**, **2.2**, **2.1**,
12
12
 
13
13
  ## Version 2.4.2 — Performance Updates
14
14
 
15
- **If you use this gem, you should really upgrade to 2.4.2. It's often 100x faster, sometimes even 1000x and more!**
15
+ **If you use this gem, you should really upgrade to 2.4.2 or newer. It's often 100x faster, sometimes even 1000x and more!**
16
16
 
17
17
  This is possible because the gem now detects if you use very basic (and common) characters, like ASCII characters. Furthermore, the charachter width lookup code has been optimized, so even when full-width characters are involved, the gem is much faster now.
18
18
 
Binary file
@@ -2,8 +2,8 @@
2
2
 
3
3
  module Unicode
4
4
  class DisplayWidth
5
- VERSION = "2.4.2"
6
- UNICODE_VERSION = "15.0.0"
5
+ VERSION = "2.5.0"
6
+ UNICODE_VERSION = "15.1.0"
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.4.2
4
+ version: 2.5.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: 2023-01-04 00:00:00.000000000 Z
11
+ date: 2023-10-01 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: '13.0'
41
- description: "[Unicode 15.0.0] Determines the monospace display width of a string
41
+ description: "[Unicode 15.1.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
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
- rubygems_version: 3.4.1
84
+ rubygems_version: 3.4.4
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Determines the monospace display width of a string in Ruby.