convenient_service 0.19.0 → 0.19.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c335178b5dfefbb7b3bd6cf65d1daca7d911b8f73faa8e2d485ef0be01f189a
|
4
|
+
data.tar.gz: a012a141e2472ec1e273aeb90f4f49cb14ce5cf858453280d88834a0da80f14b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0266947fbfa642f28247005db67bcc9b035e8ae742614880a063ae1e7f2a36853dc8c5a830990de5645845c774b77b5a69351bba6ce1e946f5858c09af4fb95
|
7
|
+
data.tar.gz: 93db0af41a737137a452a4bc9c60992bf32c96c637fe65d2b212200d3c776a87001046bc9d0eb2ad6f7160bc9a15454452c20235aa3ffcbc815a504558f636f7
|
data/lib/convenient_service/service/plugins/can_have_connected_steps/entities/expressions/or.rb
CHANGED
@@ -33,7 +33,10 @@ module ConvenientService
|
|
33
33
|
# @return [ConvenientService::Service::Plugins::HasJSendResult::Entities::Result]
|
34
34
|
#
|
35
35
|
def result
|
36
|
-
|
36
|
+
return left_expression.result if left_expression.success?
|
37
|
+
return left_expression.result if left_expression.error?
|
38
|
+
|
39
|
+
right_expression.result
|
37
40
|
end
|
38
41
|
|
39
42
|
##
|
@@ -66,7 +69,10 @@ module ConvenientService
|
|
66
69
|
# @return [Boolean]
|
67
70
|
#
|
68
71
|
def error?
|
69
|
-
|
72
|
+
return false if left_expression.success?
|
73
|
+
return true if left_expression.error?
|
74
|
+
|
75
|
+
right_expression.error?
|
70
76
|
end
|
71
77
|
|
72
78
|
##
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: convenient_service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marian Kostyk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: amazing_print
|