fanforce-worker 0.15.1 → 0.15.2

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
- ZWJiYzFhMTM3NDkwMWVmZjgyNTZlYjllYzk1NmQ0ZGFkOTUxOWZlYw==
4
+ ZThiNDMyNGQ4YzllYWQxMTRiZWUyZjkxZjU4ODMxNmIwOTY4OTk4Mg==
5
5
  data.tar.gz: !binary |-
6
- Y2RjM2ZhODI4ODAxNDQ2Yjg5OTU0ZWEzODk0NWFkNzJhYTMxZGMxMA==
6
+ NWNiM2QwNTA4NWUxYjUzNTNhNjc0NzgwYzQxNWE2MWUyNzI3ZmIzZQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZjcyNjU0ODcyYzQ1NzMwMGJhYjc3ZTlmZjA0NzcxNmY1NWY0NzRiMGVlYmVm
10
- MDZhZWI5MjQ0NzU3NWVkYjFmMzU5NDRhYTc0MDYxOTkwOTVjZDUwYjA1NTcz
11
- ZTBkYzMzOTEyYTZkYTRlNGIwNTZkNDA2NGJiOTdlZjUxNWQ4OGU=
9
+ MmNhMTE0OWVmZGRmYmFhYTc0NTcyZTc3ODQ3NDdjNDBhMTRlNmQ5OGVhZjUz
10
+ OWJmYzE5ZGUxOTYwZTg3NGM2YTRjNzdhMGYzODk3NGQyZGY1ODljNDJkNDIz
11
+ NDlkMWQxMTYxOTg0NzA3MTNkMmQ4YzdhODZlM2YwYjcxYzBiMDU=
12
12
  data.tar.gz: !binary |-
13
- Mzc2MDMyYjU4NWFlNjc2MGQ1ZTUyMDYwOTg0N2NjMjE1Y2Y4MmE0ZjQ2ZWQ0
14
- NmYxNGMyYzBlOGU1N2RhYzc5ZWIzMzQ2N2YwNzY0MjYzZGYxY2I2YzJiMGUz
15
- MDBiYWFhMGVhOTk0YmI3OWVkZjNkN2Y0NGYyZDQyZDBmZGFhZTc=
13
+ ZWY5NGMxNzZlNzg0YzY2ZWM1ZjZkMmEyMWJjMzc2ODY5YjRhNGI4NmYxZjA4
14
+ NzQ3YWU3ZTg2NzI3YWZlMWUyNjZhZDMzZjhjNjYwOWE3NzIyZGNkZTZkYzdj
15
+ YjFjYTc2MDkyNGZmNzE0MzE5M2E5NTA0NTAxYzI2NjYxNzI2Mjc=
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class Worker
3
- VERSION = '0.15.1'
3
+ VERSION = '0.15.2'
4
4
  end
5
5
  end
@@ -199,6 +199,7 @@ class Fanforce::Worker
199
199
  end
200
200
 
201
201
  def self.run_job(job, job_data, &code_block)
202
+ trap('SIGHUP') do raise 'trapped SIGHUP' end
202
203
  self.current_job = job
203
204
  self.current_params = job_data[:params]
204
205
  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.1
4
+ version: 0.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark