ezdz-rails 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ce6c996c781e2c010f1cac3326fe48a27e3aca7
4
- data.tar.gz: 07c3420b040aeed77b1355b4dd46b7c52a11d35d
3
+ metadata.gz: bf2d9c0ed476f1b92f1db43acf1609682824f339
4
+ data.tar.gz: 43f37cc53fab468a3664f26ec3a6bdeec973cf43
5
5
  SHA512:
6
- metadata.gz: 72a745388ce4b9ce06ce9e3b481819f1255f7197234c8ec7d99a4c0f8532eb29efa96d48a1e161af796c9b4399034842ffa704dd492b7c2c58eec00f7ac4fbc0
7
- data.tar.gz: d0b0b7a9acbc7eb4a695a22b984aec0b6cfd0f976f23b4e98de4658c265b323261cbe145758b7a2d4f849ea9ccf6fcd268871dabfadf32f8ffe9cc13f2f16248
6
+ metadata.gz: c7c675d1a3efd44a41597063f5f8b176ff62a4ad64b20ed75cb3ec1890f67c1df64c25629ef2cced5fafc95190981d4d71a03a61fdce390af344347b809dcd49
7
+ data.tar.gz: df6d54402c2853e4fb4fca495f5dd4d1ec6e4ae33c1538a8549b92ae8a011d3d5eecf2b540b39f947dccc73ce7fa71d0bb2e6201ad9566a493455d771b6fb0a9
@@ -1,5 +1,5 @@
1
1
  module Ezdz
2
2
  module Rails
3
- VERSION = '0.5.0'
3
+ VERSION = '0.5.1'
4
4
  end
5
5
  end
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  // Ezdz [izy-dizy]
3
- // v0.5.0 - released 2016-04-30 17:30
3
+ // v0.5.1 - released 2016-05-10 14:52
4
4
  // Licensed under the MIT license.
5
5
  // https://github.com/jaysalvat/ezdz
6
6
  // ----------------------------------------------------------------------------
@@ -199,8 +199,8 @@
199
199
  // If the Mime-Type is not accepted
200
200
  if (accepted !== true) {
201
201
  $input.val('');
202
-
203
202
  $ezdz.addClass(settings.classes.reject);
203
+ self.preview(null);
204
204
 
205
205
  // Trigger the reject callback
206
206
  if ($.isFunction(settings.reject)) {
@@ -284,8 +284,8 @@
284
284
  // The file is invalidated, so rejected
285
285
  } else {
286
286
  $input.val('');
287
-
288
287
  $ezdz.addClass(settings.classes.reject);
288
+ self.preview(null);
289
289
 
290
290
  // Trigger the reject callback
291
291
  if ($.isFunction(settings.reject)) {
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  // Ezdz [izy-dizy]
3
- // v0.5.0 - released 2016-04-30 17:30
3
+ // v0.5.1 - released 2016-05-10 14:52
4
4
  // Licensed under the MIT license.
5
5
  // https://github.com/jaysalvat/ezdz
6
6
  // ----------------------------------------------------------------------------
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ezdz-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedr Browne