unicode-sequence_name 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c6958e746cb34e3f2cf0b3680f4e4dd6063bfa2de553adc0ef481bfd8ebe7f4
4
- data.tar.gz: b1074b7ac65a33786ecbf1b9895e8a08afd1195189846e414c2768db6a720034
3
+ metadata.gz: 0f0c1cb1975b78bd640e8a33ed3cec8ed66cfccb5498bfafa81a6a13ac3ebefc
4
+ data.tar.gz: 944edb1a2ad1ddc530a10462934924ce89d42181cb01b25b67a4930ad479c107
5
5
  SHA512:
6
- metadata.gz: ec50040cb5159b4b50819a45c24068256cb026d6fc3f0e2b894a51d773562f132aacf66c4bef98ad6e9cf1a2563b89e5bda0a907d6f76b8211f92e1225c5447f
7
- data.tar.gz: eaa769f79e97da308f7536f88c481c7748c3825abdde6d8eadfdf2ebed607c09c7b67aa3ba5aeb53f0d9d27ffbc47853aee0e42416a471e2f8393d6f10cd7768
6
+ metadata.gz: 61f23708ffa7449871eb272bcf448a9360fffd1dd8d39420d4fb9c72668e69a1743a1fa77ff8f8390edd740a727626cc6e6a4123516cba09cd36c45f3275513f
7
+ data.tar.gz: 54ed2fac27b84d63d6b858a1d1aabcb420ac1d546780bae2d808b858656f7feef07f771376113286fdeac2aa16ecd59e85f7cb4319f93800473b59bcd83ffa1e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.10.0
4
+
5
+ - Unicode 14.0
6
+ - Emoji 14.0
7
+
3
8
  ### 1.9.0
4
9
 
5
10
  * 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-2021 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: **14.0.0** (September 2021)
6
6
 
7
- Emoji version: **13.1** (September 2020)
7
+ Emoji version: **14.0** (September 2021)
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.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-2021 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.10.0"
6
+ UNICODE_VERSION = "14.0.0"
7
+ EMOJI_VERSION = "14.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,7 @@ 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
16
17
  end
17
18
 
18
19
  it "will return nil for characters without name" do
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.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: 2020-12-24 00:00:00.000000000 Z
11
+ date: 2021-09-15 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 14.0.0][Emoji 14.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
@@ -53,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
52
  - !ruby/object:Gem::Version
54
53
  version: '0'
55
54
  requirements: []
56
- rubygems_version: 3.1.2
55
+ rubygems_version: 3.2.3
57
56
  signing_key:
58
57
  specification_version: 4
59
58
  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