u-case 5.2.0 → 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c0d84e916ac431f822d767a3485ce0a6ec9db47bba8b9b6cbc914ec72ec18da
4
- data.tar.gz: b272186504907f0f2e88fe3fd19c241a7135bfa191a621a55ae912c95f680b57
3
+ metadata.gz: 007b0e8ba30a51777bce3c5665960238f0fe50d33c04d3102e444dd917d7a762
4
+ data.tar.gz: d19a095e0540f218bc4a8dba0601999a3decc56a6990be10fe4a5ef7e35e31c8
5
5
  SHA512:
6
- metadata.gz: ee96e3cc845c753481a94e394b496b8a923c0a15d220713c610dbb77046d4f79f434291f31cc5b8e88fa16d55dba12db11953d1553b0a8aa284277aa4558512a
7
- data.tar.gz: 4edb2ce9cb98319bab947ebfb9166518eaeca467d68198e5b3ac4a258ac907b16e1eb8c44ffd991140dddf863e4a821a146c29ef007139ad8c2e666732630fce
6
+ metadata.gz: f96b58e62d5fa9de89a664b748941ee4762a9bf4f58b83aa7a56fa745b447772b33df24272aa8d49b3768ce6d83a2af9138647baf2d1e704276db2f7ca335cdc
7
+ data.tar.gz: 6260ad743a4a40da49d0bbd7cea4d5d7aba9ce374bce2df8bc496d61373b11de3c7315017936a8053625ba5298b4e8fb13d03c748ceccdd73c590690bffff366
data/Gemfile CHANGED
@@ -16,3 +16,7 @@ end
16
16
  group :development, :test do
17
17
  gem "awesome_print"
18
18
  end
19
+
20
+ group :development do
21
+ gem "ruby-lsp", require: false if RUBY_VERSION >= "3.0"
22
+ end
data/README.md CHANGED
@@ -27,7 +27,7 @@ The main project goals are:
27
27
  Version | Documentation
28
28
  --------- | -------------
29
29
  unreleased| https://github.com/serradura/u-case/blob/main/README.md
30
- 5.2.0 | https://github.com/serradura/u-case/blob/v5.x/README.md
30
+ 5.2.1 | https://github.com/serradura/u-case/blob/v5.x/README.md
31
31
  4.5.1 | https://github.com/serradura/u-case/blob/v4.x/README.md
32
32
 
33
33
  > **Note:** Você entende português? 🇧🇷 🇵🇹 Verifique o [README traduzido em pt-BR](https://github.com/serradura/u-case/blob/main/README.pt-BR.md).
@@ -89,7 +89,7 @@ unreleased| https://github.com/serradura/u-case/blob/main/README.md
89
89
  | u-case | branch | ruby | activemodel | u-attributes |
90
90
  | ---------------- | ------ | -------- | -------------- | -------------- |
91
91
  | unreleased | main | >= 2.7 | >= 6.0 | >= 2.8, < 4.0 |
92
- | 5.2.0 | v5.x | >= 2.7 | >= 6.0 | >= 2.8, < 4.0 |
92
+ | 5.2.1 | v5.x | >= 2.7 | >= 6.0 | >= 2.8, < 4.0 |
93
93
  | 5.1.0 | v5.x | >= 2.7 | >= 6.0 | >= 2.7, < 4.0 |
94
94
  | 4.5.1 | v4.x | >= 2.2.0 | >= 3.2, <= 8.1 | >= 2.7, < 3.0 |
95
95
 
data/README.pt-BR.md CHANGED
@@ -27,7 +27,7 @@ Principais objetivos deste projeto:
27
27
  Versão | Documentação
28
28
  --------- | -------------
29
29
  unreleased| https://github.com/serradura/u-case/blob/main/README.md
30
- 5.2.0 | https://github.com/serradura/u-case/blob/v5.x/README.md
30
+ 5.2.1 | https://github.com/serradura/u-case/blob/v5.x/README.md
31
31
  4.5.1 | https://github.com/serradura/u-case/blob/v4.x/README.md
32
32
 
33
33
  ## Índice <!-- omit in toc -->
@@ -87,7 +87,7 @@ unreleased| https://github.com/serradura/u-case/blob/main/README.md
87
87
  | u-case | branch | ruby | activemodel | u-attributes |
88
88
  | ---------------- | ------ | -------- | -------------- | -------------- |
89
89
  | unreleased | main | >= 2.7 | >= 6.0 | >= 2.8, < 4.0 |
90
- | 5.2.0 | v5.x | >= 2.7 | >= 6.0 | >= 2.8, < 4.0 |
90
+ | 5.2.1 | v5.x | >= 2.7 | >= 6.0 | >= 2.8, < 4.0 |
91
91
  | 5.1.0 | v5.x | >= 2.7 | >= 6.0 | >= 2.7, < 4.0 |
92
92
  | 4.5.1 | v4.x | >= 2.2.0 | >= 3.2, <= 8.1 | >= 2.7, < 3.0 |
93
93
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Micro
4
4
  class Case
5
- VERSION = '5.2.0'.freeze
5
+ VERSION = '5.2.1'.freeze
6
6
  end
7
7
  end
data/lib/micro/case.rb CHANGED
@@ -232,7 +232,7 @@ module Micro
232
232
  end
233
233
 
234
234
  def __call_the_use_case_flow
235
- self.class.__flow_get__.call(@__input)
235
+ self.class.__flow_get__.call!(input: @__input, result: @__result)
236
236
  end
237
237
 
238
238
  def Success(type = :ok, result: nil)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: u-case
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Serradura
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  requirements: []
156
- rubygems_version: 4.0.7
156
+ rubygems_version: 4.0.12
157
157
  specification_version: 4
158
158
  summary: Represent use cases in a simple and powerful way while writing modular, expressive
159
159
  and sequentially logical code.