granite 0.17.3 → 0.17.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/granite/action/performing.rb +0 -3
- data/lib/granite/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: 10dee4a24f06131470e9821bd669f56c10809c8d6c4930cb006a08086c901524
|
4
|
+
data.tar.gz: caf112b19418a9234a17d63a1292a54c2b26b2d11b315466f658a641e73c6020
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84e2312bcdf39e0cc54f8da9fa610bda195493eca78732ad68b8765f946e02280d5d5c964ae4b2d4493c41de6d7acc79990b75479ca93d9d5a4fb974ea5bb386
|
7
|
+
data.tar.gz: 3f4164bbd11271008d94076d5178a608f2e4aa13350e88bb2d8c21dec67f9c9ae9e232312389a789f42d97ccebab890818e225b4f99407627d9663443e9bebe3
|
@@ -36,14 +36,11 @@ module Granite
|
|
36
36
|
# database transaction. Returns the result of execute_perform! method execution
|
37
37
|
# or true if method execution returned false or nil
|
38
38
|
#
|
39
|
-
# @deprecated Use {#perform!} or {#try_perform!} instead
|
40
39
|
# @param context [Symbol] can be optionally provided to define which
|
41
40
|
# validations to test against (the context is defined on validations
|
42
41
|
# using `:on`)
|
43
42
|
# @return [Object] result of execute_perform! method execution or false in case of errors
|
44
43
|
def perform(context: nil, **options)
|
45
|
-
Granite.deprecator.warn('Granite::Action#perform is deprecated, use #perform! or #try_perform! instead')
|
46
|
-
|
47
44
|
transaction do
|
48
45
|
raise Rollback unless valid?(context)
|
49
46
|
|
data/lib/granite/version.rb
CHANGED