chef-cleanroom 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cleanroom/version.rb +1 -1
- data/lib/cleanroom.rb +4 -4
- 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: fe324b859b76d7f43d65406d899c590a69e390a9c7a10aa26a6730ecff2670cb
|
4
|
+
data.tar.gz: 5ebf7b68e0fe6b4db5f2d0276ee6bc622b8676f4dbe48c14d964b95fda31e068
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b105701d7264cffa6c16aadf6a2ab523152cde8f94660ee8c4371cc9b3c00c04415132cd6ffd9f8c3755690fe8af4f1debe2c1223500a5f4809ef92a33ee108a
|
7
|
+
data.tar.gz: b517ddb8d179aa7b559de16335b34a8b44871450710f8910d164be31ff9760fbd0e380688952736fd1118ca192db1ec85f2724092fe8871c19886b0c8e444e63
|
data/lib/cleanroom/version.rb
CHANGED
data/lib/cleanroom.rb
CHANGED
@@ -66,8 +66,8 @@ module Cleanroom
|
|
66
66
|
# @param [Proc] block
|
67
67
|
# the block to +instance_eval+
|
68
68
|
#
|
69
|
-
def evaluate(instance, *args,
|
70
|
-
cleanroom.new(instance).instance_eval(*args,
|
69
|
+
def evaluate(instance, *args, &block)
|
70
|
+
cleanroom.new(instance).instance_eval(*args, &block)
|
71
71
|
end
|
72
72
|
|
73
73
|
#
|
@@ -126,8 +126,8 @@ module Cleanroom
|
|
126
126
|
end
|
127
127
|
|
128
128
|
exposed.each do |exposed_method|
|
129
|
-
define_method(exposed_method) do |*args,
|
130
|
-
__instance__.public_send(exposed_method, *args,
|
129
|
+
define_method(exposed_method) do |*args, &block|
|
130
|
+
__instance__.public_send(exposed_method, *args, &block)
|
131
131
|
end
|
132
132
|
end
|
133
133
|
|