unicode-blocks 1.3.0 → 1.4.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 +5 -5
- data/.travis.yml +6 -4
- data/CHANGELOG.md +4 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +15 -6
- data/data/blocks.marshal.gz +0 -0
- data/lib/unicode/blocks/constants.rb +6 -5
- metadata +4 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: c005f270bd0499b5d931074a2ec36bb4627139f632e029a5a9f74232c040609c
|
|
4
|
+
data.tar.gz: dff179e22db4c7fefa4ed46593d9a2aab16112fc7c9592b9b26bef12a1257ead
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a684ed432d63daa57ac13c1694fb5870cfdbab559689c0aba3ab2b7e757b042ddf18138268cc1694a619e12f5b875c6b028b0b008d38a1d722df4a56a6d7587
|
|
7
|
+
data.tar.gz: 1ca5e0a31e4d9c68a4a9e47cda69c1d182301f19edf9730a3799501d05b272426ae4420f5f65d3e6259c3f6951f20167dfe9804b2ad89805d48e3221a5ce5519
|
data/.travis.yml
CHANGED
|
@@ -5,18 +5,20 @@ script: bundle exec ruby spec/unicode_blocks_spec.rb
|
|
|
5
5
|
|
|
6
6
|
rvm:
|
|
7
7
|
- ruby-head
|
|
8
|
-
- 2.
|
|
9
|
-
- 2.
|
|
10
|
-
- 2.
|
|
8
|
+
- 2.6.1
|
|
9
|
+
- 2.5.3
|
|
10
|
+
- 2.4.5
|
|
11
|
+
- 2.3.8
|
|
11
12
|
- 2.2
|
|
12
13
|
- 2.1
|
|
13
14
|
- 2.0
|
|
14
15
|
- jruby-head
|
|
15
|
-
- jruby-9.
|
|
16
|
+
- jruby-9.2.6.0
|
|
16
17
|
|
|
17
18
|
matrix:
|
|
18
19
|
allow_failures:
|
|
19
20
|
- rvm: jruby-head
|
|
21
|
+
- rvm: 2.3
|
|
20
22
|
- rvm: 2.2
|
|
21
23
|
- rvm: 2.1
|
|
22
24
|
- rvm: 2.0
|
data/CHANGELOG.md
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)](
|
|
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)
|
|
2
2
|
|
|
3
|
-
Each
|
|
3
|
+
Each Unicode character belongs to a [block](https://en.wikipedia.org/wiki/Unicode_block). This gem returns the all blocks asociated with the given string.
|
|
4
4
|
|
|
5
|
-
Unicode version: **
|
|
5
|
+
Unicode version: **12.0.0**
|
|
6
6
|
|
|
7
|
-
Supported Rubies: **2.
|
|
7
|
+
Supported Rubies: **2.6**, **2.5**, **2.4**
|
|
8
8
|
|
|
9
|
-
Old Rubies that might still work: **2.2**, **2.1**, **2.0**
|
|
9
|
+
Old Rubies that might still work: **2.3**, **2.2**, **2.1**, **2.0**
|
|
10
10
|
|
|
11
11
|
## Gemfile
|
|
12
12
|
|
|
@@ -263,6 +263,7 @@ Hanifi Rohingya
|
|
|
263
263
|
Rumi Numeral Symbols
|
|
264
264
|
Old Sogdian
|
|
265
265
|
Sogdian
|
|
266
|
+
Elymaic
|
|
266
267
|
Brahmi
|
|
267
268
|
Kaithi
|
|
268
269
|
Sora Sompeng
|
|
@@ -283,6 +284,7 @@ Takri
|
|
|
283
284
|
Ahom
|
|
284
285
|
Dogra
|
|
285
286
|
Warang Citi
|
|
287
|
+
Nandinagari
|
|
286
288
|
Zanabazar Square
|
|
287
289
|
Soyombo
|
|
288
290
|
Pau Cin Hau
|
|
@@ -291,10 +293,12 @@ Marchen
|
|
|
291
293
|
Masaram Gondi
|
|
292
294
|
Gunjala Gondi
|
|
293
295
|
Makasar
|
|
296
|
+
Tamil Supplement
|
|
294
297
|
Cuneiform
|
|
295
298
|
Cuneiform Numbers and Punctuation
|
|
296
299
|
Early Dynastic Cuneiform
|
|
297
300
|
Egyptian Hieroglyphs
|
|
301
|
+
Egyptian Hieroglyph Format Controls
|
|
298
302
|
Anatolian Hieroglyphs
|
|
299
303
|
Bamum Supplement
|
|
300
304
|
Mro
|
|
@@ -307,6 +311,7 @@ Tangut
|
|
|
307
311
|
Tangut Components
|
|
308
312
|
Kana Supplement
|
|
309
313
|
Kana Extended-A
|
|
314
|
+
Small Kana Extension
|
|
310
315
|
Nushu
|
|
311
316
|
Duployan
|
|
312
317
|
Shorthand Format Controls
|
|
@@ -319,9 +324,12 @@ Counting Rod Numerals
|
|
|
319
324
|
Mathematical Alphanumeric Symbols
|
|
320
325
|
Sutton SignWriting
|
|
321
326
|
Glagolitic Supplement
|
|
327
|
+
Nyiakeng Puachue Hmong
|
|
328
|
+
Wancho
|
|
322
329
|
Mende Kikakui
|
|
323
330
|
Adlam
|
|
324
331
|
Indic Siyaq Numbers
|
|
332
|
+
Ottoman Siyaq Numbers
|
|
325
333
|
Arabic Mathematical Alphabetic Symbols
|
|
326
334
|
Mahjong Tiles
|
|
327
335
|
Domino Tiles
|
|
@@ -337,6 +345,7 @@ Geometric Shapes Extended
|
|
|
337
345
|
Supplemental Arrows-C
|
|
338
346
|
Supplemental Symbols and Pictographs
|
|
339
347
|
Chess Symbols
|
|
348
|
+
Symbols and Pictographs Extended-A
|
|
340
349
|
CJK Unified Ideographs Extension B
|
|
341
350
|
CJK Unified Ideographs Extension C
|
|
342
351
|
CJK Unified Ideographs Extension D
|
|
@@ -353,5 +362,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
|
|
|
353
362
|
|
|
354
363
|
## MIT License
|
|
355
364
|
|
|
356
|
-
- Copyright (C) 2016-
|
|
365
|
+
- Copyright (C) 2016-2019 Jan Lelis <http://janlelis.com>. Released under the MIT license.
|
|
357
366
|
- Unicode data: http://www.unicode.org/copyright.html#Exhibit1
|
data/data/blocks.marshal.gz
CHANGED
|
Binary file
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
module Unicode
|
|
2
4
|
module Blocks
|
|
3
|
-
VERSION = "1.
|
|
4
|
-
UNICODE_VERSION = "
|
|
5
|
-
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) +
|
|
6
|
-
INDEX_FILENAME = (DATA_DIRECTORY +
|
|
5
|
+
VERSION = "1.4.0"
|
|
6
|
+
UNICODE_VERSION = "12.0.0"
|
|
7
|
+
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
|
|
8
|
+
INDEX_FILENAME = (DATA_DIRECTORY + "/blocks.marshal.gz").freeze
|
|
7
9
|
end
|
|
8
10
|
end
|
|
9
|
-
|
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.4.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: 2019-03-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description: "[Unicode
|
|
13
|
+
description: "[Unicode 12.0.0] Which Unicode block does a character belong to?"
|
|
14
14
|
email:
|
|
15
15
|
- mail@janlelis.de
|
|
16
16
|
executables: []
|
|
@@ -52,8 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
version: '0'
|
|
54
54
|
requirements: []
|
|
55
|
-
|
|
56
|
-
rubygems_version: 2.6.14
|
|
55
|
+
rubygems_version: 3.0.1
|
|
57
56
|
signing_key:
|
|
58
57
|
specification_version: 4
|
|
59
58
|
summary: Return Unicode blocks of a string.
|