emojidex 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cce7cdec00c3b23bc7059ed49502254c99dee5e2
|
4
|
+
data.tar.gz: 86a5d7ea935890221337d2ac46e54d84c1e3a149
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0fde5f83a4bf1a471082985b2355bdd0790e3d9587b85a2c94054deefabcfcdaf8e761b3e3d2ac67fd81751711a331c83056ca2f97a48c9880af829b58d8673
|
7
|
+
data.tar.gz: 7e8d26c3b1dfd7128609e421c3bd5d55fcd880a9ecdfd09b0fd948439dcf4f80867e837c0815ae22e6c84c49e9f32246b2fbf4070401fe8950e245bfb2365241
|
data/emojidex.gemspec
CHANGED
@@ -12,6 +12,9 @@ module Emojidex
|
|
12
12
|
moji.combinations.each do |combo|
|
13
13
|
combo.checksums = get_combo_checksums(moji, combo, formats, sizes)
|
14
14
|
end
|
15
|
+
moji.customizations.each do |combo|
|
16
|
+
combo.checksums = get_combo_checksums(moji, combo, formats, sizes)
|
17
|
+
end
|
15
18
|
end
|
16
19
|
end
|
17
20
|
|
@@ -26,8 +26,18 @@ module Emojidex
|
|
26
26
|
|
27
27
|
def add_customization(combo)
|
28
28
|
_check_and_init_combinations
|
29
|
-
|
30
|
-
@customizations.
|
29
|
+
added = false
|
30
|
+
@customizations.each do |customization|
|
31
|
+
if (customization.base == combo.base) &&
|
32
|
+
(customization.component_layer_order == combo.component_layer_order)
|
33
|
+
for i in 0..(customization.components.length - 1)
|
34
|
+
customization.components[i] = customization.components[i] | combo.components[i]
|
35
|
+
end
|
36
|
+
added = true
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
@customizations << combo unless added
|
31
41
|
end
|
32
42
|
|
33
43
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emojidex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rei Kagetsuki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|