the_help 1.5.0 → 1.5.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/README.md +2 -2
- data/lib/the_help/provides_callbacks.rb +2 -1
- data/lib/the_help/service_caller.rb +2 -0
- data/lib/the_help/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdc0248245f9ed54f9d28e080bdda74d1cf52515e776300862862edef815cc24
|
4
|
+
data.tar.gz: 0d1c6299e12d392191036c83a82761542ffac612885d8b275f3e428f72e19689
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a8ed78b1971e33b70a75b3138a22587edd8de7836f56a6d18c7df49cec7815ec51b32e112973e8c21d78d4348d771bd1450de2f6d10a8b7feaf62a7d81b6587
|
7
|
+
data.tar.gz: 12b6cf810bb4c4e868d0bf9822a26609d47fed852c0d2ad6919d1c8faf7924254f90dc3f04d431a5ba3a6f0c0e0095c105971f46a4b7c6f485ccaf26ce10d5ad
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -22,11 +22,11 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
Create subclasses of [`TheHelp::Service`]
|
25
|
+
Create subclasses of [`TheHelp::Service`](lib/the_help/service.rb) and call
|
26
26
|
them.
|
27
27
|
|
28
28
|
Make it easier to call a service by including
|
29
|
-
[`TheHelp::ServiceCaller`]
|
29
|
+
[`TheHelp::ServiceCaller`](lib/the_help/service_caller.rb).
|
30
30
|
|
31
31
|
### Running Callbacks
|
32
32
|
|
@@ -59,7 +59,8 @@ module TheHelp
|
|
59
59
|
define_method("#{name}_without_logging", &block)
|
60
60
|
define_method(name) do |*args|
|
61
61
|
if defined?(logger)
|
62
|
-
logger.debug("#{
|
62
|
+
logger.debug("#{self.class.name}/#{__id__} received callback " \
|
63
|
+
":#{name}.")
|
63
64
|
end
|
64
65
|
send("#{name}_without_logging", *args)
|
65
66
|
self
|
data/lib/the_help/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: the_help
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Wilger
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|