ntq_excelsior_engine 1.1.5 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f7ad698f454583dcf9e41f6b486ee7772f65d1b444b2550b049562c505c3223
4
- data.tar.gz: 2f7066be1e9cfdea981975c58c6f155cba5b8ce29a1c0ad13e41bcfd57784ab2
3
+ metadata.gz: e6e653fa2896191c7620e1bcfeb61e8de4c66ce7e4075dc724d9ba3671299184
4
+ data.tar.gz: 6b59723d17f634b72fb05134c3f117d3584a61ca5d40acf88bf751c91739dfae
5
5
  SHA512:
6
- metadata.gz: 1924738188161501d4f8a2b9d6ebd4e4fe1e1410b04358e73bc77219f5130bf20b87de730926598587175ef09c37414829783ad3e66dc054d20d8600018efb25
7
- data.tar.gz: f9eb0a3e0078979a731aff326a8259777f4225fc90ef7f960993495360d4a74b2dae265c6f9b1e05538a699ab4233c8c667ad0ae87f9189f4520cd887076bcbb
6
+ metadata.gz: 3a35101f8954602b2f9a3afd96c13d7f1539a838df9dbcd68710f279446bd08b1ae96b58dd3d60ee5e494ae5a798a080ec53aa1d30d481603dc22370a4b06d17
7
+ data.tar.gz: 873c729d2c05251f2a592a21692c6c62220d8777bae0bcdc812756303e6d490ba662ec23c19771dc0145679bd905b69d06cebe49dad62965cdbf4d1450d16ac8
@@ -4,18 +4,12 @@ module NtqExcelsiorEngine
4
4
 
5
5
  attr_accessor :async
6
6
 
7
- enum state: { pending: 'pending', buffering: 'buffering', buffered: 'buffered', imported: 'imported',
8
- error: 'error', importing: 'importing', checking: 'checking', checked: 'checked' }
9
-
10
- if ActiveRecord.version >= Gem::Version.new('7.1')
11
- serialize :options, coder: YAML, type: Hash
12
- serialize :headers, coder: YAML, type: Hash
13
- serialize :stats, coder: YAML, type: Hash
14
- else
15
- serialize :options, Hash
16
- serialize :headers, Hash
17
- serialize :stats, Hash
18
- end
7
+ enum :state, { pending: 'pending', buffering: 'buffering', buffered: 'buffered', imported: 'imported',
8
+ error: 'error', importing: 'importing', checking: 'checking', checked: 'checked' }
9
+
10
+ serialize :options, type: Hash, coder: YAML
11
+ serialize :headers, type: Hash, coder: YAML
12
+ serialize :stats, type: Hash, coder: YAML
19
13
 
20
14
  after_create_commit :process_import!
21
15
 
@@ -2,11 +2,7 @@ module NtqExcelsiorEngine
2
2
  class ImportLine < ApplicationRecord
3
3
  self.table_name = "excelsior_import_lines"
4
4
 
5
- if ActiveRecord.version >= Gem::Version.new('7.1')
6
- serialize :line, coder: YAML, type: Hash
7
- else
8
- serialize :line, Hash
9
- end
5
+ serialize :line, type: Hash, coder: YAML
10
6
 
11
7
  validates :status, inclusion: { in: %w[error success] }, allow_blank: true
12
8
  validates :action, inclusion: { in: %w[create update] }, allow_blank: true
@@ -1,3 +1,3 @@
1
1
  module NtqExcelsiorEngine
2
- VERSION = "1.1.5"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,13 +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.5
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-06-22 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: rails
@@ -15,7 +16,7 @@ dependencies:
15
16
  requirements:
16
17
  - - "<"
17
18
  - !ruby/object:Gem::Version
18
- version: '8'
19
+ version: '9'
19
20
  - - ">="
20
21
  - !ruby/object:Gem::Version
21
22
  version: '6'
@@ -25,7 +26,7 @@ dependencies:
25
26
  requirements:
26
27
  - - "<"
27
28
  - !ruby/object:Gem::Version
28
- version: '8'
29
+ version: '9'
29
30
  - - ">="
30
31
  - !ruby/object:Gem::Version
31
32
  version: '6'
@@ -182,6 +183,7 @@ metadata:
182
183
  homepage_uri: https://github.com/9troisquarts/ntq-excelsior-engine
183
184
  source_code_uri: https://github.com/9troisquarts/ntq-excelsior-engine
184
185
  changelog_uri: https://github.com/9troisquarts/ntq-excelsior-engine/CHANGELOG.md
186
+ post_install_message:
185
187
  rdoc_options: []
186
188
  require_paths:
187
189
  - lib
@@ -196,7 +198,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
198
  - !ruby/object:Gem::Version
197
199
  version: '0'
198
200
  requirements: []
199
- rubygems_version: 3.6.9
201
+ rubygems_version: 3.5.22
202
+ signing_key:
200
203
  specification_version: 4
201
204
  summary: NtqExcelsiorEngine.
202
205
  test_files: []