woody-decorators 1.0.1 → 1.1.0
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: ac5b2ac5ee363283a16f62ebc06cdd69ad75efdc
|
4
|
+
data.tar.gz: 6635ae3788919d976b66f314f6685ed7adc059cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ecc6e4c67865b8a82559157c645926e7468fccbfd943a1aaaefb0e554ef5ade34112a7da62eac5e9fee4b1948a9c94a4e6952848bf755bd4e1f5f12ad2d00d7
|
7
|
+
data.tar.gz: d5771a1be8fa965b9813def86b1997e83206299e04a5e33844a0fc370bc2bfece60a979f9eac2913ea8856956e7d379e9d0d9706a993f8759ed30f6d44f49b1b
|
data/lib/woody/decorators.rb
CHANGED
@@ -38,14 +38,14 @@ module Woody
|
|
38
38
|
r = rand(1..default_avatars)
|
39
39
|
format(
|
40
40
|
"%s/%s/%s/00%d.png",
|
41
|
-
@config.s3_domain, @config.
|
41
|
+
@config.s3_domain, @config.public_s3_bucket, @config.s3_avatar_path, r
|
42
42
|
)
|
43
43
|
end
|
44
44
|
|
45
45
|
def user_avatar
|
46
46
|
format(
|
47
47
|
"%s/%s/%s/%s.png",
|
48
|
-
@config.s3_domain, @config.
|
48
|
+
@config.s3_domain, @config.public_s3_bucket, @config.s3_avatar_path, id
|
49
49
|
)
|
50
50
|
end
|
51
51
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: woody-decorators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|