ntq_excelsior_engine 0.4.0 → 0.4.1

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: 2f97f39f7cfb787602db62bacb6b33eeb9ed76d50b17e3d7dd18aad473bba882
4
- data.tar.gz: 2730551c18b0f8a283e3b2e06173219b210a31d9e23edc373566d4f99adb4cc7
3
+ metadata.gz: 490d17d4df982da7fedcf2f3de2da594d6b1838a6a3b26eacf29c9f00adafea3
4
+ data.tar.gz: c5a19583c142c7f572d190e1a1923311c73800cf3814fdc960a91c0caa39a6ae
5
5
  SHA512:
6
- metadata.gz: 90ec8cffc24567e0f9ff6feb56666a8ce7422a2c1fe9174fc0c832398d0a17831caed7011d2c8393237d435f90059491b16b4290da7c86b45ed6aa2bbfac3b36
7
- data.tar.gz: fa9d699c739f3c7cdb6c4cb66fa05c562693199276bceb5832835ce8f2320211866ef05b5c270d4067e807313038df6bce0a097aca7afcfe41aa6517d595fc6f
6
+ metadata.gz: df158fb788938786aaa6357cbd93faf7b274d419c15728316a659ec57c7dcbef15c9531c1eb3bd8978b0a0532fc347b621a439304f10d4b0f683b9e8b58c1e89
7
+ data.tar.gz: d2ca1fb2432d78535104bd8e118aa767899274f5172ec0039aacb47228cfe6ddacb278c52865c95a903c3f5571d2dab8b3116739b3835b8db352d854c469f554
@@ -13,7 +13,7 @@ module NtqExcelsiorEngine
13
13
  importer = context.importer.new
14
14
  begin
15
15
  import.update(state: 'importing')
16
- import.import_lines.each do |line|
16
+ import.import_lines.find_each(batch_size: 1000) do |line|
17
17
  result = importer.import_line(line.line, save: true)
18
18
  line.update(status: result[:status], line_errors: result[:errors], action: result[:action])
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module NtqExcelsiorEngine
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ntq_excelsior_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-30 00:00:00.000000000 Z
11
+ date: 2023-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails