mini_defender 0.5.5 → 0.5.6

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: 530d1373078938df751149e2e02ccad634c4575e636374fc532a523ad0a1a7d0
4
- data.tar.gz: 56410958ff3a856d9fdee8f001346bfe6b4851c4b7c7c4df45adb4f0922754bd
3
+ metadata.gz: 24ccaa0028ceac26860f7127c5562632d0378fd1ef1fba466dc418d5d3ac6fa0
4
+ data.tar.gz: b20729f6d6a1f8d8c329f5baf4d7794cb63d2143b85addce1c9ee73b5a73d89f
5
5
  SHA512:
6
- metadata.gz: 13715f920cc17e0374f87b02be2d613b9789e8c0f09b648e055ec8580408dfa0133e698c518019b9f8bd69b4b9f772d942e1556b025e701b53bad3b9a71d9efc
7
- data.tar.gz: bf50307441669882e6dac6688985cf41f4214f6f5ea3506c396ef742465b46fe8e8f3e6f320f4bd9e89f59cac9b07b0c67cb9030f703027ee971717fa2ab658a
6
+ metadata.gz: ecc49528f6bc97c562a6faf9ecc9811c18b015fd7425c8a2fa1ad32b8257e880e135c0f53314a5a47cf9862b5eeac271396c81b18444e82772f0830f34a77998
7
+ data.tar.gz: d4562ce1868a32bd10c47b1a1dedbefa1262c429270ee9431fd8fcca84ced3f6f6c26dacc379632699852de6b2457f916cb2c662cfed47a5618c8ad820fc14fc
@@ -66,7 +66,7 @@ module MiniDefender
66
66
  coerced = rule.coerce(coerced)
67
67
  force_coerce = rule.force_coerce?
68
68
  else
69
- @errors[k] << rule.error_message(k, value, self)
69
+ @errors[k] << rule.error_message(k, coerced, self)
70
70
  end
71
71
  end
72
72
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MiniDefender
4
- VERSION = "0.5.5"
4
+ VERSION = "0.5.6"
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.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali Alhoshaiyan