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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8813faec62e469d167e08be80cde1d7ebc3479506c034d106d1a7f83ce2fd9f9
4
- data.tar.gz: 4156c968942f410b61301e04140c2406bca0a0dfef56df2535d37a7db1a55ae4
3
+ metadata.gz: 366885cb5e621ba894ef51e186055dca65bf71bc7e3e7eb43a3c4340653bd05f
4
+ data.tar.gz: 4846a923ee58a49bdad5064f9793b9d99c07c96ee627f8832f6ec7a2c0a18830
5
5
  SHA512:
6
- metadata.gz: b915b36e5b5baa23dd581d1f82cf9481d15e425cb00a0bdcbc4190cf7b7b0eee6f933055f5f3048d3277a3fa16a287c1516f136f093e5998bde755d4697450ec
7
- data.tar.gz: 2192c9e8cb37ae753321df4eaf6cd6d4ea7ff7862c5eadf56f3c61e0ad85261a0e42cf676e625b7d52d5e83e10e266b546e5f29a6050d7ecfd9b07acc08e45b4
6
+ metadata.gz: 6e886a5b8a4f78fac3ee8ea1a6d9a9fe5d486670ff0390c7c1e5c49b67efd50c3f0af2b9db6a03d2a4507d4fd16f7f50ec9fbf6d2cbf76589c7a1064fc565065
7
+ data.tar.gz: 8af9e020ca98c9416d346ef1d62aa455bf7c1ab3db8141df96f83684cb17da3e46fe2df7f38addf90c2e058739784c791fbe93204269a41f9c2162b6b75dc25f
data/CHANGELOG.md CHANGED
@@ -1,10 +1,18 @@
1
1
  ## CHANGELOG
2
2
 
3
- ## 1.6.0
3
+ ### 1.8.0
4
+
5
+ - Unicode 15.0
6
+
7
+ ### 1.7.0
8
+
9
+ - Unicode 14.0
10
+
11
+ ### 1.6.0
4
12
 
5
13
  * Unicode 13.0
6
14
 
7
- ## 1.5.0
15
+ ### 1.5.0
8
16
 
9
17
  * Unicode 12.1
10
18
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unicode-blocks (1.6.0)
4
+ unicode-blocks (1.8.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -24,4 +24,4 @@ DEPENDENCIES
24
24
  unicode-blocks!
25
25
 
26
26
  BUNDLED WITH
27
- 2.1.2
27
+ 2.2.30
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016-2020 Jan Lelis, https://janlelis.com
1
+ Copyright (c) 2016-2022 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: **15.0.0** (September 2022)
6
6
 
7
- Supported Rubies: **2.7**, **2.6**, **2.5**, **2.4**
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-2020 Jan Lelis <https://janlelis.com>. Released under the MIT license.
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
- 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.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.6.0
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: 2020-03-11 00:00:00.000000000 Z
11
+ date: 2022-09-13 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 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.1.2
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