the_help 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/the_help/provides_callbacks.rb +2 -2
- data/lib/the_help/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: b547da095e93e52c0aac704bdab080d11380c418
|
4
|
+
data.tar.gz: d441b63f66290cbd79662fcb46b3e31f58bc4360
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: beb7e5f451640bd49d0d81e9e570f87ec871c011976a6c58e9a2fae413652490be6c86e03941754f8f762adb6591c4d8a68e67e710ce0a8a990da4e0e845ddff
|
7
|
+
data.tar.gz: c9472ef41f6592f00900c34fffe429707a1109c6ab4a89425341e48ce08b0cfc75f014b167ad6b661913167e6f09f9826ed43a1483352e3530535e562896426c
|
data/Gemfile.lock
CHANGED
@@ -56,11 +56,11 @@ module TheHelp
|
|
56
56
|
# object when the callback is invoked.
|
57
57
|
def callback(name, &block)
|
58
58
|
define_method("#{name}_without_logging", &block)
|
59
|
-
define_method(name) do
|
59
|
+
define_method(name) do |*args|
|
60
60
|
if defined?(logger)
|
61
61
|
logger.debug("#{inspect} received callback :#{name}.")
|
62
62
|
end
|
63
|
-
send("#{name}_without_logging")
|
63
|
+
send("#{name}_without_logging", *args)
|
64
64
|
end
|
65
65
|
private name
|
66
66
|
self
|
data/lib/the_help/version.rb
CHANGED