the_help 3.3.0 → 3.3.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/lib/the_help/service.rb +8 -6
- 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: b1529f0d2832e0d69096c3a00b7bf5a909b75f8b14b59a1a49aed87248d4935a
|
4
|
+
data.tar.gz: 80f2d717ef93107427856d2057672381067ef52939083f79dae38932df8c4b23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 376ecebb8cd352e0217f8d27fe3f7784ab2bf258454da67f9abdf1b68ba67bf99214f683e8041ef68e016ccb55cfe2492910eae0521652469ffe0b77b86d5e4a
|
7
|
+
data.tar.gz: b476d0491c4cb3a2f1c9a0149b1ac385d0f4ac6d033d4f0de8a061be6e1c47bbcda58a01fab928d0b93855aaeb14ffcc59d7030913923182479c4ecff54829ca
|
data/Gemfile.lock
CHANGED
data/lib/the_help/service.rb
CHANGED
@@ -324,13 +324,15 @@ module TheHelp
|
|
324
324
|
stop!
|
325
325
|
end
|
326
326
|
|
327
|
-
def stop!(type: :error,
|
328
|
-
if
|
329
|
-
|
330
|
-
|
331
|
-
|
327
|
+
def stop!(type: :error, **opts)
|
328
|
+
if opts.has_key?(:value)
|
329
|
+
if type == :success
|
330
|
+
result.success value
|
331
|
+
else
|
332
|
+
result.error value
|
333
|
+
end
|
332
334
|
else
|
333
|
-
|
335
|
+
check_result!
|
334
336
|
end
|
335
337
|
throw :stop
|
336
338
|
end
|
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: 3.3.
|
4
|
+
version: 3.3.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: 2020-10-
|
11
|
+
date: 2020-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|