greentable 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/greentable.gemspec +1 -1
- data/lib/greentable/greentable_table.rb +1 -1
- metadata +2 -2
data/greentable.gemspec
CHANGED
@@ -56,7 +56,7 @@ module Greentable
|
|
56
56
|
ret << "<thead>"
|
57
57
|
ret << "<tr>"
|
58
58
|
@th_html.each_with_index do |th,i|
|
59
|
-
ret << "<th#{do_attributes(@th_attributes[i])}>#{th.is_a?(Proc) ? th.call.to_s : th}</th>"
|
59
|
+
ret << "<th#{do_attributes(@defaults_th.deep_merge(@th_attributes[i]||{}))}>#{th.is_a?(Proc) ? th.call.to_s : th}</th>"
|
60
60
|
end
|
61
61
|
ret << "</tr>"
|
62
62
|
ret << "</thead>"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: greentable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-10-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|