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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d285c22e305875af5c24b2ce95d9590601d7827a60d6f35f6d0aaf4db95c1e79
4
- data.tar.gz: cc9cbe2aff8c849799cb502e2e00398019d7773cbdee184aaefaba0eb94c00aa
3
+ metadata.gz: 162a7edd045c23aefde46b0f07de518783466903ecf9b2f7ce94e4662ce5826d
4
+ data.tar.gz: 25a389502163a195096de28a50422d14bae23dd8fe01821e985891730c26fa55
5
5
  SHA512:
6
- metadata.gz: 07053e7f15735f5a4d2614d1a36007d590728b28936601a3ab4cfb94bec55747101d120aad12f31f4e7e3ddae6c7422ff93cef2a022b540094e066180638bac0
7
- data.tar.gz: 55edf061b9a0f5e0b26f6191178b1be4c138aa96e2bb0bc53a6cb2078d4d70cdd99e05b77acf4e4f451decb070c69ac14c9fcdb1ebf38de06e2b6bc39683498d
6
+ metadata.gz: 9b8f2dfce18846cd893eb83cc2127a2bb5938c81d85250ceb6f70dae4c85901fa4cb86de1369bd8d1e49385263ad897c6cd41cabeda66029f89fc713604ef9c3
7
+ data.tar.gz: 7bd9f55071e03400a87a24744c739777365b1c8a020b902c7d500dd5e0402e24757f645769bdd9170dc01a1001a29903bb1aa62ab4db16039ce9d8809539b54c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- the_help (1.2.2)
4
+ the_help (1.3.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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, :result_handler
209
+ attr_accessor :context, :logger, :not_authorized, :block_result
209
210
  attr_writer :result
210
211
  attr_reader :inputs
211
212
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TheHelp
4
- VERSION = '1.2.2'
4
+ VERSION = '1.3.0'
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.2.2
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Wilger