unicode-emoji 2.6.0 β†’ 2.9.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: 2fb3046ca8836aca666cb064f9adcab5bc4bc0a238c0442b269de0c055203c7b
4
- data.tar.gz: 7fb3d7a6726cca61c400c7198f5b754a50cce8cb5dc5c7e74e037c7daea8e712
3
+ metadata.gz: 06ae1680808ba5598860f0f4b0f64b968af2aaed1a1e96b1ab4fc2ca5099d376
4
+ data.tar.gz: 7b7444bd720d5db58bcaaa4cced183eb2305509bfb9f743c8117343979368e0f
5
5
  SHA512:
6
- metadata.gz: 6e89d3365011031037920d1a86e35316d54ea609f080c9e8625164c8782f85de1b14d2295858e3934e7baa6e1c27c8ccf8485ea0adf9632d34e8e8211d21b83a
7
- data.tar.gz: 20f8dc2f79f3578510539ab5911beade994f22b666406a526ab90974c741db4bb11e710eac9c8fc4ae24a1a84061543f89af3f3bda1c4e94d131cc814a44832c
6
+ metadata.gz: '088d0efe6451f2992fde8aa399571f7ae355bda7ad7b4824bbdf3a533760c9e17e278c7e1ff32758e4daea80f65171bedd4f936a420a66b1d4d00af93a33b6be'
7
+ data.tar.gz: 3ae0ecb947e8ba6c357396dcc778cfc8e9e68f0f629dbb13a93a0099467b6e4da144aed767f9e0ee95d894372d0d1680f01c9414d604f58fa1cecea682547be0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 2.9.0
4
+
5
+ - Emoji 14.0
6
+
7
+ ### 2.8.0
8
+
9
+ - Update valid subdivisions to CLDR 39
10
+
11
+ ### 2.7.1
12
+
13
+ - Update valid subdivisions to CLDR 38.1
14
+
15
+ ### 2.7.0
16
+
17
+ - Update valid subdivisions to CLDR 38
18
+ - Loosen Ruby dependency to allow Ruby 3.0
19
+
3
20
  ### 2.6.0
4
21
 
5
22
  - Emoji 13.1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unicode-emoji (2.6.0)
4
+ unicode-emoji (2.8.0)
5
5
  unicode-version (~> 1.0)
6
6
 
7
7
  GEM
@@ -26,4 +26,4 @@ DEPENDENCIES
26
26
  unicode-emoji!
27
27
 
28
28
  BUNDLED WITH
29
- 2.1.4
29
+ 2.2.13
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,4 +1,4 @@
1
- # Unicode::Emoji [![[version]](https://badge.fury.io/rb/unicode-emoji.svg)](https://badge.fury.io/rb/unicode-emoji) [![[travis]](https://travis-ci.org/janlelis/unicode-emoji.svg)](https://travis-ci.org/janlelis/unicode-emoji)
1
+ # Unicode::Emoji [![[version]](https://badge.fury.io/rb/unicode-emoji.svg)](https://badge.fury.io/rb/unicode-emoji) [![[ci]](https://github.com/janlelis/unicode-emoji/workflows/Test/badge.svg)](https://github.com/janlelis/unicode-emoji/actions?query=workflow%3ATest)
2
2
 
3
3
  Provides Unicode Emoji data and regexes, incorporating the latest Unicode and Emoji standards.
4
4
 
@@ -6,11 +6,11 @@ Also includes a categorized list of recommended Emoji.
6
6
 
7
7
  Emoji version: **13.1** (September 2020)
8
8
 
9
- CLDR version (used for sub-region flags): **37** (April 2020)
9
+ CLDR version (used for sub-region flags): **39** (April 2021)
10
10
 
11
- Supported Rubies: **2.7**, **2.6**, **2.5**
11
+ Supported Rubies: **3.0**, **2.7**
12
12
 
13
- No longer supported Rubies, but might still work: **2.4**, **2.3**
13
+ No longer supported Rubies, but might still work: **2.6**, **2.5**, **2.4**, **2.3**
14
14
 
15
15
  If you are stuck on an older Ruby version, checkout the latest [0.9 version](https://rubygems.org/gems/unicode-emoji/versions/0.9.3) of this gem.
16
16
 
@@ -60,7 +60,7 @@ Regex | Description | Example Matches | Example Non-Matc
60
60
  - If you want broader matching (e.g. more sub-regions), choose `REGEX_VALID`
61
61
  - If you even want to match for invalid sequences, too, use `REGEX_WELL_FORMED`
62
62
 
63
- Please see [the standard](http://www.unicode.org/reports/tr51/#Emoji_Sets) for details.
63
+ Please see [the standard](https://www.unicode.org/reports/tr51/#Emoji_Sets) for details.
64
64
 
65
65
  Property | `REGEX` (RGI / Recommended) | `REGEX_VALID` (Valid) | `REGEX_WELL_FORMED` (Well-formed)
66
66
  ---------|-----------------------------|-----------------------|----------------------------------
@@ -72,7 +72,7 @@ Tag Sequence "😴󠁧󠁒󠁑󠁑󠁑󠁿" | No | No | Yes
72
72
  ZWJ Sequence "πŸ€ΎπŸ½β€β™€οΈ" | Yes | Yes | Yes
73
73
  ZWJ Sequence "πŸ€ β€πŸ€’" | No | Yes | Yes
74
74
 
75
- More info about valid vs. recommended Emoji in this [blog article on Emojipedia](http://blog.emojipedia.org/unicode-behind-the-curtain/).
75
+ More info about valid vs. recommended Emoji in this [blog article on Emojipedia](https://blog.emojipedia.org/unicode-behind-the-curtain/).
76
76
 
77
77
  #### Singleton Regexes
78
78
 
@@ -148,5 +148,5 @@ Unicode::Emoji.properties "☝" # => ["Emoji", "Emoji_Modifier_Base"]
148
148
 
149
149
  ## MIT
150
150
 
151
- - Copyright (C) 2017-2020 Jan Lelis <https://janlelis.com>. Released under the MIT license.
151
+ - Copyright (C) 2017-2021 Jan Lelis <https://janlelis.com>. Released under the MIT license.
152
152
  - Unicode data: https://www.unicode.org/copyright.html#Exhibit1
data/Rakefile CHANGED
@@ -32,6 +32,6 @@ 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
+ ruby "spec/unicode_emoji_spec.rb"
36
36
  end
37
37
  task default: :spec
Binary file
@@ -2,9 +2,9 @@
2
2
 
3
3
  module Unicode
4
4
  module Emoji
5
- VERSION = "2.6.0"
6
- EMOJI_VERSION = "13.1"
7
- CLDR_VERSION = "37"
5
+ VERSION = "2.9.0"
6
+ EMOJI_VERSION = "14.0"
7
+ CLDR_VERSION = "39"
8
8
  DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/").freeze
9
9
  INDEX_FILENAME = (DATA_DIRECTORY + "/emoji.marshal.gz").freeze
10
10
  end
@@ -103,6 +103,11 @@ describe Unicode::Emoji do
103
103
  "❀️‍πŸ”₯ heart on fire" =~ Unicode::Emoji::REGEX
104
104
  assert_equal "❀️‍πŸ”₯", $&
105
105
  end
106
+
107
+ it "matches 14.0 emoji" do
108
+ "πŸͺΊ nest with eggs" =~ Unicode::Emoji::REGEX
109
+ assert_equal "πŸͺΊ", $&
110
+ end
106
111
  end
107
112
 
108
113
  describe "REGEX_VALID" do
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.required_ruby_version = "~> 2.3"
20
+ gem.required_ruby_version = ">= 2.3", "< 4.0"
21
21
 
22
22
  gem.add_dependency "unicode-version", "~> 1.0"
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-emoji
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.9.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-09-21 00:00:00.000000000 Z
11
+ date: 2021-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unicode-version
@@ -24,7 +24,7 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
- description: "[Emoji 13.1] A small Ruby library which provides Unicode Emoji data
27
+ description: "[Emoji 14.0] A small Ruby library which provides Unicode Emoji data
28
28
  and regexes, incorporating the latest Unicode and Emoji standards. Includes a categorized
29
29
  list of recommended Emoji."
30
30
  email:
@@ -34,7 +34,6 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - ".gitignore"
37
- - ".travis.yml"
38
37
  - CHANGELOG.md
39
38
  - CODE_OF_CONDUCT.md
40
39
  - Gemfile
@@ -58,16 +57,19 @@ require_paths:
58
57
  - lib
59
58
  required_ruby_version: !ruby/object:Gem::Requirement
60
59
  requirements:
61
- - - "~>"
60
+ - - ">="
62
61
  - !ruby/object:Gem::Version
63
62
  version: '2.3'
63
+ - - "<"
64
+ - !ruby/object:Gem::Version
65
+ version: '4.0'
64
66
  required_rubygems_version: !ruby/object:Gem::Requirement
65
67
  requirements:
66
68
  - - ">="
67
69
  - !ruby/object:Gem::Version
68
70
  version: '0'
69
71
  requirements: []
70
- rubygems_version: 3.1.2
72
+ rubygems_version: 3.2.3
71
73
  signing_key:
72
74
  specification_version: 4
73
75
  summary: Retrieve Emoji data about Unicode codepoints.
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.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
- - rvm: truffleruby-20.2.0
20
- # fast_finish: true