ntq_excelsior_engine 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/ntq_excelsior_engine/import.rb +2 -1
- data/lib/ntq_excelsior_engine/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c60af2d74b7e92d3efb1959fda614c639c99a6b89050fdaad29ef4501a60efb
|
4
|
+
data.tar.gz: 82d4cefad83ee6be3fb490232f13ea1a764c96438b8f68732bb88c3ec08ba169
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6abed7bf3192e4eda55b371a572b233581c4b89fd66844be65bb7a568867a48e7803f0c68309349b69829445b627948987699d44ca1237a28794a1b53ed6269
|
7
|
+
data.tar.gz: 05ff52c2b51760f294fc7485c52c2ac36e9b74557174ab7c378203d3fb9f4c054235411a14c1dff0621ca037431b626a017b97bb59ae90fde9d42690b8cd89bc
|
@@ -11,6 +11,8 @@ module NtqExcelsiorEngine
|
|
11
11
|
serialize :headers, Hash
|
12
12
|
serialize :stats, Hash
|
13
13
|
|
14
|
+
after_create_commit :process_import!
|
15
|
+
|
14
16
|
has_one_attached :file
|
15
17
|
has_many :import_lines, foreign_key: :excelsior_import_id, dependent: :delete_all
|
16
18
|
|
@@ -19,7 +21,6 @@ module NtqExcelsiorEngine
|
|
19
21
|
validates :import_type, presence: true
|
20
22
|
validates :import_type, inclusion: { in: NtqExcelsiorEngine.importers.keys.map(&:to_s) }, on: :create
|
21
23
|
|
22
|
-
after_create_commit :process_import!
|
23
24
|
|
24
25
|
def temp_file
|
25
26
|
return @tmp if @tmp
|
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.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -177,7 +177,7 @@ metadata:
|
|
177
177
|
homepage_uri: https://github.com/9troisquarts/ntq-excelsior-engine
|
178
178
|
source_code_uri: https://github.com/9troisquarts/ntq-excelsior-engine
|
179
179
|
changelog_uri: https://github.com/9troisquarts/ntq-excelsior-engine/CHANGELOG.md
|
180
|
-
post_install_message:
|
180
|
+
post_install_message:
|
181
181
|
rdoc_options: []
|
182
182
|
require_paths:
|
183
183
|
- lib
|
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
193
|
version: '0'
|
194
194
|
requirements: []
|
195
195
|
rubygems_version: 3.3.7
|
196
|
-
signing_key:
|
196
|
+
signing_key:
|
197
197
|
specification_version: 4
|
198
198
|
summary: NtqExcelsiorEngine.
|
199
199
|
test_files: []
|