simple_workflow 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.rdoc +14 -0
- data/Rakefile +9 -1
- data/lib/simple_workflow/helper.rb +1 -1
- data/lib/simple_workflow/version.rb +1 -1
- metadata +12 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34764766cd7d35296cbe668b7df03b65e6b11ae0
|
4
|
+
data.tar.gz: a135546d9b83704629e4d06955bf6fb97e425081
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a7bc40e9e2dcaf541afd46dea3bd54940b5df7d82c213bf79036e6f810400e7c620f4f2c7ccb0517f901c5e505db34b86875df28434f1d01be03b9121581a98
|
7
|
+
data.tar.gz: 9679cacbb10437142bdecbdd0c679ede1c218e6bee9d2ec142255f7e07e5494e8e8226d31fc93710c7af26034d891223f2276befb873c183f9c42f43043603c7
|
data/History.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
require 'rake'
|
2
2
|
require 'rake/clean'
|
3
|
+
require 'rake/testtask'
|
3
4
|
require File.dirname(__FILE__) + '/lib/simple_workflow/version'
|
4
5
|
|
5
|
-
GEM_FILE
|
6
|
+
GEM_FILE = "simple_workflow-#{SimpleWorkflow::VERSION}.gem"
|
6
7
|
GEM_SPEC_FILE = 'simple_workflow.gemspec'
|
7
8
|
|
8
9
|
CLEAN.include('simple_workflow-*.gem', 'tmp')
|
@@ -25,3 +26,10 @@ task :release => :gem do
|
|
25
26
|
sh 'git push --tags'
|
26
27
|
sh "gem push #{GEM_FILE}"
|
27
28
|
end
|
29
|
+
|
30
|
+
Rake::TestTask.new do |t|
|
31
|
+
t.libs << 'test'
|
32
|
+
t.test_files = FileList['test/*_test.rb']
|
33
|
+
t.verbose = true
|
34
|
+
end
|
35
|
+
|
@@ -71,7 +71,7 @@ module SimpleWorkflow::Helper
|
|
71
71
|
def back_or_link_to(title, options = nil, html_options = nil)
|
72
72
|
if session[:detours]
|
73
73
|
options = {:return_from_detour => true}.update(session[:detours].last)
|
74
|
-
options[
|
74
|
+
options['id'] ||= nil
|
75
75
|
logger.debug "linked return from detour: #{options.inspect}"
|
76
76
|
end
|
77
77
|
link_to(title, options, html_options) if options
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Uwe Kubosch
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: rails
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
|
-
- -
|
16
|
+
- - ~>
|
18
17
|
- !ruby/object:Gem::Version
|
19
18
|
version: '4.0'
|
20
|
-
|
19
|
+
name: rails
|
21
20
|
prerelease: false
|
21
|
+
type: :runtime
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.0'
|
27
27
|
description: Expands Ruby On Rails to allow simple breadcrumb detour workflows.
|
@@ -44,25 +44,24 @@ homepage: https://github.com/donv/simple_workflow
|
|
44
44
|
licenses:
|
45
45
|
- MIT
|
46
46
|
metadata: {}
|
47
|
-
post_install_message:
|
47
|
+
post_install_message:
|
48
48
|
rdoc_options: []
|
49
49
|
require_paths:
|
50
50
|
- lib
|
51
51
|
required_ruby_version: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - '>='
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0'
|
56
56
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- -
|
58
|
+
- - '>='
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '0'
|
61
61
|
requirements: []
|
62
62
|
rubyforge_project: donv/simple_workflow
|
63
|
-
rubygems_version: 2.
|
64
|
-
signing_key:
|
63
|
+
rubygems_version: 2.1.9
|
64
|
+
signing_key:
|
65
65
|
specification_version: 4
|
66
66
|
summary: Add simple breadcrumbs "detour" workflow to Ruby On Rails.
|
67
67
|
test_files: []
|
68
|
-
has_rdoc:
|