unicode-numeric_value 1.3.2 โ 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +153 -2
- data/data/numeric_value.marshal.gz +0 -0
- data/lib/unicode/numeric_value/constants.rb +2 -2
- data/lib/unicode/numeric_value/index.rb +9 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 976cf3675a193fb798058afdedde9d5c21a071400785a6c7daaeb44f1ac84451
|
4
|
+
data.tar.gz: 9e2f808ed94e88f13a830990781ebfd6c0acabb2e11500e37cb37109d0c85e79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a28d233ceceb0ec19cc6994e546cc111af13a065135437ce10b0309657fadba6b2534f8151a97556cc0012cf84c23d161691fde18c64ee45e48d39a1e2ea219
|
7
|
+
data.tar.gz: ec4fac3330ed17b80708ab866f78de75f2d9f1eceddea7da8aee9a5d512e31a1a994656c98a27dbf238bb714ae4b773dbfd6605dd22087999c5f96795b1f55cd
|
data/CHANGELOG.md
CHANGED
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Convert a Unicode character into its numeric value.
|
4
4
|
|
5
|
-
Unicode version: **
|
5
|
+
Unicode version: **11.0.0**
|
6
6
|
|
7
7
|
Supported Rubies: **2.5**, **2.4**, **2.3**
|
8
8
|
|
@@ -1112,6 +1112,7 @@ Codepoint | Character | Numeric Value | Name
|
|
1112
1112
|
U+10A45 | ๐ฉ
| 20 | KHAROSHTHI NUMBER TWENTY
|
1113
1113
|
U+10A46 | ๐ฉ | 100 | KHAROSHTHI NUMBER ONE HUNDRED
|
1114
1114
|
U+10A47 | ๐ฉ | 1000 | KHAROSHTHI NUMBER ONE THOUSAND
|
1115
|
+
U+10A48 | ๐ฉ | (1/2) | KHAROSHTHI FRACTION ONE HALF
|
1115
1116
|
U+10A7D | ๐ฉฝ | 1 | OLD SOUTH ARABIAN NUMBER ONE
|
1116
1117
|
U+10A7E | ๐ฉพ | 50 | OLD SOUTH ARABIAN NUMBER FIFTY
|
1117
1118
|
U+10A9D | ๐ช | 1 | OLD NORTH ARABIAN NUMBER ONE
|
@@ -1151,6 +1152,16 @@ Codepoint | Character | Numeric Value | Name
|
|
1151
1152
|
U+10CFD | ๐ณฝ | 50 | OLD HUNGARIAN NUMBER FIFTY
|
1152
1153
|
U+10CFE | ๐ณพ | 100 | OLD HUNGARIAN NUMBER ONE HUNDRED
|
1153
1154
|
U+10CFF | ๐ณฟ | 1000 | OLD HUNGARIAN NUMBER ONE THOUSAND
|
1155
|
+
U+10D30 | ๐ดฐ | 0 | HANIFI ROHINGYA DIGIT ZERO
|
1156
|
+
U+10D31 | ๐ดฑ | 1 | HANIFI ROHINGYA DIGIT ONE
|
1157
|
+
U+10D32 | ๐ดฒ | 2 | HANIFI ROHINGYA DIGIT TWO
|
1158
|
+
U+10D33 | ๐ดณ | 3 | HANIFI ROHINGYA DIGIT THREE
|
1159
|
+
U+10D34 | ๐ดด | 4 | HANIFI ROHINGYA DIGIT FOUR
|
1160
|
+
U+10D35 | ๐ดต | 5 | HANIFI ROHINGYA DIGIT FIVE
|
1161
|
+
U+10D36 | ๐ดถ | 6 | HANIFI ROHINGYA DIGIT SIX
|
1162
|
+
U+10D37 | ๐ดท | 7 | HANIFI ROHINGYA DIGIT SEVEN
|
1163
|
+
U+10D38 | ๐ดธ | 8 | HANIFI ROHINGYA DIGIT EIGHT
|
1164
|
+
U+10D39 | ๐ดน | 9 | HANIFI ROHINGYA DIGIT NINE
|
1154
1165
|
U+10E60 | ๐น | 1 | RUMI DIGIT ONE
|
1155
1166
|
U+10E61 | ๐นก | 2 | RUMI DIGIT TWO
|
1156
1167
|
U+10E62 | ๐นข | 3 | RUMI DIGIT THREE
|
@@ -1182,6 +1193,20 @@ Codepoint | Character | Numeric Value | Name
|
|
1182
1193
|
U+10E7C | ๐นผ | (1/4) | RUMI FRACTION ONE QUARTER
|
1183
1194
|
U+10E7D | ๐นฝ | (1/3) | RUMI FRACTION ONE THIRD
|
1184
1195
|
U+10E7E | ๐นพ | (2/3) | RUMI FRACTION TWO THIRDS
|
1196
|
+
U+10F1D | ๐ผ | 1 | OLD SOGDIAN NUMBER ONE
|
1197
|
+
U+10F1E | ๐ผ | 2 | OLD SOGDIAN NUMBER TWO
|
1198
|
+
U+10F1F | ๐ผ | 3 | OLD SOGDIAN NUMBER THREE
|
1199
|
+
U+10F20 | ๐ผ | 4 | OLD SOGDIAN NUMBER FOUR
|
1200
|
+
U+10F21 | ๐ผก | 5 | OLD SOGDIAN NUMBER FIVE
|
1201
|
+
U+10F22 | ๐ผข | 10 | OLD SOGDIAN NUMBER TEN
|
1202
|
+
U+10F23 | ๐ผฃ | 20 | OLD SOGDIAN NUMBER TWENTY
|
1203
|
+
U+10F24 | ๐ผค | 30 | OLD SOGDIAN NUMBER THIRTY
|
1204
|
+
U+10F25 | ๐ผฅ | 100 | OLD SOGDIAN NUMBER ONE HUNDRED
|
1205
|
+
U+10F26 | ๐ผฆ | (1/2) | OLD SOGDIAN FRACTION ONE HALF
|
1206
|
+
U+10F51 | ๐ฝ | 1 | SOGDIAN NUMBER ONE
|
1207
|
+
U+10F52 | ๐ฝ | 10 | SOGDIAN NUMBER TEN
|
1208
|
+
U+10F53 | ๐ฝ | 20 | SOGDIAN NUMBER TWENTY
|
1209
|
+
U+10F54 | ๐ฝ | 100 | SOGDIAN NUMBER ONE HUNDRED
|
1185
1210
|
U+11052 | ๐ | 1 | BRAHMI NUMBER ONE
|
1186
1211
|
U+11053 | ๐ | 2 | BRAHMI NUMBER TWO
|
1187
1212
|
U+11054 | ๐ | 3 | BRAHMI NUMBER THREE
|
@@ -1382,6 +1407,16 @@ Codepoint | Character | Numeric Value | Name
|
|
1382
1407
|
U+11D57 | ๐ต | 7 | MASARAM GONDI DIGIT SEVEN
|
1383
1408
|
U+11D58 | ๐ต | 8 | MASARAM GONDI DIGIT EIGHT
|
1384
1409
|
U+11D59 | ๐ต | 9 | MASARAM GONDI DIGIT NINE
|
1410
|
+
U+11DA0 | ๐ถ | 0 | GUNJALA GONDI DIGIT ZERO
|
1411
|
+
U+11DA1 | ๐ถก | 1 | GUNJALA GONDI DIGIT ONE
|
1412
|
+
U+11DA2 | ๐ถข | 2 | GUNJALA GONDI DIGIT TWO
|
1413
|
+
U+11DA3 | ๐ถฃ | 3 | GUNJALA GONDI DIGIT THREE
|
1414
|
+
U+11DA4 | ๐ถค | 4 | GUNJALA GONDI DIGIT FOUR
|
1415
|
+
U+11DA5 | ๐ถฅ | 5 | GUNJALA GONDI DIGIT FIVE
|
1416
|
+
U+11DA6 | ๐ถฆ | 6 | GUNJALA GONDI DIGIT SIX
|
1417
|
+
U+11DA7 | ๐ถง | 7 | GUNJALA GONDI DIGIT SEVEN
|
1418
|
+
U+11DA8 | ๐ถจ | 8 | GUNJALA GONDI DIGIT EIGHT
|
1419
|
+
U+11DA9 | ๐ถฉ | 9 | GUNJALA GONDI DIGIT NINE
|
1385
1420
|
U+12400 | ๐ | 2 | CUNEIFORM NUMERIC SIGN TWO ASH
|
1386
1421
|
U+12401 | ๐ | 3 | CUNEIFORM NUMERIC SIGN THREE ASH
|
1387
1422
|
U+12402 | ๐ | 4 | CUNEIFORM NUMERIC SIGN FOUR ASH
|
@@ -1520,6 +1555,49 @@ Codepoint | Character | Numeric Value | Name
|
|
1520
1555
|
U+16B5F | ๐ญ | 100000000 | PAHAWH HMONG NUMBER HUNDRED MILLIONS
|
1521
1556
|
U+16B60 | ๐ญ | 10000000000 | PAHAWH HMONG NUMBER TEN BILLIONS
|
1522
1557
|
U+16B61 | ๐ญก | 1000000000000 | PAHAWH HMONG NUMBER TRILLIONS
|
1558
|
+
U+16E80 | ๐บ | 0 | MEDEFAIDRIN DIGIT ZERO
|
1559
|
+
U+16E81 | ๐บ | 1 | MEDEFAIDRIN DIGIT ONE
|
1560
|
+
U+16E82 | ๐บ | 2 | MEDEFAIDRIN DIGIT TWO
|
1561
|
+
U+16E83 | ๐บ | 3 | MEDEFAIDRIN DIGIT THREE
|
1562
|
+
U+16E84 | ๐บ | 4 | MEDEFAIDRIN DIGIT FOUR
|
1563
|
+
U+16E85 | ๐บ
| 5 | MEDEFAIDRIN DIGIT FIVE
|
1564
|
+
U+16E86 | ๐บ | 6 | MEDEFAIDRIN DIGIT SIX
|
1565
|
+
U+16E87 | ๐บ | 7 | MEDEFAIDRIN DIGIT SEVEN
|
1566
|
+
U+16E88 | ๐บ | 8 | MEDEFAIDRIN DIGIT EIGHT
|
1567
|
+
U+16E89 | ๐บ | 9 | MEDEFAIDRIN DIGIT NINE
|
1568
|
+
U+16E8A | ๐บ | 10 | MEDEFAIDRIN NUMBER TEN
|
1569
|
+
U+16E8B | ๐บ | 11 | MEDEFAIDRIN NUMBER ELEVEN
|
1570
|
+
U+16E8C | ๐บ | 12 | MEDEFAIDRIN NUMBER TWELVE
|
1571
|
+
U+16E8D | ๐บ | 13 | MEDEFAIDRIN NUMBER THIRTEEN
|
1572
|
+
U+16E8E | ๐บ | 14 | MEDEFAIDRIN NUMBER FOURTEEN
|
1573
|
+
U+16E8F | ๐บ | 15 | MEDEFAIDRIN NUMBER FIFTEEN
|
1574
|
+
U+16E90 | ๐บ | 16 | MEDEFAIDRIN NUMBER SIXTEEN
|
1575
|
+
U+16E91 | ๐บ | 17 | MEDEFAIDRIN NUMBER SEVENTEEN
|
1576
|
+
U+16E92 | ๐บ | 18 | MEDEFAIDRIN NUMBER EIGHTEEN
|
1577
|
+
U+16E93 | ๐บ | 19 | MEDEFAIDRIN NUMBER NINETEEN
|
1578
|
+
U+16E94 | ๐บ | 1 | MEDEFAIDRIN DIGIT ONE ALTERNATE FORM
|
1579
|
+
U+16E95 | ๐บ | 2 | MEDEFAIDRIN DIGIT TWO ALTERNATE FORM
|
1580
|
+
U+16E96 | ๐บ | 3 | MEDEFAIDRIN DIGIT THREE ALTERNATE FORM
|
1581
|
+
U+1D2E0 | ๐ | 0 | MAYAN NUMERAL ZERO
|
1582
|
+
U+1D2E1 | ๐ก | 1 | MAYAN NUMERAL ONE
|
1583
|
+
U+1D2E2 | ๐ข | 2 | MAYAN NUMERAL TWO
|
1584
|
+
U+1D2E3 | ๐ฃ | 3 | MAYAN NUMERAL THREE
|
1585
|
+
U+1D2E4 | ๐ค | 4 | MAYAN NUMERAL FOUR
|
1586
|
+
U+1D2E5 | ๐ฅ | 5 | MAYAN NUMERAL FIVE
|
1587
|
+
U+1D2E6 | ๐ฆ | 6 | MAYAN NUMERAL SIX
|
1588
|
+
U+1D2E7 | ๐ง | 7 | MAYAN NUMERAL SEVEN
|
1589
|
+
U+1D2E8 | ๐จ | 8 | MAYAN NUMERAL EIGHT
|
1590
|
+
U+1D2E9 | ๐ฉ | 9 | MAYAN NUMERAL NINE
|
1591
|
+
U+1D2EA | ๐ช | 10 | MAYAN NUMERAL TEN
|
1592
|
+
U+1D2EB | ๐ซ | 11 | MAYAN NUMERAL ELEVEN
|
1593
|
+
U+1D2EC | ๐ฌ | 12 | MAYAN NUMERAL TWELVE
|
1594
|
+
U+1D2ED | ๐ญ | 13 | MAYAN NUMERAL THIRTEEN
|
1595
|
+
U+1D2EE | ๐ฎ | 14 | MAYAN NUMERAL FOURTEEN
|
1596
|
+
U+1D2EF | ๐ฏ | 15 | MAYAN NUMERAL FIFTEEN
|
1597
|
+
U+1D2F0 | ๐ฐ | 16 | MAYAN NUMERAL SIXTEEN
|
1598
|
+
U+1D2F1 | ๐ฑ | 17 | MAYAN NUMERAL SEVENTEEN
|
1599
|
+
U+1D2F2 | ๐ฒ | 18 | MAYAN NUMERAL EIGHTEEN
|
1600
|
+
U+1D2F3 | ๐ณ | 19 | MAYAN NUMERAL NINETEEN
|
1523
1601
|
U+1D360 | ๐ | 1 | COUNTING ROD UNIT DIGIT ONE
|
1524
1602
|
U+1D361 | ๐ก | 2 | COUNTING ROD UNIT DIGIT TWO
|
1525
1603
|
U+1D362 | ๐ข | 3 | COUNTING ROD UNIT DIGIT THREE
|
@@ -1538,6 +1616,13 @@ Codepoint | Character | Numeric Value | Name
|
|
1538
1616
|
U+1D36F | ๐ฏ | 70 | COUNTING ROD TENS DIGIT SEVEN
|
1539
1617
|
U+1D370 | ๐ฐ | 80 | COUNTING ROD TENS DIGIT EIGHT
|
1540
1618
|
U+1D371 | ๐ฑ | 90 | COUNTING ROD TENS DIGIT NINE
|
1619
|
+
U+1D372 | ๐ฒ | 1 | IDEOGRAPHIC TALLY MARK ONE
|
1620
|
+
U+1D373 | ๐ณ | 2 | IDEOGRAPHIC TALLY MARK TWO
|
1621
|
+
U+1D374 | ๐ด | 3 | IDEOGRAPHIC TALLY MARK THREE
|
1622
|
+
U+1D375 | ๐ต | 4 | IDEOGRAPHIC TALLY MARK FOUR
|
1623
|
+
U+1D376 | ๐ถ | 5 | IDEOGRAPHIC TALLY MARK FIVE
|
1624
|
+
U+1D377 | ๐ท | 1 | TALLY MARK ONE
|
1625
|
+
U+1D378 | ๐ธ | 5 | TALLY MARK FIVE
|
1541
1626
|
U+1D7CE | ๐ | 0 | MATHEMATICAL BOLD DIGIT ZERO
|
1542
1627
|
U+1D7CF | ๐ | 1 | MATHEMATICAL BOLD DIGIT ONE
|
1543
1628
|
U+1D7D0 | ๐ | 2 | MATHEMATICAL BOLD DIGIT TWO
|
@@ -1607,6 +1692,72 @@ Codepoint | Character | Numeric Value | Name
|
|
1607
1692
|
U+1E957 | ๐ฅ | 7 | ADLAM DIGIT SEVEN
|
1608
1693
|
U+1E958 | ๐ฅ | 8 | ADLAM DIGIT EIGHT
|
1609
1694
|
U+1E959 | ๐ฅ | 9 | ADLAM DIGIT NINE
|
1695
|
+
U+1EC71 | ๐ฑฑ | 1 | INDIC SIYAQ NUMBER ONE
|
1696
|
+
U+1EC72 | ๐ฑฒ | 2 | INDIC SIYAQ NUMBER TWO
|
1697
|
+
U+1EC73 | ๐ฑณ | 3 | INDIC SIYAQ NUMBER THREE
|
1698
|
+
U+1EC74 | ๐ฑด | 4 | INDIC SIYAQ NUMBER FOUR
|
1699
|
+
U+1EC75 | ๐ฑต | 5 | INDIC SIYAQ NUMBER FIVE
|
1700
|
+
U+1EC76 | ๐ฑถ | 6 | INDIC SIYAQ NUMBER SIX
|
1701
|
+
U+1EC77 | ๐ฑท | 7 | INDIC SIYAQ NUMBER SEVEN
|
1702
|
+
U+1EC78 | ๐ฑธ | 8 | INDIC SIYAQ NUMBER EIGHT
|
1703
|
+
U+1EC79 | ๐ฑน | 9 | INDIC SIYAQ NUMBER NINE
|
1704
|
+
U+1EC7A | ๐ฑบ | 10 | INDIC SIYAQ NUMBER TEN
|
1705
|
+
U+1EC7B | ๐ฑป | 20 | INDIC SIYAQ NUMBER TWENTY
|
1706
|
+
U+1EC7C | ๐ฑผ | 30 | INDIC SIYAQ NUMBER THIRTY
|
1707
|
+
U+1EC7D | ๐ฑฝ | 40 | INDIC SIYAQ NUMBER FORTY
|
1708
|
+
U+1EC7E | ๐ฑพ | 50 | INDIC SIYAQ NUMBER FIFTY
|
1709
|
+
U+1EC7F | ๐ฑฟ | 60 | INDIC SIYAQ NUMBER SIXTY
|
1710
|
+
U+1EC80 | ๐ฒ | 70 | INDIC SIYAQ NUMBER SEVENTY
|
1711
|
+
U+1EC81 | ๐ฒ | 80 | INDIC SIYAQ NUMBER EIGHTY
|
1712
|
+
U+1EC82 | ๐ฒ | 90 | INDIC SIYAQ NUMBER NINETY
|
1713
|
+
U+1EC83 | ๐ฒ | 100 | INDIC SIYAQ NUMBER ONE HUNDRED
|
1714
|
+
U+1EC84 | ๐ฒ | 200 | INDIC SIYAQ NUMBER TWO HUNDRED
|
1715
|
+
U+1EC85 | ๐ฒ
| 300 | INDIC SIYAQ NUMBER THREE HUNDRED
|
1716
|
+
U+1EC86 | ๐ฒ | 400 | INDIC SIYAQ NUMBER FOUR HUNDRED
|
1717
|
+
U+1EC87 | ๐ฒ | 500 | INDIC SIYAQ NUMBER FIVE HUNDRED
|
1718
|
+
U+1EC88 | ๐ฒ | 600 | INDIC SIYAQ NUMBER SIX HUNDRED
|
1719
|
+
U+1EC89 | ๐ฒ | 700 | INDIC SIYAQ NUMBER SEVEN HUNDRED
|
1720
|
+
U+1EC8A | ๐ฒ | 800 | INDIC SIYAQ NUMBER EIGHT HUNDRED
|
1721
|
+
U+1EC8B | ๐ฒ | 900 | INDIC SIYAQ NUMBER NINE HUNDRED
|
1722
|
+
U+1EC8C | ๐ฒ | 1000 | INDIC SIYAQ NUMBER ONE THOUSAND
|
1723
|
+
U+1EC8D | ๐ฒ | 2000 | INDIC SIYAQ NUMBER TWO THOUSAND
|
1724
|
+
U+1EC8E | ๐ฒ | 3000 | INDIC SIYAQ NUMBER THREE THOUSAND
|
1725
|
+
U+1EC8F | ๐ฒ | 4000 | INDIC SIYAQ NUMBER FOUR THOUSAND
|
1726
|
+
U+1EC90 | ๐ฒ | 5000 | INDIC SIYAQ NUMBER FIVE THOUSAND
|
1727
|
+
U+1EC91 | ๐ฒ | 6000 | INDIC SIYAQ NUMBER SIX THOUSAND
|
1728
|
+
U+1EC92 | ๐ฒ | 7000 | INDIC SIYAQ NUMBER SEVEN THOUSAND
|
1729
|
+
U+1EC93 | ๐ฒ | 8000 | INDIC SIYAQ NUMBER EIGHT THOUSAND
|
1730
|
+
U+1EC94 | ๐ฒ | 9000 | INDIC SIYAQ NUMBER NINE THOUSAND
|
1731
|
+
U+1EC95 | ๐ฒ | 10000 | INDIC SIYAQ NUMBER TEN THOUSAND
|
1732
|
+
U+1EC96 | ๐ฒ | 20000 | INDIC SIYAQ NUMBER TWENTY THOUSAND
|
1733
|
+
U+1EC97 | ๐ฒ | 30000 | INDIC SIYAQ NUMBER THIRTY THOUSAND
|
1734
|
+
U+1EC98 | ๐ฒ | 40000 | INDIC SIYAQ NUMBER FORTY THOUSAND
|
1735
|
+
U+1EC99 | ๐ฒ | 50000 | INDIC SIYAQ NUMBER FIFTY THOUSAND
|
1736
|
+
U+1EC9A | ๐ฒ | 60000 | INDIC SIYAQ NUMBER SIXTY THOUSAND
|
1737
|
+
U+1EC9B | ๐ฒ | 70000 | INDIC SIYAQ NUMBER SEVENTY THOUSAND
|
1738
|
+
U+1EC9C | ๐ฒ | 80000 | INDIC SIYAQ NUMBER EIGHTY THOUSAND
|
1739
|
+
U+1EC9D | ๐ฒ | 90000 | INDIC SIYAQ NUMBER NINETY THOUSAND
|
1740
|
+
U+1EC9E | ๐ฒ | 100000 | INDIC SIYAQ NUMBER LAKH
|
1741
|
+
U+1EC9F | ๐ฒ | 200000 | INDIC SIYAQ NUMBER LAKHAN
|
1742
|
+
U+1ECA0 | ๐ฒ | 100000 | INDIC SIYAQ LAKH MARK
|
1743
|
+
U+1ECA1 | ๐ฒก | 10000000 | INDIC SIYAQ NUMBER KAROR
|
1744
|
+
U+1ECA2 | ๐ฒข | 20000000 | INDIC SIYAQ NUMBER KARORAN
|
1745
|
+
U+1ECA3 | ๐ฒฃ | 1 | INDIC SIYAQ NUMBER PREFIXED ONE
|
1746
|
+
U+1ECA4 | ๐ฒค | 2 | INDIC SIYAQ NUMBER PREFIXED TWO
|
1747
|
+
U+1ECA5 | ๐ฒฅ | 3 | INDIC SIYAQ NUMBER PREFIXED THREE
|
1748
|
+
U+1ECA6 | ๐ฒฆ | 4 | INDIC SIYAQ NUMBER PREFIXED FOUR
|
1749
|
+
U+1ECA7 | ๐ฒง | 5 | INDIC SIYAQ NUMBER PREFIXED FIVE
|
1750
|
+
U+1ECA8 | ๐ฒจ | 6 | INDIC SIYAQ NUMBER PREFIXED SIX
|
1751
|
+
U+1ECA9 | ๐ฒฉ | 7 | INDIC SIYAQ NUMBER PREFIXED SEVEN
|
1752
|
+
U+1ECAA | ๐ฒช | 8 | INDIC SIYAQ NUMBER PREFIXED EIGHT
|
1753
|
+
U+1ECAB | ๐ฒซ | 9 | INDIC SIYAQ NUMBER PREFIXED NINE
|
1754
|
+
U+1ECAD | ๐ฒญ | (1/4) | INDIC SIYAQ FRACTION ONE QUARTER
|
1755
|
+
U+1ECAE | ๐ฒฎ | (1/2) | INDIC SIYAQ FRACTION ONE HALF
|
1756
|
+
U+1ECAF | ๐ฒฏ | (3/4) | INDIC SIYAQ FRACTION THREE QUARTERS
|
1757
|
+
U+1ECB1 | ๐ฒฑ | 1 | INDIC SIYAQ NUMBER ALTERNATE ONE
|
1758
|
+
U+1ECB2 | ๐ฒฒ | 2 | INDIC SIYAQ NUMBER ALTERNATE TWO
|
1759
|
+
U+1ECB3 | ๐ฒณ | 10000 | INDIC SIYAQ NUMBER ALTERNATE TEN THOUSAND
|
1760
|
+
U+1ECB4 | ๐ฒด | 100000 | INDIC SIYAQ ALTERNATE LAKH MARK
|
1610
1761
|
U+1F100 | ๐ | 0 | DIGIT ZERO FULL STOP
|
1611
1762
|
U+1F101 | ๐ | 0 | DIGIT ZERO COMMA
|
1612
1763
|
U+1F102 | ๐ | 1 | DIGIT ONE COMMA
|
@@ -1642,5 +1793,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
|
|
1642
1793
|
|
1643
1794
|
## MIT License
|
1644
1795
|
|
1645
|
-
- Copyright (C) 2016 Jan Lelis <http://janlelis.com>. Released under the MIT license.
|
1796
|
+
- Copyright (C) 2016-2018 Jan Lelis <http://janlelis.com>. Released under the MIT license.
|
1646
1797
|
- Unicode data: http://www.unicode.org/copyright.html#Exhibit1
|
Binary file
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Unicode
|
2
2
|
module NumericValue
|
3
|
-
VERSION = "1.
|
4
|
-
UNICODE_VERSION = "
|
3
|
+
VERSION = "1.4.0".freeze
|
4
|
+
UNICODE_VERSION = "11.0.0".freeze
|
5
5
|
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + '/../../../data/').freeze
|
6
6
|
INDEX_FILENAME = (DATA_DIRECTORY + '/numeric_value.marshal.gz').freeze
|
7
7
|
end
|
@@ -1,8 +1,14 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "zlib"
|
4
|
+
require_relative "constants"
|
3
5
|
|
4
6
|
module Unicode
|
5
7
|
module NumericValue
|
6
|
-
|
8
|
+
File.open(INDEX_FILENAME, "rb") do |file|
|
9
|
+
serialized_data = Zlib::GzipReader.new(file).read
|
10
|
+
serialized_data.force_encoding Encoding::BINARY
|
11
|
+
INDEX = Marshal.load(serialized_data)
|
12
|
+
end
|
7
13
|
end
|
8
14
|
end
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicode-numeric_value
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.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: 2018-
|
11
|
+
date: 2018-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: "[Unicode
|
13
|
+
description: "[Unicode 11.0.0] Convert a Unicode character into its numeric value."
|
14
14
|
email:
|
15
15
|
- mail@janlelis.de
|
16
16
|
executables: []
|