matchi 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/matchi/helper.rb +2 -2
- 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: d0160e87dd2bb35e34120f11d16c0ebb5a5d4b4c984612e37a8139cb65814ed6
|
4
|
+
data.tar.gz: 10ce199e0511fda23304b1f8b64bf1c7911512e77c2af6b2d90ad078d56caed0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bb3da470e32e8332b4fb4106ebec65d06f23c92f9fdc18ce6de655b0fdc3408142210aebfcfe45d30e79ce0b3856488658f3c107c5dab7164125561e2a44bd0
|
7
|
+
data.tar.gz: 55dce8aca5a1b3aeacb396da47e41e008bde7c189b9acc389a39ba03beb9a3eb883732b5dfaf476158662d1c396fd7a454f0b0a10cd8ed87489b88440771158c
|
data/lib/matchi/helper.rb
CHANGED
@@ -32,8 +32,8 @@ module Matchi
|
|
32
32
|
|
33
33
|
matcher_klass = ::Matchi::Matcher.const_get(matcher_const)
|
34
34
|
|
35
|
-
define_method(matcher_klass.to_sym) do |*args|
|
36
|
-
matcher_klass.new(*args)
|
35
|
+
define_method(matcher_klass.to_sym) do |*args, **kwargs, &block|
|
36
|
+
matcher_klass.new(*args, **kwargs, &block)
|
37
37
|
end
|
38
38
|
end
|
39
39
|
end
|