Compare commits

...

13 Commits

Author SHA1 Message Date
Kristján Oddsson
55bb37afa4 gemoji 4.0.0.rc3 2021-07-26 12:08:11 +01:00
Kristján Oddsson
64cd0e9ccf Merge pull request #209 from imageneratext/master
Import Emoji 13.1 characters
2021-07-26 12:00:14 +01:00
franciscorode
0f2f9ce047 Import Emoji 13.1 characters 2021-04-17 21:37:45 +02:00
Mislav Marohnić
b1c7878afe Change envelope and email alias (#185) 2020-10-07 17:08:43 +02:00
Job
ce6c4ab12a Changed canonical alias for email emoji 2020-08-26 09:49:07 +02:00
Job
4c47a26900 Added email tag to envelope for compatibility 2020-08-20 11:59:49 +02:00
Job
2a97e7e98c Fix indent 2020-08-20 11:57:23 +02:00
Job
f6fa963350 Move email alias from envelope to e-mail 2020-08-20 11:53:04 +02:00
Mislav Marohnić
2eb30abcd1 Merge pull request #181 from PurpleBooth/piñata-to-pinata
Safely transliterate international characters for aliases
2020-07-31 17:19:59 +02:00
Mislav Marohnić
59ef859169 Set up CI via GitHub Actions (#183) 2020-07-31 17:15:15 +02:00
Billie Thompson
be99618db3 Convert none ascii characters safely to their ASCII representation
Relates-to: github/gemoji#180
2020-07-30 22:06:23 +02:00
Kristján Oddsson
3675a8781f Merge pull request #182 from PurpleBooth/only-pinjata
Remove underscore from Pinata
2020-07-30 10:48:03 +01:00
Billie Thompson
7f6550fe73 Remove underscore from Pinata
Relates-to: github/gemoji#180
2020-07-30 08:46:57 +02:00
8 changed files with 4773 additions and 4194 deletions

34
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Test
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: ["2.3", "2.4", "2.5", "2.6", "2.7"]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
- uses: actions/cache@v2
with:
path: vendor/bundle
key: bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('Gemfile') }}
restore-keys: |
bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}-
- name: Install dependencies
run: bundle install --path vendor/bundle --jobs 4
- name: Run tests
run: bundle exec rake

View File

@@ -2,5 +2,6 @@ source "https://rubygems.org"
gem "rake", "~> 10.3.2"
gem "minitest", "~> 5.3.5"
gem "i18n", "~> 1.8.5"
gemspec

25
Gemfile.lock Normal file
View File

@@ -0,0 +1,25 @@
PATH
remote: .
specs:
gemoji (4.0.0.rc3)
GEM
remote: https://rubygems.org/
specs:
concurrent-ruby (1.1.7)
i18n (1.8.5)
concurrent-ruby (~> 1.0)
minitest (5.3.5)
rake (10.3.2)
PLATFORMS
ruby
DEPENDENCIES
gemoji!
i18n (~> 1.8.5)
minitest (~> 5.3.5)
rake (~> 10.3.2)
BUNDLED WITH
2.0.2

View File

@@ -20,5 +20,5 @@ namespace :db do
end
file 'vendor/unicode-emoji-test.txt' do |t|
system 'curl', '-fsSL', 'http://unicode.org/Public/emoji/13.0/emoji-test.txt', '-o', t.name
system 'curl', '-fsSL', 'http://unicode.org/Public/emoji/13.1/emoji-test.txt', '-o', t.name
end

View File

@@ -1,9 +1,11 @@
# frozen_string_literal: true
require "i18n"
require 'emoji'
require 'json'
require_relative './emoji-test-parser'
I18n.config.available_locales = :en
items = []
_, categories = EmojiTestParser.parse(File.expand_path("../../vendor/unicode-emoji-test.txt", __FILE__))
@@ -34,10 +36,10 @@ for category in categories
)
else
output_item.update(
aliases: [description.gsub(/\W+/, '_').downcase],
aliases: [I18n.transliterate(description).gsub(/\W+/, '_').downcase],
tags: [],
unicode_version: "13.0",
ios_version: "14.0",
unicode_version: "13.1",
ios_version: "14.5",
)
end
output_item[:skin_tones] = true if emoji_item[:skin_tones]

View File

@@ -487,6 +487,18 @@
, "unicode_version": "6.0"
, "ios_version": "6.0"
}
, {
"emoji": "😶‍🌫️"
, "description": "face in clouds"
, "category": "Smileys & Emotion"
, "aliases": [
"face_in_clouds"
]
, "tags": [
]
, "unicode_version": "13.1"
, "ios_version": "14.0"
}
, {
"emoji": "😏"
, "description": "smirking face"
@@ -537,6 +549,18 @@
, "unicode_version": "6.1"
, "ios_version": "6.0"
}
, {
"emoji": "😮‍💨"
, "description": "face exhaling"
, "category": "Smileys & Emotion"
, "aliases": [
"face_exhaling"
]
, "tags": [
]
, "unicode_version": "13.1"
, "ios_version": "14.0"
}
, {
"emoji": "🤥"
, "description": "lying face"
@@ -739,7 +763,7 @@
}
, {
"emoji": "😵"
, "description": "dizzy face"
, "description": "knocked-out face"
, "category": "Smileys & Emotion"
, "aliases": [
"dizzy_face"
@@ -749,6 +773,18 @@
, "unicode_version": "6.0"
, "ios_version": "6.0"
}
, {
"emoji": "😵‍💫"
, "description": "face with spiral eyes"
, "category": "Smileys & Emotion"
, "aliases": [
"face_with_spiral_eyes"
]
, "tags": [
]
, "unicode_version": "13.1"
, "ios_version": "14.0"
}
, {
"emoji": "🤯"
, "description": "exploding head"
@@ -1681,6 +1717,30 @@
, "unicode_version": "6.0"
, "ios_version": "6.0"
}
, {
"emoji": "❤️‍🔥"
, "description": "heart on fire"
, "category": "Smileys & Emotion"
, "aliases": [
"heart_on_fire"
]
, "tags": [
]
, "unicode_version": "13.1"
, "ios_version": "14.0"
}
, {
"emoji": "❤️‍🩹"
, "description": "mending heart"
, "category": "Smileys & Emotion"
, "aliases": [
"mending_heart"
]
, "tags": [
]
, "unicode_version": "13.1"
, "ios_version": "14.0"
}
, {
"emoji": "❤️"
, "description": "red heart"
@@ -2768,7 +2828,7 @@
}
, {
"emoji": "🧔"
, "description": "man: beard"
, "description": "person: beard"
, "category": "People & Body"
, "aliases": [
"bearded_person"
@@ -2779,6 +2839,32 @@
, "ios_version": "12.1"
, "skin_tones": true
}
, {
"emoji": "🧔‍♂️"
, "description": "man: beard"
, "category": "People & Body"
, "aliases": [
"man_beard"
]
, "tags": [
]
, "unicode_version": "13.1"
, "ios_version": "14.0"
, "skin_tones": true
}
, {
"emoji": "🧔‍♀️"
, "description": "woman: beard"
, "category": "People & Body"
, "aliases": [
"woman_beard"
]
, "tags": [
]
, "unicode_version": "13.1"
, "ios_version": "14.0"
, "skin_tones": true
}
, {
"emoji": "👨‍🦰"
, "description": "man: red hair"
@@ -4429,8 +4515,8 @@
, "description": "woman with veil"
, "category": "People & Body"
, "aliases": [
"woman_with_veil",
"bride_with_veil"
"woman_with_veil"
, "bride_with_veil"
]
, "tags": [
]
@@ -6138,6 +6224,7 @@
]
, "unicode_version": "6.0"
, "ios_version": "6.0"
, "skin_tones": true
}
, {
"emoji": "👩‍❤️‍💋‍👨"
@@ -6150,6 +6237,7 @@
]
, "unicode_version": "11.0"
, "ios_version": "12.1"
, "skin_tones": true
}
, {
"emoji": "👨‍❤️‍💋‍👨"
@@ -6162,6 +6250,7 @@
]
, "unicode_version": "6.0"
, "ios_version": "8.3"
, "skin_tones": true
}
, {
"emoji": "👩‍❤️‍💋‍👩"
@@ -6174,6 +6263,7 @@
]
, "unicode_version": "6.0"
, "ios_version": "8.3"
, "skin_tones": true
}
, {
"emoji": "💑"
@@ -6186,6 +6276,7 @@
]
, "unicode_version": "6.0"
, "ios_version": "6.0"
, "skin_tones": true
}
, {
"emoji": "👩‍❤️‍👨"
@@ -6198,6 +6289,7 @@
]
, "unicode_version": "11.0"
, "ios_version": "12.1"
, "skin_tones": true
}
, {
"emoji": "👨‍❤️‍👨"
@@ -6210,6 +6302,7 @@
]
, "unicode_version": "6.0"
, "ios_version": "8.3"
, "skin_tones": true
}
, {
"emoji": "👩‍❤️‍👩"
@@ -6222,6 +6315,7 @@
]
, "unicode_version": "6.0"
, "ios_version": "8.3"
, "skin_tones": true
}
, {
"emoji": "👪"
@@ -13228,7 +13322,7 @@
}
, {
"emoji": "🎯"
, "description": "direct hit"
, "description": "bullseye"
, "category": "Activities"
, "aliases": [
"dart"
@@ -13396,7 +13490,7 @@
, "description": "piñata"
, "category": "Activities"
, "aliases": [
"pi_ata"
"pinata"
]
, "tags": [
]
@@ -15291,11 +15385,11 @@
, "description": "envelope"
, "category": "Objects"
, "aliases": [
"email"
, "envelope"
"envelope"
]
, "tags": [
"letter"
, "email"
]
, "unicode_version": ""
, "ios_version": "6.0"
@@ -15305,7 +15399,8 @@
, "description": "e-mail"
, "category": "Objects"
, "aliases": [
"e-mail"
"email"
, "e-mail"
]
, "tags": [
]
@@ -15988,7 +16083,7 @@
}
, {
"emoji": "🔫"
, "description": "pistol"
, "description": "water pistol"
, "category": "Objects"
, "aliases": [
"gun"
@@ -18017,7 +18112,7 @@
}
, {
"emoji": "❓"
, "description": "question mark"
, "description": "red question mark"
, "category": "Symbols"
, "aliases": [
"question"
@@ -18054,7 +18149,7 @@
}
, {
"emoji": "❗"
, "description": "exclamation mark"
, "description": "red exclamation mark"
, "category": "Symbols"
, "aliases": [
"exclamation"

View File

@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "gemoji"
s.version = "4.0.0.rc2"
s.version = "4.0.0.rc3"
s.summary = "Unicode emoji library"
s.description = "Character information and metadata for Unicode emoji."

View File

File diff suppressed because it is too large Load Diff