unicode-display_width 1.2.1 → 1.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59a04bf566614743afd62208520c6cd793f778ab
4
- data.tar.gz: da69bc1f400f8e5f4ee6087e689c88a62cb721e0
3
+ metadata.gz: bad238cf48b0e4759950e23cff9e032339e6df75
4
+ data.tar.gz: 6bce7e300a0bd246c1fa8f9d9e524a21397a0500
5
5
  SHA512:
6
- metadata.gz: 6c1154b63e02f4bd8fbb1e9c1da384fb4bbf3d535d26b87121a708a429835e40e44577caf002db4e1762b909fda88c2ff675d070e9efb1438d0d5714df093b64
7
- data.tar.gz: e22f62ff134532d4adfa275e2e6a2eef4b9566b58211b53b45af859e69fd59a67f497bde40943493bb068e1af385d41d9478d646a6c3d28ddd50e3660233f86c
6
+ metadata.gz: f0398b53221313856a03a70845b3d85523afe4b814e1bf3be45795f7c92856114637383f816b7e332afa8d21bfb91e62e05bd88e35a733a945b26563181f2a17
7
+ data.tar.gz: 6052205e6f3bd2890045bbb50978f015fc39f34e85d76129adc045b5a5caba376feb16dd802a4375887b3c2d4d21fa0060c45c1d4ee46720618d7a2d2d6732c0
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.3.0
4
+
5
+ - Unicode 10
6
+
3
7
  ## 1.2.1
4
8
 
5
9
  - Fix bug that `emoji: true` would fail for emoji without modifier
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: **9.0.0**
5
+ Unicode version: **10.0.0**
6
6
 
7
7
  ## Introduction to Character Widths
8
8
 
@@ -1,7 +1,7 @@
1
1
  module Unicode
2
2
  module DisplayWidth
3
- VERSION = '1.2.1'
4
- UNICODE_VERSION = "9.0.0".freeze
3
+ VERSION = '1.3.0'
4
+ UNICODE_VERSION = "10.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.2.1
4
+ version: 1.3.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: 2017-04-10 00:00:00.000000000 Z
11
+ date: 2017-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -38,8 +38,8 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.4'
41
- description: "[Unicode 9.0.0] Determines the monospace display width of a string using
42
- EastAsianWidth.txt, Unicode general category, and other data."
41
+ description: "[Unicode 10.0.0] Determines the monospace display width of a string
42
+ using EastAsianWidth.txt, Unicode general category, and other data."
43
43
  email: mail@janlelis.de
44
44
  executables: []
45
45
  extensions: []
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  requirements: []
82
82
  rubyforge_project:
83
- rubygems_version: 2.6.8
83
+ rubygems_version: 2.6.11
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: Determines the monospace display width of a string in Ruby.