comma-heaven 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ module CommaHeaven
15
15
  options.symbolize_keys!
16
16
  options[:limit] = options[:limit].to_i if options[:limit].kind_of?(String)
17
17
 
18
- returning FasterCSV::Table.new([]) do |table|
18
+ FasterCSV::Table.new([]).tap do |table|
19
19
  columns = CommaHeaven::Sqler::Columns.new(self, options[:export])
20
20
  headers = columns.sql_as
21
21
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comma-heaven
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Silvano Stralla