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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fda021c7ce6ae5e97854b12c2743fbba2a70fcfd
4
- data.tar.gz: dd1fc76b50edeaafb2b66883508e9872a3a27489
3
+ metadata.gz: b547da095e93e52c0aac704bdab080d11380c418
4
+ data.tar.gz: d441b63f66290cbd79662fcb46b3e31f58bc4360
5
5
  SHA512:
6
- metadata.gz: abe91a6085dc0a63c3010a68466b42e8379fa96edd342c30fa86040dae5210b505b33fb3f9dd2c90963234664442d5eda7686b41c89ef6bb2c6ff140f2c62544
7
- data.tar.gz: b7de07b572853f4dafd09a380d75c37cc8fa25fa27f14baed8274f3a7b81ea32492a1f42e80e64c28a3747edfebb076ccc24752d8ead7c958217b71048146cab
6
+ metadata.gz: beb7e5f451640bd49d0d81e9e570f87ec871c011976a6c58e9a2fae413652490be6c86e03941754f8f762adb6591c4d8a68e67e710ce0a8a990da4e0e845ddff
7
+ data.tar.gz: c9472ef41f6592f00900c34fffe429707a1109c6ab4a89425341e48ce08b0cfc75f014b167ad6b661913167e6f09f9826ed43a1483352e3530535e562896426c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- the_help (1.0.0)
4
+ the_help (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TheHelp
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the_help
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Wilger