hat-trick 0.1.5 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog +2 -0
- data/lib/hat_trick/step_definition.rb +2 -2
- data/lib/hat_trick/version.rb +1 -1
- metadata +2 -2
data/Changelog
CHANGED
@@ -143,7 +143,7 @@ module HatTrick
|
|
143
143
|
def before_callbacks
|
144
144
|
before_callbacks = [callbacks[:before]]
|
145
145
|
if wizard.before_callback_for_all_steps
|
146
|
-
before_callbacks
|
146
|
+
before_callbacks.unshift wizard.before_callback_for_all_steps
|
147
147
|
end
|
148
148
|
before_callbacks
|
149
149
|
end
|
@@ -164,7 +164,7 @@ module HatTrick
|
|
164
164
|
def after_callbacks
|
165
165
|
after_callbacks = [callbacks[:after]]
|
166
166
|
if wizard.after_callback_for_all_steps
|
167
|
-
after_callbacks
|
167
|
+
after_callbacks.unshift wizard.after_callback_for_all_steps
|
168
168
|
end
|
169
169
|
after_callbacks
|
170
170
|
end
|
data/lib/hat_trick/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hat-trick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|