tallty_import_export 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7d7ca21a9a6d55f1bb3aaef470e0c683afbaee5302e56f911715f2514cdba9b
4
- data.tar.gz: c9f7b882eecee3883d1e07ef89187a8f8d672251dde4d51a647b5eca072a14ec
3
+ metadata.gz: 8caa796932bff10fefba6f63f2d084488b1fcb2dd102f7fb1d3d8c84b4500244
4
+ data.tar.gz: c46cdba654ab877946f7810d6d634c0ba326b882d9b177fba7dd17ed1b4350d9
5
5
  SHA512:
6
- metadata.gz: f829b2d625ce5f10e131ed66f0f7c088c26e9855cd878fd6d27a95e78fbe9931180233624bbfa12d1ee8973be03d9334860f7d265c7dd772e37aa1f696ebf5ec
7
- data.tar.gz: 16461d52726acc91a0eb5af83a942539b6fe70ffd9e47caed5d8bcd48626b7ff8ca3832df5f2232f601f3fc82a70c92ff770de68211e22dfbf630a66e711e30d
6
+ metadata.gz: 5d22ead9b9e98e6d2e23672bddcc2b187bea2287f2702c9b83a8bb3e32dc249c4e11d655b7bd2b2c68954bea7998ec4ff80e555ed93b5de8f7467fded4e2508c
7
+ data.tar.gz: efc7da3bd4d17e2878fb2721948ccfabbbdb16b91981982be07b33f8165aa56e8b66dfb61e3242abb1773507bebd7b18cdfa891b601b55a64c3cc4356f586b5d
@@ -51,7 +51,7 @@ module TalltyImportExport
51
51
 
52
52
  def process_options options
53
53
  options = options.with_indifferent_access
54
- @headers = options.delete(:headers) || []
54
+ @headers = options.delete(:headers)
55
55
  @primary_keys = options.delete(:primary_keys) || @headers.map { |header| header[:primary_key] ? header[:key].to_sym : nil }.compact
56
56
 
57
57
  @excel_hash = @headers.reduce({}) do |h, header|
@@ -1,3 +1,3 @@
1
1
  module TalltyImportExport
2
- VERSION = "1.0.8"
2
+ VERSION = "1.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tallty_import_export
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - liyijie