king_views 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.5
1
+ 1.1.6
@@ -86,7 +86,7 @@ module KingList
86
86
  end
87
87
  @template.capture_haml do
88
88
  @template.haml_tag(:th, title.to_s, th_options)
89
- end
89
+ end
90
90
 
91
91
  when :content
92
92
  # Use given value (or formatted value as default)
@@ -145,7 +145,10 @@ module KingList
145
145
  @template.haml_concat I18n.t(:'link.actions')
146
146
  end
147
147
  when :content
148
- @template.haml_tag :td, :class => 'actions' do
148
+ td_options = options[:td_options] || {}
149
+ td_options[:class] = td_options[:class].to_a || []
150
+ td_options[:class] << 'actions'
151
+ @template.haml_tag :td, td_options do
149
152
  @template.haml_tag :ul, :class => 'actions' do
150
153
  @template.haml_concat @template.capture_haml(&block)
151
154
  end
@@ -155,4 +158,4 @@ module KingList
155
158
 
156
159
  end #TableBuilder
157
160
  end # module
158
- end # module
161
+ end # module
data/king_views.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{king_views}
8
- s.version = "1.1.5"
8
+ s.version = "1.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Georg Leciejewski"]
12
- s.date = %q{2011-12-25}
11
+ s.authors = [%q{Georg Leciejewski}]
12
+ s.date = %q{2012-01-16}
13
13
  s.description = %q{Clean up your Forms using king_form for dl or labeled forms. Use king_list for an easy markup of tables in your lists and dl-enabled listings in your detail views. }
14
14
  s.email = %q{gl@salesking.eu}
15
15
  s.extra_rdoc_files = [
@@ -62,8 +62,8 @@ Gem::Specification.new do |s|
62
62
  "lib/king_views.rb"
63
63
  ]
64
64
  s.homepage = %q{http://github.com/salesking/king_views}
65
- s.require_paths = ["lib"]
66
- s.rubygems_version = %q{1.6.2}
65
+ s.require_paths = [%q{lib}]
66
+ s.rubygems_version = %q{1.8.6}
67
67
  s.summary = %q{Ultraclean haml views with list and forms helpers for rails}
68
68
 
69
69
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: king_views
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 5
10
- version: 1.1.5
9
+ - 6
10
+ version: 1.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Georg Leciejewski
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-25 00:00:00 +01:00
19
- default_executable:
18
+ date: 2012-01-16 00:00:00 Z
20
19
  dependencies: []
21
20
 
22
21
  description: "Clean up your Forms using king_form for dl or labeled forms. Use king_list for an easy markup of tables in your lists and dl-enabled listings in your detail views. "
@@ -72,7 +71,6 @@ files:
72
71
  - king_list/test/test_helper.rb
73
72
  - king_views.gemspec
74
73
  - lib/king_views.rb
75
- has_rdoc: true
76
74
  homepage: http://github.com/salesking/king_views
77
75
  licenses: []
78
76
 
@@ -102,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
100
  requirements: []
103
101
 
104
102
  rubyforge_project:
105
- rubygems_version: 1.6.2
103
+ rubygems_version: 1.8.6
106
104
  signing_key:
107
105
  specification_version: 3
108
106
  summary: Ultraclean haml views with list and forms helpers for rails