unicode-name 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -5
- data/CHANGELOG.md +4 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +7 -5
- data/data/name.marshal.gz +0 -0
- data/lib/unicode/name/constants.rb +6 -5
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd22e9bcb3377866854cb476212841112aef33bc887ca2cd396d68605fcfdde6
|
4
|
+
data.tar.gz: cc14e507c29d292c8959a66efdf7d7f44a4e1f91c907d4ea6996fbabf9c4001e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40ebcef06941e6441ef5ce1d5d6d715dbe0ffc1e1ef347bd5bc7c35737544f15ba11767b2e343b33f49c0c5281deba2c7920cfe68efd43641eed5ef9659f8641
|
7
|
+
data.tar.gz: fffcde599de04af778828fa09f0e348ab9bd6f65ccc5571a5a2951603ea4fed9b3862ed69acdefd4e1ab2f72205733f2a4f4d79062a7215e21e16508afeaaa6a
|
data/.travis.yml
CHANGED
@@ -4,18 +4,20 @@ language: ruby
|
|
4
4
|
script: bundle exec ruby spec/unicode_name_spec.rb
|
5
5
|
|
6
6
|
rvm:
|
7
|
-
-
|
8
|
-
- 2.5.
|
9
|
-
- 2.4.
|
10
|
-
- 2.3.
|
7
|
+
- 2.6.1
|
8
|
+
- 2.5.3
|
9
|
+
- 2.4.5
|
10
|
+
- 2.3.8
|
11
11
|
- 2.2
|
12
12
|
- 2.1
|
13
13
|
- 2.0
|
14
|
+
- ruby-head
|
14
15
|
- jruby-head
|
15
|
-
- jruby-9.
|
16
|
+
- jruby-9.2.6.0
|
16
17
|
|
17
18
|
matrix:
|
18
19
|
allow_failures:
|
20
|
+
- rvm: 2.3.8
|
19
21
|
- rvm: 2.2
|
20
22
|
- rvm: 2.1
|
21
23
|
- rvm: 2.0
|
data/CHANGELOG.md
CHANGED
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)](
|
1
|
+
# Unicode::Name [![[version]](https://badge.fury.io/rb/unicode-name.svg)](https://badge.fury.io/rb/unicode-name) [![[travis]](https://travis-ci.org/janlelis/unicode-name.png)](https://travis-ci.org/janlelis/unicode-name)
|
2
2
|
|
3
3
|
Return Unicode codepoint names, aliases, and labels.
|
4
4
|
|
5
|
-
Unicode version: **
|
5
|
+
Unicode version: **12.0.0** (March 2019)
|
6
6
|
|
7
|
-
Supported Rubies: **2.
|
7
|
+
Supported Rubies: **2.6**, **2.5**, **2.4**
|
8
8
|
|
9
|
-
Old Rubies that might still work: **2.2**, **2.1**, **2.0**
|
9
|
+
Old Rubies that might still work: **2.3**, **2.2**, **2.1**, **2.0**
|
10
10
|
|
11
11
|
## Usage
|
12
12
|
|
@@ -39,9 +39,11 @@ Unicode::Name.readable("\0") # => "NULL"
|
|
39
39
|
Unicode::Name.readable("\u{FFFFD}") # => "<private-use-FFFFD>"
|
40
40
|
```
|
41
41
|
|
42
|
+
See [unicode-sequence_names](https://github.com/janlelis/unicode-sequence_name) for character names of more complex codepoint sequences.
|
43
|
+
|
42
44
|
See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related micro libraries.
|
43
45
|
|
44
46
|
## MIT License
|
45
47
|
|
46
|
-
- Copyright (C) 2016-
|
48
|
+
- Copyright (C) 2016-2019 Jan Lelis <http://janlelis.com>. Released under the MIT license.
|
47
49
|
- Unicode data: http://www.unicode.org/copyright.html#Exhibit1
|
data/data/name.marshal.gz
CHANGED
Binary file
|
@@ -1,9 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Unicode
|
2
4
|
module Name
|
3
|
-
VERSION = "1.
|
4
|
-
UNICODE_VERSION = "
|
5
|
-
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) +
|
6
|
-
INDEX_FILENAME = (DATA_DIRECTORY +
|
5
|
+
VERSION = "1.7.0"
|
6
|
+
UNICODE_VERSION = "12.0.0"
|
7
|
+
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
|
8
|
+
INDEX_FILENAME = (DATA_DIRECTORY + "/name.marshal.gz").freeze
|
7
9
|
end
|
8
10
|
end
|
9
|
-
|
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.7.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: 2019-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unicode-types
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.3'
|
27
|
-
description: "[Unicode
|
27
|
+
description: "[Unicode 12.0.0] Returns name/aliases/label of a Unicode codepoint"
|
28
28
|
email:
|
29
29
|
- mail@janlelis.de
|
30
30
|
executables: []
|
@@ -66,8 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: '0'
|
68
68
|
requirements: []
|
69
|
-
|
70
|
-
rubygems_version: 2.7.6
|
69
|
+
rubygems_version: 3.0.1
|
71
70
|
signing_key:
|
72
71
|
specification_version: 4
|
73
72
|
summary: Returns name/aliases/label of a Unicode codepoint
|