usecasing_validations 0.5.5 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmY1ZjFjYjY2MDZiYTA4ZWQ2ZTgxZjdmZmNmODU5Njg1ZWEyYjI3Mg==
4
+ NGZlYjIzZGQ3NGY5ZmRhNmE2ZDA1OWI4ZWRlYzYyYjMxMTFkYWMwZA==
5
5
  data.tar.gz: !binary |-
6
- NzQzOGU3ZWJlY2NkM2U0ZDdjM2M1YjRlZWNjMzM0Yjg1YTVhOTM2Mw==
6
+ MTM2MThiMWI4ZWVlOTNiMjFmYzliZDNiM2E0YTNlMGZlYTkzMTJiZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDJiYmUxMTY0ODUyZTNkNjQ5NDdjMzkxMzI3ZmE4ZmU4MDg1NGJjMWJmOTQy
10
- NTVjMjJiMWNhM2Q3MGFhYWUxMzg4ZGIxMGYzYTU3MmJiZjU3YjlmYzk4NzNi
11
- YzM4MTE2MWM2MjMwYjRhM2ZkYzhjMjkwZDlmN2U0OTg5NGZkOTI=
9
+ MmU1OWQzZjAzMGRlNGEwYTE5NWZhYTM4MTI3YTc4OGQxNDU4OGJkOWM4MTc1
10
+ NTQ5OGFhNTQwNDBmMWQ2ZjcxMGIzZTc3ZGRhZDc3YmRkMmMzMDU1MTQ4ODMw
11
+ YTU3NTkyMGJjMWM0NzVhYzEzY2Y3ZmIyODgwN2I2ZDJhYTA4YjM=
12
12
  data.tar.gz: !binary |-
13
- NmQxNWZkMzAyYmZjZjIzMDczYmY4NmViM2Q0YTAwMmFjYjg5ZDBlZTE5NTg1
14
- MmI1NmRkYjIwY2RjMmZlNTkzMmI4YzY4ZjE5MWY4MzIzYjYwOWI1NzhlMDAw
15
- NTdjNDk5YWUzY2M3OWU4OTc5YWFhOWI2MTIwMzE1MDliM2NkNmQ=
13
+ Y2UyYTdkZjVmMzIxM2I3ZmQzNTMwNDcxOTY1NDlkZjU5NTdlNzJmMDQ3YTBm
14
+ NjUxZGJlNTZlYzBlMmQyNWEwZWYwNGIzYjAzY2YxZWMwOWQ4NTJlMDM0MGRm
15
+ YjEyZjRkNjE3MGViMDc4OWVhNDE2YmJjOTk0ZmRiOTlkZWU3M2Y=
@@ -1,6 +1,6 @@
1
1
  module UseCase
2
2
 
3
- class GroupValidator < ValidatorBase
3
+ class GroupValidator < ValidatorParent
4
4
 
5
5
  def perform
6
6
  usecases_vs_results = {}
@@ -1,6 +1,6 @@
1
1
  module UseCase
2
2
 
3
- class Validator < ValidatorBase
3
+ class Validator < ValidatorParent
4
4
 
5
5
  include UseCaseValidations
6
6
 
@@ -1,6 +1,6 @@
1
1
  module UseCase
2
2
 
3
- class ValidatorBase < Base
3
+ class ValidatorParent < Base
4
4
 
5
5
  def call_failure(status, message = nil)
6
6
  if respond_to?(:failure!)
@@ -1,3 +1,3 @@
1
1
  module UseCaseValidations
2
- VERSION = "0.5.5"
2
+ VERSION = "0.6.0"
3
3
  end
@@ -15,7 +15,7 @@ require "usecasing_validations/validations/uniqueness"
15
15
 
16
16
 
17
17
  module UseCase
18
- autoload :ValidatorBase, 'usecasing/validator_base'
18
+ autoload :ValidatorParent, 'usecasing/validator_parent'
19
19
  autoload :Validator, 'usecasing/validator'
20
20
  autoload :GroupValidator, 'usecasing/group_validator'
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usecasing_validations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - João Gonçalves
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-13 00:00:00.000000000 Z
11
+ date: 2014-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: usecasing
@@ -41,7 +41,7 @@ files:
41
41
  - Rakefile
42
42
  - lib/usecasing/group_validator.rb
43
43
  - lib/usecasing/validator.rb
44
- - lib/usecasing/validator_base.rb
44
+ - lib/usecasing/validator_parent.rb
45
45
  - lib/usecasing_validations.rb
46
46
  - lib/usecasing_validations/custom_validator.rb
47
47
  - lib/usecasing_validations/each_validator.rb
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  requirements: []
94
94
  rubyforge_project:
95
- rubygems_version: 2.2.2
95
+ rubygems_version: 2.4.2
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: UseCase Gem Extention to add Rails like validations without Rails, only needs