unicode-sequence_name 1.7.0 → 1.8.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: 39f1ca2975d00fc86f96ffa794eabf3c544874fcfef28e4c140acecd957a3408
4
- data.tar.gz: 50d8b52835bb8d55df7042d4a8e0b546f48820eec64dab4eb6e5ad03cdf4432f
3
+ metadata.gz: 7ce16d9dd77769ad11c608f57ec99492f1c6e64d812146fd2c9451b6854d640d
4
+ data.tar.gz: 5ae055dc2079b8e18e2f95616fb03aef46fcc73912c272e417cd808848d68a19
5
5
  SHA512:
6
- metadata.gz: cd8172eda40d75969e647cd69eda84254d517fb03d3b261127a0b1d2c1e5ff9cb57dd082fc570e067222ec46645e705fd6a00dbf153ded181a169ab89d0ccf7b
7
- data.tar.gz: 3771fb420b84045b2184c9a9f12c511770e30bf4d9c38d70b5c913cc3bb0a87e8b77da630bac62ca203745f94cc0a814b44550d2a98fc390ae14437a7484b753
6
+ metadata.gz: db2b00362dec8c61a5b9427be558c123e181fcef7f6d679641308da75870f022e16359b9fc26604d105622f6f8f0326fc876bf2825dc59314864e1ffcc82782e
7
+ data.tar.gz: 77888ad3890fb0e0761f626ac351ed7a225ac382b3b6195fc8df71d2c256b849c92ee66ae8a14ea247bc0c13d95c67333083eae4d9a8d733e272f2f15526a13a
@@ -8,13 +8,12 @@ rvm:
8
8
  - 2.4
9
9
  - 2.3
10
10
  - ruby-head
11
- - jruby-9.2.9.0
12
- - truffleruby
11
+ - jruby-9.2.11.1
12
+ - truffleruby-20.2.0
13
13
 
14
14
  matrix:
15
15
  allow_failures:
16
+ - rvm: 2.4
16
17
  - rvm: 2.3
17
18
  - rvm: ruby-head
18
- - rvm: jruby-2.9.2.0
19
- - rvm: truffleruby
20
19
  # fast_finish: true
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.8.0
4
+
5
+ * Emoji 13.1
6
+
3
7
  ### 1.7.0
4
8
 
5
9
  - Unicode 13
data/README.md CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Returns the name of a Unicode codepoint sequence, if one exists.
4
4
 
5
- Unicode / Emoji version: **13.0** / **13.0** (March 2020 / January 2020)
5
+ Unicode / Emoji version: **13.0** / **13.1** (March 2020 / September 2020)
6
6
 
7
- Supported Rubies: **2.7**, **2.6**, **2.5**, **2.4**
7
+ Supported Rubies: **2.7**, **2.6**, **2.5** (also latest JRuby and TruffleRuby stable)
8
8
 
9
- Old Rubies which might still work: **2.3**, **2.2**, **2.1**, **2.0**
9
+ Old Rubies which might still work: **2.4**, **2.3**, **2.2**, **2.1**, **2.0**
10
10
 
11
11
  ## Usage
12
12
 
@@ -20,6 +20,8 @@ Unicode::SequenceName.of "நி" # => "TAMIL SYLLABLE NI"
20
20
  Unicode::SequenceName.of "🇺🇳" # => "Flag: UNITED NATIONS"
21
21
  Unicode::SequenceName.of "🏴󠁧󠁢󠁳󠁣󠁴󠁿" # => "SCOTLAND"
22
22
  Unicode::SequenceName.of "🧑‍🦱" # => "PERSON: CURLY HAIR"
23
+ Unicode::SequenceName.of "👨‍🍼" # => MAN FEEDING BABY
24
+ Unicode::SequenceName.of "❤️‍🔥" # => HEART ON FIRE
23
25
  ```
24
26
 
25
27
  Names for singular codepoints are not included, you can use [unicode-name](https://github.com/janlelis/unicode-name) for that purpose.
@@ -2,9 +2,9 @@
2
2
 
3
3
  module Unicode
4
4
  module SequenceName
5
- VERSION = "1.7.0"
5
+ VERSION = "1.8.0"
6
6
  UNICODE_VERSION = "13.0.0"
7
- EMOJI_VERSION = "13.0"
7
+ EMOJI_VERSION = "13.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,8 +10,9 @@ 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
15
16
  end
16
17
 
17
18
  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.7.0
4
+ version: 1.8.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-03-11 00:00:00.000000000 Z
11
+ date: 2020-09-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: "[Unicode 13.0.0][Emoji 13.0] Returns the name of a Unicode code point
13
+ description: "[Unicode 13.0.0][Emoji 13.1] Returns the name of a Unicode code point
14
14
  sequence, if one exists"
15
15
  email:
16
16
  - hi@ruby.consulting