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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df59d7f63272c718311cd243ab0488f41b321820099d3a6fe75346d2fc750afa
4
- data.tar.gz: 333f791a1ad08cc1edf042dea3645f512ae86d8e0712b0ae4b5f0e2258159cd1
3
+ metadata.gz: 1c60af2d74b7e92d3efb1959fda614c639c99a6b89050fdaad29ef4501a60efb
4
+ data.tar.gz: 82d4cefad83ee6be3fb490232f13ea1a764c96438b8f68732bb88c3ec08ba169
5
5
  SHA512:
6
- metadata.gz: 36e3ef9d16b0c070f4933dcce42cd1a577afe7730b975e768373c980d361f00d1d402bad979b665da333c3e0f187ccc8f9983c44c2c8275178339fa02b550882
7
- data.tar.gz: c2c542c700fb7291c678bd46cdb8df02255d671d4fdc39b479022bf309c2b42e1643f04b9cd893b63c1174be43f1c3446c72cdd30af9d475a41f728996537c06
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
@@ -1,3 +1,3 @@
1
1
  module NtqExcelsiorEngine
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
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: 1.0.1
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: 2023-07-05 00:00:00.000000000 Z
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: []