functional-light-service 0.3.2 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/VERSION +1 -1
- data/lib/functional-light-service/context.rb +2 -3
- data/lib/functional-light-service/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbd6d85820481b017787b786621b2ec4ea950a25441943178ca63ff6d1e8df09
|
4
|
+
data.tar.gz: abef7ed68f213011a17d8a063e1feb56a10ac215a54e9ff5c53da1b43ca8018c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47ea3d6474cb79479ba662f046163df649085ebb0038308b538b733531cc34fc0ba830cb789b13e0a776269ac82063dfdec916c6a3bba659c36fec2da2a9eeda
|
7
|
+
data.tar.gz: fddb927ea9f7b4ba30484093dd50966137fcb8639d6558fdde4d156e41a0e42cc37f4c1bfeb951ee99b4e10631c270fe5f16f438ae047bbf780426c9d26822f7
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## 0.3.4 (2021-12-15)
|
2
|
+
|
3
|
+
|
4
|
+
## 0.3.3 (2021-12-15)
|
5
|
+
### Fixed
|
6
|
+
- Corretto il problema di passare un hash per avere il dettaglio dell'errore quando fallisce ( 2021-12-15 ) [ sphynx]
|
7
|
+
|
8
|
+
|
9
|
+
|
1
10
|
## 0.3.2 (2020-07-17)
|
2
11
|
### Changed
|
3
12
|
- Ottimizzato performance di Deterministic [enum,result] ( 2020-07-17 ) [ sphynx79]
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.4
|
@@ -5,8 +5,7 @@ module FunctionalLightService
|
|
5
5
|
include FunctionalLightService::Prelude::Result
|
6
6
|
attr_accessor :outcome, :current_action
|
7
7
|
|
8
|
-
def initialize(context = {},
|
9
|
-
outcome = Success(:message => '', :error => nil))
|
8
|
+
def initialize(context = {}, outcome = Success(:message => '', :error => nil))
|
10
9
|
@outcome = outcome
|
11
10
|
@skip_remaining = false
|
12
11
|
context.to_hash.each { |k, v| self[k] = v }
|
@@ -80,7 +79,7 @@ module FunctionalLightService
|
|
80
79
|
|
81
80
|
def fail_and_return!(*args)
|
82
81
|
fail!(*args)
|
83
|
-
throw(:jump_when_failed
|
82
|
+
throw(:jump_when_failed)
|
84
83
|
end
|
85
84
|
|
86
85
|
def fail_with_rollback!(message = nil, error_code = nil)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: functional-light-service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boscolo Michele
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-inflector
|
@@ -256,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
256
256
|
- !ruby/object:Gem::Version
|
257
257
|
version: '0'
|
258
258
|
requirements: []
|
259
|
-
rubygems_version: 3.1.
|
259
|
+
rubygems_version: 3.1.3
|
260
260
|
signing_key:
|
261
261
|
specification_version: 4
|
262
262
|
summary: A service skeleton with an emphasis on simplicity with a pinch a functional
|