activerecord_csv_importer 0.3.0 → 0.4.0
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.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -1
- data/README.md +1 -1
- data/activerecord_csv_importer.gemspec +1 -0
- data/lib/activerecord_csv_importer/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5c5252118567fd81468ac171261b07c2a76ef7f946f4422c698f09a7bbd10854
|
|
4
|
+
data.tar.gz: 1f7fc642f005c421d6658d17c3af0987b5886765cea59f8d9cfda696e06502ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b69ba0f0e7031d273f1467485df5e932cca7132268b946bc21cf3c47032e0dcfcf6a7595b22588a67dcd44c9095f8fa592f576b742b3e0d7434f56775ce803a7
|
|
7
|
+
data.tar.gz: 776a45967b43c7ef6527df60b8daed7234041284e67ab77416e990671627ef25ed39947163a31e9ee156422bfe15e520dc6ca237afc27b14f907036349674480
|
data/.github/workflows/ruby.yml
CHANGED
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](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
|
|
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.
|
|
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:
|
|
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.
|
|
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
|