strum-service 0.0.3 → 0.0.4
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 +2 -2
- data/lib/strum/service/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: 2dc9cd9b5198b405b48bb20f5e8c548c34317f1a3d8e0f381f083804025cb645
|
4
|
+
data.tar.gz: 18935269b599e66ada9d5d031579761cbfb1128452851c51b79a81ac6a34a749
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b263cb72d6ae7d8cf4893fd6521b124387681e21b13018faeafc176043b57c45c779b3b26a0807d568628f5b1ae9e999c8b05768a97674a56a824159aabdaee
|
7
|
+
data.tar.gz: 433e6ec8f1877aa7cdff54da99dee66c2bcf6de6351881eb341ac62d8948e6cdcecbe1534401bc636e3060c7b740f9f6b356fb03b8698ca4a9c10878dbf9766a
|
data/Gemfile.lock
CHANGED
data/lib/strum/service.rb
CHANGED
@@ -39,10 +39,10 @@ module Strum
|
|
39
39
|
self._inputs = inputs.dup.freeze
|
40
40
|
end
|
41
41
|
|
42
|
-
def execute
|
42
|
+
def execute(&block)
|
43
43
|
catch(:exit) do
|
44
44
|
audit
|
45
|
-
|
45
|
+
instance_exec(self, &block) if block_given?
|
46
46
|
call if valid?
|
47
47
|
end
|
48
48
|
valid? ? valid_result : invalid_result
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strum-service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Serhiy Nazarov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Strum Service
|
14
14
|
email:
|