unicode-name 1.5.0 → 1.5.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: 84c0aecc26c057cf0415baaaa1f3d791013463c1
4
- data.tar.gz: 23eb9d6a5de0658897cdd7ee0f5093b0870e51df
2
+ SHA256:
3
+ metadata.gz: 319d6b22188f97ffa3f2314bd1ba5d80f9d056b4be549e7f4016ffd3dcd1031d
4
+ data.tar.gz: a02e1a16c06e732425b6659a174c9bef43c9d466787b971dba3adcba9d04d775
5
5
  SHA512:
6
- metadata.gz: '08cfc2c6760f1b08a4e33dd8665729a8acf90881c92231aac7e44cb9d7019055b16482b539bb2cad2531b33c7146f037bc79d25f0cc44737d7298e7d53ca82ab'
7
- data.tar.gz: 7ba218d86f1e879e247d309e8c5135db680e3ae5f43d441b6db07f4f5841d166d39414b84f092de7860cdcf9593dc06bae28730e790066ff90c891298006ace8
6
+ metadata.gz: 4ab4285bc4b6b3f0b6819fa017f0e2024f4275eb1526059d9d0228a9b43b469806afffadf9e189ea2615e4d4a6f4d8cf55c79d1fa11942eed52b3aaaf72d8f62
7
+ data.tar.gz: adb4f9ea6120afe64a01d69c6e610116bd7c8426ebcc5fd691edbe577d0d6772ee4813ed5d4f83475171f09a13600d7ef01e7f1e4bd65ad49ea99593100b362b
@@ -4,14 +4,19 @@ language: ruby
4
4
  script: bundle exec ruby spec/unicode_name_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.12.0
15
+ - jruby-9.1.16.0
14
16
 
15
17
  matrix:
16
18
  allow_failures:
19
+ - rvm: 2.2
20
+ - rvm: 2.1
21
+ - rvm: 2.0
17
22
  - rvm: jruby-head
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.5.1
4
+
5
+ * Use `Gem::Util` for `gunzip`, removes deprecation warning
6
+
3
7
  ### 1.5.0
4
8
 
5
9
  * Unicode 10
@@ -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 @@ Return Unicode codepoint names, aliases, and labels.
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
  ## Usage
10
12
 
@@ -19,7 +21,7 @@ Unicode::Name.of "한" # => "HANGUL SYLLABLE HAN"
19
21
 
20
22
  # Aliases, by type
21
23
  Unicode::Name.aliases "\t" # => {:control=>["CHARACTER TABULATION", "HORIZONTAL TABULATION"],
22
- :abbreviation=>["HT", "TAB"]}
24
+ :abbreviation=>["HT", "TAB"]}
23
25
 
24
26
  # Corrections (via .aliases[:correction], then name)
25
27
  Unicode::Name.correct "A" # => "LATIN CAPITAL LETTER A"
@@ -41,5 +43,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
41
43
 
42
44
  ## MIT License
43
45
 
44
- - Copyright (C) 2016-2017 Jan Lelis <http://janlelis.com>. Released under the MIT license.
46
+ - Copyright (C) 2016-2018 Jan Lelis <http://janlelis.com>. Released under the MIT license.
45
47
  - Unicode data: http://www.unicode.org/copyright.html#Exhibit1
@@ -1,6 +1,6 @@
1
1
  module Unicode
2
2
  module Name
3
- VERSION = "1.5.0".freeze
3
+ VERSION = "1.5.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 + '/name.marshal.gz').freeze
@@ -2,6 +2,6 @@ require_relative 'constants'
2
2
 
3
3
  module Unicode
4
4
  module Name
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-name
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.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: unicode-types
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  version: '0'
68
68
  requirements: []
69
69
  rubyforge_project:
70
- rubygems_version: 2.6.11
70
+ rubygems_version: 2.7.6
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: Returns name/aliases/label of a Unicode codepoint