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.
@@ -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
@@ -1,3 +1,3 @@
1
1
  module SimpleTable
2
- VERSION = '0.0.14'
2
+ VERSION = '0.0.15'
3
3
  end
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: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 14
10
- version: 0.0.14
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-13 00:00:00 +01:00
19
+ date: 2011-01-20 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency