coney_island 0.7.1 → 0.7.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
  SHA1:
3
- metadata.gz: 7d3235b3a4ba3ab30ab945fe646f984e590fadc3
4
- data.tar.gz: 0c246415fb168c1bfa4f7164c9d351cd1fa71a75
3
+ metadata.gz: 44725cf611da555358a93fedaf3a746e6047a8d7
4
+ data.tar.gz: 318c468580c9cb5223943aa5e91ddae0cf50c34b
5
5
  SHA512:
6
- metadata.gz: bdff43883e7dad6eed7488bef99997eecd2c4414518790bfe8c0db483ad4e5a489fada58167e07d7155a28501cf75e10ef8ae05dea5e013c698d3cb147281049
7
- data.tar.gz: c3afba951a9fc3eeedf21a6239421db1c88847f934572720fef74391fe01b4dcc63a6e2249df9ea6fdbc92df8f76cc426d232eb19015eabd4905b4dc58c8c59e
6
+ metadata.gz: f0205e264d2ad3ec11c688d726fd042daed3a8a19a06831e1b075d4f9ea4589bc5f4253c7e229b01a045fdf37d39a16bf6f720c69777f14b9175c40d60f03f4c
7
+ data.tar.gz: faaf016ad416082503a9b37d66365d792cc8e84cb87e93f906c6167481e0b6461584bddc875e974f483b4b9a78bd88059a91b17dfdd1b57959497dfffb145009
@@ -2,9 +2,7 @@ require 'coney_island/coney_island_adapter'
2
2
  module ConeyIsland
3
3
  class Railtie < Rails::Railtie
4
4
  initializer "coney_island.coney_island_adapter" do
5
- if defined? ActiveJob
6
- ActiveJob::QueueAdapters.send :autoload, :ConeyIslandAdapter
7
- end
5
+ ActiveJob::QueueAdapters.send :autoload, :ConeyIslandAdapter
8
6
  end
9
7
  end
10
8
  end
@@ -1,3 +1,3 @@
1
1
  module ConeyIsland
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
@@ -141,7 +141,7 @@ module ConeyIsland
141
141
  end
142
142
  rescue Timeout::Error => e
143
143
  ConeyIsland.poke_the_badger(e, {code_source: 'ConeyIsland', job_payload: args, reason: 'timeout in subscribe code before calling job method'})
144
- rescue StandardError => e
144
+ rescue Exception => e
145
145
  ConeyIsland.poke_the_badger(e, {code_source: 'ConeyIsland', job_payload: args})
146
146
  self.log.error("ConeyIsland code error, not application code:\n#{e.inspect}\nARGS: #{args}")
147
147
  end
@@ -166,7 +166,7 @@ module ConeyIsland
166
166
  self.handle_job(metadata,args,job_id)
167
167
  end
168
168
  end
169
- rescue StandardError => e
169
+ rescue Exception => e
170
170
  ConeyIsland.poke_the_badger(e, {work_queue: @ticket, job_payload: args})
171
171
  self.log.error("Error executing #{args['klass']}##{args['method_name']} #{job_id} for id #{args['instance_id']} with args #{args}:")
172
172
  self.log.error(e.message)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coney_island
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut