letter_avatar 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/letter_avatar/configuration.rb +8 -8
- data/lib/letter_avatar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3b849f44e2670439f8e2376988f5335c83b707a
|
4
|
+
data.tar.gz: bc4738796c5f67cadce646504e6813d92a73153f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 094ef5142742c6682c3c88f106b6ee7714e31a665c1836bd7a7df62d9a954a4f9ab368f4c9947ba6d4dfb45242f65baed1fadf381bdfc51484c80398c5644708
|
7
|
+
data.tar.gz: de3823851c9412247abb68a7249a961ff0d2d8afa09b264acc6fa92c11e2bb79dc181f9c479d37bc7307cbd2f1b2cdf681fea58f7d9949c429134850d12231bb
|
@@ -4,35 +4,35 @@ module LetterAvatar
|
|
4
4
|
module Configuration
|
5
5
|
|
6
6
|
def cache_base_path
|
7
|
-
|
7
|
+
@cache_base_path
|
8
8
|
end
|
9
9
|
|
10
10
|
def cache_base_path=(v)
|
11
|
-
|
11
|
+
@cache_base_path = v
|
12
12
|
end
|
13
13
|
|
14
14
|
def colors_palette
|
15
|
-
|
15
|
+
@colors_palette ||= :google
|
16
16
|
end
|
17
17
|
|
18
18
|
def colors_palette=(v)
|
19
|
-
|
19
|
+
@colors_palette = v if v.in?(Colors::PALETTES)
|
20
20
|
end
|
21
21
|
|
22
22
|
def weight
|
23
|
-
|
23
|
+
@weight ||= 300
|
24
24
|
end
|
25
25
|
|
26
26
|
def weight=(v)
|
27
|
-
|
27
|
+
@weight = v
|
28
28
|
end
|
29
29
|
|
30
30
|
def annotate_position
|
31
|
-
|
31
|
+
@annotate_position ||= '-0+5'
|
32
32
|
end
|
33
33
|
|
34
34
|
def annotate_position=(v)
|
35
|
-
|
35
|
+
@annotate_position = v
|
36
36
|
end
|
37
37
|
|
38
38
|
end
|