sneaql 0.0.18-java → 0.0.19-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/lib/sneaql.rb +4 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e6f876ef0efb100ba0e3a2e286249ea6054b380e
4
- data.tar.gz: 90b65966024221b4ec1186e74c43c8c712cb5859
2
+ SHA256:
3
+ metadata.gz: c36b484ebefc8fb9d9d8a27138bb331ac84990c7ca3a22abe10c6a2fd54e92bc
4
+ data.tar.gz: 497baa4c078fea035b1a76cd74d86891ab6fbdad310af55639695e63a9c9e7d7
5
5
  SHA512:
6
- metadata.gz: 2f572ee51306a8dd1e5ca1dca37639a4634a465ab0943867e483a000025674d467f50b41a67989f077b7f86ec21671f6d946e246b4ec47444c90050b1be4093f
7
- data.tar.gz: 4ed167d74274ca96c3840892adb865c00b793224379c7abef6aac5a9b2e8a976345385c400a5ee934fce8e0b09237f238cb7c560ebb62c6086b0f6314a86432d
6
+ metadata.gz: 175b6fc7cacefe1eaa25ceb0b5a58055f2574774f2968efba4c6974ff4416a6b70702ee4c770dc1ec297ed33aed9bdbb0a4da750262decae80d31e044bf11e02
7
+ data.tar.gz: 3f99053a1b7fc6dbf102b12ad217d7a88b10440808faafd6f3173424e5b66e4f8f4182684781b38d7bfe60e97395adf3d01627fed0aad5913c49261f14cbd407
data/lib/sneaql.rb CHANGED
@@ -217,10 +217,9 @@ module Sneaql
217
217
  # not rollback automatically unless that is the default RDBMS
218
218
  # behavior for a connection that closes before a commit.
219
219
  def iterate_steps_and_statements
220
- @parsed_steps.each_with_index do |this_step|
220
+ @parsed_steps.each_with_index do |this_step, i|
221
221
  # raise any lingering errors not handled in previous step
222
222
  raise @exception_manager.pending_error if @exception_manager.pending_error != nil
223
-
224
223
  # set this so that other processes can poll the state
225
224
  @current_step = this_step[:step_number]
226
225
  # within a step... iterate through each statement
@@ -280,6 +279,9 @@ module Sneaql
280
279
  end
281
280
  end
282
281
  end
282
+ rescue => e
283
+ @logger.error(e.message)
284
+ e.backtrace.each { |r| @logger.error(r) }
283
285
  end
284
286
  end
285
287
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sneaql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: java
6
6
  authors:
7
7
  - jeremy winters
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  requirements: []
149
149
  rubyforge_project:
150
- rubygems_version: 2.6.6
150
+ rubygems_version: 2.6.11
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: sneaql language core