servactory 2.9.1 → 2.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/servactory/test_kit/rspec/helpers.rb +2 -2
- data/lib/servactory/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: dc774d1b1a59ffb653f33406b18ca938a8429f12181f75971bf06f42e4b9981f
|
4
|
+
data.tar.gz: c4b1e02b91511de91587dd656de85a5bfc219b39dac99c99c9e80cb2d175a01a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 375ea6b23a62c0da8900fb34fb98cb56f9f3d0027f7233201bb1b1e90821358b7ce4434a011b4f748816893e3b9f78baa89a8d48e1c9533944e3e3047d70b825
|
7
|
+
data.tar.gz: 6780416158ae4f77ff61688bcabd3a83df4ab9374d49409bbd98d3b311fe693a89dd022db6340feb5bb4c27c373429c2238f915b5305a2a25bdbd4936b50f515
|
@@ -58,7 +58,7 @@ module Servactory
|
|
58
58
|
if yield.is_a?(Hash)
|
59
59
|
yield
|
60
60
|
else
|
61
|
-
{
|
61
|
+
{ exception: yield }
|
62
62
|
end
|
63
63
|
else
|
64
64
|
{}
|
@@ -89,7 +89,7 @@ module Servactory
|
|
89
89
|
)
|
90
90
|
.public_send(
|
91
91
|
and_return_or_raise,
|
92
|
-
if as_success
|
92
|
+
if as_success || !with_bang
|
93
93
|
Servactory::TestKit::Result.public_send(result_type, **result)
|
94
94
|
else
|
95
95
|
Servactory::TestKit::Result.public_send(result_type, result)
|
data/lib/servactory/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: servactory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Sokolov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|