u-case 4.3.0 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/README.pt-BR.md +3 -3
- data/lib/micro/case/version.rb +1 -1
- data/lib/micro/case/with_activemodel_validation.rb +1 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa46dc88c0243c9844f1a648bc6743751c7b48d0af805e961fbff16f06eae51c
|
4
|
+
data.tar.gz: 747a014e42d5cf5c97ae77e94dc54779d90bf0eeed06cd68d1a6cf782e7163cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 770d8703f12d6795494c9b00e30636770d8aead2909e96cdde3c16bfe5331385b28693e05dd0cfcbff77ba03f46d115e36765fd5193330016f6362bbba0a7dab
|
7
|
+
data.tar.gz: fb27569e1553ded6577fa4ea5c823a364c22bf76414491dc7482250175f96c5c939d2ab498f633cb34e27ddff2cc3ead449fb3398094897d9a004a118ad5722b
|
data/README.md
CHANGED
@@ -39,7 +39,7 @@ The main project goals are:
|
|
39
39
|
Version | Documentation
|
40
40
|
--------- | -------------
|
41
41
|
unreleased| https://github.com/serradura/u-case/blob/main/README.md
|
42
|
-
4.
|
42
|
+
4.4.0 | https://github.com/serradura/u-case/blob/v4.x/README.md
|
43
43
|
3.1.0 | https://github.com/serradura/u-case/blob/v3.x/README.md
|
44
44
|
2.6.0 | https://github.com/serradura/u-case/blob/v2.x/README.md
|
45
45
|
1.1.0 | https://github.com/serradura/u-case/blob/v1.x/README.md
|
@@ -102,7 +102,7 @@ unreleased| https://github.com/serradura/u-case/blob/main/README.md
|
|
102
102
|
| u-case | branch | ruby | activemodel | u-attributes |
|
103
103
|
| -------------- | ------- | -------- | ------------- | ------------- |
|
104
104
|
| unreleased | main | >= 2.2.0 | >= 3.2, < 7.0 | >= 2.7, < 3.0 |
|
105
|
-
| 4.
|
105
|
+
| 4.4.0 | v4.x | >= 2.2.0 | >= 3.2, < 7.0 | >= 2.7, < 3.0 |
|
106
106
|
| 3.1.0 | v3.x | >= 2.2.0 | >= 3.2, < 6.1 | ~> 1.1 |
|
107
107
|
| 2.6.0 | v2.x | >= 2.2.0 | >= 3.2, < 6.1 | ~> 1.1 |
|
108
108
|
| 1.1.0 | v1.x | >= 2.2.0 | >= 3.2, < 6.1 | ~> 1.1 |
|
@@ -126,7 +126,7 @@ unreleased| https://github.com/serradura/u-case/blob/main/README.md
|
|
126
126
|
Add this line to your application's Gemfile:
|
127
127
|
|
128
128
|
```ruby
|
129
|
-
gem 'u-case', '~> 4.
|
129
|
+
gem 'u-case', '~> 4.4.0'
|
130
130
|
```
|
131
131
|
|
132
132
|
And then execute:
|
data/README.pt-BR.md
CHANGED
@@ -39,7 +39,7 @@ Principais objetivos deste projeto:
|
|
39
39
|
Versão | Documentação
|
40
40
|
--------- | -------------
|
41
41
|
unreleased| https://github.com/serradura/u-case/blob/main/README.md
|
42
|
-
4.
|
42
|
+
4.4.0 | https://github.com/serradura/u-case/blob/v4.x/README.md
|
43
43
|
3.1.0 | https://github.com/serradura/u-case/blob/v3.x/README.md
|
44
44
|
2.6.0 | https://github.com/serradura/u-case/blob/v2.x/README.md
|
45
45
|
1.1.0 | https://github.com/serradura/u-case/blob/v1.x/README.md
|
@@ -100,7 +100,7 @@ unreleased| https://github.com/serradura/u-case/blob/main/README.md
|
|
100
100
|
| u-case | branch | ruby | activemodel | u-attributes- |
|
101
101
|
| -------------- | ------- | -------- | ------------- | ------------- |
|
102
102
|
| unreleased | main | >= 2.2.0 | >= 3.2, < 7.0 | >= 2.7, < 3.0 |
|
103
|
-
| 4.
|
103
|
+
| 4.4.0 | v4.x | >= 2.2.0 | >= 3.2, < 7.0 | >= 2.7, < 3.0 |
|
104
104
|
| 3.1.0 | v3.x | >= 2.2.0 | >= 3.2, < 6.1 | ~> 1.1 |
|
105
105
|
| 2.6.0 | v2.x | >= 2.2.0 | >= 3.2, < 6.1 | ~> 1.1 |
|
106
106
|
| 1.1.0 | v1.x | >= 2.2.0 | >= 3.2, < 6.1 | ~> 1.1 |
|
@@ -124,7 +124,7 @@ unreleased| https://github.com/serradura/u-case/blob/main/README.md
|
|
124
124
|
Adicione essa linha ao Gemfile da sua aplicação:
|
125
125
|
|
126
126
|
```ruby
|
127
|
-
gem 'u-case', '~> 4.
|
127
|
+
gem 'u-case', '~> 4.4.0'
|
128
128
|
```
|
129
129
|
|
130
130
|
E então execute:
|
data/lib/micro/case/version.rb
CHANGED
@@ -18,14 +18,12 @@ module Micro
|
|
18
18
|
|
19
19
|
def initialize(input)
|
20
20
|
__setup_use_case(input)
|
21
|
-
|
22
|
-
run_validations! if respond_to?(:run_validations!, true)
|
23
21
|
end
|
24
22
|
|
25
23
|
private
|
26
24
|
|
27
25
|
def __call_use_case
|
28
|
-
return failure_by_validation_error(self) if !self.class.auto_validation_disabled? &&
|
26
|
+
return failure_by_validation_error(self) if !self.class.auto_validation_disabled? && errors.present?
|
29
27
|
|
30
28
|
result = call!
|
31
29
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: u-case
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Serradura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kind
|