interface-dsl 0.2.1 → 0.2.2

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
  SHA1:
3
- metadata.gz: 04561b69e636a4540d4be50edf6e10d96f718b39
4
- data.tar.gz: fb2b4f0fa446e28e8d7961594c3b65abf9a33fb3
3
+ metadata.gz: 9ccfcb856e6c4f9982ffd0814a7a2ab03baf2e39
4
+ data.tar.gz: 17f21962211a09f52e6a5871d431c1de06b24ef3
5
5
  SHA512:
6
- metadata.gz: cfcc106380eaa7ee00ab1b666cc934b65bad5806a21ab40490fda4c73b4bfe28bee131de4afa733c2e1e323558fb0e4e85dc278176e2f5b03921b1894ff29367
7
- data.tar.gz: db3589a56179445e059bd37fba20041045f5ba46e6f02667bb2b77a8ec9433cb80bab78b0b1211ed45f0a191dc38b2bbf9ec261656470ef2a5dac71c1e991e27
6
+ metadata.gz: a97d3e5cc34ed61ba42877751a90bd02f3f6f316a2a395fb5b2a895972f1b330a36257a088cb3bdce993446461e6db4a1014a5c0f167799bd3eaa97302e0bdf6
7
+ data.tar.gz: f210a71a270ce8333598ff09e49eaf9eb0d79577f1d8590aa0e51d6b5d422da96b27198447bf1b7f50d9d64e86570beadb43e72d3377b3529a91f913bedcc774
@@ -1,5 +1,5 @@
1
1
  module Interface
2
2
  module Dsl
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
@@ -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
- fail(::Interface::Errors::InvalidInputError.new("Empty argument list doesn not comply with the Contract")) if args.empty?
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
- errors = @contract.call(*args).errors
42
- fail(::Interface::Errors::InvalidInputError.new(errors)) if errors.any?
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: interface-dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleksiy Kurnenkov