activerecord_csv_importer 0.3.0 → 0.4.0

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: e020134d19e90aabb08259285326c6a64bce0414a4aba8315beb57e09ceee841
4
- data.tar.gz: 860c16f28c3ea187cc809e6faf6fa1a1f1d224204d8c958ab314f27bdbed6cd6
3
+ metadata.gz: 5c5252118567fd81468ac171261b07c2a76ef7f946f4422c698f09a7bbd10854
4
+ data.tar.gz: 1f7fc642f005c421d6658d17c3af0987b5886765cea59f8d9cfda696e06502ee
5
5
  SHA512:
6
- metadata.gz: 00227a9aae5171427820b60077a329040da91b52b7fc2402f918136901923f132dd93617f59794c79da406331bb1a1a6fe50c91c6a9372bdc492ffd113b71a9d
7
- data.tar.gz: 6e92890b6daded437ab77823223b4c69d8c683fe1f73c37eaaaae40fc847f7941f637d78364dfe10f0357a475fa982bde8bad0c13e7fc293fd32fb386e6dd5e3
6
+ metadata.gz: b69ba0f0e7031d273f1467485df5e932cca7132268b946bc21cf3c47032e0dcfcf6a7595b22588a67dcd44c9095f8fa592f576b742b3e0d7434f56775ce803a7
7
+ data.tar.gz: 776a45967b43c7ef6527df60b8daed7234041284e67ab77416e990671627ef25ed39947163a31e9ee156422bfe15e520dc6ca237afc27b14f907036349674480
@@ -12,7 +12,7 @@ jobs:
12
12
  runs-on: ubuntu-latest
13
13
  strategy:
14
14
  matrix:
15
- ruby-version: ['2.6', '2.7', '3.0', '3.1']
15
+ ruby-version: ['2.7', '3.3']
16
16
 
17
17
  steps:
18
18
  - uses: actions/checkout@v2
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Ruby](https://github.com/desheikh/activerecord_csv_importer/actions/workflows/ruby.yml/badge.svg)](https://github.com/desheikh/activerecord_csv_importer/actions/workflows/ruby.yml)
4
4
 
5
- ActiveRecordCSVImporter is a modified version CSVImporter, which uses activerecord-import to speed up processing.
5
+ ActiveRecordCSVImporter is a modified version of CSVImporter, which uses activerecord-import to speed up processing.
6
6
 
7
7
  The key difference with CSVImporter is the removal of callback support, since that is incompatible with bulk inserts. Additional config options are available instead to deal with batching and index conflicts.
8
8
 
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ['lib']
22
22
 
23
+ spec.add_dependency 'csv'
23
24
  spec.add_dependency 'virtus'
24
25
  spec.add_dependency 'activerecord-import'
25
26
 
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordCSVImporter
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.4.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_csv_importer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zulfiqar Ali
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-30 00:00:00.000000000 Z
11
+ date: 2024-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: csv
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: virtus
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -143,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
157
  - !ruby/object:Gem::Version
144
158
  version: '0'
145
159
  requirements: []
146
- rubygems_version: 3.1.6
160
+ rubygems_version: 3.4.10
147
161
  signing_key:
148
162
  specification_version: 4
149
163
  summary: A modified version of CSV Import using activerecord-import