simple_workflow 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +13 -8
- data/lib/simple_workflow/version.rb +1 -1
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -1,32 +1,37 @@
|
|
1
1
|
= simple_workflow
|
2
2
|
|
3
|
-
* http://github.com
|
3
|
+
* http://github.com/donv/simple_workflow
|
4
4
|
|
5
5
|
== DESCRIPTION:
|
6
6
|
|
7
|
-
|
7
|
+
extension to Rails to allow detours with returns.
|
8
8
|
|
9
9
|
== FEATURES/PROBLEMS:
|
10
10
|
|
11
|
-
*
|
11
|
+
* switch your "link_to" lines to "detour_to" and your controller "redirect_to" to "back_or_redirect_to" to allow users to return from whence they came.
|
12
12
|
|
13
13
|
== SYNOPSIS:
|
14
14
|
|
15
|
-
|
15
|
+
detour_to :controller => :my_models, :action => :create
|
16
|
+
back_or_redirect_to :controller => :my_models, :action => :index
|
16
17
|
|
17
18
|
== REQUIREMENTS:
|
18
19
|
|
19
|
-
*
|
20
|
+
* Rails
|
20
21
|
|
21
22
|
== INSTALL:
|
22
23
|
|
23
|
-
*
|
24
|
+
* gem install simple_workflow
|
25
|
+
|
26
|
+
or in Gemfile
|
27
|
+
|
28
|
+
gem 'simple_workflow'
|
24
29
|
|
25
30
|
== LICENSE:
|
26
31
|
|
27
32
|
(The MIT License)
|
28
33
|
|
29
|
-
Copyright (c) 2009
|
34
|
+
Copyright (c) 2009 Uwe Kubosch
|
30
35
|
|
31
36
|
Permission is hereby granted, free of charge, to any person obtaining
|
32
37
|
a copy of this software and associated documentation files (the
|
@@ -45,4 +50,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
45
50
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
46
51
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
47
52
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
48
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
53
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
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:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
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-02-
|
18
|
+
date: 2012-02-19 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rails
|