emojidex 0.3.0 → 0.3.1
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 +4 -4
- data/emojidex.gemspec +2 -2
- data/lib/emojidex/data/collection.rb +3 -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: 500b79a2c1025cd3b481a5dbdbf123c3dd64a119
|
4
|
+
data.tar.gz: c68c574848685eda80e719630e394d9311c8052c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c16ddcb65af42047e19bac2f28a9e1badcc4782f2bbece986c2424dffa262cf8e4f0bc1a0b5cd5876cde2858cbb20edf3c28fda70391b2cda38a2b3eafe61e64
|
7
|
+
data.tar.gz: 0b201da0e4fa2c41e24725eb7d5da1b8a2028483b5a7a919dddc6a339274e001256bab43dc17cd2f16d6793667490a64d6169c75c6693cd88a61e66692d3e67c
|
data/emojidex.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'emojidex'
|
3
|
-
s.version = '0.3.
|
3
|
+
s.version = '0.3.1'
|
4
4
|
s.license = 'emojiOL'
|
5
5
|
s.summary = 'emojidex Ruby tools'
|
6
6
|
s.description = 'emojidex emoji handling, search and lookup, listing and caching functionality' \
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.email = 'info@emojidex.com'
|
10
10
|
s.homepage = 'http://developer.emojidex.com'
|
11
11
|
|
12
|
-
s.required_ruby_version = '>= 2.2'
|
12
|
+
s.required_ruby_version = '>= 2.2.3'
|
13
13
|
s.files = Dir.glob('emoji/**/*') +
|
14
14
|
Dir.glob('lib/**/*.rb') +
|
15
15
|
['emojidex.gemspec']
|
@@ -37,7 +37,9 @@ module Emojidex
|
|
37
37
|
|
38
38
|
# Loads an emoji collection on local storage
|
39
39
|
def load_local_collection(path)
|
40
|
-
@source_path =
|
40
|
+
@source_path = File.expand_path(path)
|
41
|
+
@vector_source_path = @source_path if @vector_source_path.nil?
|
42
|
+
@raster_source_path = @source_path if @raster_source_path.nil?
|
41
43
|
json = IO.read(@source_path + '/emoji.json')
|
42
44
|
list = JSON.parse(json, symbolize_names: true)
|
43
45
|
add_emoji(list)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emojidex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rei Kagetsuki
|
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
108
|
requirements:
|
109
109
|
- - ">="
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
111
|
+
version: 2.2.3
|
112
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - ">="
|