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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4ff2279592512b2a9c2730e95783c4763e62f8b16af50e07a263ca2e2ac6f27
4
- data.tar.gz: 3e66377e9eafb42430c6aad4fa386b13c3b05fb83468d750e7ad2e28d1f10bcc
3
+ metadata.gz: 976cf3675a193fb798058afdedde9d5c21a071400785a6c7daaeb44f1ac84451
4
+ data.tar.gz: 9e2f808ed94e88f13a830990781ebfd6c0acabb2e11500e37cb37109d0c85e79
5
5
  SHA512:
6
- metadata.gz: 2fb91a2c31f55fd78c01f79b9574c54500e8be1f5e80191fbc0648001232b82caa29a4c0f22338d01f765de702a6a0fed7ea057ad399da17ff6effa3c681786d
7
- data.tar.gz: faedbe25f4bebf806d83e79948470cdea10bf36674b019fa2e7f76baa398dac8c50a3a5105797a7178a4839d2ee90b2d7a8f75f3caaf96d6393cbbd03c8e4e7b
6
+ metadata.gz: 9a28d233ceceb0ec19cc6994e546cc111af13a065135437ce10b0309657fadba6b2534f8151a97556cc0012cf84c23d161691fde18c64ee45e48d39a1e2ea219
7
+ data.tar.gz: ec4fac3330ed17b80708ab866f78de75f2d9f1eceddea7da8aee9a5d512e31a1a994656c98a27dbf238bb714ae4b773dbfd6605dd22087999c5f96795b1f55cd
@@ -1,5 +1,10 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.4.0
4
+
5
+ * Unicode 11
6
+ * Do not depend on rubygems (only use zlib stdlib for unzipping)
7
+
3
8
  ### 1.3.2
4
9
 
5
10
  * Explicitly load rubygems/util, fixes regression in 1.3.1
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2016-2018 Jan Lelis, mail@janlelis.de
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Convert a Unicode character into its numeric value.
4
4
 
5
- Unicode version: **10.0.0**
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
@@ -1,7 +1,7 @@
1
1
  module Unicode
2
2
  module NumericValue
3
- VERSION = "1.3.2".freeze
4
- UNICODE_VERSION = "10.0.0".freeze
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
- require 'rubygems/util'
2
- require_relative 'constants'
1
+ # frozen_string_literal: true
2
+
3
+ require "zlib"
4
+ require_relative "constants"
3
5
 
4
6
  module Unicode
5
7
  module NumericValue
6
- INDEX = Marshal.load(Gem::Util.gunzip(File.binread(INDEX_FILENAME)))
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.3.2
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-04-19 00:00:00.000000000 Z
11
+ date: 2018-06-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: "[Unicode 10.0.0] Convert a Unicode character into its numeric value."
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: []