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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tzu.rb +2 -2
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b65373fa789405d5d165a29c71bd15b3a227450b
4
- data.tar.gz: e7a9845bc66eba286135a9e7cbb64b9c197fa409
3
+ metadata.gz: be375f294991c28ee40881e6e85a43241850517b
4
+ data.tar.gz: ecc8b1aaa61056c1b9c599490c7bc29435e8188a
5
5
  SHA512:
6
- metadata.gz: a9a239244309bd5eae81848753bbdcdad5b22aac74b070ff73cb4ea843be47c1715a19758e06bcf6ed0025066423c2f6cace651b1f84f4f8b02888e767a09044
7
- data.tar.gz: 14b6723526bfa3dbe24a36d5dc65caa122cbc5f2e12eb2c7891aacedb6d89542736809ecca93044da744e2296e8ff190995695b05a49d042e15e4f883756815d
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!(init_request_object(params))
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.1.0
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-07-29 00:00:00.000000000 Z
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.2.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: