jquery-fileupload-rails 0.4.3 → 0.4.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b54b6ac2f623bf8f479b7a450ef1d459a73db20c
4
- data.tar.gz: adfed8b39c3c5de027f9105b3d36350c7b049e71
3
+ metadata.gz: 7ab4cb8ac1ba54d195aa9c54319f0aaadceab04f
4
+ data.tar.gz: 7aba884fc16627269540aaf6f4bd68744a2edd8f
5
5
  SHA512:
6
- metadata.gz: 2551b4b416dbb0dab83ab3eb477587d8fd3e2720d039bc545da1baa2c1d386845f60a65976286a9af92a3341f538bcddbad344f13473732d6a87d2791cdafc35
7
- data.tar.gz: 99e32d895b0216269971d6cda0c3dd80054161a646ae038b5c85c6a9eed4084db1f80621c93a32a2c2a726fa5211d9556334f855dc8bc83322c43b68e50e90b2
6
+ metadata.gz: 8633b864411e62653813318fee0ac68bcff504a7037fc28613e0a244110b3f66e8c5841ad4bca3c8fb87099da38ea5ada8394a3e02157a61847d8bb9c6c2ea77
7
+ data.tar.gz: d005f316150fcac5dd5ed84d8085a2bf8cb75c24e9a44d3d4f35882e3c6a15089506c286b809fdbc0bc5f61063a36d08f680c61621d5b7406ea0e799a3f55de6
data/README.md CHANGED
@@ -6,9 +6,9 @@ jquery-fileupload-rails is a library that integrates jQuery File Upload for Rail
6
6
 
7
7
  ## Plugin versions
8
8
 
9
- * jQuery File Upload User Interface Plugin 9.6.0
10
- * jQuery File Upload Plugin 5.42.0
11
- * jQuery UI Widget 1.11.1
9
+ * jQuery File Upload User Interface Plugin 9.6.1
10
+ * jQuery File Upload Plugin 5.42.2
11
+ * jQuery UI Widget 1.11.1+CommonJS
12
12
 
13
13
  ## Installing Gem
14
14
 
@@ -20,11 +20,11 @@ Require jquery-fileupload in your app/assets/application.js file.
20
20
 
21
21
  //= require jquery-fileupload
22
22
 
23
- The snippet above will add the following js files to the mainfest file.
23
+ The snippet above will add the following js files to the manifest file.
24
24
 
25
25
  //= require jquery-fileupload/vendor/jquery.ui.widget
26
26
  //= require jquery-fileupload/vendor/tmpl
27
- //= require jquery-fileupload/vendor/load-image
27
+ //= require jquery-fileupload/vendor/load-image.all.min
28
28
  //= require jquery-fileupload/vendor/canvas-to-blob
29
29
  //= require jquery-fileupload/jquery.iframe-transport
30
30
  //= require jquery-fileupload/jquery.fileupload
@@ -1,5 +1,5 @@
1
1
  /*
2
- * jQuery postMessage Transport Plugin 1.1.1
2
+ * jQuery postMessage Transport Plugin 1.1.2
3
3
  * https://github.com/blueimp/jQuery-File-Upload
4
4
  *
5
5
  * Copyright 2011, Sebastian Tschan
@@ -9,13 +9,16 @@
9
9
  * http://www.opensource.org/licenses/MIT
10
10
  */
11
11
 
12
- /* global define, window, document */
12
+ /* global define, require, window, document */
13
13
 
14
14
  (function (factory) {
15
15
  'use strict';
16
16
  if (typeof define === 'function' && define.amd) {
17
17
  // Register as an anonymous AMD module:
18
18
  define(['jquery'], factory);
19
+ } else if (typeof exports === 'object') {
20
+ // Node/CommonJS:
21
+ factory(require('jquery'));
19
22
  } else {
20
23
  // Browser globals:
21
24
  factory(window.jQuery);
@@ -1,5 +1,5 @@
1
1
  /*
2
- * jQuery XDomainRequest Transport Plugin 1.1.3
2
+ * jQuery XDomainRequest Transport Plugin 1.1.4
3
3
  * https://github.com/blueimp/jQuery-File-Upload
4
4
  *
5
5
  * Copyright 2011, Sebastian Tschan
@@ -12,13 +12,16 @@
12
12
  * https://github.com/jaubourg/ajaxHooks/
13
13
  */
14
14
 
15
- /* global define, window, XDomainRequest */
15
+ /* global define, require, window, XDomainRequest */
16
16
 
17
17
  (function (factory) {
18
18
  'use strict';
19
19
  if (typeof define === 'function' && define.amd) {
20
20
  // Register as an anonymous AMD module:
21
21
  define(['jquery'], factory);
22
+ } else if (typeof exports === 'object') {
23
+ // Node/CommonJS:
24
+ factory(require('jquery'));
22
25
  } else {
23
26
  // Browser globals:
24
27
  factory(window.jQuery);
@@ -1,5 +1,5 @@
1
1
  /*
2
- * jQuery File Upload Audio Preview Plugin 1.0.3
2
+ * jQuery File Upload Audio Preview Plugin 1.0.4
3
3
  * https://github.com/blueimp/jQuery-File-Upload
4
4
  *
5
5
  * Copyright 2013, Sebastian Tschan
@@ -10,7 +10,7 @@
10
10
  */
11
11
 
12
12
  /* jshint nomen:false */
13
- /* global define, window, document */
13
+ /* global define, require, window, document */
14
14
 
15
15
  (function (factory) {
16
16
  'use strict';
@@ -21,6 +21,12 @@
21
21
  'load-image',
22
22
  './jquery.fileupload-process'
23
23
  ], factory);
24
+ } else if (typeof exports === 'object') {
25
+ // Node/CommonJS:
26
+ factory(
27
+ require('jquery'),
28
+ require('load-image')
29
+ );
24
30
  } else {
25
31
  // Browser globals:
26
32
  factory(
@@ -1,5 +1,5 @@
1
1
  /*
2
- * jQuery File Upload Image Preview & Resize Plugin 1.7.2
2
+ * jQuery File Upload Image Preview & Resize Plugin 1.7.3
3
3
  * https://github.com/blueimp/jQuery-File-Upload
4
4
  *
5
5
  * Copyright 2013, Sebastian Tschan
@@ -10,7 +10,7 @@
10
10
  */
11
11
 
12
12
  /* jshint nomen:false */
13
- /* global define, window, Blob */
13
+ /* global define, require, window, Blob */
14
14
 
15
15
  (function (factory) {
16
16
  'use strict';
@@ -25,6 +25,12 @@
25
25
  'canvas-to-blob',
26
26
  './jquery.fileupload-process'
27
27
  ], factory);
28
+ } else if (typeof exports === 'object') {
29
+ // Node/CommonJS:
30
+ factory(
31
+ require('jquery'),
32
+ require('load-image')
33
+ );
28
34
  } else {
29
35
  // Browser globals:
30
36
  factory(
@@ -1,5 +1,5 @@
1
1
  /*
2
- * jQuery File Upload jQuery UI Plugin 8.7.1
2
+ * jQuery File Upload jQuery UI Plugin 8.7.2
3
3
  * https://github.com/blueimp/jQuery-File-Upload
4
4
  *
5
5
  * Copyright 2013, Sebastian Tschan
@@ -10,13 +10,16 @@
10
10
  */
11
11
 
12
12
  /* jshint nomen:false */
13
- /* global define, window */
13
+ /* global define, require, window */
14
14
 
15
15
  (function (factory) {
16
16
  'use strict';
17
17
  if (typeof define === 'function' && define.amd) {
18
18
  // Register as an anonymous AMD module:
19
19
  define(['jquery', './jquery.fileupload-ui'], factory);
20
+ } else if (typeof exports === 'object') {
21
+ // Node/CommonJS:
22
+ factory(require('jquery'));
20
23
  } else {
21
24
  // Browser globals:
22
25
  factory(window.jQuery);
@@ -1,5 +1,5 @@
1
1
  /*
2
- * jQuery File Upload Processing Plugin 1.3.0
2
+ * jQuery File Upload Processing Plugin 1.3.1
3
3
  * https://github.com/blueimp/jQuery-File-Upload
4
4
  *
5
5
  * Copyright 2012, Sebastian Tschan
@@ -10,7 +10,7 @@
10
10
  */
11
11
 
12
12
  /* jshint nomen:false */
13
- /* global define, window */
13
+ /* global define, require, window */
14
14
 
15
15
  (function (factory) {
16
16
  'use strict';
@@ -20,6 +20,9 @@
20
20
  'jquery',
21
21
  './jquery.fileupload'
22
22
  ], factory);
23
+ } else if (typeof exports === 'object') {
24
+ // Node/CommonJS:
25
+ factory(require('jquery'));
23
26
  } else {
24
27
  // Browser globals:
25
28
  factory(
@@ -1,5 +1,5 @@
1
1
  /*
2
- * jQuery File Upload User Interface Plugin 9.6.0
2
+ * jQuery File Upload User Interface Plugin 9.6.1
3
3
  * https://github.com/blueimp/jQuery-File-Upload
4
4
  *
5
5
  * Copyright 2010, Sebastian Tschan
@@ -10,7 +10,7 @@
10
10
  */
11
11
 
12
12
  /* jshint nomen:false */
13
- /* global define, window */
13
+ /* global define, require, window */
14
14
 
15
15
  (function (factory) {
16
16
  'use strict';
@@ -24,6 +24,12 @@
24
24
  './jquery.fileupload-video',
25
25
  './jquery.fileupload-validate'
26
26
  ], factory);
27
+ } else if (typeof exports === 'object') {
28
+ // Node/CommonJS:
29
+ factory(
30
+ require('jquery'),
31
+ require('tmpl')
32
+ );
27
33
  } else {
28
34
  // Browser globals:
29
35
  factory(
@@ -1,5 +1,5 @@
1
1
  /*
2
- * jQuery File Upload Validation Plugin 1.1.2
2
+ * jQuery File Upload Validation Plugin 1.1.3
3
3
  * https://github.com/blueimp/jQuery-File-Upload
4
4
  *
5
5
  * Copyright 2013, Sebastian Tschan
@@ -9,7 +9,7 @@
9
9
  * http://www.opensource.org/licenses/MIT
10
10
  */
11
11
 
12
- /* global define, window */
12
+ /* global define, require, window */
13
13
 
14
14
  (function (factory) {
15
15
  'use strict';
@@ -19,6 +19,9 @@
19
19
  'jquery',
20
20
  './jquery.fileupload-process'
21
21
  ], factory);
22
+ } else if (typeof exports === 'object') {
23
+ // Node/CommonJS:
24
+ factory(require('jquery'));
22
25
  } else {
23
26
  // Browser globals:
24
27
  factory(
@@ -1,5 +1,5 @@
1
1
  /*
2
- * jQuery File Upload Video Preview Plugin 1.0.3
2
+ * jQuery File Upload Video Preview Plugin 1.0.4
3
3
  * https://github.com/blueimp/jQuery-File-Upload
4
4
  *
5
5
  * Copyright 2013, Sebastian Tschan
@@ -10,7 +10,7 @@
10
10
  */
11
11
 
12
12
  /* jshint nomen:false */
13
- /* global define, window, document */
13
+ /* global define, require, window, document */
14
14
 
15
15
  (function (factory) {
16
16
  'use strict';
@@ -21,6 +21,12 @@
21
21
  'load-image',
22
22
  './jquery.fileupload-process'
23
23
  ], factory);
24
+ } else if (typeof exports === 'object') {
25
+ // Node/CommonJS:
26
+ factory(
27
+ require('jquery'),
28
+ require('load-image')
29
+ );
24
30
  } else {
25
31
  // Browser globals:
26
32
  factory(
@@ -1,5 +1,5 @@
1
1
  /*
2
- * jQuery File Upload Plugin 5.42.0
2
+ * jQuery File Upload Plugin 5.42.2
3
3
  * https://github.com/blueimp/jQuery-File-Upload
4
4
  *
5
5
  * Copyright 2010, Sebastian Tschan
@@ -10,7 +10,7 @@
10
10
  */
11
11
 
12
12
  /* jshint nomen:false */
13
- /* global define, window, document, location, Blob, FormData */
13
+ /* global define, require, window, document, location, Blob, FormData */
14
14
 
15
15
  (function (factory) {
16
16
  'use strict';
@@ -20,6 +20,12 @@
20
20
  'jquery',
21
21
  'jquery.ui.widget'
22
22
  ], factory);
23
+ } else if (typeof exports === 'object') {
24
+ // Node/CommonJS:
25
+ factory(
26
+ require('jquery'),
27
+ require('./vendor/jquery.ui.widget')
28
+ );
23
29
  } else {
24
30
  // Browser globals:
25
31
  factory(window.jQuery);
@@ -1338,10 +1344,13 @@
1338
1344
  _initDataAttributes: function () {
1339
1345
  var that = this,
1340
1346
  options = this.options,
1341
- clone = $(this.element[0].cloneNode(false));
1347
+ clone = $(this.element[0].cloneNode(false)),
1348
+ data = clone.data();
1349
+ // Avoid memory leaks:
1350
+ clone.remove();
1342
1351
  // Initialize options set via HTML5 data-attributes:
1343
1352
  $.each(
1344
- clone.data(),
1353
+ data,
1345
1354
  function (key, value) {
1346
1355
  var dataAttributeName = 'data-' +
1347
1356
  // Convert camelCase to hyphen-ated key:
@@ -1,5 +1,5 @@
1
1
  /*
2
- * jQuery Iframe Transport Plugin 1.8.2
2
+ * jQuery Iframe Transport Plugin 1.8.3
3
3
  * https://github.com/blueimp/jQuery-File-Upload
4
4
  *
5
5
  * Copyright 2011, Sebastian Tschan
@@ -9,13 +9,16 @@
9
9
  * http://www.opensource.org/licenses/MIT
10
10
  */
11
11
 
12
- /* global define, window, document */
12
+ /* global define, require, window, document */
13
13
 
14
14
  (function (factory) {
15
15
  'use strict';
16
16
  if (typeof define === 'function' && define.amd) {
17
17
  // Register as an anonymous AMD module:
18
18
  define(['jquery'], factory);
19
+ } else if (typeof exports === 'object') {
20
+ // Node/CommonJS:
21
+ factory(require('jquery'));
19
22
  } else {
20
23
  // Browser globals:
21
24
  factory(window.jQuery);
@@ -1,4 +1,4 @@
1
- /*! jQuery UI - v1.11.1 - 2014-09-17
1
+ /*! jQuery UI - v1.11.1+CommonJS - 2014-09-17
2
2
  * http://jqueryui.com
3
3
  * Includes: widget.js
4
4
  * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
@@ -8,6 +8,11 @@
8
8
 
9
9
  // AMD. Register as an anonymous module.
10
10
  define([ "jquery" ], factory );
11
+
12
+ } else if (typeof exports === "object") {
13
+ // Node/CommonJS:
14
+ factory(require("jquery"));
15
+
11
16
  } else {
12
17
 
13
18
  // Browser globals
@@ -1,7 +1,7 @@
1
1
  module JQuery
2
2
  module FileUpload
3
3
  module Rails
4
- VERSION = "0.4.3"
4
+ VERSION = "0.4.4"
5
5
  end
6
6
  end
7
7
  end
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: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tors Dalid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-17 00:00:00.000000000 Z
11
+ date: 2015-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties