universal_s3_uploader 0.1.9 → 0.2.0

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: 7b072139d97af6d1bdbcf97c191a24267fbd27e6
4
- data.tar.gz: e6601b7bb616414a1f8191aff4656090c9abd1be
3
+ metadata.gz: 431a760c0c276d9bc1a739b26a9c92503f23092e
4
+ data.tar.gz: 8458197429648f3b8a9c963280aedfca20f6c1b3
5
5
  SHA512:
6
- metadata.gz: 2b8a197fd11d3d435c24fb500e1eb19fc9f8dbc1eb3e5e301590d35de96795b0c80eab4d225a3328dc65e7e262a9e55d66d11c365dd668b8b278ca111c556391
7
- data.tar.gz: f95980946de4f20b89107ee32be0fcfeb152db3bf1c68eb4bdc52f9b02f86d6103016863380ff3c61e6d59594121addf0ac485d025c361e622773b79a7038243
6
+ metadata.gz: 8ce709896c4bcbe0c1b773bf9705644f495a1e8400ad416fe11f1ad544a540979c922e74edd00db1eadebf400d99e4fa28a908c5006c344d41a2acb221f77419
7
+ data.tar.gz: a576871fa19875b0156c70d52ace27e6c1a142d5c80d6d58faf2815cc3b759b3fa5e190faa0187609cee6a614e794ac7c4edf8f7bc7b4a13f450ee5739571d1d
@@ -1,3 +1,3 @@
1
1
  module UniversalS3Uploader
2
- VERSION = '0.1.9'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -106,7 +106,7 @@
106
106
  var files = this.element.children('input[type=file]').get(0).files || [this.element.children('input[type=file]').val()];
107
107
  for (var i = 0, len = files.length; i < len; i++)
108
108
  {
109
- if (this.options.onValidation(i, files[i].name) == true) this.upload(files[i], this.index++);
109
+ if (this.options.onValidation(this.index, files[i].name) == true) this.upload(files[i], this.index++);
110
110
  }
111
111
 
112
112
  return false;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: universal_s3_uploader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dohan Kim