universal_s3_uploader 0.0.8 → 0.0.9

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: b031763afcf23a482fbd5f4a3edb7212ee749bdc
4
- data.tar.gz: f614c7930e77ac0db7a96fea3acefba6eb707f52
3
+ metadata.gz: 2afa7fb47ca9bbf0f491f66fb111a96719cbdc51
4
+ data.tar.gz: c231e4e729768f9a4435a3cf1c427f383f26d955
5
5
  SHA512:
6
- metadata.gz: a9e85c9008218260ef5301db6651abdd533d40c1b508dd12079928ff9a4a031d539edc4cfc4f45624b20d1940ddeca01217ec5f277b6409a0cd8e133fcdcf16f
7
- data.tar.gz: 011c3b874f5e28d55da24d4d5cb4fd3d0bd67a27b07fa1df61b71e0435f8bb5eb76ded7d75816aa69b746214996cacd698aea42e3c2694b7bcf679a03ea854e0
6
+ metadata.gz: 0791030c19dce94ff8140e3bb63009525f4f6c6121e25c5d2dd446f29c68bb553a4bb716c8ac276063f88d32fbdc0347fc5b863e17a7b2e4990f3d63b5c38e2e
7
+ data.tar.gz: 873e03c3affcf548645e5a653820b9bbb8923c093f5490cfcc17aa5d5601f91c2f1b57c9bd9808623f2976541f81cf15830e490c071e22b80cbb805c21412b9c
@@ -1,3 +1,3 @@
1
1
  module UniversalS3Uploader
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -12,7 +12,7 @@
12
12
 
13
13
  var defaultOptions =
14
14
  {
15
- onValidate: function(index)
15
+ onValidation: function(index)
16
16
  {
17
17
  return true;
18
18
  },
@@ -92,7 +92,7 @@
92
92
  var files = this.element.children('input[type=file]').get(0).files || [this.element.children('input[type=file]').val()];
93
93
  for (var i = 0, len = files.length; i < len; i++)
94
94
  {
95
- if (this.options.onValidate(i) == true) this.upload(files[i], i);
95
+ if (this.options.onValidation(i) == true) this.upload(files[i], i);
96
96
  }
97
97
 
98
98
  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.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dohan Kim