applicious_utils 0.1.64 → 0.1.65
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.
|
@@ -18,7 +18,7 @@ class AppliciousUploader extends AppliciousCore
|
|
|
18
18
|
|
|
19
19
|
@UploadObj.bind 'UploadProgress', (up, file) =>
|
|
20
20
|
root.appliciousUploaderUploadProgress up, file
|
|
21
|
-
|
|
21
|
+
#@log 'UploadProgress', up, file
|
|
22
22
|
|
|
23
23
|
@UploadObj.bind 'FileUploaded', (up, file) =>
|
|
24
24
|
root.appliciousUploaderFileUploaded up, file
|
|
@@ -5,12 +5,6 @@ module AppliciousUtils
|
|
|
5
5
|
# Derived from https://github.com/iwasrobbed/Rails3-S3-Uploader-Plupload
|
|
6
6
|
|
|
7
7
|
def applicious_uploader(options)
|
|
8
|
-
puts 'Options'
|
|
9
|
-
puts options.inspect
|
|
10
|
-
puts options[:filter_extensions]
|
|
11
|
-
puts options[:content_type]
|
|
12
|
-
puts options[:filter_title]
|
|
13
|
-
|
|
14
8
|
options[:s3_config_filename] ||= Rails.root.join('config', 'amazon_s3.yml')
|
|
15
9
|
config = YAML.load_file(options[:s3_config_filename])[Rails.env].symbolize_keys
|
|
16
10
|
bucket = config[:bucket_name]
|