unicode-display_width 1.3.0 → 1.3.1

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
- SHA1:
3
- metadata.gz: bad238cf48b0e4759950e23cff9e032339e6df75
4
- data.tar.gz: 6bce7e300a0bd246c1fa8f9d9e524a21397a0500
2
+ SHA256:
3
+ metadata.gz: 0a1035d779e70517614c3de49a0ed8e2406aeefd3562776242ea526f9e447ec9
4
+ data.tar.gz: 42088feb70bf6c53b006e3c841cd28a9dd6b247642f5c9f19ec913cd3a20712c
5
5
  SHA512:
6
- metadata.gz: f0398b53221313856a03a70845b3d85523afe4b814e1bf3be45795f7c92856114637383f816b7e332afa8d21bfb91e62e05bd88e35a733a945b26563181f2a17
7
- data.tar.gz: 6052205e6f3bd2890045bbb50978f015fc39f34e85d76129adc045b5a5caba376feb16dd802a4375887b3c2d4d21fa0060c45c1d4ee46720618d7a2d2d6732c0
6
+ metadata.gz: d92b32fe01dd02fc8cf1010bf9b6a34c6977adc3bc1ba6ccf9affa747298e54c25df4f8d669ee85f15ca8434c28d3ccacbf8417bbfd288de31e104f0b774837d
7
+ data.tar.gz: 6eb4df2e3b80d3c8f0bcccd7d8816d5b87f385af74a8fd5d93917748d085a7e75965a6ebfa5883a395b87e98d39d091fbd9f4516271567bf5ad379e35c412abc
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.3.1
4
+
5
+ - Use `Gem::Util` for `gunzip`, removes deprecation warning, patch by @Schwad
6
+
3
7
  ## 1.3.0
4
8
 
5
9
  - Unicode 10
@@ -1,6 +1,6 @@
1
1
  module Unicode
2
2
  module DisplayWidth
3
- VERSION = '1.3.0'
3
+ VERSION = '1.3.1'
4
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
@@ -2,6 +2,6 @@ require_relative 'constants'
2
2
 
3
3
  module Unicode
4
4
  module DisplayWidth
5
- INDEX = Marshal.load(Gem.gunzip(File.binread(INDEX_FILENAME)))
5
+ INDEX = Marshal.load(Gem::Util.gunzip(File.binread(INDEX_FILENAME)))
6
6
  end
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.3.0
4
+ version: 1.3.1
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-06-19 00:00:00.000000000 Z
11
+ date: 2018-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -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.11
83
+ rubygems_version: 2.7.6
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: Determines the monospace display width of a string in Ruby.