fanforce-worker 0.19.2 → 0.19.3

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: ca8014d9da61073d61f76751badde9a5f0bcbdb2
4
- data.tar.gz: fd9a521fe85d726545f641ee80a51138fe2736d3
3
+ metadata.gz: 272c7ef8b93c2e3ce5b4b6f7a34e63a1edcd1ab2
4
+ data.tar.gz: b02887d7a4e18b52f7cbc62e4f49ea2f11b7011a
5
5
  SHA512:
6
- metadata.gz: ef05a7bb906fbe66077c25485a83d099e7d20fa4a6c9e312e1d96fb7b6be193f4651e8eb392c3f2144a35f4693c8c32580232290e1a4e8589c305d686a2ef4d2
7
- data.tar.gz: 789490534e5be084af2e125ad188d31b8ec578d19272a49ad74541c05a5931d23b263e14ab2b3b2164f5746d2bbb34963f0b5d7461ccfeb3425d579d4667ce2c
6
+ metadata.gz: 29534397e001bb7a934eb5a3f4dd1464391303c776a1fcbc35d3215ac46118a3bee7fe0cfbb883a1a501a62ed2f727bb3aa698de576b9cbaab54daf293421538
7
+ data.tar.gz: d48ac77f0d70deb54b1d51be975785ebba5696fb6cfc8397942d3755ea250ce43d6252f7e2732f7cc25bcc9212e6861168ffb9a84769f24f82c6c7f28194f0c8
@@ -103,6 +103,9 @@ class Fanforce::Worker::Runner
103
103
  def delete_job(job=nil)
104
104
  return if job.nil? and @current_job.nil?
105
105
  (job || @current_job).delete
106
+ rescue Exception => e
107
+ log.debug "Job could not be deleted: #{e.message}"
108
+ ensure
106
109
  @current_job = nil
107
110
  end
108
111
 
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class Worker
3
- VERSION = '0.19.2'
3
+ VERSION = '0.19.3'
4
4
  end
5
5
  end
@@ -15,7 +15,6 @@ class Fanforce::Worker
15
15
  end
16
16
 
17
17
  def self.iron_mq
18
-
19
18
  require 'iron_mq'
20
19
  @@iron[:mq] ||= IronMQ::Client.new(:token => @@iron[:token], :project_id => @@iron[:project_id])
21
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-worker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.2
4
+ version: 0.19.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-07 00:00:00.000000000 Z
11
+ date: 2014-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iron_mq