unicode-blocks 1.2.0 → 1.2.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: 42c651ef0b57c1223bb94f5cff188cdeddbda77e
4
- data.tar.gz: 0ca13eed96bd55c3306364069827af978b95cb75
2
+ SHA256:
3
+ metadata.gz: 60d39cd624a68ccd5efa1f741744c66ca6344ee678e8f292ea64cd9051cd18a8
4
+ data.tar.gz: dfc5014afbab40277d927a76ecaacab0578fcdf20d3d123abdfda025d6965e60
5
5
  SHA512:
6
- metadata.gz: 15ab4ea3e48f12ae817385e2a4a8877027702e5588543dd1db76272aa9347838cfaec6d53fa95d015793d860176f777e0d0df443672de9f215fa774497c19aa9
7
- data.tar.gz: 7a0da2086c96473f00b6d08ce162002aa571951d3f6b76597fde98635cbf2145627debc8106f353a32f12da94bb46661ca837fdac34241f81abbbbeac5082d22
6
+ metadata.gz: 6f17e5279ccc82c97923e1a8c1d398693d650bb2ac5678bba4f948037ceca8d06d3a50901cc824d9308083750b38bb42343be19f249b6f2341429fe27de889cf
7
+ data.tar.gz: 0d085087d28fc14face2948b6bf37a6907eb901c4c735ff1c612e1a3c35910be558dfc22e76815e3b1e6b12e083ce392a3661cdbcc15fc50a8c1e6ed6071136b
@@ -4,14 +4,19 @@ language: ruby
4
4
  script: bundle exec ruby spec/unicode_blocks_spec.rb
5
5
 
6
6
  rvm:
7
- - 2.4.1
8
- - 2.3.4
7
+ - ruby-head
8
+ - 2.5.1
9
+ - 2.4.4
10
+ - 2.3.7
9
11
  - 2.2
10
12
  - 2.1
11
- - ruby-head
13
+ - 2.0
12
14
  - jruby-head
13
- - jruby-9.1.8.0
15
+ - jruby-9.1.16.0
14
16
 
15
17
  matrix:
16
18
  allow_failures:
17
19
  - rvm: jruby-head
20
+ - rvm: 2.2
21
+ - rvm: 2.1
22
+ - rvm: 2.0
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.2.1
4
+
5
+ * Use `Gem::Util` for `gunzip`, removes deprecation warning
6
+
3
7
  ### 1.2.0
4
8
 
5
9
  * Unicode 10.0
data/README.md CHANGED
@@ -4,7 +4,9 @@ Each unicode character belongs to a [block](https://en.wikipedia.org/wiki/Unicod
4
4
 
5
5
  Unicode version: **10.0.0**
6
6
 
7
- Supported Rubies: **2.4**, **2.3**, **2.2**, **2.1**
7
+ Supported Rubies: **2.5**, **2.4**, **2.3**
8
+
9
+ Old Rubies that might still work: **2.2**, **2.1**, **2.0**
8
10
 
9
11
  ## Gemfile
10
12
 
@@ -1,6 +1,6 @@
1
1
  module Unicode
2
2
  module Blocks
3
- VERSION = "1.2.0".freeze
3
+ VERSION = "1.2.1".freeze
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 + '/blocks.marshal.gz').freeze
@@ -2,6 +2,6 @@ require_relative 'constants'
2
2
 
3
3
  module Unicode
4
4
  module Blocks
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-blocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.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-17 00:00:00.000000000 Z
11
+ date: 2018-04-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: "[Unicode 10.0.0] Which Unicode block does a character belong to?"
14
14
  email:
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  version: '0'
54
54
  requirements: []
55
55
  rubyforge_project:
56
- rubygems_version: 2.6.11
56
+ rubygems_version: 2.7.6
57
57
  signing_key:
58
58
  specification_version: 4
59
59
  summary: Return Unicode blocks of a string.