README.md in unicode-numeric_value-1.10.0 vs README.md in unicode-numeric_value-1.11.0
- old
+ new
@@ -1,14 +1,14 @@
# Unicode::NumericValue [![[version]](https://badge.fury.io/rb/unicode-numeric_value.svg)](https://badge.fury.io/rb/unicode-numeric_value) [![[ci]](https://github.com/janlelis/unicode-numeric_value/workflows/Test/badge.svg)](https://github.com/janlelis/unicode-numeric_value/actions?query=workflow%3ATest)
Convert a Unicode character into its numeric value.
-Unicode version: **15.1.0** (September 2023)
+Unicode version: **16.0.0** (September 2024)
-Supported Rubies: **3.2**, **3.1**, **3.0**
+Supported Rubies: **3.3**, **3.2**, **3.1**, **3.0**
-Old Rubies that might still work: **2.X**
+Old Rubies that might still work: **2.7**, **2.6**, **2.5**, **2.4**, **2.3**, **2.X**
## Gemfile
```ruby
gem "unicode-numeric_value"
@@ -27,10 +27,11 @@
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("") # => 7
Unicode::NumericValue.of("A") # => nil
```
## All Numeric Values
@@ -59,7 +60,7 @@
- [unicode-x](https://github.com/janlelis/unicode-x): more Unicode related micro libraries
## MIT License
-- Copyright (C) 2016-2023 Jan Lelis <https://janlelis.com>. Released under the MIT license.
+- Copyright (C) 2016-2024 Jan Lelis <https://janlelis.com>. Released under the MIT license.
- Unicode data: https://www.unicode.org/copyright.html#Exhibit1