ntq_excelsior_engine 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/ntq_excelsior_engine/imports_controller.rb +0 -1
- data/app/interactors/ntq_excelsior_engine/imports/import_lines.rb +4 -0
- data/app/interactors/ntq_excelsior_engine/imports/load_lines.rb +0 -1
- data/app/jobs/ntq_excelsior_engine/process_import_job.rb +1 -1
- data/lib/ntq_excelsior_engine/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adc057b1e2e3be1d8c935f86ae233f0883d0b088ee62bf8ae57254295807cf6b
|
4
|
+
data.tar.gz: 7119a39155ed904925a3428294b82553d7154521fc9db7fe6d5e191cf344bc12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b0bd03dfed29c4d1bada5c95dea27df727259baa9750b25f8b89a4ddb4598f970aa92844fd88b804ed8a456ec0040ef307824f743d382f84163cd0ec1505c0a
|
7
|
+
data.tar.gz: e8395d599387614ae95a78ab8f74133d76779303dde776ca450741f2d108d41a1c68de42702ac7edabbeba475d3d6c1a84c461abd014e117853e7a8a3f71b2ca
|
@@ -11,6 +11,10 @@ module NtqExcelsiorEngine
|
|
11
11
|
def call
|
12
12
|
import = context.import
|
13
13
|
importer = context.importer.new
|
14
|
+
importer.options ||= {}
|
15
|
+
importer.options.merge!({
|
16
|
+
import_id: import.id,
|
17
|
+
})
|
14
18
|
begin
|
15
19
|
import.update(state: 'importing')
|
16
20
|
importer.class.before.call(importer.context, importer.options) if importer.class.before.is_a?(Proc)
|
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: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|