unicode-name 1.7.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +6 -4
- data/MIT-LICENSE.txt +1 -1
- data/README.md +6 -6
- data/Rakefile +5 -1
- data/data/name.marshal.gz +0 -0
- data/lib/unicode/name/constants.rb +2 -2
- data/unicode-name.gemspec +4 -4
- metadata +9 -9
- data/.travis.yml +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27a2d82431b184d4607b42b00cd95cf019b6276acd89e0b0f47429d0e9edfbd5
|
4
|
+
data.tar.gz: 7317530c7419356def7bb0a77b00cf6c4fa78d29b1cf67f57f641180a4b1dbf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae8df054a4a77b8393bbf3d987616d903bb618d5d0594a19748338f888af0a167d964107c403faf35d2221a9c27e354c10b93b37eeb1dcf9f61cb730bcc33564
|
7
|
+
data.tar.gz: 7a3fb361fffa2b90ecb3fb35b400903b12aac238220bed8b1a2ecfe4268211342d10884e8707621189f3099e988c57074feb0812bb79d2485f2b3f6a964e3076
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,23 +1,25 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
unicode-name (1.
|
5
|
-
unicode-types (~> 1.
|
4
|
+
unicode-name (1.8.0)
|
5
|
+
unicode-types (~> 1.5)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
+
irb (1.0.0)
|
10
11
|
minitest (5.10.2)
|
11
12
|
rake (12.0.0)
|
12
|
-
unicode-types (1.
|
13
|
+
unicode-types (1.5.0)
|
13
14
|
|
14
15
|
PLATFORMS
|
15
16
|
ruby
|
16
17
|
|
17
18
|
DEPENDENCIES
|
19
|
+
irb
|
18
20
|
minitest
|
19
21
|
rake
|
20
22
|
unicode-name!
|
21
23
|
|
22
24
|
BUNDLED WITH
|
23
|
-
1.
|
25
|
+
1.17.2
|
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
# Unicode::Name [![[version]](https://badge.fury.io/rb/unicode-name.svg)](https://badge.fury.io/rb/unicode-name) [![[
|
1
|
+
# Unicode::Name [![[version]](https://badge.fury.io/rb/unicode-name.svg)](https://badge.fury.io/rb/unicode-name) [![[ci]](https://github.com/janlelis/unicode-name/workflows/Test/badge.svg)](https://github.com/janlelis/unicode-name/actions?query=workflow%3ATest)
|
2
2
|
|
3
3
|
Return Unicode codepoint names, aliases, and labels.
|
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
|
## Usage
|
12
12
|
|
@@ -45,5 +45,5 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
|
|
45
45
|
|
46
46
|
## MIT License
|
47
47
|
|
48
|
-
- Copyright (C) 2016-
|
49
|
-
- Unicode data:
|
48
|
+
- Copyright (C) 2016-2021 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
49
|
+
- 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
|
data/data/name.marshal.gz
CHANGED
Binary file
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
module Unicode
|
4
4
|
module Name
|
5
|
-
VERSION = "1.
|
6
|
-
UNICODE_VERSION = "
|
5
|
+
VERSION = "1.10.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 + "/name.marshal.gz").freeze
|
9
9
|
end
|
data/unicode-name.gemspec
CHANGED
@@ -6,9 +6,9 @@ Gem::Specification.new do |gem|
|
|
6
6
|
gem.name = "unicode-name"
|
7
7
|
gem.version = Unicode::Name::VERSION
|
8
8
|
gem.summary = "Returns name/aliases/label of a Unicode codepoint"
|
9
|
-
gem.description = "[Unicode #{Unicode::Name::UNICODE_VERSION}] Returns name
|
9
|
+
gem.description = "[Unicode #{Unicode::Name::UNICODE_VERSION}] Returns the name, aliases, or label of a Unicode code point"
|
10
10
|
gem.authors = ["Jan Lelis"]
|
11
|
-
gem.email = ["
|
11
|
+
gem.email = ["hi@ruby.consulting"]
|
12
12
|
gem.homepage = "https://github.com/janlelis/unicode-name"
|
13
13
|
gem.license = "MIT"
|
14
14
|
|
@@ -17,6 +17,6 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
|
-
gem.required_ruby_version = "
|
21
|
-
gem.add_dependency "unicode-types", "~> 1.
|
20
|
+
gem.required_ruby_version = ">= 2.0"
|
21
|
+
gem.add_dependency "unicode-types", "~> 1.7"
|
22
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicode-name
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.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
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unicode-types
|
@@ -16,23 +16,23 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.7'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
27
|
-
description: "[Unicode
|
26
|
+
version: '1.7'
|
27
|
+
description: "[Unicode 14.0.0] Returns the name, aliases, or label of a Unicode code
|
28
|
+
point"
|
28
29
|
email:
|
29
|
-
-
|
30
|
+
- hi@ruby.consulting
|
30
31
|
executables: []
|
31
32
|
extensions: []
|
32
33
|
extra_rdoc_files: []
|
33
34
|
files:
|
34
35
|
- ".gitignore"
|
35
|
-
- ".travis.yml"
|
36
36
|
- CHANGELOG.md
|
37
37
|
- CODE_OF_CONDUCT.md
|
38
38
|
- Gemfile
|
@@ -57,7 +57,7 @@ require_paths:
|
|
57
57
|
- lib
|
58
58
|
required_ruby_version: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - "
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '2.0'
|
63
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: '0'
|
68
68
|
requirements: []
|
69
|
-
rubygems_version: 3.
|
69
|
+
rubygems_version: 3.2.3
|
70
70
|
signing_key:
|
71
71
|
specification_version: 4
|
72
72
|
summary: Returns name/aliases/label of a Unicode codepoint
|
data/.travis.yml
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
|
4
|
-
script: bundle exec ruby spec/unicode_name_spec.rb
|
5
|
-
|
6
|
-
rvm:
|
7
|
-
- 2.6.1
|
8
|
-
- 2.5.3
|
9
|
-
- 2.4.5
|
10
|
-
- 2.3.8
|
11
|
-
- 2.2
|
12
|
-
- 2.1
|
13
|
-
- 2.0
|
14
|
-
- ruby-head
|
15
|
-
- jruby-head
|
16
|
-
- jruby-9.2.6.0
|
17
|
-
|
18
|
-
matrix:
|
19
|
-
allow_failures:
|
20
|
-
- rvm: 2.3.8
|
21
|
-
- rvm: 2.2
|
22
|
-
- rvm: 2.1
|
23
|
-
- rvm: 2.0
|
24
|
-
- rvm: jruby-head
|