simple_workflow 1.0.7 → 1.0.8
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.
- checksums.yaml +4 -4
- data/History.rdoc +7 -0
- data/Rakefile +5 -5
- data/lib/simple_workflow/controller.rb +0 -2
- data/lib/simple_workflow/version.rb +1 -1
- data/simple_workflow-1.0.7.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c82d0eb5adec75db9f1dd91e18b04f0688a7bc2
|
4
|
+
data.tar.gz: 80f115a8a2662d98bec9162d7c99ea52abb6b3c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a34694dce9e3162dfe0b33d2b5364e4d5e9e8e4336631d54f9f1b8c6bc1c9e2e7278d7415c3c93e4710d60fa29db8b089b8290b972aeb6dbfdbbf73060070e8
|
7
|
+
data.tar.gz: d798bab91fa5031165d62a82e0c2ab72ba6257b3d51d0104c5b623d4d82e5321e869b3e7eb331f71745005eb7b5f8dd0eec73f83bd61885cef1d3151db9430c0
|
data/History.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -8,18 +8,18 @@ GEM_SPEC_FILE = 'simple_workflow.gemspec'
|
|
8
8
|
|
9
9
|
CLEAN.include('simple_workflow-*.gem', 'tmp')
|
10
10
|
|
11
|
-
task :
|
11
|
+
task default: :gem
|
12
12
|
|
13
13
|
desc 'Generate a gem'
|
14
|
-
task :
|
14
|
+
task gem: GEM_FILE
|
15
15
|
|
16
|
-
file
|
16
|
+
file(GEM_FILE => GEM_SPEC_FILE) {
|
17
17
|
puts "Generating #{GEM_FILE}"
|
18
18
|
`gem build #{GEM_SPEC_FILE}`
|
19
|
-
|
19
|
+
}
|
20
20
|
|
21
21
|
desc 'Push the gem to RubyGems'
|
22
|
-
task :
|
22
|
+
task release: :gem do
|
23
23
|
output = `git status --porcelain`
|
24
24
|
raise "Workspace not clean!\n#{output}" unless output.empty?
|
25
25
|
sh "git tag #{SimpleWorkflow::VERSION}"
|
@@ -35,8 +35,6 @@ module SimpleWorkflow::Controller
|
|
35
35
|
wf_ser_val = cookies.signed_or_encrypted.send(:serialize, nil, session[:detours])
|
36
36
|
wf_crypt_val = encryptor.encrypt_and_sign(wf_ser_val)
|
37
37
|
ws = wf_crypt_val.size
|
38
|
-
puts "ss: #{ss}"
|
39
|
-
puts "ws: #{ws}"
|
40
38
|
break unless ws >= 2048 || (ss >= 3072 && session[:detours] && session[:detours].size > 0)
|
41
39
|
logger.warn "Workflow too large (#{ws}). Dropping oldest detour."
|
42
40
|
session[:detours].shift
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_workflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Uwe Kubosch
|
@@ -46,6 +46,7 @@ files:
|
|
46
46
|
- simple_workflow-1.0.4.gem
|
47
47
|
- simple_workflow-1.0.5.gem
|
48
48
|
- simple_workflow-1.0.6.gem
|
49
|
+
- simple_workflow-1.0.7.gem
|
49
50
|
- simple_workflow.gemspec
|
50
51
|
- test/simple_workflow_test.rb
|
51
52
|
- test/test_helper.rb
|