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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6adcf631452c47ccdb6e77de595811bf972f91de
4
- data.tar.gz: 4c5f444c83d9b32c035bead3d50c618306ae0775
3
+ metadata.gz: f3b849f44e2670439f8e2376988f5335c83b707a
4
+ data.tar.gz: bc4738796c5f67cadce646504e6813d92a73153f
5
5
  SHA512:
6
- metadata.gz: ecd96dc6fb72e9ed31806eff4d1c958a874da5d2e180e048579d7fb26984f3569d731082efd65f04ffeffd1a66866a5f60215cf46650f33608890b5b88ec3494
7
- data.tar.gz: 8643f2ee02c117abe8afcd1dc87c16080431f83c1b80dfd06aa6520601296f6ab8e796a7e23849e710e8754c7abf3df31334fa4bbb1a7dc89be2ad6567faddd8
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
- Thread.current[:cache_base_path]
7
+ @cache_base_path
8
8
  end
9
9
 
10
10
  def cache_base_path=(v)
11
- Thread.current[:cache_base_path] = v
11
+ @cache_base_path = v
12
12
  end
13
13
 
14
14
  def colors_palette
15
- Thread.current[:colors_palette] ||= :google
15
+ @colors_palette ||= :google
16
16
  end
17
17
 
18
18
  def colors_palette=(v)
19
- Thread.current[:colors_palette] = v if v.in?(Colors::PALETTES)
19
+ @colors_palette = v if v.in?(Colors::PALETTES)
20
20
  end
21
21
 
22
22
  def weight
23
- Thread.current[:weight] ||= 300
23
+ @weight ||= 300
24
24
  end
25
25
 
26
26
  def weight=(v)
27
- Thread.current[:weight] = v
27
+ @weight = v
28
28
  end
29
29
 
30
30
  def annotate_position
31
- Thread.current[:annotate_position] ||= '-0+5'
31
+ @annotate_position ||= '-0+5'
32
32
  end
33
33
 
34
34
  def annotate_position=(v)
35
- Thread.current[:annotate_position] = v
35
+ @annotate_position = v
36
36
  end
37
37
 
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module LetterAvatar
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: letter_avatar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - discourse developers