activerecord_csv_importer 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: 44eb851d750d0fbaa869e101d8e8ea82cff78155
4
- data.tar.gz: 930a65e74c117c66c03780f9580e3a8544887cd9
3
+ metadata.gz: 5b885c63a164e1a91e93261d6308b7515fc984c6
4
+ data.tar.gz: ff268cde18b2ebafa67814b0b728ad841fdc6e2c
5
5
  SHA512:
6
- metadata.gz: 7704ec50b0940aadd89bb55b971df9eee9fc68d08cd022a414d095a0741e1b7b2c46e86bf2e61b5602e536fc41f60dd3de7ca63d6452b20aaa48b0f4fa30049a
7
- data.tar.gz: 7c5363eddd44dc8b86807af76592434719bbd2d6c275787a745431760f24eedb9fbf4fc12974e45cb0d4444bdb62b88250547ff51c7951cae76ae3777dc49808
6
+ metadata.gz: 752dcf24a1008e5f70f730f6681bf5c52a0c201a2cffaeefe4f354d2c986578471ce50ece0b69c6cad12c9f65d97af68143df53bf704e85438b899604b6e8747
7
+ data.tar.gz: 62f22f03b49c3fadff2e53e9ecb12780dfbca208715cf544c2da938e33fb6e5b2ffebcc531ee8fb360c54fb050a3795e9c83563975d579d37f8aa930220f2b37
@@ -38,7 +38,7 @@ module ActiveRecordCSVImporter
38
38
  end
39
39
 
40
40
  def import_rows(set)
41
- config.model.import(header.columns_with_definition_names.dup, set, config.on_duplicate_key)
41
+ config.model.import(header.column_definition_names.dup, set, config.on_duplicate_key)
42
42
  end
43
43
 
44
44
  def add_to_report(response, set)
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordCSVImporter
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_csv_importer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zulfiqar Ali