the_help 1.2.2 → 1.3.0
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/service.rb +3 -2
- data/lib/the_help/version.rb +1 -1
- 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: 162a7edd045c23aefde46b0f07de518783466903ecf9b2f7ce94e4662ce5826d
|
4
|
+
data.tar.gz: 25a389502163a195096de28a50422d14bae23dd8fe01821e985891730c26fa55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b8f2dfce18846cd893eb83cc2127a2bb5938c81d85250ceb6f70dae4c85901fa4cb86de1369bd8d1e49385263ad897c6cd41cabeda66029f89fc713604ef9c3
|
7
|
+
data.tar.gz: 7bd9f55071e03400a87a24744c739777365b1c8a020b902c7d500dd5e0402e24757f645769bdd9170dc01a1001a29903bb1aa62ab4db16039ce9d8809539b54c
|
data/Gemfile.lock
CHANGED
data/lib/the_help/service.rb
CHANGED
@@ -198,14 +198,15 @@ module TheHelp
|
|
198
198
|
authorize
|
199
199
|
log_service_call
|
200
200
|
main
|
201
|
-
yield result if block_given?
|
201
|
+
self.block_result = yield result if block_given?
|
202
202
|
end
|
203
|
+
return block_result if block_given?
|
203
204
|
self
|
204
205
|
end
|
205
206
|
|
206
207
|
private
|
207
208
|
|
208
|
-
attr_accessor :context, :logger, :not_authorized, :
|
209
|
+
attr_accessor :context, :logger, :not_authorized, :block_result
|
209
210
|
attr_writer :result
|
210
211
|
attr_reader :inputs
|
211
212
|
|
data/lib/the_help/version.rb
CHANGED