avatars_for_rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/avatars_for_rails.gemspec +1 -1
- data/lib/avatars_for_rails.rb +2 -2
- metadata +3 -3
data/avatars_for_rails.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
# project in your rails apps through git.
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "avatars_for_rails"
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.3"
|
6
6
|
s.authors = ["Jaime Castro Montero"]
|
7
7
|
s.summary = "Avatar manager for rails apps."
|
8
8
|
s.description = "A Rails engine that allows any model to act as avatarable, permitting it to have a complete avatar manager with a few options."
|
data/lib/avatars_for_rails.rb
CHANGED
@@ -4,7 +4,7 @@ require 'paperclip'
|
|
4
4
|
|
5
5
|
module AvatarsForRails
|
6
6
|
|
7
|
-
|
7
|
+
autoload :AvatarsControllerConfig, 'avatars_for_rails/avatars_controller_config'
|
8
8
|
|
9
9
|
mattr_accessor :avatarable_model
|
10
10
|
|
@@ -18,7 +18,7 @@ module AvatarsForRails
|
|
18
18
|
|
19
19
|
config.to_prepare do
|
20
20
|
AvatarsController.class_eval do
|
21
|
-
|
21
|
+
include AvatarsForRails::AvatarsControllerConfig
|
22
22
|
include AvatarsControllerConfig
|
23
23
|
end
|
24
24
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avatars_for_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jaime Castro Montero
|