servactory 1.8.1 → 1.8.2
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: 2a87d01c5389b8d6d538b2cd1befe0cd8fa51b0ea578eefb8c0c0b457957fa75
|
4
|
+
data.tar.gz: 4ff7989cf58492790ad7cfef807cd2a2f6befacefa9407a4fb04e3b4567e2d6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b880c2475447311de03023601adc91597b38ecd083d5e108e4df8869dd65137d2a4001066142234c609c69aecf279d211be2258f806d662fc43893e97fea978
|
7
|
+
data.tar.gz: 8efc74ceb569789340dad5b3e1d54cc996528fda101f6bbf9719b9c8f55fc70baf5674659116d27312cc271ec9a7e0764f4de4c9e8a26d674377c157cc1a3330
|
@@ -28,7 +28,9 @@ module Servactory
|
|
28
28
|
|
29
29
|
return yield unless @collection_of_internals.names.include?(prepared_name)
|
30
30
|
|
31
|
-
internal = @collection_of_internals.find_by(name: prepared_name)
|
31
|
+
internal = @collection_of_internals.find_by(name: prepared_name) # ::Servactory::Internals::Internal
|
32
|
+
|
33
|
+
return yield if internal.nil?
|
32
34
|
|
33
35
|
Servactory::Internals::Validations::Type.validate!(
|
34
36
|
context: @context,
|
@@ -28,7 +28,9 @@ module Servactory
|
|
28
28
|
|
29
29
|
return yield unless @collection_of_outputs.names.include?(prepared_name)
|
30
30
|
|
31
|
-
output = @collection_of_outputs.find_by(name: prepared_name)
|
31
|
+
output = @collection_of_outputs.find_by(name: prepared_name) # ::Servactory::Outputs::Output
|
32
|
+
|
33
|
+
return yield if output.nil?
|
32
34
|
|
33
35
|
Servactory::Outputs::Validations::Type.validate!(
|
34
36
|
context: @context,
|
@@ -87,8 +87,8 @@ module Servactory
|
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
|
-
def respond_to_missing?(
|
91
|
-
Servactory.configuration.aliases_for_make.include?(
|
90
|
+
def respond_to_missing?(name, *)
|
91
|
+
Servactory.configuration.aliases_for_make.include?(name) ||
|
92
92
|
Servactory.configuration.shortcuts_for_make.include?(name) ||
|
93
93
|
super
|
94
94
|
end
|
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: 1.8.
|
4
|
+
version: 1.8.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: 2023-06-
|
11
|
+
date: 2023-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '13.0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rbs
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '3.1'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '3.1'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: rspec
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -164,6 +150,20 @@ dependencies:
|
|
164
150
|
- - "~>"
|
165
151
|
- !ruby/object:Gem::Version
|
166
152
|
version: '2.19'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: steep
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '1.4'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '1.4'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: yard
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|