simple_workflow 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.rdoc +8 -1
- data/lib/simple_workflow/controller.rb +2 -2
- data/lib/simple_workflow/version.rb +1 -1
- metadata +7 -7
data/History.rdoc
CHANGED
|
@@ -25,8 +25,8 @@ module SimpleWorkflow::Controller
|
|
|
25
25
|
session[:detours] << options
|
|
26
26
|
ss = ws = nil
|
|
27
27
|
loop do
|
|
28
|
-
ss =
|
|
29
|
-
ws =
|
|
28
|
+
ss = Base64.encode64(Marshal.dump(session.to_hash)).size
|
|
29
|
+
ws = Base64.encode64(Marshal.dump(session[:detours])).size
|
|
30
30
|
break unless ws >= 2048 || (ss >= 3072 && session[:detours].size > 0)
|
|
31
31
|
logger.warn "Workflow too large (#{ws}). Dropping oldest detour."
|
|
32
32
|
session[:detours].shift
|
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: 9
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 0.4.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.4.3
|
|
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: 2013-01-
|
|
18
|
+
date: 2013-01-17 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: rails
|
|
@@ -33,7 +33,7 @@ dependencies:
|
|
|
33
33
|
version: 3.0.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
version_requirements: *id001
|
|
36
|
-
description: Expands Ruby On Rails to allow simple detour workflows.
|
|
36
|
+
description: Expands Ruby On Rails to allow simple breadcrumb detour workflows.
|
|
37
37
|
email: uwe@kubosch.no
|
|
38
38
|
executables: []
|
|
39
39
|
|
|
@@ -80,10 +80,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
80
80
|
version: "0"
|
|
81
81
|
requirements: []
|
|
82
82
|
|
|
83
|
-
rubyforge_project:
|
|
83
|
+
rubyforge_project: donv/simple_workflow
|
|
84
84
|
rubygems_version: 1.8.24
|
|
85
85
|
signing_key:
|
|
86
86
|
specification_version: 3
|
|
87
|
-
summary: Add simple "detour" workflow to Ruby On Rails.
|
|
87
|
+
summary: Add simple breadcrumbs "detour" workflow to Ruby On Rails.
|
|
88
88
|
test_files: []
|
|
89
89
|
|