unicode-numeric_value 1.7.0 → 1.8.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 +4 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +5 -5
- data/Rakefile +5 -1
- data/data/numeric_value.marshal.gz +0 -0
- data/lib/unicode/numeric_value/constants.rb +2 -2
- metadata +4 -5
- data/.travis.yml +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bd08bfdef704464803d82523c331ffb4e76589ec91a3c5df4264da50904589b
|
4
|
+
data.tar.gz: 1818097695374151fea5ffe63dfc3c871d20deb82ed9b721493d9f3ebbe62a0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 442763bf8b11e8fdc39bd3060f5e12f2b91718040c36a091e2d4d2f488c099f5a9c191b736e92183853500f45f515d01e7a3d1997d7ce611ea8f8a6578581c0e
|
7
|
+
data.tar.gz: 73d8637b0e492ddb2d1a6ae08b939b377c6ea31b368efe72bed51655c24a5334b24e0a149599ea812ec00a56dfd3b0d9d70d084c66f291ecadd77c0b8157dedd
|
data/CHANGELOG.md
CHANGED
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
# Unicode::NumericValue [![[version]](https://badge.fury.io/rb/unicode-numeric_value.svg)](https://badge.fury.io/rb/unicode-numeric_value) [![[
|
1
|
+
# 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)
|
2
2
|
|
3
3
|
Convert a Unicode character into its numeric value.
|
4
4
|
|
5
|
-
Unicode version: **
|
5
|
+
Unicode version: **14.0.0** (September 2021)
|
6
6
|
|
7
|
-
Supported Rubies: **
|
7
|
+
Supported Rubies: **3.0**, **2.7**
|
8
8
|
|
9
|
-
Old Rubies that might still work: **2.3**, **2.2**, **2.1**, **2.0**
|
9
|
+
Old Rubies that might still work: **2.6**, **2.5**, **2.4**, **2.3**, **2.2**, **2.1**, **2.0**
|
10
10
|
|
11
11
|
## Gemfile
|
12
12
|
|
@@ -61,5 +61,5 @@ puts "Codepoint | Character | Numeric Value | Name\n" \
|
|
61
61
|
|
62
62
|
## MIT License
|
63
63
|
|
64
|
-
- Copyright (C) 2016-
|
64
|
+
- Copyright (C) 2016-2021 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
65
65
|
- Unicode data: https://www.unicode.org/copyright.html#Exhibit1
|
data/Rakefile
CHANGED
@@ -32,6 +32,10 @@ end
|
|
32
32
|
|
33
33
|
desc "#{gemspec.name} | Spec"
|
34
34
|
task :spec do
|
35
|
-
|
35
|
+
if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
|
36
|
+
sh "for %f in (spec/\*.rb) do ruby spec/%f"
|
37
|
+
else
|
38
|
+
sh "for file in spec/*.rb; do ruby $file; done"
|
39
|
+
end
|
36
40
|
end
|
37
41
|
task default: :spec
|
Binary file
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
module Unicode
|
4
4
|
module NumericValue
|
5
|
-
VERSION = "1.
|
6
|
-
UNICODE_VERSION = "
|
5
|
+
VERSION = "1.8.0"
|
6
|
+
UNICODE_VERSION = "14.0.0"
|
7
7
|
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
|
8
8
|
INDEX_FILENAME = (DATA_DIRECTORY + "/numeric_value.marshal.gz").freeze
|
9
9
|
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.8.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:
|
11
|
+
date: 2021-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: "[Unicode
|
13
|
+
description: "[Unicode 14.0.0] Returns the numeric value associated with a Unicode
|
14
14
|
character"
|
15
15
|
email:
|
16
16
|
- hi@ruby.consulting
|
@@ -19,7 +19,6 @@ extensions: []
|
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
21
|
- ".gitignore"
|
22
|
-
- ".travis.yml"
|
23
22
|
- CHANGELOG.md
|
24
23
|
- CODE_OF_CONDUCT.md
|
25
24
|
- Gemfile
|
@@ -54,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
53
|
- !ruby/object:Gem::Version
|
55
54
|
version: '0'
|
56
55
|
requirements: []
|
57
|
-
rubygems_version: 3.
|
56
|
+
rubygems_version: 3.2.3
|
58
57
|
signing_key:
|
59
58
|
specification_version: 4
|
60
59
|
summary: Returns the numeric value associated with a Unicode character
|
data/.travis.yml
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
|
4
|
-
rvm:
|
5
|
-
- 2.7
|
6
|
-
- 2.6
|
7
|
-
- 2.5
|
8
|
-
- 2.4
|
9
|
-
- 2.3
|
10
|
-
- ruby-head
|
11
|
-
- jruby-9.2.9.0
|
12
|
-
- truffleruby
|
13
|
-
|
14
|
-
matrix:
|
15
|
-
allow_failures:
|
16
|
-
- rvm: 2.3
|
17
|
-
- rvm: ruby-head
|
18
|
-
- rvm: jruby-2.9.2.0
|
19
|
-
- rvm: truffleruby
|
20
|
-
# fast_finish: true
|