strum 0.0.51 → 0.0.52
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/strum/service.rb +1 -1
- data/lib/strum/version.rb +1 -1
- 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: 4994e24727fe0b036ecb4d737fffc9a7072222df1054286c42519206b1274dc2
|
4
|
+
data.tar.gz: 82ddc9e2861ae63e2695bf4b757a7bfcd5d00b5917601afbaabebfb4c12e336b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e9919954781bbb5f5d1e804c9b9fbcc0c4119d2da74976c91a5f124c875096f7411e9c7863880700e9c3618b7ae1337531b63d27cf1efdd7cb6a336752876dc
|
7
|
+
data.tar.gz: 482210f9df0258609ef4aed3a62fba25f13e4507d1d581edf99591f8f0125e37e87459cc0a43f5b4050238c8635e74d996d59ab37f697b145e98fd8278358932
|
data/Gemfile.lock
CHANGED
data/lib/strum/service.rb
CHANGED
@@ -137,7 +137,7 @@ module Strum
|
|
137
137
|
end
|
138
138
|
|
139
139
|
def invalid_result
|
140
|
-
handler = service_handlers[:failure][((errors.
|
140
|
+
handler = service_handlers[:failure][((errors.values.flatten << nil) & service_handlers[:failure].keys).first]
|
141
141
|
handler.call(errors) if handler.is_a?(Proc)
|
142
142
|
end
|
143
143
|
end
|
data/lib/strum/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.52
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Serhiy Nazarov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-inflector
|