simple_workflow 0.3.6 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,7 @@ module SimpleWorkflow::Helper
31
31
  image_options ||= {:class => 'image-submit'}
32
32
  image_options.update :alt => title, :title => title
33
33
  with_params = link_options.delete(:with)
34
- link_to_remote image_tag(image_source, image_options), :url => link_options, :with => with_params, :html => post ? {:method => :post} : {}
34
+ link_to image_tag(image_source, image_options), :url => link_options, :with => with_params, :html => (post ? {:method => :post} : {}).merge(:remote => true)
35
35
  end
36
36
 
37
37
  def detour?
@@ -1,3 +1,3 @@
1
1
  module SimpleWorkflow
2
- VERSION = '0.3.6'
2
+ VERSION = '0.4.0'
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: 31
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 3
9
- - 6
10
- version: 0.3.6
8
+ - 4
9
+ - 0
10
+ version: 0.4.0
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-12-18 00:00:00 Z
18
+ date: 2013-01-04 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails
@@ -27,10 +27,10 @@ dependencies:
27
27
  - !ruby/object:Gem::Version
28
28
  hash: 7
29
29
  segments:
30
- - 2
31
30
  - 3
32
- - 2
33
- version: 2.3.2
31
+ - 0
32
+ - 0
33
+ version: 3.0.0
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
36
  description: Expands Ruby On Rails to allow simple detour workflows.