blueimp-file-upload-rails 8.5.0 → 8.6.1
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.
- checksums.yaml +4 -4
- data/{vendor → app}/assets/images/loading.gif +0 -0
- data/{vendor → app}/assets/images/progressbar.gif +0 -0
- data/{vendor → app}/assets/javascripts/blueimp-file-upload-basic-plus-ui.js +0 -0
- data/{vendor → app}/assets/javascripts/cors/jquery.postmessage-transport.js +0 -0
- data/{vendor → app}/assets/javascripts/cors/jquery.xdr-transport.js +0 -0
- data/{vendor → app}/assets/javascripts/jquery.fileupload-angular.js +4 -2
- data/{vendor → app}/assets/javascripts/jquery.fileupload-audio.js +4 -11
- data/{vendor → app}/assets/javascripts/jquery.fileupload-image.js +4 -11
- data/{vendor → app}/assets/javascripts/jquery.fileupload-process.js +0 -0
- data/{vendor → app}/assets/javascripts/jquery.fileupload-ui.js +0 -0
- data/{vendor → app}/assets/javascripts/jquery.fileupload-validate.js +0 -0
- data/{vendor → app}/assets/javascripts/jquery.fileupload-video.js +4 -11
- data/{vendor → app}/assets/javascripts/jquery.fileupload.js +2 -2
- data/{vendor → app}/assets/javascripts/jquery.iframe-transport.js +0 -0
- data/{vendor → app}/assets/stylesheets/blueimp-file-upload.css +0 -0
- data/{vendor → app}/assets/stylesheets/jquery.fileupload-ui-noscript.css +0 -0
- data/{vendor → app}/assets/stylesheets/jquery.fileupload-ui.css.erb +0 -0
- data/lib/blueimp-file-upload-rails/version.rb +1 -1
- metadata +19 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ac4ce577d2cce5ea2da30624a542252ffe0f21d
|
4
|
+
data.tar.gz: 5848cd19228a2c8827443fd7c1eb8920d85552f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f45b95954d0979c02ea82201f0d4f47404daa6921c95b58c45864f0a63765a2719843abfbacd1562f45fc985c7439751ee9b748089d3b7607d099ce96cb46194
|
7
|
+
data.tar.gz: fdd80cb2e371bd4ff370357951cb5ee26fff27929c79f19007172dd032483f7d943e1a074c67e55e1e6b26e1f26a690f2c525cae67785e5f58d8d6019d0341cd
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* jQuery File Upload AngularJS Plugin 1.4.
|
2
|
+
* jQuery File Upload AngularJS Plugin 1.4.1
|
3
3
|
* https://github.com/blueimp/jQuery-File-Upload
|
4
4
|
*
|
5
5
|
* Copyright 2013, Sebastian Tschan
|
@@ -296,7 +296,9 @@
|
|
296
296
|
'fileuploadprocessalways',
|
297
297
|
'fileuploadprocessstop'
|
298
298
|
].join(' '), function (e, data) {
|
299
|
-
$scope.$emit(e.type, data)
|
299
|
+
if ($scope.$emit(e.type, data).defaultPrevented) {
|
300
|
+
e.preventDefault();
|
301
|
+
}
|
300
302
|
}).on('remove', function () {
|
301
303
|
// Remove upload methods from the scope,
|
302
304
|
// when the widget is removed:
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* jQuery File Upload Audio Preview Plugin 1.0.
|
2
|
+
* jQuery File Upload Audio Preview Plugin 1.0.3
|
3
3
|
* https://github.com/blueimp/jQuery-File-Upload
|
4
4
|
*
|
5
5
|
* Copyright 2013, Sebastian Tschan
|
@@ -35,9 +35,6 @@
|
|
35
35
|
$.blueimp.fileupload.prototype.options.processQueue.unshift(
|
36
36
|
{
|
37
37
|
action: 'loadAudio',
|
38
|
-
// Always trigger this action,
|
39
|
-
// even if the previous action was rejected:
|
40
|
-
always: true,
|
41
38
|
// Use the action as prefix for the "@" options:
|
42
39
|
prefix: true,
|
43
40
|
fileTypes: '@',
|
@@ -73,9 +70,7 @@
|
|
73
70
|
if (options.disabled) {
|
74
71
|
return data;
|
75
72
|
}
|
76
|
-
var
|
77
|
-
file = data.files[data.index],
|
78
|
-
dfd = $.Deferred(),
|
73
|
+
var file = data.files[data.index],
|
79
74
|
url,
|
80
75
|
audio;
|
81
76
|
if (this._audioElement.canPlayType &&
|
@@ -90,12 +85,10 @@
|
|
90
85
|
audio.src = url;
|
91
86
|
audio.controls = true;
|
92
87
|
data.audio = audio;
|
93
|
-
|
94
|
-
return dfd.promise();
|
88
|
+
return data;
|
95
89
|
}
|
96
90
|
}
|
97
|
-
|
98
|
-
return dfd.promise();
|
91
|
+
return data;
|
99
92
|
},
|
100
93
|
|
101
94
|
// Sets the audio element as a property of the file object:
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* jQuery File Upload Image Preview & Resize Plugin 1.2.
|
2
|
+
* jQuery File Upload Image Preview & Resize Plugin 1.2.3
|
3
3
|
* https://github.com/blueimp/jQuery-File-Upload
|
4
4
|
*
|
5
5
|
* Copyright 2013, Sebastian Tschan
|
@@ -39,9 +39,6 @@
|
|
39
39
|
$.blueimp.fileupload.prototype.options.processQueue.unshift(
|
40
40
|
{
|
41
41
|
action: 'loadImageMetaData',
|
42
|
-
// Always trigger this action,
|
43
|
-
// even if the previous action was rejected:
|
44
|
-
always: true,
|
45
42
|
disableImageHead: '@',
|
46
43
|
disableExif: '@',
|
47
44
|
disableExifThumbnail: '@',
|
@@ -79,9 +76,6 @@
|
|
79
76
|
},
|
80
77
|
{
|
81
78
|
action: 'resizeImage',
|
82
|
-
// Always trigger this action,
|
83
|
-
// even if the previous action was rejected:
|
84
|
-
always: true,
|
85
79
|
// Use "preview" as prefix for the "@" options:
|
86
80
|
prefix: 'preview',
|
87
81
|
maxWidth: '@',
|
@@ -154,15 +148,14 @@
|
|
154
148
|
!loadImage(
|
155
149
|
file,
|
156
150
|
function (img) {
|
157
|
-
if (
|
158
|
-
|
151
|
+
if (img.src) {
|
152
|
+
data.img = img;
|
159
153
|
}
|
160
|
-
data.img = img;
|
161
154
|
dfd.resolveWith(that, [data]);
|
162
155
|
},
|
163
156
|
options
|
164
157
|
)) {
|
165
|
-
|
158
|
+
return data;
|
166
159
|
}
|
167
160
|
return dfd.promise();
|
168
161
|
},
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* jQuery File Upload Video Preview Plugin 1.0.
|
2
|
+
* jQuery File Upload Video Preview Plugin 1.0.3
|
3
3
|
* https://github.com/blueimp/jQuery-File-Upload
|
4
4
|
*
|
5
5
|
* Copyright 2013, Sebastian Tschan
|
@@ -35,9 +35,6 @@
|
|
35
35
|
$.blueimp.fileupload.prototype.options.processQueue.unshift(
|
36
36
|
{
|
37
37
|
action: 'loadVideo',
|
38
|
-
// Always trigger this action,
|
39
|
-
// even if the previous action was rejected:
|
40
|
-
always: true,
|
41
38
|
// Use the action as prefix for the "@" options:
|
42
39
|
prefix: true,
|
43
40
|
fileTypes: '@',
|
@@ -73,9 +70,7 @@
|
|
73
70
|
if (options.disabled) {
|
74
71
|
return data;
|
75
72
|
}
|
76
|
-
var
|
77
|
-
file = data.files[data.index],
|
78
|
-
dfd = $.Deferred(),
|
73
|
+
var file = data.files[data.index],
|
79
74
|
url,
|
80
75
|
video;
|
81
76
|
if (this._videoElement.canPlayType &&
|
@@ -90,12 +85,10 @@
|
|
90
85
|
video.src = url;
|
91
86
|
video.controls = true;
|
92
87
|
data.video = video;
|
93
|
-
|
94
|
-
return dfd.promise();
|
88
|
+
return data;
|
95
89
|
}
|
96
90
|
}
|
97
|
-
|
98
|
-
return dfd.promise();
|
91
|
+
return data;
|
99
92
|
},
|
100
93
|
|
101
94
|
// Sets the video element as a property of the file object:
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* jQuery File Upload Plugin 5.32.
|
2
|
+
* jQuery File Upload Plugin 5.32.1
|
3
3
|
* https://github.com/blueimp/jQuery-File-Upload
|
4
4
|
*
|
5
5
|
* Copyright 2010, Sebastian Tschan
|
@@ -32,7 +32,7 @@
|
|
32
32
|
$.support.fileInput = !(new RegExp(
|
33
33
|
// Handle devices which give false positives for the feature detection:
|
34
34
|
'(Android (1\\.[0156]|2\\.[01]))' +
|
35
|
-
'|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)' +
|
35
|
+
'|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)' +
|
36
36
|
'|(w(eb)?OSBrowser)|(webOS)' +
|
37
37
|
'|(Kindle/(1\\.0|2\\.[05]|3\\.0))'
|
38
38
|
).test(window.navigator.userAgent) ||
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blueimp-file-upload-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Tschan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -112,23 +112,23 @@ extra_rdoc_files: []
|
|
112
112
|
files:
|
113
113
|
- lib/blueimp-file-upload-rails.rb
|
114
114
|
- lib/blueimp-file-upload-rails/version.rb
|
115
|
-
-
|
116
|
-
-
|
117
|
-
-
|
118
|
-
-
|
119
|
-
-
|
120
|
-
-
|
121
|
-
-
|
122
|
-
-
|
123
|
-
-
|
124
|
-
-
|
125
|
-
-
|
126
|
-
-
|
127
|
-
-
|
128
|
-
-
|
129
|
-
-
|
130
|
-
-
|
131
|
-
-
|
115
|
+
- app/assets/images/loading.gif
|
116
|
+
- app/assets/images/progressbar.gif
|
117
|
+
- app/assets/javascripts/blueimp-file-upload-basic-plus-ui.js
|
118
|
+
- app/assets/javascripts/cors/jquery.postmessage-transport.js
|
119
|
+
- app/assets/javascripts/cors/jquery.xdr-transport.js
|
120
|
+
- app/assets/javascripts/jquery.fileupload-angular.js
|
121
|
+
- app/assets/javascripts/jquery.fileupload-audio.js
|
122
|
+
- app/assets/javascripts/jquery.fileupload-image.js
|
123
|
+
- app/assets/javascripts/jquery.fileupload-process.js
|
124
|
+
- app/assets/javascripts/jquery.fileupload-ui.js
|
125
|
+
- app/assets/javascripts/jquery.fileupload-validate.js
|
126
|
+
- app/assets/javascripts/jquery.fileupload-video.js
|
127
|
+
- app/assets/javascripts/jquery.fileupload.js
|
128
|
+
- app/assets/javascripts/jquery.iframe-transport.js
|
129
|
+
- app/assets/stylesheets/blueimp-file-upload.css
|
130
|
+
- app/assets/stylesheets/jquery.fileupload-ui-noscript.css
|
131
|
+
- app/assets/stylesheets/jquery.fileupload-ui.css.erb
|
132
132
|
- app/models/blueimp/file_upload/file.rb
|
133
133
|
- app/views/blueimp/_file_upload.html.erb
|
134
134
|
- app/views/blueimp/_file_upload_templates.html.erb
|