servactory 2.15.0.rc1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c53c25c36b576e8a9c501b60a5ad223bbbfc3001dbf2186fd4086d937cbae084
4
- data.tar.gz: 6c08533b7fa4562860d53d2489c98e67674697c6442901c54d6aff1c98cd4793
3
+ metadata.gz: ce9429e1b0d9bddfab017bae08915f91a41cf81826d54becffa3021e1fdcdb58
4
+ data.tar.gz: a9d1ad2b9cd25dfd805df46df18cf4ef73d6feda77d16b0b208100b04984af29
5
5
  SHA512:
6
- metadata.gz: e4ca873a1c77929813b5d7bb8f8e380cbfbacd58c7d249fdc629f12d95ef5b76c5920698bbf0a1accfd400d707c39b7550a4d7f1e002258419c6b5fc31d85a75
7
- data.tar.gz: a83ebf3a2a6564d775c5d128c0939cf23c7d90041fd119137696ef7d400592b33d10cb205f4e2f997fe74da351e6f8aef40ec7c30d1a9d208d478965f22451a8
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
- dynamic_options: extract_dynamic_options_from(config)
19
+ config:
20
20
  )
21
21
 
22
22
  self
@@ -24,15 +24,24 @@ module Servactory
24
24
 
25
25
  private
26
26
 
27
- def extract_dynamic_options_from(config)
28
- config.input_option_helpers.dynamic_options
29
- end
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
- def build_all_attributes(inputs:, internals:, outputs:, dynamic_options:)
32
- build_input_attributes_with(collection: inputs, dynamic_options:)
33
- build_internal_attributes_with(collection: internals, dynamic_options:)
34
- build_output_attributes_with(collection: outputs, dynamic_options:)
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(
@@ -4,8 +4,8 @@ module Servactory
4
4
  module VERSION
5
5
  MAJOR = 2
6
6
  MINOR = 15
7
- PATCH = 0
8
- PRE = "rc1"
7
+ PATCH = 1
8
+ PRE = nil
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join(".")
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: servactory
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.0.rc1
4
+ version: 2.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Sokolov