unicode-sequence_name 1.5.0 → 1.6.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/.travis.yml +7 -9
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -1
- data/MIT-LICENSE.txt +1 -1
- data/README.md +3 -3
- data/data/sequence_name.marshal.gz +0 -0
- data/lib/unicode/sequence_name/constants.rb +2 -2
- data/spec/unicode_sequence_name_spec.rb +2 -1
- data/unicode-sequence_name.gemspec +4 -4
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9eacba7d51b1976b605f328ff6ac9e512a237c30a3331557de3d288aafed39e3
|
4
|
+
data.tar.gz: 1cf1a856975ef73c32817e83e87fc8ad31c7d0b728dc7580023f14880d3ecd1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50be92cdc4831dcb77255a3f521d74d8bb26d069a5d362a3bee0888afd75b6f422634bbbf41a34efbb4ebde9300d1db62b6873778c9eabb1d12c462ef0dc25f7
|
7
|
+
data.tar.gz: 320ed5c382ce03e6208cc0f58a1fd283479757e8c51b060c72d1e6a6f5fab9db167bb21396ab1bfc8b082404cbf07fda311de5d2a23fa5ebc22de6c20a3b6815
|
data/.travis.yml
CHANGED
@@ -2,21 +2,19 @@ sudo: false
|
|
2
2
|
language: ruby
|
3
3
|
|
4
4
|
rvm:
|
5
|
+
- 2.7
|
5
6
|
- 2.6
|
6
7
|
- 2.5
|
7
8
|
- 2.4
|
8
9
|
- 2.3
|
9
|
-
- 2.2
|
10
|
-
- 2.1
|
11
|
-
- 2.0
|
12
10
|
- ruby-head
|
13
|
-
- jruby-
|
14
|
-
-
|
11
|
+
- jruby-9.2.9.0
|
12
|
+
- truffleruby
|
15
13
|
|
16
14
|
matrix:
|
17
15
|
allow_failures:
|
18
16
|
- rvm: 2.3
|
19
|
-
- rvm:
|
20
|
-
- rvm: 2.
|
21
|
-
- rvm:
|
22
|
-
|
17
|
+
- rvm: ruby-head
|
18
|
+
- rvm: jruby-2.9.2.0
|
19
|
+
- rvm: truffleruby
|
20
|
+
# fast_finish: true
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
Returns the name of a Unicode codepoint sequence, if one exists.
|
4
4
|
|
5
|
-
Unicode / Emoji version: **12.1** / **
|
5
|
+
Unicode / Emoji version: **12.1** / **13.0** (May 2019 / January 2020)
|
6
6
|
|
7
|
-
Supported Rubies: **2.6**, **2.5**, **2.4**
|
7
|
+
Supported Rubies: **2.7**, **2.6**, **2.5**, **2.4**
|
8
8
|
|
9
9
|
Old Rubies but might still work: **2.3**, **2.2**, **2.1**, **2.0**
|
10
10
|
|
@@ -31,5 +31,5 @@ Names for singular codepoints are not included, you can use [unicode-name](https
|
|
31
31
|
|
32
32
|
## MIT License
|
33
33
|
|
34
|
-
- Copyright (C) 2017-
|
34
|
+
- Copyright (C) 2017-2020 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
35
35
|
- Unicode data: https://www.unicode.org/copyright.html#Exhibit1
|
Binary file
|
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
module Unicode
|
4
4
|
module SequenceName
|
5
|
-
VERSION = "1.
|
5
|
+
VERSION = "1.6.0"
|
6
6
|
UNICODE_VERSION = "12.1.0"
|
7
|
-
EMOJI_VERSION = "
|
7
|
+
EMOJI_VERSION = "13.0"
|
8
8
|
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
|
9
9
|
INDEX_FILENAME = (DATA_DIRECTORY + "/sequence_name.marshal.gz").freeze
|
10
10
|
end
|
@@ -10,7 +10,8 @@ describe Unicode::SequenceName do
|
|
10
10
|
assert_equal "TAMIL SYLLABLE NI", Unicode::SequenceName.of("நி")
|
11
11
|
assert_equal "FLAG: UNITED NATIONS", Unicode::SequenceName.of("🇺🇳")
|
12
12
|
assert_equal "FLAG: SCOTLAND", Unicode::SequenceName.of("🏴")
|
13
|
-
assert_equal "PERSON: CURLY HAIR", Unicode::SequenceName.of("🧑🦱")
|
13
|
+
assert_equal "PERSON: CURLY HAIR", Unicode::SequenceName.of("🧑🦱") # 12.1
|
14
|
+
assert_equal "MAN FEEDING BABY", Unicode::SequenceName.of("👨🍼") # 13.0
|
14
15
|
end
|
15
16
|
|
16
17
|
it "will return nil for characters without name" do
|
@@ -5,10 +5,10 @@ require File.dirname(__FILE__) + "/lib/unicode/sequence_name/constants"
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "unicode-sequence_name"
|
7
7
|
gem.version = Unicode::SequenceName::VERSION
|
8
|
-
gem.summary = "Returns name of a Unicode codepoint sequence, if one exists"
|
9
|
-
gem.description = "[Unicode #{Unicode::SequenceName::UNICODE_VERSION}][Emoji #{Unicode::SequenceName::EMOJI_VERSION}] Returns name of a Unicode
|
8
|
+
gem.summary = "Returns the name of a Unicode codepoint sequence, if one exists"
|
9
|
+
gem.description = "[Unicode #{Unicode::SequenceName::UNICODE_VERSION}][Emoji #{Unicode::SequenceName::EMOJI_VERSION}] Returns the name of a Unicode code point sequence, if one exists"
|
10
10
|
gem.authors = ["Jan Lelis"]
|
11
|
-
gem.email = ["
|
11
|
+
gem.email = ["hi@ruby.consulting"]
|
12
12
|
gem.homepage = "https://github.com/janlelis/unicode-sequence_name"
|
13
13
|
gem.license = "MIT"
|
14
14
|
|
@@ -17,5 +17,5 @@ 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 = "
|
20
|
+
gem.required_ruby_version = ">= 2.0"
|
21
21
|
end
|
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicode-sequence_name
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.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: 2020-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: "[Unicode 12.1.0][Emoji
|
14
|
-
if one exists"
|
13
|
+
description: "[Unicode 12.1.0][Emoji 13.0] Returns the name of a Unicode code point
|
14
|
+
sequence, if one exists"
|
15
15
|
email:
|
16
|
-
-
|
16
|
+
- hi@ruby.consulting
|
17
17
|
executables: []
|
18
18
|
extensions: []
|
19
19
|
extra_rdoc_files: []
|
@@ -44,7 +44,7 @@ require_paths:
|
|
44
44
|
- lib
|
45
45
|
required_ruby_version: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - "
|
47
|
+
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '2.0'
|
50
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -53,9 +53,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
requirements: []
|
56
|
-
rubygems_version: 3.
|
56
|
+
rubygems_version: 3.1.2
|
57
57
|
signing_key:
|
58
58
|
specification_version: 4
|
59
|
-
summary: Returns name of a Unicode codepoint sequence, if one exists
|
59
|
+
summary: Returns the name of a Unicode codepoint sequence, if one exists
|
60
60
|
test_files:
|
61
61
|
- spec/unicode_sequence_name_spec.rb
|