fanforce-worker 0.15.4 → 0.15.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWQzZTdlMGE1OGQxNGY4YjdjMzA3NTE5ZWVmN2E2NzVhNDBmOTYyMg==
4
+ NTFjNzgxYjE3NzAxMjQ3MzIwODZjMjMwMzY0MTM5NDY5ODYzZDIwMg==
5
5
  data.tar.gz: !binary |-
6
- OWMxMjg0MDZlYTkzYTNkZGZiZTQxYTQ4M2QzNjQwM2FlMTZhNzYwNA==
6
+ NDYxZTQyZWNhZDgxYzVkNjMwMDgyNDY0NDBjNGNjNzU4YjFkZmUyOA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YjNmM2MyYWU2MjAzNGNlNmJiYTk0ZWNlZWY1MGZiOTQ1NTJiYTlhZWQzNzc3
10
- ZmVkZTlkMjJhZThlNTg3NDU4OWY3YTNjNmE2ZWU4YmY2YTIwZDU3MWI4NzA3
11
- YTE5YjM5Mjk4M2E5M2FlOTdmNjY1Nzc4NDJlNGM4NmVjYjNjZjI=
9
+ NjRjY2Y2ZWFmYjg4Zjk3MGVmMmI4Mjc2NGI2ODQ5NzEwZmY0YjVjODM1ZTA0
10
+ MmNiZGU0NzlmNDVhOTU2OTJjM2Y2ZDlkNzBjN2IzOTYyNTk4NzU3MjIzNjBi
11
+ Njg2MjMzNjZiMmZiNDJiNzUyMmNlOWNjNmFkYzk5Y2U2M2JiNDY=
12
12
  data.tar.gz: !binary |-
13
- NjFiM2NmYjNhNzJhZWVjYzc3YWJiMTc4YWMxZDgxZWNhOTFmODJmMjYwYTI0
14
- ZTYxOTYzZjE1NDFhZGI3ZDE0NTA1MTU3ZWU1YjU4OWU4NzQ4ZGE5Mzk3ZDY2
15
- YWY5M2JlZWI2NWE4MDRhZjFmZDEyNThiZjY0MmMyNzI0MzY1MzE=
13
+ Mjg3OGE3ZmEyODQ3ZmNmNzE3MWFmNzI2ZGRjZDc3ZjgwMjJiYTI2OGE0YmEw
14
+ MGQ2ZGQ2NDU2Njc5MjFjYjdmZGM3YzVkM2UwNmRhZjJjN2ZiOGY4MWI0ODgz
15
+ YWMxNGM1ODA5NTIyZTQ3MjJkYzhiZGUyY2UwODRhOWRlZmZiZTY=
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class Worker
3
- VERSION = '0.15.4'
3
+ VERSION = '0.15.5'
4
4
  end
5
5
  end
@@ -200,6 +200,7 @@ class Fanforce::Worker
200
200
 
201
201
  def self.run_job(job, job_data, &code_block)
202
202
  trap('SIGHUP') do raise 'trapped SIGHUP' end
203
+ trap('SIGTERM') do raise 'trapped SIGTERM' end
203
204
  self.current_job = job
204
205
  self.current_params = job_data[:params]
205
206
  self.current_retries = job_data[:retries]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-worker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.4
4
+ version: 0.15.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark