photofy 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/photofy.rb +1 -1
  2. metadata +3 -3
@@ -61,7 +61,7 @@ module Photofy
61
61
  end
62
62
 
63
63
  define_method "#{@photo_field}_persisted?" do
64
- (@file_buffer.nil? and File.exist?(send("#{self.class.photo_field}_path")))
64
+ (@file_buffer.nil? and File.file?(send("#{self.class.photo_field}_path")))
65
65
  end
66
66
 
67
67
  define_method "#{@photo_field}_store!" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: photofy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-27 00:00:00.000000000 Z
12
+ date: 2012-02-27 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: ! "A gem to provide simple method to do fileupload of pictures and provides
15
15
  getter setter methods of it and save on model object commit.\n #Generates photo
@@ -46,7 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
46
46
  version: '0'
47
47
  requirements: []
48
48
  rubyforge_project:
49
- rubygems_version: 1.8.24
49
+ rubygems_version: 1.8.10
50
50
  signing_key:
51
51
  specification_version: 3
52
52
  summary: Photofy