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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 63f699fd39e3f8c3204d500b7494f226ba8852ba
4
- data.tar.gz: 356e0bd2074ccf602ed80305eac52bd12d5a9760
3
+ metadata.gz: 34764766cd7d35296cbe668b7df03b65e6b11ae0
4
+ data.tar.gz: a135546d9b83704629e4d06955bf6fb97e425081
5
5
  SHA512:
6
- metadata.gz: 323cf433c4433a4aff4943ea768e2d9c3531e80c0e1d7193dd8c49170c68fde8486d4a573459f6727fac282d09c52dafd1ddffe073022b871624285f79f7f4e2
7
- data.tar.gz: ed6f7734fa20b04ab761168bf72efd0dd070c3f31ec5e44f5765bac96cd48e19879ffd71c15029c143c4013591733c5f807c21ed1e7c7d028edf7627cd9a1771
6
+ metadata.gz: 1a7bc40e9e2dcaf541afd46dea3bd54940b5df7d82c213bf79036e6f810400e7c620f4f2c7ccb0517f901c5e505db34b86875df28434f1d01be03b9121581a98
7
+ data.tar.gz: 9679cacbb10437142bdecbdd0c679ede1c218e6bee9d2ec142255f7e07e5494e8e8226d31fc93710c7af26034d891223f2276befb873c183f9c42f43043603c7
data/History.rdoc CHANGED
@@ -1,3 +1,17 @@
1
+ == 1.0.6 2014-10-10
2
+
3
+ === Fixes
4
+
5
+ * Fixes use of symbol key for "id" parameter.
6
+
7
+
8
+ == 1.0.5 2014-09-13
9
+
10
+ === Feature
11
+
12
+ * Updated to support Rails 4 and drop support for Rails 3.
13
+
14
+
1
15
  == 1.0.4 2014-02-28
2
16
 
3
17
  === Feature
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 = "simple_workflow-#{SimpleWorkflow::VERSION}.gem"
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[:id] ||= nil
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
@@ -1,3 +1,3 @@
1
1
  module SimpleWorkflow
2
- VERSION = '1.0.5'
2
+ VERSION = '1.0.6'
3
3
  end
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.5
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-09-23 00:00:00.000000000 Z
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
- type: :runtime
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.2.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: