avatars_for_rails 1.0.5 → 1.0.6

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: a00ea4e71fcfb0bd96379a0b7851159e1f9e9e34
4
- data.tar.gz: 72bdad08ead506e571b0fab9e052dffdd4b82105
3
+ metadata.gz: df4a19bc0840c78f2e18f9505c209acba612a5b2
4
+ data.tar.gz: eb3a1d051f164871182ae10478fea1b65ca94e87
5
5
  SHA512:
6
- metadata.gz: 3b4942db4dea98f864a37fb46ae4640be3eef6f65f704713eebe5c69053ec2bfa4912ff5c479331ad5d4465ec358ad7b1998a2630369fe85d2b6e64bab80bb7e
7
- data.tar.gz: 65176188b768530bc6cb7ece499817db860ef9326f25f790433d4c5fafdd35ae27cf143a70ff9a784469793aa307426245552af1b48f90e77516c32530953723
6
+ metadata.gz: a001bd658dfa111f4e743d0a3c953630b60ba92ae80880d5ed0014173f4fc545d1f0d89901a11a647000fcb1f5f1ce627461a3248682e6a1f2889f2ade544896
7
+ data.tar.gz: 86b5c9e50a24193a26e90ecd02ca3090a071aa6c6ebe039d7686c9487330037001295ea065231373e385452ff304ae199303e86bfbdb79d08913f83c204681e5
data/README.rdoc CHANGED
@@ -36,7 +36,7 @@ In your model, you must include:
36
36
  end
37
37
 
38
38
  For rendering the new avatar form:
39
- <%= render :partial => 'form' %>
39
+ <%= render :partial => 'avatars/form' %>
40
40
 
41
41
  You must include the javascript and css files
42
42
 
@@ -1,3 +1,3 @@
1
1
  module AvatarsForRails
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
@@ -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
- @@controller_avatarable = [ :current_user ]
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.controller_avatarable = [ :current_user ]
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.5
4
+ version: 1.0.6
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-10 00:00:00.000000000 Z
12
+ date: 2013-05-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jquery-rails