unicode-types 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: af3def36455c8a364cc3474d96f4019a31b16e46
4
- data.tar.gz: 30d451245da23a3dfdae6168aa06db37e20f69cf
2
+ SHA256:
3
+ metadata.gz: 31096c3600e5ca3a1d77f773b969659a236a8a1a05ee682c2baca66031acb433
4
+ data.tar.gz: f4250fda246c454d4c4fa67075b2385e828e10f1d9b0b3f68bc6c3298a85183f
5
5
  SHA512:
6
- metadata.gz: 0ea312f2367bbfd595b6a139b1bfea290f90348574f33c0883daf81af9cbf8fcee83ec4456d31fe9ed73a28687a5dc9fe20ba2181942b880894c2d68867710fd
7
- data.tar.gz: cb4b43b18d77a773a44caeb878f4ad27957e57439957b8f3fdd7efb0c16097875bb269f8b4bfea48548e969e1697b8a7bdd0847fbd5ca26f5d00dca5014c3a26
6
+ metadata.gz: 138ff0577758de6144d3e1f0e1d6d426c72cb811a1d7c31e8800871a42b28f8b294225f8245f1ceb1eaf4e7c8d5c1bfec2afc6dd6f2af4b9d94ada4e80edcae5
7
+ data.tar.gz: e305e3126455028ba53e6d6d5125c1fda1de524195f5197f72d2a4719ff982166915d833997a5162dfe3830f517e9ae8c2c5ea2693d8ba1e9e7392e7b113ed33
@@ -5,21 +5,21 @@ script: bundle exec ruby spec/unicode_types_spec.rb
5
5
 
6
6
  rvm:
7
7
  - ruby-head
8
- - 2.4.1
9
- - 2.3.4
8
+ - 2.5.1
9
+ - 2.4.4
10
+ - 2.3.7
10
11
  - 2.2
11
12
  - 2.1
12
13
  - 2.0
13
14
  - jruby-head
14
- - jruby-9.1.12.0
15
-
16
- cache:
17
- - bundler
15
+ - jruby-9.1.16.0
18
16
 
19
17
  matrix:
20
18
  allow_failures:
21
19
  - rvm: jruby-head
22
20
  - rvm: ruby-head
21
+ - rvm: 2.2
22
+ - rvm: 2.1
23
23
  - rvm: 2.0
24
24
  # fast_finish: true
25
25
 
@@ -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/README.md CHANGED
@@ -12,7 +12,9 @@ Determine the basic type of codepoints. This can be one of:
12
12
 
13
13
  Unicode version: **10.0.0**
14
14
 
15
- Supported Rubies: **2.4**, **2.3**, **2.2**, **2.1**
15
+ Supported Rubies: **2.5**, **2.4**, **2.3**
16
+
17
+ Old Rubies that might still work: **2.2**, **2.1**, **2.0**
16
18
 
17
19
  ## Gemfile
18
20
 
@@ -28,7 +30,7 @@ require "unicode/types"
28
30
  # All general types of a string
29
31
  Unicode::Types.types("A\tb") # => ["Control", "Graphic"]
30
32
 
31
- # Also aliased as .of
33
+ # Also aliased as .of
32
34
  Unicode::Types.of("\u{FFFFF}") # => ["Noncharacter"]
33
35
 
34
36
  # Single codepoint
@@ -1,6 +1,6 @@
1
1
  module Unicode
2
2
  module Types
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 + '/types.marshal.gz').freeze
@@ -2,7 +2,7 @@ require_relative 'constants'
2
2
 
3
3
  module Unicode
4
4
  module Types
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-types
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-19 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 the basic type of codepoints (Graphic, Format,
14
14
  Control, Private-use, Surrogate, Noncharacter, Reserved)"
@@ -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 basic type of codepoints.