universal_s3_uploader 0.1.6 → 0.1.7
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:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: efd8713a674010b67e77f06adb16d6d20c4371c1
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: e5d0210a75762e8a86249594178e15c72ee69944
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 124273e15e959dbe3100eb64b2e0f57a870bfd02016e2cc67cb2a8be19cdfbd3ebe968a521696eb21fa082a12a58d19c760f4ba72cde37f119eafb2b6d1a5887
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 192650294590ae45b3bfa028efce9db97fcaa9a286dd20c4a8d73b55c59f2610f648f90c47062d1f71b9330302e82ef8a5c9dde66c0e1d896825e3789575a3a4
         
     | 
| 
         @@ -102,7 +102,7 @@ 
     | 
|
| 
       102 
102 
     | 
    
         
             
                  var files = this.element.children('input[type=file]').get(0).files || [this.element.children('input[type=file]').val()];
         
     | 
| 
       103 
103 
     | 
    
         
             
                  for (var i = 0, len = files.length; i < len; i++)
         
     | 
| 
       104 
104 
     | 
    
         
             
                  {
         
     | 
| 
       105 
     | 
    
         
            -
                    if (this.options.onValidation(i) == true) this.upload(files[i], this.index++);
         
     | 
| 
      
 105 
     | 
    
         
            +
                    if (this.options.onValidation(i, files[i].name) == true) this.upload(files[i], this.index++);
         
     | 
| 
       106 
106 
     | 
    
         
             
                  }
         
     | 
| 
       107 
107 
     | 
    
         | 
| 
       108 
108 
     | 
    
         
             
                  return false;
         
     |