sequel_paperclip 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.2
1
+ 0.4.3
@@ -80,15 +80,15 @@ module Sequel
80
80
  send("#{name}_basename=", basename)
81
81
 
82
82
  if respond_to?("#{name}_filename")
83
- send("#{name}_filename=", basename+File.extname(file.original_filename).downcase)
83
+ send("#{name}_filename=", basename+File.extname(value.original_filename).downcase)
84
84
  end
85
85
 
86
86
  if respond_to?("#{name}_filesize")
87
- send("#{name}_filesize=", file.size)
87
+ send("#{name}_filesize=", value.size)
88
88
  end
89
89
 
90
90
  if respond_to?("#{name}_originalname")
91
- send("#{name}_originalname=", file.original_filename)
91
+ send("#{name}_originalname=", value.original_filename)
92
92
  end
93
93
  else
94
94
  send("#{name}_basename=", nil)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sequel_paperclip}
8
- s.version = "0.4.2"
8
+ s.version = "0.4.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Corin Langosch"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 2
9
- version: 0.4.2
8
+ - 3
9
+ version: 0.4.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Corin Langosch