unicode-scripts 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: 9e582b98673c3e1b3f8088c36ee372ba4354881ef1d9c3b1296eab954c3c06e3
4
- data.tar.gz: 382fcf248e48fd0c7c9de5ad183630ea7afaa91da3d100f2a2535482fce843b2
3
+ metadata.gz: c907fd10ee383e77217efda8304b1e6182aa59b2dd5f38eb4f6399fed987e1cc
4
+ data.tar.gz: e51d4c2a61b4c59c6ac5c0ad8cb36ae455e81d4132e6ebc8b1dbf6b1a8735591
5
5
  SHA512:
6
- metadata.gz: 859631fb96df5e7a4dabac1a5ed8940c307607743305579bae196c0a5788ddb49eb0886bee952d949173c7b1337d19a1308578de8598fc2ae36de7029fa2579b
7
- data.tar.gz: c7409a32cb58d9b7f2047a2cae281bec689971549e03bb4960391b53699378ebfbaeda16466778a06d98e4b91e5afffa0bf2bfa485e838ef294e80f14ca298a9
6
+ metadata.gz: d01c9f77598090ad2026476eee867cdf4564fdc4cb666e67a6adb99b8ff1fb1ad9345ba3133eff6a53a23ee4ed52a1c1a1503799bf42abe52748f1f10e8c6a60
7
+ data.tar.gz: 7663f839ebaf0375276356e8815f117180559fbfc959b8c28afadc35999da82a7ca56d67b55a8ef2c0e5263ac6de354e1edee60879e7ec3f8017e40ee6be7d3d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.7.0
4
+
5
+ - Unicode 14.0
6
+
3
7
  ### 1.6.0
4
8
 
5
9
  * Unicode 13
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::Scripts [![[version]](https://badge.fury.io/rb/unicode-scripts.svg)](https://badge.fury.io/rb/unicode-scripts) [![[travis]](https://travis-ci.org/janlelis/unicode-scripts.png)](https://travis-ci.org/janlelis/unicode-scripts)
1
+ # Unicode::Scripts [![[version]](https://badge.fury.io/rb/unicode-scripts.svg)](https://badge.fury.io/rb/unicode-scripts) [![[ci]](https://github.com/janlelis/unicode-scripts/workflows/Test/badge.svg)](https://github.com/janlelis/unicode-scripts/actions?query=workflow%3ATest)
2
2
 
3
3
  Retrieve the [Unicode script(s)](https://en.wikipedia.org/wiki/Script_%28Unicode%29) a string belongs to. Can also return the *Script_Extension* property which is defined as characters which are "commonly used with more than one script, but with a limited number of scripts".
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 that might still work: **2.3**, **2.2**, **2.1**, **2.0**
9
+ Old Rubies that might still work: **2.6**, **2.5**, **2.4**, **2.3**, **2.2**, **2.1**, **2.0**
10
10
 
11
11
  ## Gemfile
12
12
 
@@ -83,6 +83,7 @@ Common
83
83
  Coptic
84
84
  Cuneiform
85
85
  Cypriot
86
+ Cypro_Minoan
86
87
  Cyrillic
87
88
  Deseret
88
89
  Devanagari
@@ -167,6 +168,7 @@ Old_Persian
167
168
  Old_Sogdian
168
169
  Old_South_Arabian
169
170
  Old_Turkic
171
+ Old_Uyghur
170
172
  Oriya
171
173
  Osage
172
174
  Osmanya
@@ -198,6 +200,7 @@ Tai_Tham
198
200
  Tai_Viet
199
201
  Takri
200
202
  Tamil
203
+ Tangsa
201
204
  Tangut
202
205
  Telugu
203
206
  Thaana
@@ -205,9 +208,11 @@ Thai
205
208
  Tibetan
206
209
  Tifinagh
207
210
  Tirhuta
211
+ Toto
208
212
  Ugaritic
209
213
  Unknown
210
214
  Vai
215
+ Vithkuqi
211
216
  Wancho
212
217
  Warang_Citi
213
218
  Yezidi
@@ -250,6 +255,7 @@ Cham
250
255
  Cher
251
256
  Chrs
252
257
  Copt
258
+ Cpmn
253
259
  Cprt
254
260
  Cyrl
255
261
  Deva
@@ -329,6 +335,7 @@ Orkh
329
335
  Orya
330
336
  Osge
331
337
  Osma
338
+ Ougr
332
339
  Palm
333
340
  Pauc
334
341
  Perm
@@ -373,8 +380,11 @@ Thaa
373
380
  Thai
374
381
  Tibt
375
382
  Tirh
383
+ Tnsa
384
+ Toto
376
385
  Ugar
377
386
  Vaii
387
+ Vith
378
388
  Wara
379
389
  Wcho
380
390
  Xpeo
@@ -391,5 +401,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
391
401
 
392
402
  ## MIT License
393
403
 
394
- - Copyright (C) 2016-2020 Jan Lelis <https://janlelis.com>. Released under the MIT license.
404
+ - Copyright (C) 2016-2021 Jan Lelis <https://janlelis.com>. Released under the MIT license.
395
405
  - 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 Scripts
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 + "/scripts.marshal.gz").freeze
9
9
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-scripts
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] Retrieve the Unicode script(s) a string belongs to.
13
+ description: "[Unicode 14.0.0] Retrieve the Unicode script(s) a string belongs to.
14
14
  Can also return the Script_Extension property which is defined as characters which
15
15
  are 'commonly used with more than one script, but with a limited number of scripts'. "
16
16
  email:
@@ -20,7 +20,6 @@ extensions: []
20
20
  extra_rdoc_files: []
21
21
  files:
22
22
  - ".gitignore"
23
- - ".travis.yml"
24
23
  - CHANGELOG.md
25
24
  - CODE_OF_CONDUCT.md
26
25
  - Gemfile
@@ -54,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
53
  - !ruby/object:Gem::Version
55
54
  version: '0'
56
55
  requirements: []
57
- rubygems_version: 3.1.2
56
+ rubygems_version: 3.2.3
58
57
  signing_key:
59
58
  specification_version: 4
60
59
  summary: Which script(s) does a Unicode string belong to?
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