csv_x 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/csv_x.rb +1 -1
  2. metadata +1 -1
data/lib/csv_x.rb CHANGED
@@ -3,7 +3,7 @@ require 'csv'
3
3
  module CsvX
4
4
  def self.export(header, datas)
5
5
  fail 'Argument Error args[1] must be Array' if header.class != Array
6
- fail 'Argument Error args[1] must be ActiveRecord' if header.class != ActiveRecord
6
+ # fail 'Argument Error args[1] must be ActiveRecord' if datas.class != ActiveRecord
7
7
  @header = header
8
8
  file = __FILE__
9
9
  file.slice!(-3..-1)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csv_x
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: