unicode-scripts 1.1.0 → 1.2.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/.travis.yml +3 -7
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -0
- data/README.md +10 -2
- data/data/scripts.marshal.gz +0 -0
- data/lib/unicode/scripts/constants.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 34dfe2956b5e5cb2907847f3108798648e7eae78
|
|
4
|
+
data.tar.gz: dca6c607e557c2c414120befb32dc2f012bd9dcc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e88efb19f13fb808b88bae1f17d01990ac45f2ccd77b49a03275d2be2a43364477012281aa785a84348c451e0bce44437b3cfe46f9082851523837c694b22917
|
|
7
|
+
data.tar.gz: dd25705313fc1b94e96fc5240642d93a7e5a28b35aaa603293e142ec8cc68fae027a68095457b25af213c7fdec85b3b579ca398e1fc41ac0b9b0ded3fcedeff3
|
data/.travis.yml
CHANGED
|
@@ -4,18 +4,14 @@ language: ruby
|
|
|
4
4
|
script: bundle exec ruby spec/unicode_scripts_spec.rb
|
|
5
5
|
|
|
6
6
|
rvm:
|
|
7
|
-
- 2.
|
|
7
|
+
- 2.4.1
|
|
8
|
+
- 2.3.4
|
|
8
9
|
- 2.2
|
|
9
10
|
- 2.1
|
|
10
11
|
- ruby-head
|
|
11
|
-
- rbx-2
|
|
12
12
|
- jruby-head
|
|
13
|
-
- jruby-9.
|
|
14
|
-
|
|
15
|
-
cache:
|
|
16
|
-
- bundler
|
|
13
|
+
- jruby-9.1.12.0
|
|
17
14
|
|
|
18
15
|
matrix:
|
|
19
16
|
allow_failures:
|
|
20
17
|
- rvm: jruby-head
|
|
21
|
-
- rvm: rbx-2
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
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: **
|
|
5
|
+
Unicode version: **10.0.0**
|
|
6
6
|
|
|
7
|
-
Supported Rubies: **2.3**, **2.2**, **2.1**
|
|
7
|
+
Supported Rubies: **2.4**, **2.3**, **2.2**, **2.1**
|
|
8
8
|
|
|
9
9
|
## Gemfile
|
|
10
10
|
|
|
@@ -127,6 +127,7 @@ Malayalam
|
|
|
127
127
|
Mandaic
|
|
128
128
|
Manichaean
|
|
129
129
|
Marchen
|
|
130
|
+
Masaram_Gondi
|
|
130
131
|
Meetei_Mayek
|
|
131
132
|
Mende_Kikakui
|
|
132
133
|
Meroitic_Cursive
|
|
@@ -141,6 +142,7 @@ Nabataean
|
|
|
141
142
|
New_Tai_Lue
|
|
142
143
|
Newa
|
|
143
144
|
Nko
|
|
145
|
+
Nushu
|
|
144
146
|
Ogham
|
|
145
147
|
Ol_Chiki
|
|
146
148
|
Old_Hungarian
|
|
@@ -169,6 +171,7 @@ Siddham
|
|
|
169
171
|
SignWriting
|
|
170
172
|
Sinhala
|
|
171
173
|
Sora_Sompeng
|
|
174
|
+
Soyombo
|
|
172
175
|
Sundanese
|
|
173
176
|
Syloti_Nagri
|
|
174
177
|
Syriac
|
|
@@ -191,6 +194,7 @@ Unknown
|
|
|
191
194
|
Vai
|
|
192
195
|
Warang_Citi
|
|
193
196
|
Yi
|
|
197
|
+
Zanabazar_Square
|
|
194
198
|
```
|
|
195
199
|
|
|
196
200
|
### Short Script Names
|
|
@@ -237,6 +241,7 @@ Elba
|
|
|
237
241
|
Ethi
|
|
238
242
|
Geor
|
|
239
243
|
Glag
|
|
244
|
+
Gonm
|
|
240
245
|
Goth
|
|
241
246
|
Gran
|
|
242
247
|
Grek
|
|
@@ -289,6 +294,7 @@ Narb
|
|
|
289
294
|
Nbat
|
|
290
295
|
Newa
|
|
291
296
|
Nkoo
|
|
297
|
+
Nshu
|
|
292
298
|
Ogam
|
|
293
299
|
Olck
|
|
294
300
|
Orkh
|
|
@@ -318,6 +324,7 @@ Sidd
|
|
|
318
324
|
Sind
|
|
319
325
|
Sinh
|
|
320
326
|
Sora
|
|
327
|
+
Soyo
|
|
321
328
|
Sund
|
|
322
329
|
Sylo
|
|
323
330
|
Syrc
|
|
@@ -341,6 +348,7 @@ Wara
|
|
|
341
348
|
Xpeo
|
|
342
349
|
Xsux
|
|
343
350
|
Yiii
|
|
351
|
+
Zanb
|
|
344
352
|
Zinh
|
|
345
353
|
Zyyy
|
|
346
354
|
Zzzz
|
data/data/scripts.marshal.gz
CHANGED
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Unicode
|
|
2
2
|
module Scripts
|
|
3
|
-
VERSION = "1.
|
|
4
|
-
UNICODE_VERSION = "
|
|
3
|
+
VERSION = "1.2.0".freeze
|
|
4
|
+
UNICODE_VERSION = "10.0.0".freeze
|
|
5
5
|
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + '/../../../data/').freeze
|
|
6
6
|
INDEX_FILENAME = (DATA_DIRECTORY + '/scripts.marshal.gz').freeze
|
|
7
7
|
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.
|
|
4
|
+
version: 1.2.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: 2017-06-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description: "[Unicode
|
|
13
|
+
description: "[Unicode 10.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:
|
|
@@ -55,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
55
55
|
version: '0'
|
|
56
56
|
requirements: []
|
|
57
57
|
rubyforge_project:
|
|
58
|
-
rubygems_version: 2.
|
|
58
|
+
rubygems_version: 2.6.11
|
|
59
59
|
signing_key:
|
|
60
60
|
specification_version: 4
|
|
61
61
|
summary: Which script(s) does a Unicode string belong to?
|