somemoji 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/lib/somemoji/emoji_extractors/emoji_one_emoji_extractor.rb +1 -1
- data/lib/somemoji/emoji_extractors/noto_emoji_extractor.rb +1 -1
- data/lib/somemoji/emoji_extractors/twemoji_emoji_extractor.rb +5 -2
- data/lib/somemoji/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a292683f22e36fb3bc583485d4fc45cb4428c0dc
|
4
|
+
data.tar.gz: 8417fa48fe1b657e1aea4250d464f1b7be345574
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6474e43e218ef6a7ff9e2bd12cba0fd8813c71c92c0e73ded16f7d264a9cea64c85d51a656c02cb2ad9a99b87df1788c27a25e224c592a71db93a8bdedb99378
|
7
|
+
data.tar.gz: 671058cf710edd556f663434e3c9d70bb733621ea297130197dbbc84f5845d20db6b839d6892dd0fa12ed1c5f42785b5a1374bf3e27aea9c961de4997a9b2e66
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Somemoji
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/somemoji.svg)](https://
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/somemoji.svg)](https://rubygems.org/gems/somemoji)
|
4
|
+
[![CircleCI](https://img.shields.io/circleci/project/r7kamura/somemoji.svg)](https://circleci.com/gh/r7kamura/somemoji)
|
4
5
|
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/github/r7kamura/somemoji)
|
5
|
-
[![CircleCI](https://circleci.com/gh/r7kamura/somemoji.svg?style=svg)](https://circleci.com/gh/r7kamura/somemoji)
|
6
6
|
|
7
7
|
A grand unified emoji mapper for some emoji providers.
|
8
8
|
|
@@ -18,7 +18,7 @@ module Somemoji
|
|
18
18
|
|
19
19
|
# @note Implementation for Somemoji::EmojiExtractors::DownloadableEmojiExtractor
|
20
20
|
def emojis
|
21
|
-
::Somemoji.emoji_one_emoji_collection
|
21
|
+
::Somemoji.emoji_one_emoji_collection
|
22
22
|
end
|
23
23
|
|
24
24
|
# @note Implementation for Somemoji::EmojiExtractors::DownloadableEmojiExtractor
|
@@ -16,7 +16,7 @@ module Somemoji
|
|
16
16
|
|
17
17
|
# @note Implementation for Somemoji::EmojiExtractors::DownloadableEmojiExtractor
|
18
18
|
def emojis
|
19
|
-
::Somemoji.noto_emoji_collection
|
19
|
+
::Somemoji.noto_emoji_collection
|
20
20
|
end
|
21
21
|
|
22
22
|
# @note Implementation for Somemoji::EmojiExtractors::DownloadableEmojiExtractor
|
@@ -16,12 +16,15 @@ module Somemoji
|
|
16
16
|
|
17
17
|
# @note Implementation for Somemoji::EmojiExtractors::DownloadableEmojiExtractor
|
18
18
|
def emojis
|
19
|
-
::Somemoji.emoji_one_emoji_collection
|
19
|
+
::Somemoji.emoji_one_emoji_collection
|
20
20
|
end
|
21
21
|
|
22
22
|
# @note Implementation for Somemoji::EmojiExtractors::DownloadableEmojiExtractor
|
23
23
|
def find_remote_emoji_path(emoji)
|
24
|
-
|
24
|
+
basenames = emoji.code_points.map do |code_point|
|
25
|
+
code_point.to_i(16).to_s(16)
|
26
|
+
end
|
27
|
+
"/twitter/twemoji/v2.2.1/#{directory_name}/#{basenames.join('-')}.#{extension}"
|
25
28
|
end
|
26
29
|
|
27
30
|
# @note Implementation for Somemoji::EmojiExtractors::DownloadableEmojiExtractor
|
data/lib/somemoji/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: somemoji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gemoji
|