the_help 3.2.0 → 3.2.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
  SHA256:
3
- metadata.gz: 42d6ef0b180ed2f150956e8c1bac70fde46e1f6ef221e797e79dbefc0fbb39d7
4
- data.tar.gz: 8656a86feb9ed3054f3a48ba59441e104cfe2db9969443dfe25e1ee568946e19
3
+ metadata.gz: 711fd970c5d6dc6b725ed9f5d06a60e8ecfbd3b67e5f68da46dc2df0b9f6c5db
4
+ data.tar.gz: 44f90a526470701bc45139a15154292b1f259eea4cfed01d3ac7d15223e07470
5
5
  SHA512:
6
- metadata.gz: d044c6844fc1a052afc36f05f255384eb6234b86b2de566a71779f48c2f5769cae6802c329a2cc3f238b3e6587b868056e5b96cb05c9d2cecc51b41a77e913ab
7
- data.tar.gz: 7ee92bcb59848b90883e5e62d0899c2dcca9b881e7898a186ef629c841923386191d541a2850ed4a0a05bfcb2c4f87bdfd8df1c12f9cdb24bb2dd57e41739326
6
+ metadata.gz: b02d2e42c3952da05f4fca955e56a65032db761a025654112c0d1e7192d02b5a3b36a30188e34bcb672043cbb2ed4f6c6a7ffd3089134b2699e6f079c765febf
7
+ data.tar.gz: db0f2c5c0044f6f9b1f8929ae31ce04dcc1682d41d7de7e53ed31eecf466b4641e13f1d940153665a5b0484153ac2464391f36f806a45c2e462b2e39662c83be
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- the_help (3.2.0)
4
+ the_help (3.2.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -263,16 +263,21 @@ module TheHelp
263
263
  # @return [TheHelp::Service::Result]
264
264
  def call
265
265
  validate_service_definition
266
+
266
267
  catch(:stop) do
267
268
  authorize
268
269
  log_service_call
269
270
  main
270
271
  check_result!
271
- self.block_result = yield result if block_given?
272
272
  end
273
+
274
+ self.block_result = yield result if block_given?
275
+
273
276
  throw :stop if stop_caller
277
+
274
278
  return block_result if block_given?
275
- return result
279
+
280
+ result
276
281
  end
277
282
 
278
283
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TheHelp
4
- VERSION = '3.2.0'
4
+ VERSION = '3.2.1'
5
5
  end
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: 3.2.0
4
+ version: 3.2.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: 2019-11-17 00:00:00.000000000 Z
11
+ date: 2019-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug