README.md in unicode-numeric_value-1.4.0 vs README.md in unicode-numeric_value-1.5.0

- old
+ new

@@ -1,14 +1,14 @@ -# Unicode::NumericValue [![[version]](https://badge.fury.io/rb/unicode-numeric_value.svg)](http://badge.fury.io/rb/unicode-numeric_value) [![[travis]](https://travis-ci.org/janlelis/unicode-numeric_value.png)](https://travis-ci.org/janlelis/unicode-numeric_value) +# Unicode::NumericValue [![[version]](https://badge.fury.io/rb/unicode-numeric_value.svg)](https://badge.fury.io/rb/unicode-numeric_value) [![[travis]](https://travis-ci.org/janlelis/unicode-numeric_value.png)](https://travis-ci.org/janlelis/unicode-numeric_value) Convert a Unicode character into its numeric value. -Unicode version: **11.0.0** +Unicode version: **12.0.0** (March 2019) -Supported Rubies: **2.5**, **2.4**, **2.3** +Supported Rubies: **2.6**, **2.5**, **2.4** -Old Rubies that might still work: **2.2**, **2.1**, **2.0** +Old Rubies that might still work: **2.3**, **2.2**, **2.1**, **2.0** ## Gemfile ```ruby gem "unicode-numeric_value" @@ -24,10 +24,11 @@ Unicode::NumericValue.of("1") # => 1 Unicode::NumericValue.of("β…§") # => 8 Unicode::NumericValue.of("β“³") # => 19 Unicode::NumericValue.of("ΒΎ") # => (3/4) Unicode::NumericValue.of("ΰΌ³") # => (-1/2) +Unicode::NumericValue.of("π‘Ώ€") # => (1/320) Unicode::NumericValue.of("π–­‘") # => 1000000000000 Unicode::NumericValue.of("δΊ”") # => 5 Unicode::NumericValue.of("A") # => nil ``` @@ -1415,10 +1416,31 @@ U+11DA5 | π‘Ά₯ | 5 | GUNJALA GONDI DIGIT FIVE U+11DA6 | π‘Ά¦ | 6 | GUNJALA GONDI DIGIT SIX U+11DA7 | π‘Ά§ | 7 | GUNJALA GONDI DIGIT SEVEN U+11DA8 | π‘Ά¨ | 8 | GUNJALA GONDI DIGIT EIGHT U+11DA9 | π‘Ά© | 9 | GUNJALA GONDI DIGIT NINE + U+11FC0 | π‘Ώ€ | (1/320) | TAMIL FRACTION ONE THREE-HUNDRED-AND-TWENTIETH + U+11FC1 | 𑿁 | (1/160) | TAMIL FRACTION ONE ONE-HUNDRED-AND-SIXTIETH + U+11FC2 | π‘Ώ‚ | (1/80) | TAMIL FRACTION ONE EIGHTIETH + U+11FC3 | π‘Ώƒ | (1/64) | TAMIL FRACTION ONE SIXTY-FOURTH + U+11FC4 | π‘Ώ„ | (1/40) | TAMIL FRACTION ONE FORTIETH + U+11FC5 | π‘Ώ… | (1/32) | TAMIL FRACTION ONE THIRTY-SECOND + U+11FC6 | π‘Ώ† | (3/80) | TAMIL FRACTION THREE EIGHTIETHS + U+11FC7 | π‘Ώ‡ | (3/64) | TAMIL FRACTION THREE SIXTY-FOURTHS + U+11FC8 | π‘Ώˆ | (1/20) | TAMIL FRACTION ONE TWENTIETH + U+11FC9 | π‘Ώ‰ | (1/16) | TAMIL FRACTION ONE SIXTEENTH-1 + U+11FCA | π‘ΏŠ | (1/16) | TAMIL FRACTION ONE SIXTEENTH-2 + U+11FCB | π‘Ώ‹ | (1/10) | TAMIL FRACTION ONE TENTH + U+11FCC | π‘ΏŒ | (1/8) | TAMIL FRACTION ONE EIGHTH + U+11FCD | 𑿍 | (3/20) | TAMIL FRACTION THREE TWENTIETHS + U+11FCE | π‘ΏŽ | (3/16) | TAMIL FRACTION THREE SIXTEENTHS + U+11FCF | 𑿏 | (1/5) | TAMIL FRACTION ONE FIFTH + U+11FD0 | 𑿐 | (1/4) | TAMIL FRACTION ONE QUARTER + U+11FD1 | π‘Ώ‘ | (1/2) | TAMIL FRACTION ONE HALF-1 + U+11FD2 | π‘Ώ’ | (1/2) | TAMIL FRACTION ONE HALF-2 + U+11FD3 | π‘Ώ“ | (3/4) | TAMIL FRACTION THREE QUARTERS + U+11FD4 | π‘Ώ” | (1/320) | TAMIL FRACTION DOWNSCALING FACTOR KIIZH U+12400 | 𒐀 | 2 | CUNEIFORM NUMERIC SIGN TWO ASH U+12401 | 𒐁 | 3 | CUNEIFORM NUMERIC SIGN THREE ASH U+12402 | 𒐂 | 4 | CUNEIFORM NUMERIC SIGN FOUR ASH U+12403 | 𒐃 | 5 | CUNEIFORM NUMERIC SIGN FIVE ASH U+12404 | 𒐄 | 6 | CUNEIFORM NUMERIC SIGN SIX ASH @@ -1671,10 +1693,30 @@ U+1D7FB | 𝟻 | 5 | MATHEMATICAL MONOSPACE DIGIT FIVE U+1D7FC | 𝟼 | 6 | MATHEMATICAL MONOSPACE DIGIT SIX U+1D7FD | 𝟽 | 7 | MATHEMATICAL MONOSPACE DIGIT SEVEN U+1D7FE | 𝟾 | 8 | MATHEMATICAL MONOSPACE DIGIT EIGHT U+1D7FF | 𝟿 | 9 | MATHEMATICAL MONOSPACE DIGIT NINE + U+1E140 | πž…€ | 0 | NYIAKENG PUACHUE HMONG DIGIT ZERO + U+1E141 | πž… | 1 | NYIAKENG PUACHUE HMONG DIGIT ONE + U+1E142 | πž…‚ | 2 | NYIAKENG PUACHUE HMONG DIGIT TWO + U+1E143 | πž…ƒ | 3 | NYIAKENG PUACHUE HMONG DIGIT THREE + U+1E144 | πž…„ | 4 | NYIAKENG PUACHUE HMONG DIGIT FOUR + U+1E145 | πž…… | 5 | NYIAKENG PUACHUE HMONG DIGIT FIVE + U+1E146 | πž…† | 6 | NYIAKENG PUACHUE HMONG DIGIT SIX + U+1E147 | πž…‡ | 7 | NYIAKENG PUACHUE HMONG DIGIT SEVEN + U+1E148 | πž…ˆ | 8 | NYIAKENG PUACHUE HMONG DIGIT EIGHT + U+1E149 | πž…‰ | 9 | NYIAKENG PUACHUE HMONG DIGIT NINE + U+1E2F0 | πž‹° | 0 | WANCHO DIGIT ZERO + U+1E2F1 | πž‹± | 1 | WANCHO DIGIT ONE + U+1E2F2 | πž‹² | 2 | WANCHO DIGIT TWO + U+1E2F3 | πž‹³ | 3 | WANCHO DIGIT THREE + U+1E2F4 | πž‹΄ | 4 | WANCHO DIGIT FOUR + U+1E2F5 | πž‹΅ | 5 | WANCHO DIGIT FIVE + U+1E2F6 | πž‹Ά | 6 | WANCHO DIGIT SIX + U+1E2F7 | πž‹· | 7 | WANCHO DIGIT SEVEN + U+1E2F8 | πž‹Έ | 8 | WANCHO DIGIT EIGHT + U+1E2F9 | πž‹Ή | 9 | WANCHO DIGIT NINE U+1E8C7 | πž£‡ | 1 | MENDE KIKAKUI DIGIT ONE U+1E8C8 | 𞣈 | 2 | MENDE KIKAKUI DIGIT TWO U+1E8C9 | πž£‰ | 3 | MENDE KIKAKUI DIGIT THREE U+1E8CA | 𞣊 | 4 | MENDE KIKAKUI DIGIT FOUR U+1E8CB | πž£‹ | 5 | MENDE KIKAKUI DIGIT FIVE @@ -1756,10 +1798,70 @@ U+1ECAF | 𞲯 | (3/4) | INDIC SIYAQ FRACTION THREE QUARTERS U+1ECB1 | 𞲱 | 1 | INDIC SIYAQ NUMBER ALTERNATE ONE U+1ECB2 | 𞲲 | 2 | INDIC SIYAQ NUMBER ALTERNATE TWO U+1ECB3 | 𞲳 | 10000 | INDIC SIYAQ NUMBER ALTERNATE TEN THOUSAND U+1ECB4 | 𞲴 | 100000 | INDIC SIYAQ ALTERNATE LAKH MARK + U+1ED01 | 𞴁 | 1 | OTTOMAN SIYAQ NUMBER ONE + U+1ED02 | πž΄‚ | 2 | OTTOMAN SIYAQ NUMBER TWO + U+1ED03 | πž΄ƒ | 3 | OTTOMAN SIYAQ NUMBER THREE + U+1ED04 | πž΄„ | 4 | OTTOMAN SIYAQ NUMBER FOUR + U+1ED05 | πž΄… | 5 | OTTOMAN SIYAQ NUMBER FIVE + U+1ED06 | πž΄† | 6 | OTTOMAN SIYAQ NUMBER SIX + U+1ED07 | πž΄‡ | 7 | OTTOMAN SIYAQ NUMBER SEVEN + U+1ED08 | 𞴈 | 8 | OTTOMAN SIYAQ NUMBER EIGHT + U+1ED09 | πž΄‰ | 9 | OTTOMAN SIYAQ NUMBER NINE + U+1ED0A | 𞴊 | 10 | OTTOMAN SIYAQ NUMBER TEN + U+1ED0B | πž΄‹ | 20 | OTTOMAN SIYAQ NUMBER TWENTY + U+1ED0C | 𞴌 | 30 | OTTOMAN SIYAQ NUMBER THIRTY + U+1ED0D | 𞴍 | 40 | OTTOMAN SIYAQ NUMBER FORTY + U+1ED0E | 𞴎 | 50 | OTTOMAN SIYAQ NUMBER FIFTY + U+1ED0F | 𞴏 | 60 | OTTOMAN SIYAQ NUMBER SIXTY + U+1ED10 | 𞴐 | 70 | OTTOMAN SIYAQ NUMBER SEVENTY + U+1ED11 | πž΄‘ | 80 | OTTOMAN SIYAQ NUMBER EIGHTY + U+1ED12 | πž΄’ | 90 | OTTOMAN SIYAQ NUMBER NINETY + U+1ED13 | πž΄“ | 100 | OTTOMAN SIYAQ NUMBER ONE HUNDRED + U+1ED14 | πž΄” | 200 | OTTOMAN SIYAQ NUMBER TWO HUNDRED + U+1ED15 | πž΄• | 300 | OTTOMAN SIYAQ NUMBER THREE HUNDRED + U+1ED16 | πž΄– | 400 | OTTOMAN SIYAQ NUMBER FOUR HUNDRED + U+1ED17 | πž΄— | 500 | OTTOMAN SIYAQ NUMBER FIVE HUNDRED + U+1ED18 | 𞴘 | 600 | OTTOMAN SIYAQ NUMBER SIX HUNDRED + U+1ED19 | πž΄™ | 700 | OTTOMAN SIYAQ NUMBER SEVEN HUNDRED + U+1ED1A | 𞴚 | 800 | OTTOMAN SIYAQ NUMBER EIGHT HUNDRED + U+1ED1B | πž΄› | 900 | OTTOMAN SIYAQ NUMBER NINE HUNDRED + U+1ED1C | 𞴜 | 1000 | OTTOMAN SIYAQ NUMBER ONE THOUSAND + U+1ED1D | 𞴝 | 2000 | OTTOMAN SIYAQ NUMBER TWO THOUSAND + U+1ED1E | 𞴞 | 3000 | OTTOMAN SIYAQ NUMBER THREE THOUSAND + U+1ED1F | 𞴟 | 4000 | OTTOMAN SIYAQ NUMBER FOUR THOUSAND + U+1ED20 | 𞴠 | 5000 | OTTOMAN SIYAQ NUMBER FIVE THOUSAND + U+1ED21 | 𞴑 | 6000 | OTTOMAN SIYAQ NUMBER SIX THOUSAND + U+1ED22 | 𞴒 | 7000 | OTTOMAN SIYAQ NUMBER SEVEN THOUSAND + U+1ED23 | 𞴣 | 8000 | OTTOMAN SIYAQ NUMBER EIGHT THOUSAND + U+1ED24 | 𞴀 | 9000 | OTTOMAN SIYAQ NUMBER NINE THOUSAND + U+1ED25 | πž΄₯ | 10000 | OTTOMAN SIYAQ NUMBER TEN THOUSAND + U+1ED26 | 𞴦 | 20000 | OTTOMAN SIYAQ NUMBER TWENTY THOUSAND + U+1ED27 | 𞴧 | 30000 | OTTOMAN SIYAQ NUMBER THIRTY THOUSAND + U+1ED28 | 𞴨 | 40000 | OTTOMAN SIYAQ NUMBER FORTY THOUSAND + U+1ED29 | 𞴩 | 50000 | OTTOMAN SIYAQ NUMBER FIFTY THOUSAND + U+1ED2A | πž΄ͺ | 60000 | OTTOMAN SIYAQ NUMBER SIXTY THOUSAND + U+1ED2B | 𞴫 | 70000 | OTTOMAN SIYAQ NUMBER SEVENTY THOUSAND + U+1ED2C | 𞴬 | 80000 | OTTOMAN SIYAQ NUMBER EIGHTY THOUSAND + U+1ED2D | 𞴭 | 90000 | OTTOMAN SIYAQ NUMBER NINETY THOUSAND + U+1ED2F | 𞴯 | 2 | OTTOMAN SIYAQ ALTERNATE NUMBER TWO + U+1ED30 | 𞴰 | 3 | OTTOMAN SIYAQ ALTERNATE NUMBER THREE + U+1ED31 | 𞴱 | 4 | OTTOMAN SIYAQ ALTERNATE NUMBER FOUR + U+1ED32 | 𞴲 | 5 | OTTOMAN SIYAQ ALTERNATE NUMBER FIVE + U+1ED33 | 𞴳 | 6 | OTTOMAN SIYAQ ALTERNATE NUMBER SIX + U+1ED34 | 𞴴 | 7 | OTTOMAN SIYAQ ALTERNATE NUMBER SEVEN + U+1ED35 | 𞴡 | 8 | OTTOMAN SIYAQ ALTERNATE NUMBER EIGHT + U+1ED36 | 𞴢 | 9 | OTTOMAN SIYAQ ALTERNATE NUMBER NINE + U+1ED37 | 𞴷 | 10 | OTTOMAN SIYAQ ALTERNATE NUMBER TEN + U+1ED38 | 𞴸 | 400 | OTTOMAN SIYAQ ALTERNATE NUMBER FOUR HUNDRED + U+1ED39 | 𞴹 | 600 | OTTOMAN SIYAQ ALTERNATE NUMBER SIX HUNDRED + U+1ED3A | 𞴺 | 2000 | OTTOMAN SIYAQ ALTERNATE NUMBER TWO THOUSAND + U+1ED3B | 𞴻 | 10000 | OTTOMAN SIYAQ ALTERNATE NUMBER TEN THOUSAND + U+1ED3C | 𞴼 | (1/2) | OTTOMAN SIYAQ FRACTION ONE HALF + U+1ED3D | 𞴽 | (1/6) | OTTOMAN SIYAQ FRACTION ONE SIXTH U+1F100 | πŸ„€ | 0 | DIGIT ZERO FULL STOP U+1F101 | πŸ„ | 0 | DIGIT ZERO COMMA U+1F102 | πŸ„‚ | 1 | DIGIT ONE COMMA U+1F103 | πŸ„ƒ | 2 | DIGIT TWO COMMA U+1F104 | πŸ„„ | 3 | DIGIT THREE COMMA @@ -1786,12 +1888,11 @@ U+22998 | 𒦘 | 3 | CJK UNIFIED IDEOGRAPH-22998 U+23B1B | 𣬛 | 3 | CJK UNIFIED IDEOGRAPH-23B1B U+2626D | 𦉭 | 4 | CJK UNIFIED IDEOGRAPH-2626D U+2F890 | 𯒐 | 9 | CJK COMPATIBILITY IDEOGRAPH-2F890 - See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related micro libraries. ## MIT License -- Copyright (C) 2016-2018 Jan Lelis <http://janlelis.com>. Released under the MIT license. +- Copyright (C) 2016-2019 Jan Lelis <http://janlelis.com>. Released under the MIT license. - Unicode data: http://www.unicode.org/copyright.html#Exhibit1