unicode-sequence_name 1.4.0 → 1.5.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: 33623c850b5836ccfb996165ec1ffb059c570c50cff70a11b0c352477e8f1d76
4
- data.tar.gz: edd7d0fe3091f810d89c8730521099e54ac80ba51d3ca38bdf0c4dfdfb5bbfa6
3
+ metadata.gz: 6157c3beeb99578ada6b4a7bff891ff336c4f33af497a3f8df91a620b1fd3594
4
+ data.tar.gz: 46cc6b1a7ee27ac1e731ba597c5bdc61147093181cc95b2cc456bdd610a34224
5
5
  SHA512:
6
- metadata.gz: 190ae9133f76494a23795de5bb7ecac60b9bfb1856c85d1929940eb6d79cd4a8e0b1e11986b61e66c6189684d797316fa2b1bed0294bac8c1eee0aad3532aae3
7
- data.tar.gz: '03059ad1f96b282216df184166db7ba814950e363aa1f838c5c60b2d17a5afc25534bacb96753fa2f8192ba4175ca67f3d0c31815de029ae12915dda43e6f1d4'
6
+ metadata.gz: 07dd863e3d46e29353b38f5922f9fd577fbbb15d20979ddcac6f3236162b40d8e3a7a8061a27a0c02e457c92fe832b23fe33e9b2d0c70770f8d077725cf7f517
7
+ data.tar.gz: e4d2faad1a959061aed1cb7e83adef9f09a06373c3060c556856117627cd8d8df7d92ad611e43b7f508222bbf99829776f02f336ae033ae15459832b5334fad5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.5.0
4
+
5
+ * Emoji 12.1
6
+
3
7
  ### 1.4.0
4
8
 
5
9
  * Unicode 12.1
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Returns the name of a Unicode codepoint sequence, if one exists.
4
4
 
5
- Unicode / Emoji version: **12.1** / **12.0** (May / February 2019)
5
+ Unicode / Emoji version: **12.1** / **12.1** (May / October 2019)
6
6
 
7
7
  Supported Rubies: **2.6**, **2.5**, **2.4**
8
8
 
@@ -19,15 +19,17 @@ Unicode::SequenceName.of "င︀" # => "MYANMAR LETTER NGA (dotted form)"
19
19
  Unicode::SequenceName.of "நி" # => "TAMIL SYLLABLE NI"
20
20
  Unicode::SequenceName.of "🇺🇳" # => "Flag: UNITED NATIONS"
21
21
  Unicode::SequenceName.of "🏴󠁧󠁢󠁳󠁣󠁴󠁿" # => "SCOTLAND"
22
+ Unicode::SequenceName.of "🧑‍🦱" # => "PERSON: CURLY HAIR"
22
23
  ```
23
24
 
25
+ Names for singular codepoints are not included, you can use [unicode-name](https://github.com/janlelis/unicode-name) for that purpose.
26
+
24
27
  ## Also See
25
28
 
26
29
  - [uniscribe](https://github.com/janlelis/uniscribe) - cli utility that makes use of unicode_sequence-name
27
- - [unicode-name](https://github.com/janlelis/unicode-name) - single codepoint names
28
30
  - [unicode-x](https://github.com/janlelis/unicode-x) - more Unicode related micro libraries
29
31
 
30
32
  ## MIT License
31
33
 
32
- - Copyright (C) 2017-2019 Jan Lelis <http://janlelis.com>. Released under the MIT license.
33
- - Unicode data: http://www.unicode.org/copyright.html#Exhibit1
34
+ - Copyright (C) 2017-2019 Jan Lelis <https://janlelis.com>. Released under the MIT license.
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.4.0"
5
+ VERSION = "1.5.0"
6
6
  UNICODE_VERSION = "12.1.0"
7
- EMOJI_VERSION = "12.0"
7
+ EMOJI_VERSION = "12.1"
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,6 +10,7 @@ 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
14
  end
14
15
 
15
16
  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.4.0
4
+ version: 1.5.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-05-08 00:00:00.000000000 Z
11
+ date: 2019-10-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: "[Unicode 12.1.0][Emoji 12.0] Returns name of a Unicode codepoint sequence,
13
+ description: "[Unicode 12.1.0][Emoji 12.1] Returns name of a Unicode codepoint sequence,
14
14
  if one exists"
15
15
  email:
16
16
  - mail@janlelis.de
@@ -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.0.3
56
+ rubygems_version: 3.0.6
57
57
  signing_key:
58
58
  specification_version: 4
59
59
  summary: Returns name of a Unicode codepoint sequence, if one exists