README.md in unicode-scripts-1.2.1 vs README.md in unicode-scripts-1.3.0
- old
+ new
@@ -1,10 +1,10 @@
# Unicode::Scripts [![[version]](https://badge.fury.io/rb/unicode-scripts.svg)](http://badge.fury.io/rb/unicode-scripts) [![[travis]](https://travis-ci.org/janlelis/unicode-scripts.png)](https://travis-ci.org/janlelis/unicode-scripts)
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".
-Unicode version: **10.0.0**
+Unicode version: **11.0.0**
Supported Rubies: **2.5**, **2.4**, **2.3**
Old Rubies that might still work: **2.2**, **2.1**, **2.0**
@@ -26,15 +26,15 @@
# Single character
Unicode::Scripts.script("ᴦ") # => "Greek"
# Script_Extension property
-Unicode::Scripts.script_extensions("॥") # => ["Bengali", "Devanagari", "Grantha", "Gujarati",
- "Gurmukhi", "Kannada", "Khudawadi", "Limbu",
- "Mahajani", "Malayalam", "Oriya", "Sinhala",
- "Syloti_Nagri", "Takri", "Tamil", "Telugu",
- "Tirhuta"]
+Unicode::Scripts.script_extensions("॥")
+# => ["Bengali", "Devanagari", "Dogra", "Grantha", "Gujarati",
+"Gunjala_Gondi", "Gurmukhi", "Kannada", "Khudawadi", "Limbu",
+"Mahajani", "Malayalam", "Oriya", "Sinhala", "Syloti_Nagri",
+"Takri", "Tamil", "Telugu", "Tirhuta"]
```
## Hints
### Regex Matching
@@ -82,23 +82,26 @@
Cuneiform
Cypriot
Cyrillic
Deseret
Devanagari
+Dogra
Duployan
Egyptian_Hieroglyphs
Elbasan
Ethiopic
Georgian
Glagolitic
Gothic
Grantha
Greek
Gujarati
+Gunjala_Gondi
Gurmukhi
Han
Hangul
+Hanifi_Rohingya
Hanunoo
Hatran
Hebrew
Hiragana
Imperial_Aramaic
@@ -123,15 +126,17 @@
Linear_B
Lisu
Lycian
Lydian
Mahajani
+Makasar
Malayalam
Mandaic
Manichaean
Marchen
Masaram_Gondi
+Medefaidrin
Meetei_Mayek
Mende_Kikakui
Meroitic_Cursive
Meroitic_Hieroglyphs
Miao
@@ -150,10 +155,11 @@
Old_Hungarian
Old_Italic
Old_North_Arabian
Old_Permic
Old_Persian
+Old_Sogdian
Old_South_Arabian
Old_Turkic
Oriya
Osage
Osmanya
@@ -170,10 +176,11 @@
Sharada
Shavian
Siddham
SignWriting
Sinhala
+Sogdian
Sora_Sompeng
Soyombo
Sundanese
Syloti_Nagri
Syriac
@@ -234,17 +241,19 @@
Cher
Copt
Cprt
Cyrl
Deva
+Dogr
Dsrt
Dupl
Egyp
Elba
Ethi
Geor
Glag
+Gong
Gonm
Goth
Gran
Grek
Gujr
@@ -277,13 +286,15 @@
Linb
Lisu
Lyci
Lydi
Mahj
+Maka
Mand
Mani
Marc
+Medf
Mend
Merc
Mero
Mlym
Modi
@@ -313,20 +324,23 @@
Plrd
Prti
Qaac
Qaai
Rjng
+Rohg
Runr
Samr
Sarb
Saur
Sgnw
Shaw
Shrd
Sidd
Sind
Sinh
+Sogd
+Sogo
Sora
Soyo
Sund
Sylo
Syrc
@@ -358,7 +372,7 @@
See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related micro libraries.
## MIT License
-- Copyright (C) 2016 Jan Lelis <http://janlelis.com>. Released under the MIT license.
+- Copyright (C) 2016-2018 Jan Lelis <http://janlelis.com>. Released under the MIT license.
- Unicode data: http://www.unicode.org/copyright.html#Exhibit1