al-to_xls 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/to_xls.rb +1 -1
  2. data/to_xls.gemspec +1 -1
  3. metadata +3 -3
@@ -8,7 +8,7 @@ class Hash
8
8
 
9
9
  each do |key, value|
10
10
  sheet = book.create_worksheet
11
- sheet.name = key.to_s
11
+ sheet.name = key.to_s.gsub('_', ' ').titleize
12
12
  value.to_xls({ :sheet => sheet }.merge(options[key] || {}))
13
13
  end
14
14
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{al-to_xls}
3
- s.version = "0.2.0"
3
+ s.version = "0.2.1"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Enrique Garcia Cota", "Francisco de Juan", "Alan Larkin"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: al-to_xls
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Enrique Garcia Cota