servactory 2.15.0 → 2.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/servactory/info/builder.rb +18 -9
- data/lib/servactory/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce9429e1b0d9bddfab017bae08915f91a41cf81826d54becffa3021e1fdcdb58
|
4
|
+
data.tar.gz: a9d1ad2b9cd25dfd805df46df18cf4ef73d6feda77d16b0b208100b04984af29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a7a1d4a5356333cbec5eb3d25c11c9716cd4c56e9b15c320c572f49a58268da2ff4735706cd163c49d7d351e44daf02201fde43a0035dea9a7c8e96a6d28b74
|
7
|
+
data.tar.gz: 81f5b4831820c6b944561409f2729875c021d554c880cac952a311214bf4fb05417c24e26a73f99b2104c80facc8b270b58228d3995cd753479ad3a9d3664648
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
module Servactory
|
4
4
|
module Info
|
5
|
-
class Builder
|
5
|
+
class Builder # rubocop:disable Metrics/ClassLength
|
6
6
|
attr_reader :inputs,
|
7
7
|
:internals,
|
8
8
|
:outputs
|
@@ -16,7 +16,7 @@ module Servactory
|
|
16
16
|
inputs: collection_of_inputs,
|
17
17
|
internals: collection_of_internals,
|
18
18
|
outputs: collection_of_outputs,
|
19
|
-
|
19
|
+
config:
|
20
20
|
)
|
21
21
|
|
22
22
|
self
|
@@ -24,15 +24,24 @@ module Servactory
|
|
24
24
|
|
25
25
|
private
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
# rubocop:disable Metrics/MethodLength
|
28
|
+
def build_all_attributes(inputs:, internals:, outputs:, config:)
|
29
|
+
build_input_attributes_with(
|
30
|
+
collection: inputs,
|
31
|
+
dynamic_options: config.input_option_helpers.dynamic_options
|
32
|
+
)
|
30
33
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
34
|
+
build_internal_attributes_with(
|
35
|
+
collection: internals,
|
36
|
+
dynamic_options: config.internal_option_helpers.dynamic_options
|
37
|
+
)
|
38
|
+
|
39
|
+
build_output_attributes_with(
|
40
|
+
collection: outputs,
|
41
|
+
dynamic_options: config.output_option_helpers.dynamic_options
|
42
|
+
)
|
35
43
|
end
|
44
|
+
# rubocop:enable Metrics/MethodLength
|
36
45
|
|
37
46
|
def build_input_attributes_with(collection:, dynamic_options:)
|
38
47
|
@inputs = build_attributes_with(
|
data/lib/servactory/version.rb
CHANGED