s3_direct_upload 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,6 +52,7 @@ $.fn.S3Uploader = (options) ->
52
52
  $.post(to, content)
53
53
 
54
54
  data.context.remove() if data.context && settings.remove_completed_progress_bar # remove progress bar
55
+ $uploadForm.trigger("s3_upload_complete", [content])
55
56
 
56
57
  current_files.splice($.inArray(data, current_files), 1) # remove that element from the array
57
58
  $uploadForm.trigger("s3_uploads_complete", [content]) unless current_files.length
@@ -72,7 +73,7 @@ $.fn.S3Uploader = (options) ->
72
73
 
73
74
  data[1].value = settings.path + data[1].value #the key
74
75
  data
75
-
76
+
76
77
  build_content_object = ($uploadForm, file, result) ->
77
78
  content = {}
78
79
  if result # Use the S3 response to set the URL to avoid character encodings bugs
@@ -1,3 +1,3 @@
1
1
  module S3DirectUpload
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3_direct_upload
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -107,7 +107,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  segments:
109
109
  - 0
110
- hash: 865831684437857007
110
+ hash: 4000764443118203735
111
111
  required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  none: false
113
113
  requirements:
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  version: '0'
117
117
  segments:
118
118
  - 0
119
- hash: 865831684437857007
119
+ hash: 4000764443118203735
120
120
  requirements: []
121
121
  rubyforge_project:
122
122
  rubygems_version: 1.8.23