action_links 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
File without changes
data/Gemfile CHANGED
File without changes
data/README.rdoc CHANGED
File without changes
data/Rakefile CHANGED
File without changes
@@ -16,12 +16,11 @@ module ActionLinks
16
16
 
17
17
  links.compact!
18
18
 
19
- content_tag(list.options[:list_wrapper], :class=>:actions) do
19
+ content_tag(list.options[:list_wrapper], :class=>list.options[:list_wrapper_class]) do
20
20
  links.map{ |link|
21
21
  content_tag(list.options[:link_wrapper], link, :class=>list.options[:link_wrapper_class])
22
22
  }.join("\n").html_safe
23
23
  end
24
24
  end
25
-
26
25
  end
27
26
  end
@@ -58,7 +58,7 @@ module ActionLinks
58
58
  end
59
59
 
60
60
  def wrapper_tag(&block)
61
- content_tag(options[:list_wrapper], :class=>:actions) do
61
+ content_tag(options[:list_wrapper], :class=>options[:list_wrapper_class]) do
62
62
  yield
63
63
  end
64
64
  end
@@ -1,3 +1,3 @@
1
1
  module ActionLinks
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_links
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-11-22 00:00:00.000000000 Z
13
+ date: 2012-05-02 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: Automatically includes action links (show, edit, destroy) based on the
16
16
  current page and user roles/permissions
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  version: '0'
52
52
  requirements: []
53
53
  rubyforge_project: action_links
54
- rubygems_version: 1.8.10
54
+ rubygems_version: 1.8.19
55
55
  signing_key:
56
56
  specification_version: 3
57
57
  summary: Quick and painless action links