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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9204688c02e7450be481699ce1444f6b2966ee20
4
- data.tar.gz: c398c6963a4e691f2bd64c10cd33a9fb943753c3
3
+ metadata.gz: 500b79a2c1025cd3b481a5dbdbf123c3dd64a119
4
+ data.tar.gz: c68c574848685eda80e719630e394d9311c8052c
5
5
  SHA512:
6
- metadata.gz: e2f4beac1e132008e2c7ce68767f1eebfeabdb2899d95a8eec6d0c944972b907908407a3648a42fc9d010c69999bc7a1b278c82569df557a4ee917b6d61d42bf
7
- data.tar.gz: d6a497d83bbcb0ce9886cafa3ccfea81af4b4eb518700283bd57b7d1a4699ed973fa735e605ac04effa2ac0d154bc667f92ba712b8c2e645d6432fc3f79e5ef4
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.0'
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 = @vector_source_path = @raster_source_path = File.expand_path(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.0
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: '2.2'
111
+ version: 2.2.3
112
112
  required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="