unicode-numeric_value 1.1.0 → 1.2.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
  SHA1:
3
- metadata.gz: b8013a2e49c8257085a2f70a1761b19727d796bb
4
- data.tar.gz: 66e9d03de5ae0261fa1414e1bd4c45c06e9aaf71
3
+ metadata.gz: baa2b3a48cf95635b1640a31208daa6fb69ed627
4
+ data.tar.gz: 82ea3bf5b70c63065c2f7f61b75fd891c340c781
5
5
  SHA512:
6
- metadata.gz: e8978b5fdeb0a5295d7e54f79ff729888255f8f0abbfc20c59209179a7d136e06c2315fe84ed467ff2dd9cff5aa0b8e2e1f17132a41f37b51c546034278dfa8c
7
- data.tar.gz: 53a2b17e87c58e7211301a92a36943a1567415381a2a26a4a2116b5ffd070d3537a9a541f0c60ba79f368935261097acf909d176693d3d01c366c671f39ec0bf
6
+ metadata.gz: 8b8d0dc47c3dcaccbdd1ab01163132f88dd24b46896849dd7b52762a34b5827c5c1a30addd36788095b66ea08b43a44d5e9e61997c49a00549860b60e1c8f358
7
+ data.tar.gz: 35934295da862ef550a9cf446572fef74b5b25dd98e4f16d39584caba9ec076761f1d6014c059506094c076070bd315168e3fff18bc9421154b18340c91ff82d
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.2.0
4
+
5
+ * Support Unicode 9.0
6
+
3
7
  ### 1.1.0
4
8
 
5
9
  * Include numeric values from Unihan database
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: **8.0.0**
5
+ Unicode version: **9.0.0**
6
6
 
7
7
  Supported Rubies: **2.3**, **2.2**, **2.1**
8
8
 
@@ -48,6 +48,7 @@ puts "Codepoint | Character | Numeric Value | Name\n" \
48
48
  ].join(" | ")
49
49
  }.join("\n")
50
50
  ```
51
+
51
52
  Codepoint | Character | Numeric Value | Name
52
53
  ----------|-----------|---------------|-----
53
54
  U+0030 | 0 | 0 | DIGIT ZERO
@@ -198,6 +199,13 @@ Codepoint | Character | Numeric Value | Name
198
199
  U+0CED | ೭ | 7 | KANNADA DIGIT SEVEN
199
200
  U+0CEE | ೮ | 8 | KANNADA DIGIT EIGHT
200
201
  U+0CEF | ೯ | 9 | KANNADA DIGIT NINE
202
+ U+0D58 | ൘ | (1/160) | MALAYALAM FRACTION ONE ONE-HUNDRED-AND-SIXTIETH
203
+ U+0D59 | ൙ | (1/40) | MALAYALAM FRACTION ONE FORTIETH
204
+ U+0D5A | ൚ | (3/80) | MALAYALAM FRACTION THREE EIGHTIETHS
205
+ U+0D5B | ൛ | (1/20) | MALAYALAM FRACTION ONE TWENTIETH
206
+ U+0D5C | ൜ | (1/10) | MALAYALAM FRACTION ONE TENTH
207
+ U+0D5D | ൝ | (3/20) | MALAYALAM FRACTION THREE TWENTIETHS
208
+ U+0D5E | ൞ | (1/5) | MALAYALAM FRACTION ONE FIFTH
201
209
  U+0D66 | ൦ | 0 | MALAYALAM DIGIT ZERO
202
210
  U+0D67 | ൧ | 1 | MALAYALAM DIGIT ONE
203
211
  U+0D68 | ൨ | 2 | MALAYALAM DIGIT TWO
@@ -214,6 +222,9 @@ Codepoint | Character | Numeric Value | Name
214
222
  U+0D73 | ൳ | (1/4) | MALAYALAM FRACTION ONE QUARTER
215
223
  U+0D74 | ൴ | (1/2) | MALAYALAM FRACTION ONE HALF
216
224
  U+0D75 | ൵ | (3/4) | MALAYALAM FRACTION THREE QUARTERS
225
+ U+0D76 | ൶ | (1/16) | MALAYALAM FRACTION ONE SIXTEENTH
226
+ U+0D77 | ൷ | (1/8) | MALAYALAM FRACTION ONE EIGHTH
227
+ U+0D78 | ൸ | (3/16) | MALAYALAM FRACTION THREE SIXTEENTHS
217
228
  U+0DE6 | ෦ | 0 | SINHALA LITH DIGIT ZERO
218
229
  U+0DE7 | ෧ | 1 | SINHALA LITH DIGIT ONE
219
230
  U+0DE8 | ෨ | 2 | SINHALA LITH DIGIT TWO
@@ -1259,6 +1270,16 @@ Codepoint | Character | Numeric Value | Name
1259
1270
  U+112F7 | 𑋷 | 7 | KHUDAWADI DIGIT SEVEN
1260
1271
  U+112F8 | 𑋸 | 8 | KHUDAWADI DIGIT EIGHT
1261
1272
  U+112F9 | 𑋹 | 9 | KHUDAWADI DIGIT NINE
1273
+ U+11450 | 𑑐 | 0 | NEWA DIGIT ZERO
1274
+ U+11451 | 𑑑 | 1 | NEWA DIGIT ONE
1275
+ U+11452 | 𑑒 | 2 | NEWA DIGIT TWO
1276
+ U+11453 | 𑑓 | 3 | NEWA DIGIT THREE
1277
+ U+11454 | 𑑔 | 4 | NEWA DIGIT FOUR
1278
+ U+11455 | 𑑕 | 5 | NEWA DIGIT FIVE
1279
+ U+11456 | 𑑖 | 6 | NEWA DIGIT SIX
1280
+ U+11457 | 𑑗 | 7 | NEWA DIGIT SEVEN
1281
+ U+11458 | 𑑘 | 8 | NEWA DIGIT EIGHT
1282
+ U+11459 | 𑑙 | 9 | NEWA DIGIT NINE
1262
1283
  U+114D0 | 𑓐 | 0 | TIRHUTA DIGIT ZERO
1263
1284
  U+114D1 | 𑓑 | 1 | TIRHUTA DIGIT ONE
1264
1285
  U+114D2 | 𑓒 | 2 | TIRHUTA DIGIT TWO
@@ -1320,6 +1341,35 @@ Codepoint | Character | Numeric Value | Name
1320
1341
  U+118F0 | 𑣰 | 70 | WARANG CITI NUMBER SEVENTY
1321
1342
  U+118F1 | 𑣱 | 80 | WARANG CITI NUMBER EIGHTY
1322
1343
  U+118F2 | 𑣲 | 90 | WARANG CITI NUMBER NINETY
1344
+ U+11C50 | 𑱐 | 0 | BHAIKSUKI DIGIT ZERO
1345
+ U+11C51 | 𑱑 | 1 | BHAIKSUKI DIGIT ONE
1346
+ U+11C52 | 𑱒 | 2 | BHAIKSUKI DIGIT TWO
1347
+ U+11C53 | 𑱓 | 3 | BHAIKSUKI DIGIT THREE
1348
+ U+11C54 | 𑱔 | 4 | BHAIKSUKI DIGIT FOUR
1349
+ U+11C55 | 𑱕 | 5 | BHAIKSUKI DIGIT FIVE
1350
+ U+11C56 | 𑱖 | 6 | BHAIKSUKI DIGIT SIX
1351
+ U+11C57 | 𑱗 | 7 | BHAIKSUKI DIGIT SEVEN
1352
+ U+11C58 | 𑱘 | 8 | BHAIKSUKI DIGIT EIGHT
1353
+ U+11C59 | 𑱙 | 9 | BHAIKSUKI DIGIT NINE
1354
+ U+11C5A | 𑱚 | 1 | BHAIKSUKI NUMBER ONE
1355
+ U+11C5B | 𑱛 | 2 | BHAIKSUKI NUMBER TWO
1356
+ U+11C5C | 𑱜 | 3 | BHAIKSUKI NUMBER THREE
1357
+ U+11C5D | 𑱝 | 4 | BHAIKSUKI NUMBER FOUR
1358
+ U+11C5E | 𑱞 | 5 | BHAIKSUKI NUMBER FIVE
1359
+ U+11C5F | 𑱟 | 6 | BHAIKSUKI NUMBER SIX
1360
+ U+11C60 | 𑱠 | 7 | BHAIKSUKI NUMBER SEVEN
1361
+ U+11C61 | 𑱡 | 8 | BHAIKSUKI NUMBER EIGHT
1362
+ U+11C62 | 𑱢 | 9 | BHAIKSUKI NUMBER NINE
1363
+ U+11C63 | 𑱣 | 10 | BHAIKSUKI NUMBER TEN
1364
+ U+11C64 | 𑱤 | 20 | BHAIKSUKI NUMBER TWENTY
1365
+ U+11C65 | 𑱥 | 30 | BHAIKSUKI NUMBER THIRTY
1366
+ U+11C66 | 𑱦 | 40 | BHAIKSUKI NUMBER FORTY
1367
+ U+11C67 | 𑱧 | 50 | BHAIKSUKI NUMBER FIFTY
1368
+ U+11C68 | 𑱨 | 60 | BHAIKSUKI NUMBER SIXTY
1369
+ U+11C69 | 𑱩 | 70 | BHAIKSUKI NUMBER SEVENTY
1370
+ U+11C6A | 𑱪 | 80 | BHAIKSUKI NUMBER EIGHTY
1371
+ U+11C6B | 𑱫 | 90 | BHAIKSUKI NUMBER NINETY
1372
+ U+11C6C | 𑱬 | 100 | BHAIKSUKI HUNDREDS UNIT MARK
1323
1373
  U+12400 | 𒐀 | 2 | CUNEIFORM NUMERIC SIGN TWO ASH
1324
1374
  U+12401 | 𒐁 | 3 | CUNEIFORM NUMERIC SIGN THREE ASH
1325
1375
  U+12402 | 𒐂 | 4 | CUNEIFORM NUMERIC SIGN FOUR ASH
@@ -1535,6 +1585,16 @@ Codepoint | Character | Numeric Value | Name
1535
1585
  U+1E8CD | 𞣍 | 7 | MENDE KIKAKUI DIGIT SEVEN
1536
1586
  U+1E8CE | 𞣎 | 8 | MENDE KIKAKUI DIGIT EIGHT
1537
1587
  U+1E8CF | 𞣏 | 9 | MENDE KIKAKUI DIGIT NINE
1588
+ U+1E950 | 𞥐 | 0 | ADLAM DIGIT ZERO
1589
+ U+1E951 | 𞥑 | 1 | ADLAM DIGIT ONE
1590
+ U+1E952 | 𞥒 | 2 | ADLAM DIGIT TWO
1591
+ U+1E953 | 𞥓 | 3 | ADLAM DIGIT THREE
1592
+ U+1E954 | 𞥔 | 4 | ADLAM DIGIT FOUR
1593
+ U+1E955 | 𞥕 | 5 | ADLAM DIGIT FIVE
1594
+ U+1E956 | 𞥖 | 6 | ADLAM DIGIT SIX
1595
+ U+1E957 | 𞥗 | 7 | ADLAM DIGIT SEVEN
1596
+ U+1E958 | 𞥘 | 8 | ADLAM DIGIT EIGHT
1597
+ U+1E959 | 𞥙 | 9 | ADLAM DIGIT NINE
1538
1598
  U+1F100 | 🄀 | 0 | DIGIT ZERO FULL STOP
1539
1599
  U+1F101 | 🄁 | 0 | DIGIT ZERO COMMA
1540
1600
  U+1F102 | 🄂 | 1 | DIGIT ONE COMMA
@@ -1,7 +1,7 @@
1
1
  module Unicode
2
2
  module NumericValue
3
- VERSION = "1.1.0".freeze
4
- UNICODE_VERSION = "8.0.0".freeze
3
+ VERSION = "1.2.0".freeze
4
+ UNICODE_VERSION = "9.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
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.1.0
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: 2016-04-20 00:00:00.000000000 Z
11
+ date: 2016-06-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: "[Unicode 8.0.0] Convert a Unicode character into its numeric value."
13
+ description: "[Unicode 9.0.0] Convert a Unicode character into its numeric value."
14
14
  email:
15
15
  - mail@janlelis.de
16
16
  executables: []
@@ -54,10 +54,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.6.3
57
+ rubygems_version: 2.5.1
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: Convert a Unicode character into its numeric value.
61
61
  test_files:
62
62
  - spec/unicode_numeric_value_spec.rb
63
- has_rdoc: