el_finder 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -244,7 +244,7 @@ module ElFinder
244
244
  else
245
245
  dst = @current + @options[:original_filename_method].call(file)
246
246
  src = file.respond_to?(:tempfile) ? file.tempfile.path : file.path
247
- FileUtils.mv(file.path, dst.fullpath)
247
+ FileUtils.mv(src, dst.fullpath)
248
248
  FileUtils.chmod @options[:upload_file_mode], dst
249
249
  select << to_hash(dst)
250
250
  end
@@ -1,5 +1,5 @@
1
1
  # Represents ElFinder namespace.
2
2
  module ElFinder
3
3
  # Gem version.
4
- VERSION = '1.1.2'
4
+ VERSION = '1.1.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: el_finder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
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-11-22 00:00:00.000000000 Z
12
+ date: 2012-11-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: image_size