unicode-blocks 1.0.0 → 1.1.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +14 -1
- data/data/blocks.marshal.gz +0 -0
- data/lib/unicode/blocks/constants.rb +2 -2
- data/unicode-blocks.gemspec +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 514729972866070cac1e422c9a4c51e0dc324418
|
|
4
|
+
data.tar.gz: 147b02fd6ebf7fae2b5e58a4ee1eda2a55294cb4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 252cc7383ee157cc2ae0275139935fbe36a775c4837b6686b304b51949429483b24fe323e7d8770de55ea8c4e9b90bb5562092b41349e823e7886a22c79dcde1
|
|
7
|
+
data.tar.gz: fa5e56950d2dce4995102d8318b6669d962fca179a527ad7f27171fd4be8d80f5de4b2c25f2df79cbdd361e6eff8c1fac9a8cf1beff508bda07df395646b0718
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
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: **9.0.0**
|
|
6
6
|
|
|
7
7
|
Supported Rubies: **2.3**, **2.2**, **2.1**
|
|
8
8
|
|
|
@@ -115,6 +115,7 @@ Sundanese
|
|
|
115
115
|
Batak
|
|
116
116
|
Lepcha
|
|
117
117
|
Ol Chiki
|
|
118
|
+
Cyrillic Extended-C
|
|
118
119
|
Sundanese Supplement
|
|
119
120
|
Vedic Extensions
|
|
120
121
|
Phonetic Extensions
|
|
@@ -231,6 +232,7 @@ Old Persian
|
|
|
231
232
|
Deseret
|
|
232
233
|
Shavian
|
|
233
234
|
Osmanya
|
|
235
|
+
Osage
|
|
234
236
|
Elbasan
|
|
235
237
|
Caucasian Albanian
|
|
236
238
|
Linear A
|
|
@@ -265,13 +267,17 @@ Khojki
|
|
|
265
267
|
Multani
|
|
266
268
|
Khudawadi
|
|
267
269
|
Grantha
|
|
270
|
+
Newa
|
|
268
271
|
Tirhuta
|
|
269
272
|
Siddham
|
|
270
273
|
Modi
|
|
274
|
+
Mongolian Supplement
|
|
271
275
|
Takri
|
|
272
276
|
Ahom
|
|
273
277
|
Warang Citi
|
|
274
278
|
Pau Cin Hau
|
|
279
|
+
Bhaiksuki
|
|
280
|
+
Marchen
|
|
275
281
|
Cuneiform
|
|
276
282
|
Cuneiform Numbers and Punctuation
|
|
277
283
|
Early Dynastic Cuneiform
|
|
@@ -282,6 +288,9 @@ Mro
|
|
|
282
288
|
Bassa Vah
|
|
283
289
|
Pahawh Hmong
|
|
284
290
|
Miao
|
|
291
|
+
Ideographic Symbols and Punctuation
|
|
292
|
+
Tangut
|
|
293
|
+
Tangut Components
|
|
285
294
|
Kana Supplement
|
|
286
295
|
Duployan
|
|
287
296
|
Shorthand Format Controls
|
|
@@ -292,7 +301,9 @@ Tai Xuan Jing Symbols
|
|
|
292
301
|
Counting Rod Numerals
|
|
293
302
|
Mathematical Alphanumeric Symbols
|
|
294
303
|
Sutton SignWriting
|
|
304
|
+
Glagolitic Supplement
|
|
295
305
|
Mende Kikakui
|
|
306
|
+
Adlam
|
|
296
307
|
Arabic Mathematical Alphabetic Symbols
|
|
297
308
|
Mahjong Tiles
|
|
298
309
|
Domino Tiles
|
|
@@ -318,6 +329,8 @@ Supplementary Private Use Area-A
|
|
|
318
329
|
Supplementary Private Use Area-B
|
|
319
330
|
```
|
|
320
331
|
|
|
332
|
+
See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related micro libraries.
|
|
333
|
+
|
|
321
334
|
## MIT License
|
|
322
335
|
|
|
323
336
|
- Copyright (C) 2016 Jan Lelis <http://janlelis.com>. Released under the MIT license.
|
data/data/blocks.marshal.gz
CHANGED
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Unicode
|
|
2
2
|
module Blocks
|
|
3
|
-
VERSION = "1.
|
|
4
|
-
UNICODE_VERSION = "
|
|
3
|
+
VERSION = "1.1.0".freeze
|
|
4
|
+
UNICODE_VERSION = "9.0.0".freeze
|
|
5
5
|
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + '/../../../data/').freeze
|
|
6
6
|
INDEX_FILENAME = (DATA_DIRECTORY + '/blocks.marshal.gz').freeze
|
|
7
7
|
end
|
data/unicode-blocks.gemspec
CHANGED
|
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
|
|
|
6
6
|
gem.name = "unicode-blocks"
|
|
7
7
|
gem.version = Unicode::Blocks::VERSION
|
|
8
8
|
gem.summary = "Return Unicode blocks of a string."
|
|
9
|
-
gem.description = "[Unicode
|
|
9
|
+
gem.description = "[Unicode #{Unicode::Blocks::UNICODE_VERSION}] Which Unicode block does a character belong to?"
|
|
10
10
|
gem.authors = ["Jan Lelis"]
|
|
11
11
|
gem.email = ["mail@janlelis.de"]
|
|
12
12
|
gem.homepage = "https://github.com/janlelis/unicode-blocks"
|
metadata
CHANGED
|
@@ -1,17 +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.1.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: 2016-
|
|
11
|
+
date: 2016-06-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description: "[Unicode
|
|
14
|
-
belong to."
|
|
13
|
+
description: "[Unicode 9.0.0] Which Unicode block does a character belong to?"
|
|
15
14
|
email:
|
|
16
15
|
- mail@janlelis.de
|
|
17
16
|
executables: []
|
|
@@ -23,6 +22,7 @@ files:
|
|
|
23
22
|
- CHANGELOG.md
|
|
24
23
|
- CODE_OF_CONDUCT.md
|
|
25
24
|
- Gemfile
|
|
25
|
+
- Gemfile.lock
|
|
26
26
|
- MIT-LICENSE.txt
|
|
27
27
|
- README.md
|
|
28
28
|
- Rakefile
|
|
@@ -53,10 +53,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
53
53
|
version: '0'
|
|
54
54
|
requirements: []
|
|
55
55
|
rubyforge_project:
|
|
56
|
-
rubygems_version: 2.
|
|
56
|
+
rubygems_version: 2.5.1
|
|
57
57
|
signing_key:
|
|
58
58
|
specification_version: 4
|
|
59
59
|
summary: Return Unicode blocks of a string.
|
|
60
60
|
test_files:
|
|
61
61
|
- spec/unicode_blocks_spec.rb
|
|
62
|
-
has_rdoc:
|