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 CHANGED
@@ -1,3 +1,6 @@
1
+ 2008-08-25 Norman Clarke <norman@randomba.org>
2
+ * Fixed bad call to resize_to in view helper.
3
+
1
4
  2008-08-19 Norman Clarke <norman@randomba.org>
2
5
  * Made storage work more correctly with tempfiles.
3
6
 
@@ -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.9
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-19 00:00:00 -03:00
12
+ date: 2008-08-25 00:00:00 -03:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency