avatars_for_rails 1.0.4 → 1.0.5
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: a00ea4e71fcfb0bd96379a0b7851159e1f9e9e34
|
4
|
+
data.tar.gz: 72bdad08ead506e571b0fab9e052dffdd4b82105
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b4942db4dea98f864a37fb46ae4640be3eef6f65f704713eebe5c69053ec2bfa4912ff5c479331ad5d4465ec358ad7b1998a2630369fe85d2b6e64bab80bb7e
|
7
|
+
data.tar.gz: 65176188b768530bc6cb7ece499817db860ef9326f25f790433d4c5fafdd35ae27cf143a70ff9a784469793aa307426245552af1b48f90e77516c32530953723
|
data/lib/avatars_for_rails.rb
CHANGED
@@ -13,7 +13,7 @@ module AvatarsForRails
|
|
13
13
|
|
14
14
|
# The method to get the avatarable in the controller
|
15
15
|
mattr_accessor :controller_avatarable
|
16
|
-
@@
|
16
|
+
@@controller_avatarable = [ :current_user ]
|
17
17
|
|
18
18
|
# The default styles that will be generated
|
19
19
|
mattr_accessor :avatarable_styles
|
@@ -3,7 +3,7 @@ AvatarsForRails.setup do |config|
|
|
3
3
|
# config.controller_filters = [ :authenticate_user! ]
|
4
4
|
|
5
5
|
# The method to get the avatarable in the controller
|
6
|
-
# config.
|
6
|
+
# config.controller_avatarable = [ :current_user ]
|
7
7
|
|
8
8
|
# The default styles that will be generated
|
9
9
|
# config.avatarable_styles = { small: '50x50',
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avatars_for_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jaime Castro Montero
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jquery-rails
|