has_image 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG +3 -0
  2. data/lib/has_image.rb +1 -1
  3. metadata +2 -2
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ 2008-08-29 Norman Clarke <norman@randomba.org>
2
+ * Fixed bad call to has_image_file
3
+
1
4
  2008-08-28 Norman Clarke <norman@randomba.org>
2
5
  * Added ability to regenerate a model's thumbnails.
3
6
  * Changed a few methods in storage to accept the model rather than the id.
@@ -236,7 +236,7 @@ module HasImage
236
236
  def update_images
237
237
  return if storage.temp_file.blank?
238
238
  remove_images
239
- update_attribute(:has_image_file, storage.install_images(has_image_id))
239
+ update_attribute(:has_image_file, storage.install_images(self))
240
240
  end
241
241
 
242
242
  # Processes and installs the image and its thumbnails.
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.2.0
4
+ version: 0.2.1
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-28 00:00:00 -03:00
12
+ date: 2008-08-29 00:00:00 -03:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency