has_image 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/lib/has_image/view_helpers.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
@@ -27,7 +27,7 @@ module HasImage
|
|
27
27
|
size = object.class.thumbnails[thumb.to_sym]
|
28
28
|
options[:size] = size if size =~ /\A[\d]*x[\d]*\Z/
|
29
29
|
else
|
30
|
-
size = object.class.resize_to
|
30
|
+
size = object.class.has_image_options[:resize_to]
|
31
31
|
options[:size] = size if size =~ /\A[\d]*x[\d]*\Z/
|
32
32
|
end
|
33
33
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_image
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Norman Clarke
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-08-
|
12
|
+
date: 2008-08-25 00:00:00 -03:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|