rasti-app 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rasti/app.rb +3 -3
- data/lib/rasti/app/job.rb +2 -1
- data/lib/rasti/app/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd96796648f14ec7c4db3589ff4348159b217293
|
4
|
+
data.tar.gz: 1067ec4578914969850a35cdcbe18ab4134c7e21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31d66f67398a318fa09a650f67257ff8a2e0247298fd45d9dc9879d28680c9445030b12ec085b01489207f18bc89c07321aab3d652b955d6a59e6eb967552047
|
7
|
+
data.tar.gz: 57540760a99df731f57eb3e1499016ebf4b41f6ffaa6611924b534948b3feb8d29b37f264905b552ae0403a824148bedb07b25d180ce7f86f96389e3817033d1
|
data/lib/rasti/app.rb
CHANGED
@@ -64,7 +64,7 @@ module Rasti
|
|
64
64
|
form = self.class.facade.build_form name, params
|
65
65
|
authorize! permission, form
|
66
66
|
result = self.class.facade.call name, environment, session, form
|
67
|
-
after_call name, form.attributes
|
67
|
+
after_call name, form.attributes, result
|
68
68
|
|
69
69
|
result
|
70
70
|
end
|
@@ -78,7 +78,7 @@ module Rasti
|
|
78
78
|
form = self.class.facade.build_form name, params
|
79
79
|
authorize! permission, form
|
80
80
|
result = self.class.facade.enqueue name, session, form, options
|
81
|
-
after_call name, form.attributes
|
81
|
+
after_call name, form.attributes, result
|
82
82
|
|
83
83
|
result
|
84
84
|
end
|
@@ -87,7 +87,7 @@ module Rasti
|
|
87
87
|
policy.authorize! permission, form
|
88
88
|
end
|
89
89
|
|
90
|
-
def after_call(name, params)
|
90
|
+
def after_call(name, params, result)
|
91
91
|
end
|
92
92
|
|
93
93
|
end
|
data/lib/rasti/app/job.rb
CHANGED
@@ -8,7 +8,8 @@ module Rasti
|
|
8
8
|
|
9
9
|
def call
|
10
10
|
raise "Undefined #{self.class.name}.environment" unless self.class.environment
|
11
|
-
|
11
|
+
|
12
|
+
session = params[:session]
|
12
13
|
session.job_id = @process.id
|
13
14
|
interaction = params[:interaction].new self.class.environment, session
|
14
15
|
interaction.call params[:interaction].build_form params[:params]
|
data/lib/rasti/app/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rasti-app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Naiman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inflecto
|