applicious_utils 0.1.84 → 0.1.85

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module AppliciousUtils
2
- VERSION = "0.1.84"
2
+ VERSION = "0.1.85"
3
3
  end
@@ -51,7 +51,16 @@ module AppliciousUtils
51
51
  var applicious_uploader = new plupload.Uploader({
52
52
  preinit : {
53
53
  UploadFile: function(up, file) {
54
- up.settings.multipart_params.key = '#{filename_token}.' + file.name.split('.').pop();
54
+ up.settings.multipart_params: {
55
+ 'key': '#{filename_token}.' + file.name.split('.').pop(),
56
+ 'Filename': '#{filename_token}.' + file.name.split('.').pop(), // adding this to keep consistency across the runtimes
57
+ 'acl': '#{options[:acl]}',
58
+ 'Content-Type': '#{options[:content_type]}',
59
+ 'success_action_status': '201',
60
+ 'AWSAccessKeyId' : '#{access_key_id}',
61
+ 'policy': '#{policy}',
62
+ 'signature': '#{signature}'
63
+ },
55
64
  }
56
65
  },
57
66
 
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.84
4
+ version: 0.1.85
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: