granite 0.17.5 → 0.17.6
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 35b8537cf811f9171c8a4abd64e49bb08e620606eedf9305f4f8f24fc72f7417
|
|
4
|
+
data.tar.gz: 910712a1c07681a1704eb74a0e433a89e1a64adf1d64ce4f1ff495880ae48b5b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1dd4c51654f375296b2b8fc388be9c18fc16339d04a3fa86d99ad854028d4ec7ebd681e1522e17d654119f5cb12099ff4dea9ac6af467d2ae673b5cf51352874
|
|
7
|
+
data.tar.gz: fa1bde48cbb506e2daf386486405672f2af05123c9e1ca175a960b1fabd1012899950ae43d4bc87ed30b392d47bffec832737c1e8161ca9f1da430234fc03f9e
|
|
@@ -34,8 +34,8 @@ module Granite
|
|
|
34
34
|
def decline_action(context, action)
|
|
35
35
|
return if action.satisfy_preconditions?
|
|
36
36
|
|
|
37
|
-
action.errors
|
|
38
|
-
action.failed_preconditions.each {
|
|
37
|
+
action.errors.where(:base).each { context.errors.import(_1) }
|
|
38
|
+
action.failed_preconditions.each { context.failed_preconditions << _1 }
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
end
|
data/lib/granite/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: granite
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.17.
|
|
4
|
+
version: 0.17.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Toptal Engineering
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionpack
|
|
@@ -330,8 +330,8 @@ dependencies:
|
|
|
330
330
|
- - "~>"
|
|
331
331
|
- !ruby/object:Gem::Version
|
|
332
332
|
version: '0.15'
|
|
333
|
-
description:
|
|
334
|
-
email:
|
|
333
|
+
description:
|
|
334
|
+
email:
|
|
335
335
|
executables: []
|
|
336
336
|
extensions: []
|
|
337
337
|
extra_rdoc_files: []
|
|
@@ -408,7 +408,7 @@ licenses:
|
|
|
408
408
|
- MIT
|
|
409
409
|
metadata:
|
|
410
410
|
rubygems_mfa_required: 'true'
|
|
411
|
-
post_install_message:
|
|
411
|
+
post_install_message:
|
|
412
412
|
rdoc_options: []
|
|
413
413
|
require_paths:
|
|
414
414
|
- lib
|
|
@@ -423,8 +423,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
423
423
|
- !ruby/object:Gem::Version
|
|
424
424
|
version: '0'
|
|
425
425
|
requirements: []
|
|
426
|
-
rubygems_version: 3.4.
|
|
427
|
-
signing_key:
|
|
426
|
+
rubygems_version: 3.4.19
|
|
427
|
+
signing_key:
|
|
428
428
|
specification_version: 4
|
|
429
429
|
summary: Another business actions architecture for Rails apps
|
|
430
430
|
test_files: []
|