simple_workflow 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/History.rdoc +7 -0
- data/Rakefile +4 -4
- data/lib/simple_workflow/controller.rb +1 -0
- data/lib/simple_workflow/version.rb +1 -1
- metadata +36 -58
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 82ab0023138310b33facfbcba779cfc11afc760b
|
4
|
+
data.tar.gz: 952175a417d735d367fba680da80330c6ef0dd5e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b482170725d306eab68fd3fb158a0c17aa9ef8a51ba17cafabf978100b5ac1c765f991418773d48896a32335b727d9980bacfa94397d9ab1bd7b8c7cc25b662c
|
7
|
+
data.tar.gz: 99da99d93bb3f57aca713b3face8151cb9993905cd0b3db106365720b43a90a36ca46c0c7d4013b50c9b08a37a484b9c41a4f81cdce08224e41d78e46483e15e
|
data/History.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -9,7 +9,7 @@ CLEAN.include('simple_workflow-*.gem', 'tmp')
|
|
9
9
|
|
10
10
|
task :default => :gem
|
11
11
|
|
12
|
-
desc
|
12
|
+
desc 'Generate a gem'
|
13
13
|
task :gem => GEM_FILE
|
14
14
|
|
15
15
|
file GEM_FILE => GEM_SPEC_FILE do
|
@@ -17,11 +17,11 @@ file GEM_FILE => GEM_SPEC_FILE do
|
|
17
17
|
`gem build #{GEM_SPEC_FILE}`
|
18
18
|
end
|
19
19
|
|
20
|
-
desc
|
20
|
+
desc 'Push the gem to RubyGems'
|
21
21
|
task :release => :gem do
|
22
22
|
output = `git status --porcelain`
|
23
23
|
raise "Workspace not clean!\n#{output}" unless output.empty?
|
24
24
|
sh "git tag #{SimpleWorkflow::VERSION}"
|
25
|
-
sh
|
25
|
+
sh 'git push --tags'
|
26
26
|
sh "gem push #{GEM_FILE}"
|
27
|
-
end
|
27
|
+
end
|
@@ -30,6 +30,7 @@ module SimpleWorkflow::Controller
|
|
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
|
33
|
+
reset_workflow if session[:detours].empty?
|
33
34
|
end
|
34
35
|
logger.debug "Added detour: #{options.inspect}, session: #{ss} bytes, workflow(#{session[:detours].size}): #{ws} bytes"
|
35
36
|
end
|
metadata
CHANGED
@@ -1,89 +1,67 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_workflow
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 3
|
10
|
-
version: 0.4.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.4
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Uwe Kubosch
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2013-07-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: rails
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 7
|
29
|
-
segments:
|
30
|
-
- 3
|
31
|
-
- 0
|
32
|
-
- 0
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
33
19
|
version: 3.0.0
|
34
20
|
type: :runtime
|
35
|
-
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.0.0
|
36
27
|
description: Expands Ruby On Rails to allow simple breadcrumb detour workflows.
|
37
28
|
email: uwe@kubosch.no
|
38
29
|
executables: []
|
39
|
-
|
40
30
|
extensions: []
|
41
|
-
|
42
31
|
extra_rdoc_files: []
|
43
|
-
|
44
|
-
files:
|
32
|
+
files:
|
45
33
|
- History.rdoc
|
46
|
-
- Rakefile
|
47
34
|
- README.rdoc
|
35
|
+
- Rakefile
|
36
|
+
- lib/simple_workflow.rb
|
48
37
|
- lib/simple_workflow/controller.rb
|
49
38
|
- lib/simple_workflow/helper.rb
|
50
39
|
- lib/simple_workflow/test_helper.rb
|
51
40
|
- lib/simple_workflow/version.rb
|
52
|
-
- lib/simple_workflow.rb
|
53
41
|
- test/simple_workflow_test.rb
|
54
42
|
- test/test_helper.rb
|
55
43
|
homepage: https://github.com/donv/simple_workflow
|
56
|
-
licenses:
|
57
|
-
|
44
|
+
licenses:
|
45
|
+
- MIT
|
46
|
+
metadata: {}
|
58
47
|
post_install_message:
|
59
48
|
rdoc_options: []
|
60
|
-
|
61
|
-
require_paths:
|
49
|
+
require_paths:
|
62
50
|
- lib
|
63
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ">="
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
hash: 3
|
78
|
-
segments:
|
79
|
-
- 0
|
80
|
-
version: "0"
|
51
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
81
61
|
requirements: []
|
82
|
-
|
83
62
|
rubyforge_project: donv/simple_workflow
|
84
|
-
rubygems_version:
|
63
|
+
rubygems_version: 2.0.3
|
85
64
|
signing_key:
|
86
|
-
specification_version:
|
65
|
+
specification_version: 4
|
87
66
|
summary: Add simple breadcrumbs "detour" workflow to Ruby On Rails.
|
88
67
|
test_files: []
|
89
|
-
|