YouAreDaChef 0.1.0 → 0.1.1
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 +4 -4
- data/lib/YouAreDaChef.rb +2 -2
- data/lib/YouAreDaChef/version.rb +1 -1
- 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: d43e4f54e31e757a7318c002e2d59cfbd4215e30
|
|
4
|
+
data.tar.gz: 019eb156fac53ee44ceae2e8b658ef48aee03ce4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: adb2b69c9733e59341e44c54acbf6e29af2a016871c92b47a218d598ae93471239df3dbf11668e36afcb7263f0045df8dd272644afc34d95c09ed5603b7cc5fb
|
|
7
|
+
data.tar.gz: 36bf05ee9e0e1996a8806013ed126d9c651de5624f2ec7d1e0cae58e4102dc4862ea9ef7e0e4aeb1f9d668a284e1046fb129f3e6dff24ad9c37b55a93fc052d9
|
data/lib/YouAreDaChef.rb
CHANGED
|
@@ -62,7 +62,7 @@ module YouAreDaChef
|
|
|
62
62
|
def execute_before_callbacks(method, object, *args)
|
|
63
63
|
filter_callbacks(:before, method).each do |callback|
|
|
64
64
|
verify_callback(callback)
|
|
65
|
-
callback.call(
|
|
65
|
+
callback.call(args, object)
|
|
66
66
|
end
|
|
67
67
|
end
|
|
68
68
|
|
|
@@ -82,7 +82,7 @@ module YouAreDaChef
|
|
|
82
82
|
def execute_after_callbacks(method, object, *args, result)
|
|
83
83
|
filter_callbacks(:after, method).each do |callback|
|
|
84
84
|
verify_callback(callback)
|
|
85
|
-
callback.call(
|
|
85
|
+
callback.call(args, object, result)
|
|
86
86
|
end
|
|
87
87
|
end
|
|
88
88
|
|
data/lib/YouAreDaChef/version.rb
CHANGED