simple_workflow 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,10 +26,10 @@ module SimpleWorkflow::Helper
26
26
  end
27
27
  end
28
28
 
29
- def image_detour_to(image_source, title, url_options, image_options = nil, post = false)
29
+ def image_detour_to(image_source, title, url_options, image_options = nil, link_options = nil)
30
30
  image_options ||= {:class => 'image-submit'}
31
31
  image_options.update :alt => title, :title => title
32
- detour_to image_tag(image_source, image_options), url_options, post ? {:method => :post} : nil
32
+ detour_to image_tag(image_source, image_options), url_options, link_options
33
33
  end
34
34
 
35
35
  def image_link_to(image_source, title, url_options, image_options = nil, post = false)
@@ -1,3 +1,3 @@
1
1
  module SimpleWorkflow
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_workflow
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 3
10
+ version: 0.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Uwe Kubosch
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-29 00:00:00 Z
18
+ date: 2012-05-30 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails