unicode-blocks 1.6.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -2
- data/Gemfile.lock +2 -2
- data/MIT-LICENSE.txt +1 -1
- data/README.md +24 -5
- data/Rakefile +5 -1
- data/data/blocks.marshal.gz +0 -0
- data/lib/unicode/blocks/constants.rb +2 -2
- metadata +4 -5
- data/.travis.yml +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 366885cb5e621ba894ef51e186055dca65bf71bc7e3e7eb43a3c4340653bd05f
|
4
|
+
data.tar.gz: 4846a923ee58a49bdad5064f9793b9d99c07c96ee627f8832f6ec7a2c0a18830
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e886a5b8a4f78fac3ee8ea1a6d9a9fe5d486670ff0390c7c1e5c49b67efd50c3f0af2b9db6a03d2a4507d4fd16f7f50ec9fbf6d2cbf76589c7a1064fc565065
|
7
|
+
data.tar.gz: 8af9e020ca98c9416d346ef1d62aa455bf7c1ab3db8141df96f83684cb17da3e46fe2df7f38addf90c2e058739784c791fbe93204269a41f9c2162b6b75dc25f
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/MIT-LICENSE.txt
CHANGED
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) [![[
|
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: **
|
5
|
+
Unicode version: **15.0.0** (September 2022)
|
6
6
|
|
7
|
-
Supported Rubies: **
|
7
|
+
Supported Rubies: **3.1**, **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
|
@@ -264,8 +267,10 @@ Old Hungarian
|
|
264
267
|
Hanifi Rohingya
|
265
268
|
Rumi Numeral Symbols
|
266
269
|
Yezidi
|
270
|
+
Arabic Extended-C
|
267
271
|
Old Sogdian
|
268
272
|
Sogdian
|
273
|
+
Old Uyghur
|
269
274
|
Chorasmian
|
270
275
|
Elymaic
|
271
276
|
Brahmi
|
@@ -292,22 +297,27 @@ Dives Akuru
|
|
292
297
|
Nandinagari
|
293
298
|
Zanabazar Square
|
294
299
|
Soyombo
|
300
|
+
Unified Canadian Aboriginal Syllabics Extended-A
|
295
301
|
Pau Cin Hau
|
302
|
+
Devanagari Extended-A
|
296
303
|
Bhaiksuki
|
297
304
|
Marchen
|
298
305
|
Masaram Gondi
|
299
306
|
Gunjala Gondi
|
300
307
|
Makasar
|
308
|
+
Kawi
|
301
309
|
Lisu Supplement
|
302
310
|
Tamil Supplement
|
303
311
|
Cuneiform
|
304
312
|
Cuneiform Numbers and Punctuation
|
305
313
|
Early Dynastic Cuneiform
|
314
|
+
Cypro-Minoan
|
306
315
|
Egyptian Hieroglyphs
|
307
316
|
Egyptian Hieroglyph Format Controls
|
308
317
|
Anatolian Hieroglyphs
|
309
318
|
Bamum Supplement
|
310
319
|
Mro
|
320
|
+
Tangsa
|
311
321
|
Bassa Vah
|
312
322
|
Pahawh Hmong
|
313
323
|
Medefaidrin
|
@@ -317,23 +327,31 @@ Tangut
|
|
317
327
|
Tangut Components
|
318
328
|
Khitan Small Script
|
319
329
|
Tangut Supplement
|
330
|
+
Kana Extended-B
|
320
331
|
Kana Supplement
|
321
332
|
Kana Extended-A
|
322
333
|
Small Kana Extension
|
323
334
|
Nushu
|
324
335
|
Duployan
|
325
336
|
Shorthand Format Controls
|
337
|
+
Znamenny Musical Notation
|
326
338
|
Byzantine Musical Symbols
|
327
339
|
Musical Symbols
|
328
340
|
Ancient Greek Musical Notation
|
341
|
+
Kaktovik Numerals
|
329
342
|
Mayan Numerals
|
330
343
|
Tai Xuan Jing Symbols
|
331
344
|
Counting Rod Numerals
|
332
345
|
Mathematical Alphanumeric Symbols
|
333
346
|
Sutton SignWriting
|
347
|
+
Latin Extended-G
|
334
348
|
Glagolitic Supplement
|
349
|
+
Cyrillic Extended-D
|
335
350
|
Nyiakeng Puachue Hmong
|
351
|
+
Toto
|
336
352
|
Wancho
|
353
|
+
Nag Mundari
|
354
|
+
Ethiopic Extended-B
|
337
355
|
Mende Kikakui
|
338
356
|
Adlam
|
339
357
|
Indic Siyaq Numbers
|
@@ -362,6 +380,7 @@ CJK Unified Ideographs Extension E
|
|
362
380
|
CJK Unified Ideographs Extension F
|
363
381
|
CJK Compatibility Ideographs Supplement
|
364
382
|
CJK Unified Ideographs Extension G
|
383
|
+
CJK Unified Ideographs Extension H
|
365
384
|
Tags
|
366
385
|
Variation Selectors Supplement
|
367
386
|
Supplementary Private Use Area-A
|
@@ -372,5 +391,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
|
|
372
391
|
|
373
392
|
## MIT License
|
374
393
|
|
375
|
-
- Copyright (C) 2016-
|
394
|
+
- Copyright (C) 2016-2022 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
376
395
|
- 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
|
-
|
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
|
data/data/blocks.marshal.gz
CHANGED
Binary file
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
module Unicode
|
4
4
|
module Blocks
|
5
|
-
VERSION = "1.
|
6
|
-
UNICODE_VERSION = "
|
5
|
+
VERSION = "1.8.0"
|
6
|
+
UNICODE_VERSION = "15.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.
|
4
|
+
version: 1.8.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:
|
11
|
+
date: 2022-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: "[Unicode
|
13
|
+
description: "[Unicode 15.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.
|
55
|
+
rubygems_version: 3.3.7
|
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
|