jquery.fileupload-rails 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Readme.md +2 -0
- data/jquery.fileupload-rails.gemspec +1 -1
- data/vendor/assets/javascripts/jquery.fileupload.js +12 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ba3def84aaf253857ac5d6b97d5ec7972b06e17
|
4
|
+
data.tar.gz: 7d6ab39c52a6023a6d4e274ec7f05793e85d8600
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf1b23d3b4cd589c30adb6f080871f859ab0d02652ad9818bef8c9719649636283bec25514c9d093272677da1d11470b583afc6b366c42e90c8ef86d5f64c1d7
|
7
|
+
data.tar.gz: 00726559ee983ff61dbaca0cd99602d61675e0fd860d49a8e8d2d7d39d60f47725126aedf133563762cff8ad151e9a718faeee6f98d3cfe4760bb207e86b3f13
|
data/Readme.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
//= require jquery.iframe-transport
|
3
3
|
|
4
4
|
/*
|
5
|
-
* jQuery File Upload Plugin 5.40.
|
5
|
+
* jQuery File Upload Plugin 5.40.1
|
6
6
|
* https://github.com/blueimp/jQuery-File-Upload
|
7
7
|
*
|
8
8
|
* Copyright 2010, Sebastian Tschan
|
@@ -1310,15 +1310,21 @@
|
|
1310
1310
|
|
1311
1311
|
_initDataAttributes: function () {
|
1312
1312
|
var that = this,
|
1313
|
-
options = this.options
|
1313
|
+
options = this.options,
|
1314
|
+
clone = $(this.element[0].cloneNode(false));
|
1314
1315
|
// Initialize options set via HTML5 data-attributes:
|
1315
1316
|
$.each(
|
1316
|
-
|
1317
|
+
clone.data(),
|
1317
1318
|
function (key, value) {
|
1318
|
-
|
1319
|
-
|
1319
|
+
var dataAttributeName = 'data-' +
|
1320
|
+
// Convert camelCase to hyphen-ated key:
|
1321
|
+
key.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
1322
|
+
if (clone.attr(dataAttributeName)) {
|
1323
|
+
if (that._isRegExpOption(key, value)) {
|
1324
|
+
value = that._getRegExp(value);
|
1325
|
+
}
|
1326
|
+
options[key] = value;
|
1320
1327
|
}
|
1321
|
-
options[key] = value;
|
1322
1328
|
}
|
1323
1329
|
);
|
1324
1330
|
},
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery.fileupload-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Semyon Perepelitsa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
version: '0'
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.2.
|
109
|
+
rubygems_version: 2.2.2
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: Use jQuery File Upload plugin with Rails 3
|