mini_defender 0.3.9 → 0.3.10

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: f577c7a22376c0e4217fdebe7ddf461cb302471e07b2de234e0843ef55c9c603
4
- data.tar.gz: 6105884dc720a11d506c7c7fc62b24d1f8cd7afc9fa14ce4ed5b44c028e1620c
3
+ metadata.gz: 3d86988a2bdf736a616cdae14ff90b0a1f094846a1a248b6602ccc5a8dc30148
4
+ data.tar.gz: 27e7e95fc4c4f1d2f9aa2d6406e2f057a3b501e7dfa2f0de006cecea1bba2194
5
5
  SHA512:
6
- metadata.gz: ab08c1074c9c4b06f16c11e545b9f8b05811e4be8cc82c43a98315605e21553821d97b9688b1acdcd446b546a65d8d25af4f0e5b725dad09a189bfa51f74ea85
7
- data.tar.gz: c325ff0ddfb62768fb5fdd74ca08bb8e97bd76f16841190178e9c924dddd0b4f6e3e010026bfefc417a5a6a845fbbf6c3db7b9a28414aa96a75649adac56f82c
6
+ metadata.gz: 88bb1908e129dabc940595220e0c2f5ea7244cb08a5904f1fae9380a6c0cc0ff62465c83666dcffbaf9f83e8d0268db1223ea0e89fe9d20f0786f9c3f3f354e9
7
+ data.tar.gz: 944893f26ae2e989951bdba092d4af6a5d5dcceeff89a0fdc61f6216f7dcff23cc5ff36c25b391a1937b73425554f13eeed0cfa4148fe3be3ad8427aa2725d5d
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'active_support/core_ext/hash'
4
+
3
5
  module ValidationHelpers
4
6
  extend ActiveSupport::Concern
5
7
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MiniDefender
4
- VERSION = "0.3.9"
4
+ VERSION = "0.3.10"
5
5
  end
data/lib/mini_defender.rb CHANGED
@@ -8,6 +8,8 @@ require_relative 'mini_defender/rules_expander'
8
8
  require_relative 'mini_defender/rules_factory'
9
9
  require_relative 'mini_defender/validation_error'
10
10
  require_relative 'mini_defender/validates_input'
11
+ require_relative 'mini_defender/handles_validation_errors'
12
+ require_relative 'mini_defender/validation_helpers'
11
13
 
12
14
  # Extensions to Ruby Core
13
15
  require_relative 'mini_defender/extensions/enumerable'
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.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali Alhoshaiyan