action_operation 1.0.0 → 1.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ab8543f8272a26b48f0c149d33314ea90ac0de3c28e0b64d5c57988ac5d8ccc
|
4
|
+
data.tar.gz: 1f96d1dacd90a9d836ac65e54b517f6cc412fbfd293d02aa296b8ac22b813a33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91c8b9e5617dd7fd1bbd6508672f8d7207b715480728b466ef26bf345cbd41b2972b0a59de2b294f5a6dbdf0170dc690c6f01d2d242839c144dfcf49a12877bf
|
7
|
+
data.tar.gz: 9c8aebec5f620a2814d0cde5f74d5b1c606e1552527fd1612ad503f898b7a2de4bc154b72942a591e636596dac8e5886509c6a3a3d4fd27f8116b07e4552f90e
|
data/lib/action_operation.rb
CHANGED
@@ -80,6 +80,14 @@ module ActionOperation
|
|
80
80
|
end
|
81
81
|
|
82
82
|
class_methods do
|
83
|
+
def inherited(klass)
|
84
|
+
klass.class_eval do
|
85
|
+
step :reraise do |exception|
|
86
|
+
raise exception
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
83
91
|
def state(name, &structure)
|
84
92
|
schemas[name] = Class.new do
|
85
93
|
include(SmartParams)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: action_operation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kurtis Rainbolt-Greene
|
@@ -144,7 +144,7 @@ files:
|
|
144
144
|
- lib/action_operation/version.rb
|
145
145
|
- lib/action_operation/version_spec.rb
|
146
146
|
- lib/action_operation_spec.rb
|
147
|
-
homepage: http://
|
147
|
+
homepage: http://github.com/krainboltgreene/action_operation.rb
|
148
148
|
licenses:
|
149
149
|
- ISC
|
150
150
|
metadata: {}
|