unicode-sequence_name 1.6.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: 9eacba7d51b1976b605f328ff6ac9e512a237c30a3331557de3d288aafed39e3
4
- data.tar.gz: 1cf1a856975ef73c32817e83e87fc8ad31c7d0b728dc7580023f14880d3ecd1c
3
+ metadata.gz: 0f0c1cb1975b78bd640e8a33ed3cec8ed66cfccb5498bfafa81a6a13ac3ebefc
4
+ data.tar.gz: 944edb1a2ad1ddc530a10462934924ce89d42181cb01b25b67a4930ad479c107
5
5
  SHA512:
6
- metadata.gz: 50be92cdc4831dcb77255a3f521d74d8bb26d069a5d362a3bee0888afd75b6f422634bbbf41a34efbb4ebde9300d1db62b6873778c9eabb1d12c462ef0dc25f7
7
- data.tar.gz: 320ed5c382ce03e6208cc0f58a1fd283479757e8c51b060c72d1e6a6f5fab9db167bb21396ab1bfc8b082404cbf07fda311de5d2a23fa5ebc22de6c20a3b6815
6
+ metadata.gz: 61f23708ffa7449871eb272bcf448a9360fffd1dd8d39420d4fb9c72668e69a1743a1fa77ff8f8390edd740a727626cc6e6a4123516cba09cd36c45f3275513f
7
+ data.tar.gz: 54ed2fac27b84d63d6b858a1d1aabcb420ac1d546780bae2d808b858656f7feef07f771376113286fdeac2aa16ecd59e85f7cb4319f93800473b59bcd83ffa1e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.10.0
4
+
5
+ - Unicode 14.0
6
+ - Emoji 14.0
7
+
8
+ ### 1.9.0
9
+
10
+ * IVD 2020-11-06
11
+
12
+ ### 1.8.0
13
+
14
+ * Emoji 13.1
15
+
16
+ ### 1.7.0
17
+
18
+ - Unicode 13
19
+
3
20
  ### 1.6.0
4
21
 
5
22
  * Emoji 13.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unicode-sequence_name (1.6.0)
4
+ unicode-sequence_name (1.7.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
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,12 +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 / Emoji version: **12.1** / **13.0** (May 2019 / January 2020)
5
+ Unicode version: **14.0.0** (September 2021)
6
6
 
7
- Supported Rubies: **2.7**, **2.6**, **2.5**, **2.4**
7
+ Emoji version: **14.0** (September 2021)
8
8
 
9
- Old Rubies but might still work: **2.3**, **2.2**, **2.1**, **2.0**
9
+ IVD version: **2020-11-06** (November 2020)
10
+
11
+ Supported Rubies: **3.0**, **2.7**
12
+
13
+ Old Rubies which might still work: **2.6**, **2.5**, **2.4**, **2.3**, **2.2**, **2.1**, **2.0**
10
14
 
11
15
  ## Usage
12
16
 
@@ -20,6 +24,8 @@ Unicode::SequenceName.of "நி" # => "TAMIL SYLLABLE NI"
20
24
  Unicode::SequenceName.of "🇺🇳" # => "Flag: UNITED NATIONS"
21
25
  Unicode::SequenceName.of "🏴󠁧󠁢󠁳󠁣󠁴󠁿" # => "SCOTLAND"
22
26
  Unicode::SequenceName.of "🧑‍🦱" # => "PERSON: CURLY HAIR"
27
+ Unicode::SequenceName.of "👨‍🍼" # => MAN FEEDING BABY
28
+ Unicode::SequenceName.of "❤️‍🔥" # => HEART ON FIRE
23
29
  ```
24
30
 
25
31
  Names for singular codepoints are not included, you can use [unicode-name](https://github.com/janlelis/unicode-name) for that purpose.
@@ -31,5 +37,5 @@ Names for singular codepoints are not included, you can use [unicode-name](https
31
37
 
32
38
  ## MIT License
33
39
 
34
- - 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.
35
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,10 @@
2
2
 
3
3
  module Unicode
4
4
  module SequenceName
5
- VERSION = "1.6.0"
6
- UNICODE_VERSION = "12.1.0"
7
- EMOJI_VERSION = "13.0"
5
+ VERSION = "1.10.0"
6
+ UNICODE_VERSION = "14.0.0"
7
+ EMOJI_VERSION = "14.0"
8
+ IVD_VERSION = "2020-11-06"
8
9
  DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
9
10
  INDEX_FILENAME = (DATA_DIRECTORY + "/sequence_name.marshal.gz").freeze
10
11
  end
@@ -10,8 +10,10 @@ 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("🧑‍🦱") # 12.1
14
- assert_equal "MAN FEEDING BABY", Unicode::SequenceName.of("👨‍🍼") # 13.0
13
+ assert_equal "PERSON: CURLY HAIR", Unicode::SequenceName.of("🧑‍🦱") # Emoji 12.1
14
+ assert_equal "MAN FEEDING BABY", Unicode::SequenceName.of("👨‍🍼") # Emoji 13.0
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
15
17
  end
16
18
 
17
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.6.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-02-02 00:00:00.000000000 Z
11
+ date: 2021-09-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: "[Unicode 12.1.0][Emoji 13.0] 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,20 +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.9.0
12
- - truffleruby
13
-
14
- matrix:
15
- allow_failures:
16
- - rvm: 2.3
17
- - rvm: ruby-head
18
- - rvm: jruby-2.9.2.0
19
- - rvm: truffleruby
20
- # fast_finish: true