applicious_utils 0.1.92 → 0.1.93

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.
@@ -1,3 +1,3 @@
1
1
  module AppliciousUtils
2
- VERSION = "0.1.92"
2
+ VERSION = "0.1.93"
3
3
  end
@@ -50,12 +50,19 @@ module AppliciousUtils
50
50
  var applicious_uploader = new plupload.Uploader({
51
51
  preinit : {
52
52
  UploadFile: function(up, file) {
53
- up.settings.multipart_params.key = 'uploads/#{filename_token}.' + file.name.split('.').pop();
54
- up.settings.multipart_params.Filename = 'uploads/#{filename_token}.' + file.name.split('.').pop();
53
+ up.settings.multipart_params: {
54
+ 'key': 'uploads/#{filename_token}.' + file.name.split('.').pop(),
55
+ 'Filename': 'uploads/#{filename_token}.' + file.name.split('.').pop(),
56
+ 'acl': '#{options[:acl]}',
57
+ 'Content-Type': '#{options[:content_type]}',
58
+ 'success_action_status': '201',
59
+ 'AWSAccessKeyId' : '#{access_key_id}',
60
+ 'policy': '#{policy}',
61
+ 'signature': '#{signature}'
62
+ }
55
63
  }
56
64
  },
57
65
 
58
-
59
66
  runtimes : 'flash,silverlight',
60
67
  browse_button : '#{options[:button_id]}',
61
68
  max_file_size : '500mb',
@@ -67,6 +74,7 @@ module AppliciousUtils
67
74
  //resize : {width : 320, height : 240, quality : 90},
68
75
 
69
76
  multipart: true,
77
+ /*
70
78
  multipart_params: {
71
79
  'acl': '#{options[:acl]}',
72
80
  'Content-Type': '#{options[:content_type]}',
@@ -75,6 +83,7 @@ module AppliciousUtils
75
83
  'policy': '#{policy}',
76
84
  'signature': '#{signature}'
77
85
  },
86
+ */
78
87
  filters : [
79
88
  {title : '#{options[:filter_title]}', extensions : '#{options[:filter_extensions]}'}
80
89
  ],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: applicious_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.92
4
+ version: 0.1.93
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: