unicode-sequence_name 1.9.0 → 1.11.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: 0c6958e746cb34e3f2cf0b3680f4e4dd6063bfa2de553adc0ef481bfd8ebe7f4
4
- data.tar.gz: b1074b7ac65a33786ecbf1b9895e8a08afd1195189846e414c2768db6a720034
3
+ metadata.gz: 1354e3204eb3d1e73f0dda9b9a5b3228c7c37eaddf45ee6e18ac8f423ba68d64
4
+ data.tar.gz: 3c032dbddf9e97b6ec756985bb2e1a97c2d4f5ee323bee2c8e9ec8fda1ce704f
5
5
  SHA512:
6
- metadata.gz: ec50040cb5159b4b50819a45c24068256cb026d6fc3f0e2b894a51d773562f132aacf66c4bef98ad6e9cf1a2563b89e5bda0a907d6f76b8211f92e1225c5447f
7
- data.tar.gz: eaa769f79e97da308f7536f88c481c7748c3825abdde6d8eadfdf2ebed607c09c7b67aa3ba5aeb53f0d9d27ffbc47853aee0e42416a471e2f8393d6f10cd7768
6
+ metadata.gz: 976f284578e70eb6be55e5bdab0e574b686a6be51c2fdceb9d728549be5554d54c22018742f0014b8092c571412f52c11daf1b15d31874ffd2eef0d1d70eff70
7
+ data.tar.gz: 392182aebee07db053ed1b2f6888e2adbb75fd82bfee356c4616eba5503bc4eaaa3d04da98320d184d43ea3cefc20f234eb85a27d45522ddedca97b60ebca54d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.11.0
4
+
5
+ - Unicode 15.0
6
+ - Emoji 15.0
7
+
8
+ ### 1.10.0
9
+
10
+ - Unicode 14.0
11
+ - Emoji 14.0
12
+
3
13
  ### 1.9.0
4
14
 
5
15
  * IVD 2020-11-06
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2017-2020 Jan Lelis, https://janlelis.com
1
+ Copyright (c) 2017-2022 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
@@ -1,16 +1,16 @@
1
- # Unicode::SequenceName [![[version]](https://badge.fury.io/rb/unicode-sequence_name.svg)](https://badge.fury.io/rb/unicode-sequence_name) [![[travis]](https://travis-ci.org/janlelis/unicode-sequence_name.png)](https://travis-ci.org/janlelis/unicode-sequence_name)
1
+ # Unicode::SequenceName [![[version]](https://badge.fury.io/rb/unicode-sequence_name.svg)](https://badge.fury.io/rb/unicode-sequence_name) [![[ci]](https://github.com/janlelis/unicode-sequence_name/workflows/Test/badge.svg)](https://github.com/janlelis/unicode-sequence_name/actions?query=workflow%3ATest)
2
2
 
3
3
  Returns the name of a Unicode codepoint sequence, if one exists.
4
4
 
5
- Unicode version: **13.0** (March 2020)
5
+ Unicode version: **15.0.0** (September 2022)
6
6
 
7
- Emoji version: **13.1** (September 2020)
7
+ Emoji version: **15.0** (September 2022)
8
8
 
9
9
  IVD version: **2020-11-06** (November 2020)
10
10
 
11
- Supported Rubies: **2.7**, **2.6**, **2.5** (also latest JRuby and TruffleRuby stable)
11
+ Supported Rubies: **3.1**, **3.0**, **2.7**
12
12
 
13
- Old Rubies which might still work: **2.4**, **2.3**, **2.2**, **2.1**, **2.0**
13
+ Old Rubies which might still work: **2.6**, **2.5**, **2.4**, **2.3**, **2.2**, **2.1**, **2.0**
14
14
 
15
15
  ## Usage
16
16
 
@@ -37,5 +37,5 @@ Names for singular codepoints are not included, you can use [unicode-name](https
37
37
 
38
38
  ## MIT License
39
39
 
40
- - Copyright (C) 2017-2020 Jan Lelis <https://janlelis.com>. Released under the MIT license.
40
+ - Copyright (C) 2017-2022 Jan Lelis <https://janlelis.com>. Released under the MIT license.
41
41
  - 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
- sh "for file in spec/*.rb; do ruby $file; done"
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,9 +2,9 @@
2
2
 
3
3
  module Unicode
4
4
  module SequenceName
5
- VERSION = "1.9.0"
6
- UNICODE_VERSION = "13.0.0"
7
- EMOJI_VERSION = "13.1"
5
+ VERSION = "1.11.0"
6
+ UNICODE_VERSION = "15.0.0"
7
+ EMOJI_VERSION = "15.0"
8
8
  IVD_VERSION = "2020-11-06"
9
9
  DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
10
10
  INDEX_FILENAME = (DATA_DIRECTORY + "/sequence_name.marshal.gz").freeze
@@ -13,6 +13,8 @@ describe Unicode::SequenceName do
13
13
  assert_equal "PERSON: CURLY HAIR", Unicode::SequenceName.of("🧑‍🦱") # Emoji 12.1
14
14
  assert_equal "MAN FEEDING BABY", Unicode::SequenceName.of("👨‍🍼") # Emoji 13.0
15
15
  assert_equal "HEART ON FIRE", Unicode::SequenceName.of("❤️‍🔥") # Emoji 13.1
16
+ assert_equal "HANDSHAKE: LIGHT SKIN TONE, MEDIUM-DARK SKIN TONE", Unicode::SequenceName.of("🫱🏻‍🫲🏾") # Emoji 14.0
17
+ assert_equal "BLACK BIRD", Unicode::SequenceName.of("🐦‍⬛") # Emoji 15.0
16
18
  end
17
19
 
18
20
  it "will return nil for characters without name" do
@@ -16,6 +16,7 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
+ gem.metadata = { "rubygems_mfa_required" => "true" }
19
20
 
20
21
  gem.required_ruby_version = ">= 2.0"
21
22
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-sequence_name
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.11.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: 2020-12-24 00:00:00.000000000 Z
11
+ date: 2022-09-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: "[Unicode 13.0.0][Emoji 13.1] Returns the name of a Unicode code point
13
+ description: "[Unicode 15.0.0][Emoji 15.0] Returns the name of a Unicode code point
14
14
  sequence, if one exists"
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
@@ -37,7 +36,8 @@ files:
37
36
  homepage: https://github.com/janlelis/unicode-sequence_name
38
37
  licenses:
39
38
  - MIT
40
- metadata: {}
39
+ metadata:
40
+ rubygems_mfa_required: 'true'
41
41
  post_install_message:
42
42
  rdoc_options: []
43
43
  require_paths:
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  requirements: []
56
- rubygems_version: 3.1.2
56
+ rubygems_version: 3.3.7
57
57
  signing_key:
58
58
  specification_version: 4
59
59
  summary: Returns the name of a Unicode codepoint sequence, if one exists
data/.travis.yml DELETED
@@ -1,19 +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.11.1
12
- - truffleruby-20.2.0
13
-
14
- matrix:
15
- allow_failures:
16
- - rvm: 2.4
17
- - rvm: 2.3
18
- - rvm: ruby-head
19
- # fast_finish: true