simple_workflow 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,10 +1,12 @@
1
1
  = simple_workflow
2
2
 
3
3
  * http://github.com/donv/simple_workflow
4
+ * http://rubydoc.info/gems/simple_workflow
5
+ * https://rubygems.org/gems/simple_workflow
4
6
 
5
7
  == DESCRIPTION:
6
8
 
7
- extension to Rails to allow detours with returns.
9
+ Extension to Rails to allow detours with returns.
8
10
 
9
11
  == FEATURES/PROBLEMS:
10
12
 
@@ -1,4 +1,6 @@
1
1
  module SimpleWorkflow::Controller
2
+ ##
3
+ # Like ActionController::Base#redirect_to, but stores where we come from, enabling returning here later.
2
4
  def detour_to(options)
3
5
  store_detour(params)
4
6
  redirect_to(options)
@@ -43,7 +45,7 @@ module SimpleWorkflow::Controller
43
45
  else
44
46
  redirect_to detour
45
47
  end
46
- return true
48
+ true
47
49
  end
48
50
 
49
51
  def back_or_redirect_to(*options)
@@ -1,3 +1,3 @@
1
1
  module SimpleWorkflow
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_workflow
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Uwe Kubosch
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-06 00:00:00 Z
18
+ date: 2012-03-07 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails