unicode-blocks 1.6.0 → 1.7.0

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
2
  SHA256:
3
- metadata.gz: 8813faec62e469d167e08be80cde1d7ebc3479506c034d106d1a7f83ce2fd9f9
4
- data.tar.gz: 4156c968942f410b61301e04140c2406bca0a0dfef56df2535d37a7db1a55ae4
3
+ metadata.gz: 80a0be578ae09d39ac540f91bad52804bafd263807e2fafd4c05cb17f20e81bf
4
+ data.tar.gz: f74078fb7dbc481e9890a9be2da723b7c362506a6a34afd2ab094420fc7956ce
5
5
  SHA512:
6
- metadata.gz: b915b36e5b5baa23dd581d1f82cf9481d15e425cb00a0bdcbc4190cf7b7b0eee6f933055f5f3048d3277a3fa16a287c1516f136f093e5998bde755d4697450ec
7
- data.tar.gz: 2192c9e8cb37ae753321df4eaf6cd6d4ea7ff7862c5eadf56f3c61e0ad85261a0e42cf676e625b7d52d5e83e10e266b546e5f29a6050d7ecfd9b07acc08e45b4
6
+ metadata.gz: 204d67076e419612d96a3d2f6d29bedff0eb4b907a68e7d228e42e37eb75f5a17114f6f5dc57dae0ec84da8ed6e4e1a0b76fd99e96e148e84d6b87919212eab4
7
+ data.tar.gz: 9d9e53b5485451f17683dacae0dc8aecc4e4e873c80932915b13eba9890fa29b93326c2440c1ed78dad79c06814759de6f398f46ede5f38266f8f86df36cb0c5
data/CHANGELOG.md CHANGED
@@ -1,10 +1,14 @@
1
1
  ## CHANGELOG
2
2
 
3
- ## 1.6.0
3
+ ### 1.7.0
4
+
5
+ - Unicode 14.0
6
+
7
+ ### 1.6.0
4
8
 
5
9
  * Unicode 13.0
6
10
 
7
- ## 1.5.0
11
+ ### 1.5.0
8
12
 
9
13
  * Unicode 12.1
10
14
 
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016-2020 Jan Lelis, https://janlelis.com
1
+ Copyright (c) 2016-2021 Jan Lelis, https://janlelis.com
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
@@ -1,12 +1,12 @@
1
- # Unicode::Blocks [![[version]](https://badge.fury.io/rb/unicode-blocks.svg)](https://badge.fury.io/rb/unicode-blocks) [![[travis]](https://travis-ci.org/janlelis/unicode-blocks.png)](https://travis-ci.org/janlelis/unicode-blocks)
1
+ # Unicode::Blocks [![[version]](https://badge.fury.io/rb/unicode-blocks.svg)](https://badge.fury.io/rb/unicode-blocks) [![[ci]](https://github.com/janlelis/unicode-blocks/workflows/Test/badge.svg)](https://github.com/janlelis/unicode-blocks/actions?query=workflow%3ATest)
2
2
 
3
3
  Each Unicode character belongs to a [block](https://en.wikipedia.org/wiki/Unicode_block). This gem returns the all blocks associated with the given string.
4
4
 
5
- Unicode version: **13.0.0** (March 2020)
5
+ Unicode version: **14.0.0** (September 2021)
6
6
 
7
- Supported Rubies: **2.7**, **2.6**, **2.5**, **2.4**
7
+ Supported Rubies: **3.0**, **2.7**
8
8
 
9
- Old Rubies which might still work: **2.3**, **2.2**, **2.1**, **2.0**
9
+ Old Rubies which might still work: **2.6**, **2.5**, **2.4**, **2.3**, **2.2**, **2.1**, **2.0**
10
10
 
11
11
  ## Gemfile
12
12
 
@@ -78,6 +78,7 @@ NKo
78
78
  Samaritan
79
79
  Mandaic
80
80
  Syriac Supplement
81
+ Arabic Extended-B
81
82
  Arabic Extended-A
82
83
  Devanagari
83
84
  Bengali
@@ -241,7 +242,9 @@ Osmanya
241
242
  Osage
242
243
  Elbasan
243
244
  Caucasian Albanian
245
+ Vithkuqi
244
246
  Linear A
247
+ Latin Extended-F
245
248
  Cypriot Syllabary
246
249
  Imperial Aramaic
247
250
  Palmyrene
@@ -266,6 +269,7 @@ Rumi Numeral Symbols
266
269
  Yezidi
267
270
  Old Sogdian
268
271
  Sogdian
272
+ Old Uyghur
269
273
  Chorasmian
270
274
  Elymaic
271
275
  Brahmi
@@ -292,6 +296,7 @@ Dives Akuru
292
296
  Nandinagari
293
297
  Zanabazar Square
294
298
  Soyombo
299
+ Unified Canadian Aboriginal Syllabics Extended-A
295
300
  Pau Cin Hau
296
301
  Bhaiksuki
297
302
  Marchen
@@ -303,11 +308,13 @@ Tamil Supplement
303
308
  Cuneiform
304
309
  Cuneiform Numbers and Punctuation
305
310
  Early Dynastic Cuneiform
311
+ Cypro-Minoan
306
312
  Egyptian Hieroglyphs
307
313
  Egyptian Hieroglyph Format Controls
308
314
  Anatolian Hieroglyphs
309
315
  Bamum Supplement
310
316
  Mro
317
+ Tangsa
311
318
  Bassa Vah
312
319
  Pahawh Hmong
313
320
  Medefaidrin
@@ -317,12 +324,14 @@ Tangut
317
324
  Tangut Components
318
325
  Khitan Small Script
319
326
  Tangut Supplement
327
+ Kana Extended-B
320
328
  Kana Supplement
321
329
  Kana Extended-A
322
330
  Small Kana Extension
323
331
  Nushu
324
332
  Duployan
325
333
  Shorthand Format Controls
334
+ Znamenny Musical Notation
326
335
  Byzantine Musical Symbols
327
336
  Musical Symbols
328
337
  Ancient Greek Musical Notation
@@ -331,9 +340,12 @@ Tai Xuan Jing Symbols
331
340
  Counting Rod Numerals
332
341
  Mathematical Alphanumeric Symbols
333
342
  Sutton SignWriting
343
+ Latin Extended-G
334
344
  Glagolitic Supplement
335
345
  Nyiakeng Puachue Hmong
346
+ Toto
336
347
  Wancho
348
+ Ethiopic Extended-B
337
349
  Mende Kikakui
338
350
  Adlam
339
351
  Indic Siyaq Numbers
@@ -372,5 +384,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
372
384
 
373
385
  ## MIT License
374
386
 
375
- - Copyright (C) 2016-2020 Jan Lelis <https://janlelis.com>. Released under the MIT license.
387
+ - Copyright (C) 2016-2021 Jan Lelis <https://janlelis.com>. Released under the MIT license.
376
388
  - Unicode data: https://www.unicode.org/copyright.html#Exhibit1
data/Rakefile CHANGED
@@ -32,6 +32,10 @@ end
32
32
 
33
33
  desc "#{gemspec.name} | Spec"
34
34
  task :spec do
35
- sh "for file in spec/*.rb; do ruby $file; done"
35
+ if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
36
+ sh "for %f in (spec/\*.rb) do ruby spec/%f"
37
+ else
38
+ sh "for file in spec/*.rb; do ruby $file; done"
39
+ end
36
40
  end
37
41
  task default: :spec
Binary file
@@ -2,8 +2,8 @@
2
2
 
3
3
  module Unicode
4
4
  module Blocks
5
- VERSION = "1.6.0"
6
- UNICODE_VERSION = "13.0.0"
5
+ VERSION = "1.7.0"
6
+ UNICODE_VERSION = "14.0.0"
7
7
  DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
8
8
  INDEX_FILENAME = (DATA_DIRECTORY + "/blocks.marshal.gz").freeze
9
9
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-blocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-11 00:00:00.000000000 Z
11
+ date: 2021-09-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: "[Unicode 13.0.0] Answers the question: Which Unicode block does a code
13
+ description: "[Unicode 14.0.0] Answers the question: Which Unicode block does a code
14
14
  point belong to?"
15
15
  email:
16
16
  - hi@ruby.consulting
@@ -19,7 +19,6 @@ extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - ".gitignore"
22
- - ".travis.yml"
23
22
  - CHANGELOG.md
24
23
  - CODE_OF_CONDUCT.md
25
24
  - Gemfile
@@ -53,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
52
  - !ruby/object:Gem::Version
54
53
  version: '0'
55
54
  requirements: []
56
- rubygems_version: 3.1.2
55
+ rubygems_version: 3.2.3
57
56
  signing_key:
58
57
  specification_version: 4
59
58
  summary: Return Unicode blocks of a string.
data/.travis.yml DELETED
@@ -1,20 +0,0 @@
1
- sudo: false
2
- language: ruby
3
-
4
- rvm:
5
- - 2.7
6
- - 2.6
7
- - 2.5
8
- - 2.4
9
- - 2.3
10
- - ruby-head
11
- - jruby-9.2.9.0
12
- - truffleruby
13
-
14
- matrix:
15
- allow_failures:
16
- - rvm: 2.3
17
- - rvm: ruby-head
18
- - rvm: jruby-2.9.2.0
19
- - rvm: truffleruby
20
- # fast_finish: true