simple_workflow 1.0.4 → 1.0.5
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/lib/simple_workflow/controller.rb +1 -0
- data/lib/simple_workflow/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 63f699fd39e3f8c3204d500b7494f226ba8852ba
|
|
4
|
+
data.tar.gz: 356e0bd2074ccf602ed80305eac52bd12d5a9760
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 323cf433c4433a4aff4943ea768e2d9c3531e80c0e1d7193dd8c49170c68fde8486d4a573459f6727fac282d09c52dafd1ddffe073022b871624285f79f7f4e2
|
|
7
|
+
data.tar.gz: ed6f7734fa20b04ab761168bf72efd0dd070c3f31ec5e44f5765bac96cd48e19879ffd71c15029c143c4013591733c5f807c21ed1e7c7d028edf7627cd9a1771
|
|
@@ -16,6 +16,7 @@ module SimpleWorkflow::Controller
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
def store_detour(options, post = false)
|
|
19
|
+
options = options.dup.permit!.to_h if options.is_a?(ActionController::Parameters)
|
|
19
20
|
options[:request_method] = :post if post
|
|
20
21
|
if session[:detours] && session[:detours].last == options
|
|
21
22
|
logger.debug "Ignored duplicate detour: #{options.inspect}"
|
metadata
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
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.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Uwe Kubosch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: '4.0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - "
|
|
24
|
+
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: '4.0'
|
|
27
27
|
description: Expands Ruby On Rails to allow simple breadcrumb detour workflows.
|
|
28
28
|
email: uwe@kubosch.no
|
|
29
29
|
executables: []
|