bbk-app 1.0.0.72917 → 1.0.0.79241

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: f125d0af4909592226b4842cf3b01b644ebc3ace6c828bcd5923c005047e7b32
4
- data.tar.gz: f9bc70070fd971f332bc91f6d0eb421c019c750d133c61e4aef6ccce872e654b
3
+ metadata.gz: 3509b795d41c1a206f8a38ee929dc90938a862645f540cdb45a693734c08c5fb
4
+ data.tar.gz: ce18f44f0f32536abef0dc3f502d01fd954d5ae2204287c993492e6d5c8a75d1
5
5
  SHA512:
6
- metadata.gz: 8c25dfb33283db2b55d8b8451ca72875d7378c659fdd7de8b690c086940833014997d6233182e7dfffd8c8e549fbf5346a940c770101e9377a3a59f0acbe6daf
7
- data.tar.gz: f3571a04a7a8099549440156255988333d2acf4159ee273dec7b7795bbef8f2d48d489b54bacfb9a7e29121ad51f22ea52801f293701f51e6eaa999f92bd3e4f
6
+ metadata.gz: b2fb11aab47682cd9f934cf7903d561f8d91eff4c33db654cbdbc9bd7ea1dbbca763bcca5ce1730fa03d3231e605451e16430bd630a86def4f7938be0ca5467f
7
+ data.tar.gz: b74a37304c6caf28742f8bc49b0e681e99c95c505965b533d333771f67dcb664a51370f65ab4333e2b02e89c68ab24d74780129fc7b1ece652c6103104d4b652
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bbk-app (1.0.0.72917)
4
+ bbk-app (1.0.0.79241)
5
5
  activesupport
6
6
  bbk-utils (> 1.0.1)
7
7
  timeouter
@@ -125,6 +125,7 @@ module BBK
125
125
  logger.debug "There are #{results.count} results to send from #{message.headers[:message_id]}..."
126
126
  send_results(message, results).value
127
127
  rescue StandardError => e
128
+ logger.error "Failed processing message: #{e.inspect}"
128
129
  ActiveSupport::Notifications.instrument 'dispatcher.exception', msg: message, exception: e
129
130
  message.nack(error: e)
130
131
  close if force_quit
@@ -139,6 +140,7 @@ module BBK
139
140
  processor.call(message, results: results)
140
141
  end
141
142
  rescue StandardError => e
143
+ logger.error "Failed processing message in processor: #{e.inspect}"
142
144
  if processor.respond_to?(:on_error)
143
145
  results = processor.on_error(message, e)
144
146
  else
@@ -13,7 +13,11 @@ module BBK
13
13
  end
14
14
 
15
15
  def create
16
- klass.new(*instanceargs, **instancekwargs)
16
+ if RUBY_VERSION < '2.7' && instancekwargs.empty?
17
+ klass.new(*instanceargs)
18
+ else
19
+ klass.new(*instanceargs, **instancekwargs)
20
+ end
17
21
  end
18
22
 
19
23
  def call(*args, **kwargs)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bbk-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.72917
4
+ version: 1.0.0.79241
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samoilenko Yuri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-12 00:00:00.000000000 Z
11
+ date: 2022-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport