interface-dsl 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/interface/dsl/version.rb +1 -1
- data/lib/interface/port_entity.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ccfcb856e6c4f9982ffd0814a7a2ab03baf2e39
|
4
|
+
data.tar.gz: 17f21962211a09f52e6a5871d431c1de06b24ef3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a97d3e5cc34ed61ba42877751a90bd02f3f6f316a2a395fb5b2a895972f1b330a36257a088cb3bdce993446461e6db4a1014a5c0f167799bd3eaa97302e0bdf6
|
7
|
+
data.tar.gz: f210a71a270ce8333598ff09e49eaf9eb0d79577f1d8590aa0e51d6b5d422da96b27198447bf1b7f50d9d64e86570beadb43e72d3377b3529a91f913bedcc774
|
@@ -35,12 +35,12 @@ module Interface
|
|
35
35
|
fail(::Interface::Errors::HandlerMissingError.new("Handler is undefined"))
|
36
36
|
end
|
37
37
|
|
38
|
-
if !@contract.nil?
|
39
|
-
|
38
|
+
# if !@contract.nil?
|
39
|
+
# fail(::Interface::Errors::InvalidInputError.new("Empty argument list doesn not comply with the Contract")) if args.empty?
|
40
40
|
|
41
|
-
|
42
|
-
|
43
|
-
end
|
41
|
+
# errors = @contract.call(*args).errors
|
42
|
+
# fail(::Interface::Errors::InvalidInputError.new(errors)) if errors.any?
|
43
|
+
# end
|
44
44
|
|
45
45
|
_callee.call(*args, &block)
|
46
46
|
end
|