vanilla_validator 0.4.7 → 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: f4af0d919b137fc2f9f0da89804d628b4c617349ad04d6a149ddbaadd413466a
4
- data.tar.gz: 376f312e9dcac54a409ccf9b54ddec406f34ec535abd6d23a5aff19b6e9c6b86
3
+ metadata.gz: 5a9e98bf5906f1c93ceb3a58c4d9049a39b37ecac9a281c4661e5a1201d4a2b9
4
+ data.tar.gz: aeb2828796b9e62ba3b37e038d87619d52aef4dc0183fc973ef2c67575d55f23
5
5
  SHA512:
6
- metadata.gz: 9eac34e3c471596e8f02dad646053fe46a387971efac7fbd57d1997b2db78dd0e8368143d827a085dd39d9ff47e1bcd46bc2a6ba8b042bfbcaa123e9c8f731f7
7
- data.tar.gz: 836fb3f32057e0815586bd0099904bfe4c3749e404d60f03c38ab88b33a3b5ce2466fa1bd57d5b8e8270de86a0d04f158d3bc82fe58f439cc640bc6eb86be761
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.7"
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.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Farid Mohammadi