vanilla_validator 0.4.6 → 0.4.8

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: 7969cb3fe6d059e0fe8e4c881ff9183331bbccae1c2e825b7c2181e1c7892c6e
4
- data.tar.gz: 1a0c7fd89c83a1e0c5c00d67fd2ee4bb8e0d294ce403e1d93e0ac69820ab7eb8
3
+ metadata.gz: 5a9e98bf5906f1c93ceb3a58c4d9049a39b37ecac9a281c4661e5a1201d4a2b9
4
+ data.tar.gz: aeb2828796b9e62ba3b37e038d87619d52aef4dc0183fc973ef2c67575d55f23
5
5
  SHA512:
6
- metadata.gz: 855a41e223d4e3f8e569c8c0e5d6bfbfe422d85ca451e3fe7d81321724f994ec9ad1890f2351a76a81566f1bfaa4c9d2e6d959500de52fdc3e44076a56a366b3
7
- data.tar.gz: 787813dcaa5d797f00765f7068b084b5845b3999bb58baebff612d6d669d1d09017ad2f527b7204ffa9dee4990726491c9323599c11476acca4d7a3697c4da70
6
+ metadata.gz: d3201c1726a24cca59b7fa494e63c5c1754f851c9a9ecbdf63dfc62053f32e9f8daa31b94131670b0f84ed8f58063dfc9c46ada459a615eddf82eca4f963a447
7
+ data.tar.gz: '0407039760934cb5a51df077c58040648b6d9c2f3ab2a5b5f82b6ca605f03a188705e94a0d13497d041db63362f48aea9000e889b97fda203ddf8fe74841980d'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vanilla_validator (0.4.2)
4
+ vanilla_validator (0.4.7)
5
5
  activesupport
6
6
  i18n
7
7
  zeitwerk (~> 2.5)
@@ -8,8 +8,6 @@ module VanillaValidator
8
8
  @errors = errors.with_indifferent_access
9
9
  end
10
10
 
11
- alias :valid?, :success?
12
-
13
11
  def success?
14
12
  errors.empty?
15
13
  end
@@ -17,5 +15,7 @@ module VanillaValidator
17
15
  def failed?
18
16
  errors.any?
19
17
  end
18
+
19
+ alias :valid? :success?
20
20
  end
21
21
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VanillaValidator
4
- VERSION = "0.4.6"
4
+ VERSION = "0.4.8"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vanilla_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Farid Mohammadi