tzu 0.1.1.0 → 0.1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tzu.rb +2 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be375f294991c28ee40881e6e85a43241850517b
|
4
|
+
data.tar.gz: ecc8b1aaa61056c1b9c599490c7bc29435e8188a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbbd46f7370634bb89364cc4f5e1a1fddcef871c10a263d7972b13f03476ed43f5717827c60d9d5d3405d10bf711bafabe944af9d8cfe11facec1b814e68a2d3
|
7
|
+
data.tar.gz: 4a4de35db5b1d1b3bf320bacc8961b25309969384fed0cbdb28d93406bd271f0fba72c1b8d39c21543b4c889bb74513fec0c3e1b4d5d7dfda091c0422714a227
|
data/lib/tzu.rb
CHANGED
@@ -21,13 +21,13 @@ module Tzu
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def run(params)
|
24
|
-
run!(
|
24
|
+
run!(params)
|
25
25
|
rescue Failure => f
|
26
26
|
Outcome.new(false, f.errors, f.type)
|
27
27
|
end
|
28
28
|
|
29
29
|
def run!(params)
|
30
|
-
with_hooks(params) do |p|
|
30
|
+
with_hooks(init_request_object(params)) do |p|
|
31
31
|
outcome = call(p)
|
32
32
|
outcome.is_a?(Tzu::Outcome) ? outcome : Outcome.new(true, outcome)
|
33
33
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tzu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Morgan Bruce
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-10-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
157
|
version: '0'
|
158
158
|
requirements: []
|
159
159
|
rubyforge_project:
|
160
|
-
rubygems_version: 2.
|
160
|
+
rubygems_version: 2.4.6
|
161
161
|
signing_key:
|
162
162
|
specification_version: 4
|
163
163
|
summary: Standardise and encapsulate your application's actions
|
@@ -169,4 +169,3 @@ test_files:
|
|
169
169
|
- spec/step_spec.rb
|
170
170
|
- spec/tzu_spec.rb
|
171
171
|
- spec/validation_spec.rb
|
172
|
-
has_rdoc:
|