el_finder 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,6 +16,7 @@ module ElFinder
16
16
  :disabled_commands => [],
17
17
  :allow_dot_files => true,
18
18
  :upload_max_size => '50M',
19
+ :upload_file_mode => 0644,
19
20
  :archivers => {},
20
21
  :extractors => {},
21
22
  :home => 'Home',
@@ -210,6 +211,7 @@ module ElFinder
210
211
  @params[:upload].to_a.each do |file|
211
212
  dst = @current + @options[:original_filename_method].call(file)
212
213
  FileUtils.mv(file.path, dst.fullpath)
214
+ FileUtils.chmod @options[:upload_file_mode], dst
213
215
  select << to_hash(dst)
214
216
  end
215
217
  @response[:select] = select
@@ -1,3 +1,3 @@
1
1
  module ElFinder
2
- VERSION = '1.0.11'
2
+ VERSION = '1.0.12'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: el_finder
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 11
10
- version: 1.0.11
9
+ - 12
10
+ version: 1.0.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Philip Hallstrom
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-02 00:00:00 -08:00
18
+ date: 2011-03-04 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency