avatars_for_rails 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  <br class="clearfloat" />
2
2
 
3
- <% @avatar.errors.each do |error| %>
4
- <%= error[1]%><br/><br/>
5
- <% end %>
3
+ <% unless @avatar.logo.errors["invalid_type"].blank?%>
4
+ <%= @avatar.logo.errors["invalid_type"]%>
5
+ <% end %>
@@ -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.6"
5
+ s.version = "0.0.7"
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."
@@ -134,4 +134,7 @@ form.file_upload button,
134
134
 
135
135
  .file_upload .ui-widget {
136
136
  font-size: 1em;
137
+ }
138
+ .files{
139
+ margin-left: 20px;
137
140
  }
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: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jaime Castro Montero