unicode-categories 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: 73b2391085ed1fae61cdf387d7f2521de2d6c073
4
- data.tar.gz: d2c47f5a3ef1c6e9d83b7ae3d47a9e0ce9f3f748
2
+ SHA256:
3
+ metadata.gz: 01ee373224fd1b13d19dd0acc2ba0de39b5e37e2fd7b6dfeea386320fb5da43c
4
+ data.tar.gz: 239968bd6799e30b6498f1fc670f213e4cad53b76f50441a538fea9dec628922
5
5
  SHA512:
6
- metadata.gz: ea80f737455a693d1910071e0cd1c329725ec16f38bcf532f7ebd787eb8c5d2454762b8ea0ef1494de7625086775ea5d4d610cf6def44e8be5ed6ede895fac9b
7
- data.tar.gz: 9ab60811dbc754634f57bf243b73f8b49188c5c451ad2dc554bce8f7237508cdaf0a96cdf7840d389a75e49badb5b61a50b610efc37c6097725efd26ad7ee231
6
+ metadata.gz: 7e9216e10595b738d48efb1c6f99bc387b83f505726f21f1a4275a635d6eb64872a5841b9ae477b3f19f84c2d42a51197b70b80aad1a426ca7e55d1544d2a43a
7
+ data.tar.gz: ebc7e674a2aabdc9f7e0061e910026ee2754f317c04ba076c731f7730eeed8143752779c3eaf188e33eba7738da0068f4e2ab3dee67e0456bc1478e8cfbcf006
data/.travis.yml CHANGED
@@ -3,21 +3,20 @@ language: ruby
3
3
 
4
4
  rvm:
5
5
  - ruby-head
6
- - 2.4.0
7
- - 2.3.3
6
+ - 2.5.1
7
+ - 2.4.4
8
+ - 2.3.7
8
9
  - 2.2
9
10
  - 2.1
10
11
  - 2.0
11
12
  - jruby-head
12
- - jruby-9.1.7.0
13
-
14
- cache:
15
- - bundler
13
+ - jruby-9.1.16.0
16
14
 
17
15
  matrix:
18
16
  allow_failures:
19
17
  - rvm: jruby-head
20
18
  - rvm: ruby-head
19
+ - rvm: 2.2
20
+ - rvm: 2.1
21
21
  - rvm: 2.0
22
22
  # fast_finish: true
23
-
data/CHANGELOG.md CHANGED
@@ -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
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016-2017 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2016-2018 Jan Lelis, mail@janlelis.de
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -4,7 +4,9 @@ Returns which [General Categories](https://en.wikipedia.org/wiki/Unicode_charact
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**, **2.2**
8
+
9
+ Old Rubies that might still work: **2.1**, **2.0**
8
10
 
9
11
  ## Gemfile
10
12
 
@@ -22,7 +24,7 @@ Unicode::Categories.categories("A 2") # => ["Lu", "Nd", "Zs"]
22
24
  Unicode::Categories.categories("A 2", format: :long)
23
25
  # => ["Decimal_Number", "Space_Separator", "Uppercase_Letter"]
24
26
 
25
- # Also aliased as .of
27
+ # Also aliased as .of
26
28
  Unicode::Categories.of("\u{10c50}") # => ["Cn"]
27
29
 
28
30
  # Single character
@@ -91,6 +93,6 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
91
93
 
92
94
  ## MIT License
93
95
 
94
- - Copyright (C) 2016-2017 Jan Lelis <http://janlelis.com>. Released under the MIT license.
96
+ - Copyright (C) 2016-2018 Jan Lelis <http://janlelis.com>. Released under the MIT license.
95
97
  - Unicode data: http://www.unicode.org/copyright.html#Exhibit1
96
98
 
@@ -1,6 +1,6 @@
1
1
  module Unicode
2
2
  module Categories
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 + '/categories.marshal.gz').freeze
@@ -2,7 +2,7 @@ require_relative 'constants'
2
2
 
3
3
  module Unicode
4
4
  module Categories
5
- INDEX = Marshal.load(Gem.gunzip(File.binread(INDEX_FILENAME)))
6
- end
5
+ INDEX = Marshal.load(Gem::Util.gunzip(File.binread(INDEX_FILENAME)))
6
+ end
7
7
  end
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-categories
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] Determine which Unicode General Categories a string
14
14
  belongs to."
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.6.11
57
+ rubygems_version: 2.7.6
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: Determine the Unicode General Categories of a string.