unicode-scripts 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 34dfe2956b5e5cb2907847f3108798648e7eae78
4
- data.tar.gz: dca6c607e557c2c414120befb32dc2f012bd9dcc
2
+ SHA256:
3
+ metadata.gz: d4161e9c050b26f5a31a1194f144a37afe9bd3346331435cfce5a4caa637e135
4
+ data.tar.gz: a5b6ebcda583856a4d9ee93ea2934b1ba097ae1cdf945fe16cde895713b370c9
5
5
  SHA512:
6
- metadata.gz: e88efb19f13fb808b88bae1f17d01990ac45f2ccd77b49a03275d2be2a43364477012281aa785a84348c451e0bce44437b3cfe46f9082851523837c694b22917
7
- data.tar.gz: dd25705313fc1b94e96fc5240642d93a7e5a28b35aaa603293e142ec8cc68fae027a68095457b25af213c7fdec85b3b579ca398e1fc41ac0b9b0ded3fcedeff3
6
+ metadata.gz: 0b39b19d5bb0021d90bec3f0f5625c0e69a38b72dada88782e5a4eb84a10fbbb942ae40466e944579444547a07d14411b073882b6a69905fb8575c9aa65f63bf
7
+ data.tar.gz: 9534da8d1a492aa0214087d79e8706990b22faa588efd13203251fd2ecdadbdecaee5b8221ba6260491faf9e8691c18bf6453e4a8b4a8f5905c96d0557232497
@@ -4,14 +4,19 @@ language: ruby
4
4
  script: bundle exec ruby spec/unicode_scripts_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.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
@@ -4,7 +4,9 @@ Retrieve the [Unicode script(s)](https://en.wikipedia.org/wiki/Script_%28Unicode
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 Scripts
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 + '/scripts.marshal.gz').freeze
@@ -2,6 +2,6 @@ require_relative 'constants'
2
2
 
3
3
  module Unicode
4
4
  module Scripts
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-scripts
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] Retrieve the Unicode script(s) a string belongs to.
14
14
  Can also return the Script_Extension property which is defined as characters which
@@ -55,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
55
  version: '0'
56
56
  requirements: []
57
57
  rubyforge_project:
58
- rubygems_version: 2.6.11
58
+ rubygems_version: 2.7.6
59
59
  signing_key:
60
60
  specification_version: 4
61
61
  summary: Which script(s) does a Unicode string belong to?