sushi_fabric 0.1.9 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
- # Version = '20140411-084254'
3
+ # Version = '20140523-144630'
4
4
 
5
5
  require 'csv'
6
6
  require 'fileutils'
@@ -242,7 +242,9 @@ class SushiApp
242
242
  @output_files ||= []
243
243
  @output_files << header
244
244
  end
245
- @output_files = @output_files.uniq
245
+ if @output_files
246
+ @output_files = @output_files.uniq
247
+ end
246
248
  end
247
249
  def check_required_columns
248
250
  if @dataset_hash and @required_columns and (@required_columns-@dataset_hash.map{|row| row.keys}.flatten.uniq.map{|colname| colname.gsub(/\[.+\]/,'').strip}).empty?
@@ -1,3 +1,3 @@
1
1
  module SushiFabric
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sushi_fabric
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.1
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: 2014-04-11 00:00:00.000000000 Z
12
+ date: 2014-05-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler