discourse-emojis 1.0.31 → 1.0.32
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbcb6ea0bfbe9d50e7d5d027f48b7e8e80a6c8ffed85fb43d13b82a34831e6a1
|
4
|
+
data.tar.gz: 3c4866c54b8b11af4707e0fe3b8ccfd43cbb0ce6764864e9d4db83ee7d776c85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b061bf995a84fc1a3e9166c3f3c3b5d9b1959f8cc4880b5eb3ded36ff22b36969d6c3470c901cfabd69d0ab48c1d05d3b3d9b762bd9aa2581a596d0c1d9ad669
|
7
|
+
data.tar.gz: 614014efe1e3dd99e96b222d5cae8f5a1246577a9b1de2342c69130ed1d425163e41718af8ea30262bef6d0ff4ad273ed922f71419f5efe4574238f5ed2442a7
|
data/dist/search_aliases.json
CHANGED
@@ -1914,7 +1914,9 @@
|
|
1914
1914
|
"running",
|
1915
1915
|
"smoke"
|
1916
1916
|
],
|
1917
|
-
"hole": [
|
1917
|
+
"hole": [
|
1918
|
+
|
1919
|
+
],
|
1918
1920
|
"speech_balloon": [
|
1919
1921
|
"balloon",
|
1920
1922
|
"bubble",
|
@@ -7140,7 +7142,9 @@
|
|
7140
7142
|
"snow",
|
7141
7143
|
"snow-capped"
|
7142
7144
|
],
|
7143
|
-
"mountain": [
|
7145
|
+
"mountain": [
|
7146
|
+
|
7147
|
+
],
|
7144
7148
|
"volcano": [
|
7145
7149
|
"eruption",
|
7146
7150
|
"mountain",
|
@@ -7152,12 +7156,16 @@
|
|
7152
7156
|
"mountain",
|
7153
7157
|
"nature"
|
7154
7158
|
],
|
7155
|
-
"camping": [
|
7159
|
+
"camping": [
|
7160
|
+
|
7161
|
+
],
|
7156
7162
|
"beach_with_umbrella": [
|
7157
7163
|
"beach",
|
7158
7164
|
"umbrella"
|
7159
7165
|
],
|
7160
|
-
"desert": [
|
7166
|
+
"desert": [
|
7167
|
+
|
7168
|
+
],
|
7161
7169
|
"desert_island": [
|
7162
7170
|
"desert",
|
7163
7171
|
"island"
|
@@ -7166,7 +7174,9 @@
|
|
7166
7174
|
"national",
|
7167
7175
|
"park"
|
7168
7176
|
],
|
7169
|
-
"stadium": [
|
7177
|
+
"stadium": [
|
7178
|
+
|
7179
|
+
],
|
7170
7180
|
"classical_building": [
|
7171
7181
|
"building",
|
7172
7182
|
"classical"
|
@@ -7353,7 +7363,9 @@
|
|
7353
7363
|
"religion",
|
7354
7364
|
"umrah"
|
7355
7365
|
],
|
7356
|
-
"fountain": [
|
7366
|
+
"fountain": [
|
7367
|
+
|
7368
|
+
],
|
7357
7369
|
"tent": [
|
7358
7370
|
"camping"
|
7359
7371
|
],
|
@@ -9690,7 +9702,9 @@
|
|
9690
9702
|
"fax",
|
9691
9703
|
"machine"
|
9692
9704
|
],
|
9693
|
-
"battery": [
|
9705
|
+
"battery": [
|
9706
|
+
|
9707
|
+
],
|
9694
9708
|
"low_battery": [
|
9695
9709
|
"battery",
|
9696
9710
|
"drained",
|
@@ -9931,7 +9945,9 @@
|
|
9931
9945
|
"school",
|
9932
9946
|
"study"
|
9933
9947
|
],
|
9934
|
-
"notebook": [
|
9948
|
+
"notebook": [
|
9949
|
+
|
9950
|
+
],
|
9935
9951
|
"ledger": [
|
9936
9952
|
"notebook"
|
9937
9953
|
],
|
@@ -10190,7 +10206,9 @@
|
|
10190
10206
|
"ballot",
|
10191
10207
|
"box"
|
10192
10208
|
],
|
10193
|
-
"pencil": [
|
10209
|
+
"pencil": [
|
10210
|
+
|
10211
|
+
],
|
10194
10212
|
"black_nib": [
|
10195
10213
|
"black",
|
10196
10214
|
"nib",
|
@@ -10206,7 +10224,9 @@
|
|
10206
10224
|
"paintbrush": [
|
10207
10225
|
"painting"
|
10208
10226
|
],
|
10209
|
-
"crayon": [
|
10227
|
+
"crayon": [
|
10228
|
+
|
10229
|
+
],
|
10210
10230
|
"memo": [
|
10211
10231
|
"communication",
|
10212
10232
|
"media",
|
@@ -10298,7 +10318,9 @@
|
|
10298
10318
|
"pushpin",
|
10299
10319
|
"round"
|
10300
10320
|
],
|
10301
|
-
"paperclip": [
|
10321
|
+
"paperclip": [
|
10322
|
+
|
10323
|
+
],
|
10302
10324
|
"linked_paperclips": [
|
10303
10325
|
"link",
|
10304
10326
|
"linked",
|
@@ -3,10 +3,9 @@
|
|
3
3
|
require "nokogiri"
|
4
4
|
require "base64"
|
5
5
|
require "fileutils"
|
6
|
-
require_relative "constants"
|
7
6
|
|
8
7
|
module DiscourseEmojis
|
9
|
-
# The
|
8
|
+
# The UnicodeEmojiProcessor processes HTML files containing emoji data from the Unicode consortium.
|
10
9
|
# It extracts emoji images and their skin tones variations from base64-encoded images in
|
11
10
|
# the HTML files and saves them to the appropriate directories in the project's emoji system.
|
12
11
|
#
|
@@ -14,7 +13,7 @@ module DiscourseEmojis
|
|
14
13
|
# 1. emoji-list.html - Contains base emoji images
|
15
14
|
# 2. emoji-modifier-sequences.html - Contains emoji variations (e.g., skin tones)
|
16
15
|
|
17
|
-
class
|
16
|
+
class UnicodeEmojiProcessor
|
18
17
|
UNICODE_EMOJI_DIR = "dist/emoji/unicode"
|
19
18
|
EMOJI_LIST_FILE = "vendor/emoji-list.html"
|
20
19
|
EMOJI_MODIFIER_FILE = "vendor/emoji-modifier-sequences.html"
|
data/lib/discourse_emojis.rb
CHANGED
@@ -1,21 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "fileutils"
|
4
|
-
require "tmpdir"
|
5
|
-
require "json"
|
6
|
-
require "zip"
|
7
|
-
require "open-uri"
|
8
|
-
|
9
3
|
require_relative File.join(File.dirname(__FILE__), "discourse_emojis", "version")
|
10
|
-
require_relative "discourse_emojis/constants"
|
11
|
-
require_relative "discourse_emojis/zip_processor"
|
12
|
-
require_relative "discourse_emojis/emoji_synchronizer"
|
13
|
-
require_relative "discourse_emojis/unicode_emoji_extractor"
|
14
|
-
require_relative "discourse_emojis/codepoints_emoji_processor"
|
15
|
-
require_relative "discourse_emojis/fluentui_emoji_processor"
|
16
|
-
require_relative "discourse_emojis/emoji_alias_creator"
|
17
|
-
require_relative "discourse_emojis/utils"
|
18
|
-
|
19
4
|
require_relative "discourse_emojis/railtie" if defined?(Rails)
|
20
5
|
|
21
6
|
module DiscourseEmojis
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: discourse-emojis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.32
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joffrey Jaffeux
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-06 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: rake
|
@@ -23,48 +23,6 @@ dependencies:
|
|
23
23
|
- - "~>"
|
24
24
|
- !ruby/object:Gem::Version
|
25
25
|
version: '13.0'
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: rubyzip
|
28
|
-
requirement: !ruby/object:Gem::Requirement
|
29
|
-
requirements:
|
30
|
-
- - "~>"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '2.4'
|
33
|
-
type: :development
|
34
|
-
prerelease: false
|
35
|
-
version_requirements: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '2.4'
|
40
|
-
- !ruby/object:Gem::Dependency
|
41
|
-
name: nokogiri
|
42
|
-
requirement: !ruby/object:Gem::Requirement
|
43
|
-
requirements:
|
44
|
-
- - "~>"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: '1.8'
|
47
|
-
type: :development
|
48
|
-
prerelease: false
|
49
|
-
version_requirements: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '1.8'
|
54
|
-
- !ruby/object:Gem::Dependency
|
55
|
-
name: selenium-webdriver
|
56
|
-
requirement: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '4.25'
|
61
|
-
type: :development
|
62
|
-
prerelease: false
|
63
|
-
version_requirements: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '4.25'
|
68
26
|
description: Bundle of emojis sets for Discourse
|
69
27
|
email: joffrey.jaffeux@discourse.org
|
70
28
|
executables: []
|
@@ -24402,7 +24360,7 @@ files:
|
|
24402
24360
|
- lib/discourse_emojis/emoji_synchronizer.rb
|
24403
24361
|
- lib/discourse_emojis/fluentui_emoji_processor.rb
|
24404
24362
|
- lib/discourse_emojis/railtie.rb
|
24405
|
-
- lib/discourse_emojis/
|
24363
|
+
- lib/discourse_emojis/unicode_emoji_processor.rb
|
24406
24364
|
- lib/discourse_emojis/utils.rb
|
24407
24365
|
- lib/discourse_emojis/version.rb
|
24408
24366
|
- lib/discourse_emojis/zip_processor.rb
|