ntq_excelsior_engine 0.4.5 → 1.0.0

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: 41e3c2e671cd590ae581e6fe6239274867a2c62ffef2ce9dadf72e0362b46d71
4
- data.tar.gz: 7de596c0ede044bb3a3f563e415aafcb85a05178619f9422b4802ae71220eaa6
3
+ metadata.gz: 0f4b2117b5bcad713740a840b9738eac61833aaf8fa7615c7b9305114ccdc590
4
+ data.tar.gz: '009d89a2bd204f4703d42419d40e605b3979e5d34b3abdb573adc825348d0ab3'
5
5
  SHA512:
6
- metadata.gz: 7a2969c5f9f1151ce5273cd76b31889b5b6f9a4b7b21c04bf9a6ff98be80d9a6990070b457aabf4788de47a9b3aaebac014b4b9de0f9144f5088693564c09702
7
- data.tar.gz: 773b4763f3137500fab941b0288ed714fd58fc9b932bfa2b9b9b1b8ea2d566d15161b1d3d2650aff53ca8228926388c8ac0082b863d019601c4dc0908da54fac
6
+ metadata.gz: 1b91fed9d9d6f51f45d52b6cac40de8a86d2e36586bb86942d4bcf56e26a32f7f88c6a423aa279cd1cc4c0269b39bc1765761c09610cf5649fc7a8236bea69be
7
+ data.tar.gz: 42426cf8978442cf2f6e246cd33de2cfb67d709be39ffb23d7ab2774ad549f14103fd13283875a65f772229d38b1e5455e66befb917ca1596d0c918b378057a8
@@ -13,10 +13,10 @@ module NtqExcelsiorEngine
13
13
  importer = context.importer.new
14
14
  begin
15
15
  import.update(state: 'buffering')
16
-
16
+
17
17
  importer.file = import.temp_file
18
18
  lines = importer.lines
19
-
19
+
20
20
  import_lines = []
21
21
  lines.each do |line|
22
22
  import_lines << NtqExcelsiorEngine::ImportLine.new(line: line, import: import)
@@ -29,8 +29,9 @@ module NtqExcelsiorEngine
29
29
  message = e.message.gsub("\/i", "").gsub("/", "").slice(1..-1).chop
30
30
  import.update(state: 'error', error_message: 'header_not_found', backtrace: message.split(', ').join(','))
31
31
  rescue => e
32
+ raise e if NtqExcelsiorEngine.debug
32
33
  Appsignal.send_error(e)
33
- import.update(state: 'error', backtrace: e.backtrace.join('\n'))
34
+ import.update(state: 'error', error_message: e.message, backtrace: e.backtrace.join('\n'))
34
35
  end
35
36
  end
36
37
  end
@@ -1,3 +1,3 @@
1
1
  module NtqExcelsiorEngine
2
- VERSION = "0.4.5"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,35 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ntq_excelsior_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 1.0.0
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-06-13 00:00:00.000000000 Z
11
+ date: 2023-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '6'
20
17
  - - "<"
21
18
  - !ruby/object:Gem::Version
22
19
  version: '8'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: '6'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: '6'
30
27
  - - "<"
31
28
  - !ruby/object:Gem::Version
32
29
  version: '8'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '6'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: jbuilder
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -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
@@ -192,8 +192,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  - !ruby/object:Gem::Version
193
193
  version: '0'
194
194
  requirements: []
195
- rubygems_version: 3.0.3.1
196
- signing_key:
195
+ rubygems_version: 3.3.7
196
+ signing_key:
197
197
  specification_version: 4
198
198
  summary: NtqExcelsiorEngine.
199
199
  test_files: []