simple_table 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/simple_table/tag.rb +2 -2
- data/lib/simple_table/version.rb +1 -1
- metadata +4 -4
data/lib/simple_table/tag.rb
CHANGED
@@ -52,14 +52,14 @@ module SimpleTable
|
|
52
52
|
def add_class!(options, klass)
|
53
53
|
unless klass.blank?
|
54
54
|
options[:class] ||= ''
|
55
|
-
options[:class] = options[:class].split(' ').push(klass).join(' ')
|
55
|
+
options[:class] = options[:class].to_s.split(' ').push(klass).join(' ')
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
59
|
def add_header!(options, headers)
|
60
60
|
unless headers.blank?
|
61
61
|
options[:headers] ||= ''
|
62
|
-
options[:headers] = options[:headers].split(' ').push(headers).join(' ')
|
62
|
+
options[:headers] = options[:headers].to_s.split(' ').push(headers).join(' ')
|
63
63
|
end
|
64
64
|
end
|
65
65
|
end
|
data/lib/simple_table/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_table
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 15
|
10
|
+
version: 0.0.15
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sven Fuchs
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-01-
|
19
|
+
date: 2011-01-20 00:00:00 +01:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|