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.
- data/lib/el_finder/connector.rb +2 -0
- data/lib/el_finder/version.rb +1 -1
- metadata +4 -4
data/lib/el_finder/connector.rb
CHANGED
|
@@ -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
|
data/lib/el_finder/version.rb
CHANGED
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:
|
|
4
|
+
hash: 15
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
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-
|
|
18
|
+
date: 2011-03-04 00:00:00 -08:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|