mini_defender 0.3.13 → 0.3.14

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
  SHA256:
3
- metadata.gz: 1fb38a701337253718887e5d325fbc353b15959d3dfb66401aca722175e407da
4
- data.tar.gz: 46dcb917d9d66e10344641313af7a498cac609c9e08369dfc617457e2e1706f6
3
+ metadata.gz: 3f4bd21f8f4dcb876d1a925f4e7085ef98dfcbed4617c74c03e4397f8e82fdf7
4
+ data.tar.gz: 9468125261910912a6e3934852e9045542fddf0c160bb8799cbb1bb14af02b4f
5
5
  SHA512:
6
- metadata.gz: 5ccf6dfcf0503020f603f8afdd33644a1d13d73bd56f5fd58706895c76b7e0a0d792a3644472fad2083a2135c2c3fb682cbf610838e9f7c6908d606266d04317
7
- data.tar.gz: 99fa8973a9cf335861e6e6e7b0522897831c0f67b779c4816956552ec8fb5e3a52e71522c95c7794e26a5b6e0a8178a5a2db72801b772c1dbac657cc3f645df7
6
+ metadata.gz: b21ab061c620d5b3548cc50910511391d5ba5121f40338be876a00d09900904d41f04cd8c23fea1ea28a493f24c77dd19598499e10ef6f7169ffc3773037aeca
7
+ data.tar.gz: f07bd0c875a71679046e76ebcce28d878b47a942112a8c4a184bc9a10f1406459c8c1e17b72dc175c86df24ed59848fcf045dc67099c86b633b6c27e6aa87ae8
@@ -11,7 +11,7 @@ module MiniDefender::HandlesValidationErrors
11
11
 
12
12
  def handle_validation_error(error)
13
13
  unless self.respond_to?(:respond_to)
14
- render json: { message: error.message, errors: error.errors }, status: :unprocessable_entity
14
+ return render json: { message: error.message, errors: error.errors }, status: :unprocessable_entity
15
15
  end
16
16
 
17
17
  respond_to do |format|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MiniDefender
4
- VERSION = "0.3.13"
4
+ VERSION = "0.3.14"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_defender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.13
4
+ version: 0.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali Alhoshaiyan