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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6157c3beeb99578ada6b4a7bff891ff336c4f33af497a3f8df91a620b1fd3594
4
- data.tar.gz: 46cc6b1a7ee27ac1e731ba597c5bdc61147093181cc95b2cc456bdd610a34224
3
+ metadata.gz: 9eacba7d51b1976b605f328ff6ac9e512a237c30a3331557de3d288aafed39e3
4
+ data.tar.gz: 1cf1a856975ef73c32817e83e87fc8ad31c7d0b728dc7580023f14880d3ecd1c
5
5
  SHA512:
6
- metadata.gz: 07dd863e3d46e29353b38f5922f9fd577fbbb15d20979ddcac6f3236162b40d8e3a7a8061a27a0c02e457c92fe832b23fe33e9b2d0c70770f8d077725cf7f517
7
- data.tar.gz: e4d2faad1a959061aed1cb7e83adef9f09a06373c3060c556856117627cd8d8df7d92ad611e43b7f508222bbf99829776f02f336ae033ae15459832b5334fad5
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-head
14
- - jruby-9.2.7.0
11
+ - jruby-9.2.9.0
12
+ - truffleruby
15
13
 
16
14
  matrix:
17
15
  allow_failures:
18
16
  - rvm: 2.3
19
- - rvm: 2.2
20
- - rvm: 2.1
21
- - rvm: 2.0
22
- - rvm: jruby-head
17
+ - rvm: ruby-head
18
+ - rvm: jruby-2.9.2.0
19
+ - rvm: truffleruby
20
+ # fast_finish: true
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.6.0
4
+
5
+ * Emoji 13.0
6
+
3
7
  ### 1.5.0
4
8
 
5
9
  * Emoji 12.1
data/Gemfile CHANGED
@@ -4,4 +4,4 @@ gemspec
4
4
 
5
5
  gem 'minitest'
6
6
  gem 'rake'
7
- gem 'irb'
7
+ gem 'irb' unless RUBY_ENGINE == "jruby"
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2017-2019 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2017-2020 Jan Lelis, https://janlelis.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
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** / **12.1** (May / October 2019)
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-2019 Jan Lelis <https://janlelis.com>. Released under the MIT license.
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.0"
5
+ VERSION = "1.6.0"
6
6
  UNICODE_VERSION = "12.1.0"
7
- EMOJI_VERSION = "12.1"
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 codepoint sequence, if one exists"
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 = ["mail@janlelis.de"]
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 = "~> 2.0"
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.5.0
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: 2019-10-22 00:00:00.000000000 Z
11
+ date: 2020-02-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: "[Unicode 12.1.0][Emoji 12.1] Returns name of a Unicode codepoint sequence,
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
- - mail@janlelis.de
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.0.6
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