unicode-sequence_name 1.2.0 → 1.3.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: 1c15d809d319aa8f29f5d7933a626d0d02224c455bf86a1dd0b7cf50ee630ca8
4
- data.tar.gz: 1851f35895f9b33906216f904c1a13cab4b6391bb34d5871400464fd61469573
3
+ metadata.gz: 434aa8e312ba7ff312bde9ca4e7a922d2494a35c78c1b58463c7514d47677d8c
4
+ data.tar.gz: 7c7dcbd62fa7b061f6549a9d9bf6f6416daf901589a3a58de48c38f9c3df5c68
5
5
  SHA512:
6
- metadata.gz: 9cdf2870dbdda3f1db892a84363eb4335cc387126a00c4554d7e312f6803a3dcd750cb94d761ef64a4e293c618991804aa55c38a9b622ee0b59de5eb7807463a
7
- data.tar.gz: c6a090c72e1b6a6c0cee5f0df5932fad246c2f1ef72aefaa10391e746081c82f6e20b3944c9115eecfc6cafd2bf85ccbd0e531820a84488c28f788ef3d8a5c39
6
+ metadata.gz: 9cfa24967c1ee4e1d1a031560096879f8f08c748040d511bb1fdc62b2b52c80954c8a9ebc811b4aa420016e082b70124c001a92b1e11d829a5595632bc4ddf70
7
+ data.tar.gz: 2b7548a0ec071e8ab4d10a953f8fcbf34c0bc4f6e78a83d4398cac375a710b04cd11c4d8be1dd16ae5443f08416b730c781ab9389bed723e07dbc1853216856f
data/.travis.yml CHANGED
@@ -2,18 +2,20 @@ sudo: false
2
2
  language: ruby
3
3
 
4
4
  rvm:
5
- - ruby-head
6
- - 2.5.1
7
- - 2.4.4
8
- - 2.3.7
5
+ - 2.6.1
6
+ - 2.5.3
7
+ - 2.4.5
8
+ - 2.3.8
9
9
  - 2.2
10
10
  - 2.1
11
11
  - 2.0
12
+ - ruby-head
12
13
  - jruby-head
13
- - jruby-9.1.16.0
14
+ - jruby-9.2.6.0
14
15
 
15
16
  matrix:
16
17
  allow_failures:
18
+ - rvm: 2.3.8
17
19
  - rvm: 2.2
18
20
  - rvm: 2.1
19
21
  - rvm: 2.0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.3.0
4
+
5
+ * Unicode 12 / Emoji 12
6
+
3
7
  ### 1.2.0
4
8
 
5
9
  * Unicode 11 / Emoji 11
data/MIT-LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2017-2018 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2017-2019 Jan Lelis, mail@janlelis.de
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,12 @@
1
- # Unicode::SequenceName [![[version]](https://badge.fury.io/rb/unicode-sequence_name.svg)](http://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) [![[travis]](https://travis-ci.org/janlelis/unicode-sequence_name.png)](https://travis-ci.org/janlelis/unicode-sequence_name)
2
2
 
3
- Returns name of a Unicode codepoint sequence, if one exists.
3
+ Returns the name of a Unicode codepoint sequence, if one exists.
4
4
 
5
- Unicode / Emoji version: **11.0**
5
+ Unicode / Emoji version: **12.0** (March / February 2019)
6
6
 
7
- Supported Rubies: **2.5**, **2.4**, **2.3**
7
+ Supported Rubies: **2.6**, **2.5**, **2.4**
8
8
 
9
- Old Rubies but might still work: **2.2**, **2.1**, **2.0**
9
+ Old Rubies but might still work: **2.3**, **2.2**, **2.1**, **2.0**
10
10
 
11
11
  ## Usage
12
12
 
@@ -17,7 +17,7 @@ Unicode::SequenceName.of "‼︎" # => "DOUBLE EXCLAMATION MARK (text style)"
17
17
  Unicode::SequenceName.of "㓟︀" # => "CJK COMPATIBILITY IDEOGRAPH-2F81F"
18
18
  Unicode::SequenceName.of "င︀" # => "MYANMAR LETTER NGA (dotted form)"
19
19
  Unicode::SequenceName.of "நி" # => "TAMIL SYLLABLE NI"
20
- Unicode::SequenceName.of "🇺🇳" # => "UNITED NATIONS"
20
+ Unicode::SequenceName.of "🇺🇳" # => "Flag: UNITED NATIONS"
21
21
  Unicode::SequenceName.of "🏴󠁧󠁢󠁳󠁣󠁴󠁿" # => "SCOTLAND"
22
22
  ```
23
23
 
@@ -29,5 +29,5 @@ Unicode::SequenceName.of "🏴󠁧󠁢󠁳󠁣󠁴󠁿" # => "SCOTLAND"
29
29
 
30
30
  ## MIT License
31
31
 
32
- - Copyright (C) 2017-2018 Jan Lelis <http://janlelis.com>. Released under the MIT license.
32
+ - Copyright (C) 2017-2019 Jan Lelis <http://janlelis.com>. Released under the MIT license.
33
33
  - Unicode data: http://www.unicode.org/copyright.html#Exhibit1
Binary file
@@ -1,10 +1,11 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Unicode
2
4
  module SequenceName
3
- VERSION = "1.2.0".freeze
4
- UNICODE_VERSION = "11.0.0".freeze
5
- EMOJI_VERSION = "11.0".freeze
6
- DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + '/../../../data/').freeze
7
- INDEX_FILENAME = (DATA_DIRECTORY + '/sequence_name.marshal.gz').freeze
5
+ VERSION = "1.3.0"
6
+ UNICODE_VERSION = "12.0.0"
7
+ EMOJI_VERSION = "12.0"
8
+ DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
9
+ INDEX_FILENAME = (DATA_DIRECTORY + "/sequence_name.marshal.gz").freeze
8
10
  end
9
11
  end
10
-
@@ -8,8 +8,8 @@ describe Unicode::SequenceName do
8
8
  assert_equal "CJK COMPATIBILITY IDEOGRAPH-2F81F", Unicode::SequenceName.of("㓟︀")
9
9
  assert_equal "MYANMAR LETTER NGA (dotted form)", Unicode::SequenceName.of("င︀")
10
10
  assert_equal "TAMIL SYLLABLE NI", Unicode::SequenceName.of("நி")
11
- assert_equal "UNITED NATIONS", Unicode::SequenceName.of("🇺🇳")
12
- assert_equal "SCOTLAND", Unicode::SequenceName.of("🏴󠁧󠁢󠁳󠁣󠁴󠁿")
11
+ assert_equal "FLAG: UNITED NATIONS", Unicode::SequenceName.of("🇺🇳")
12
+ assert_equal "FLAG: SCOTLAND", Unicode::SequenceName.of("🏴󠁧󠁢󠁳󠁣󠁴󠁿")
13
13
  end
14
14
 
15
15
  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.2.0
4
+ version: 1.3.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: 2018-06-05 00:00:00.000000000 Z
11
+ date: 2019-03-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: "[Unicode 11.0.0] Returns name of a Unicode codepoint sequence, if one
13
+ description: "[Unicode 12.0.0] Returns name of a Unicode codepoint sequence, if one
14
14
  exists"
15
15
  email:
16
16
  - mail@janlelis.de
@@ -53,8 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  requirements: []
56
- rubyforge_project:
57
- rubygems_version: 2.7.6
56
+ rubygems_version: 3.0.1
58
57
  signing_key:
59
58
  specification_version: 4
60
59
  summary: Returns name of a Unicode codepoint sequence, if one exists