emojidex-static-collector 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/emojidex-static-collector.gemspec +2 -2
- data/lib/emojidex_static_collector.rb +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ede36112045c05b57ec97d13135afb20106da54d
|
4
|
+
data.tar.gz: 716b0078e08cbfd0acc4ce44e3108c7b48ed2b33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef8a36d945426711abefe8adac3f378c1469d85a1a846dfb140b3a085769e93f30f2f887c6af31bd1881e9263901151ff5c80301811bbdad36e89d273c7188ac
|
7
|
+
data.tar.gz: 0cfbb9d554038f295c148375f73407f56150ec347f2b4ebd296372786b8b5cf1444da68ea0a78b399d3c87fb16721742b5a23fbd6d246a961c3b52e38f08d7e6
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'emojidex-static-collector'
|
3
|
-
s.version = '0.
|
3
|
+
s.version = '0.3.0'
|
4
4
|
s.license = 'emojiOL'
|
5
5
|
s.summary = 'Create static collections from emojidex assets'
|
6
6
|
s.description = 'Generates PNG rasters from emojidex vectors in a ' \
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.executables << 'emojidex-static-collector'
|
15
15
|
s.homepage = 'http://developer.emojidex.com'
|
16
16
|
|
17
|
-
s.add_dependency 'emojidex', '~> 0.3', '~> 0.3.
|
17
|
+
s.add_dependency 'emojidex', '~> 0.3', '~> 0.3.4'
|
18
18
|
s.add_dependency 'emojidex-vectors', '~> 1.0'
|
19
19
|
s.add_dependency 'emojidex-converter', '~> 0.3'
|
20
20
|
end
|
@@ -9,8 +9,8 @@ require 'fileutils'
|
|
9
9
|
# Generates static collections of emojidex assets
|
10
10
|
class EmojidexStaticCollector
|
11
11
|
def initialize
|
12
|
-
@utf = Emojidex::Data::UTF.new
|
13
|
-
@extended = Emojidex::Data::Extended.new
|
12
|
+
@utf = Emojidex::Data::UTF.new(r18: true)
|
13
|
+
@extended = Emojidex::Data::Extended.new(r18: true)
|
14
14
|
@categories = Emojidex::Data::Categories.new
|
15
15
|
end
|
16
16
|
|
@@ -30,7 +30,7 @@ class EmojidexStaticCollector
|
|
30
30
|
cache_dir = File.join(path, '.cache')
|
31
31
|
@utf.cache(cache_path: cache_dir, formats: [:svg])
|
32
32
|
@extended.cache(cache_path: cache_dir, formats: [:svg]) unless utf_only
|
33
|
-
collection = Emojidex::Data::Collection.new(local_load_path: "#{cache_dir}/emoji")
|
33
|
+
collection = Emojidex::Data::Collection.new(local_load_path: "#{cache_dir}/emoji", r18: true)
|
34
34
|
if categorized
|
35
35
|
_generate_categories(collection, path, size, code_type)
|
36
36
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emojidex-static-collector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rei Kagetsuki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: emojidex
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '0.3'
|
20
20
|
- - "~>"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.3.
|
22
|
+
version: 0.3.4
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '0.3'
|
30
30
|
- - "~>"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.3.
|
32
|
+
version: 0.3.4
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: emojidex-vectors
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|