quebert 1.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/quebert/job.rb +3 -2
  2. data/lib/quebert/version.rb +1 -1
  3. metadata +60 -73
data/lib/quebert/job.rb CHANGED
@@ -57,8 +57,9 @@ module Quebert
57
57
  # as well.
58
58
  begin
59
59
  Quebert::Timeout.timeout(@ttr){ perform(*args) }
60
- rescue ::Timeout::Error
61
- raise Job::Timeout
60
+ rescue ::Timeout::Error => e
61
+ log e.backtrace.join('\n'), :error
62
+ raise Job::Timeout, e.message, caller
62
63
  end
63
64
  end
64
65
 
@@ -1,3 +1,3 @@
1
1
  module Quebert
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,78 +1,74 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: quebert
3
- version: !ruby/object:Gem::Version
4
- hash: 19
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.4
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 2
10
- version: 1.0.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Brad Gessler
14
9
  - Steel Fu
15
10
  - Jeff Vyduna
16
11
  autorequire:
17
12
  bindir: bin
18
13
  cert_chain: []
19
-
20
- date: 2012-04-10 00:00:00 Z
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
14
+ date: 2012-04-28 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
23
17
  name: json
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
26
19
  none: false
27
- requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- hash: 3
31
- segments:
32
- - 0
33
- version: "0"
20
+ requirements:
21
+ - - ! '>='
22
+ - !ruby/object:Gem::Version
23
+ version: '0'
34
24
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: beanstalk-client
38
25
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
26
+ version_requirements: !ruby/object:Gem::Requirement
40
27
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 0
47
- version: "0"
28
+ requirements:
29
+ - - ! '>='
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
32
+ - !ruby/object:Gem::Dependency
33
+ name: beanstalk-client
34
+ requirement: !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
48
40
  type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: rspec
52
41
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
42
+ version_requirements: !ruby/object:Gem::Requirement
54
43
  none: false
55
- requirements:
56
- - - "="
57
- - !ruby/object:Gem::Version
58
- hash: 19
59
- segments:
60
- - 2
61
- - 7
62
- - 0
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ - !ruby/object:Gem::Dependency
49
+ name: rspec
50
+ requirement: !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - '='
54
+ - !ruby/object:Gem::Version
63
55
  version: 2.7.0
64
56
  type: :development
65
- version_requirements: *id003
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - '='
62
+ - !ruby/object:Gem::Version
63
+ version: 2.7.0
66
64
  description: A worker queue framework built around beanstalkd
67
- email:
65
+ email:
68
66
  - brad@bradgessler.com
69
- executables:
67
+ executables:
70
68
  - quebert
71
69
  extensions: []
72
-
73
70
  extra_rdoc_files: []
74
-
75
- files:
71
+ files:
76
72
  - .document
77
73
  - .gitignore
78
74
  - .rbenv-version
@@ -123,38 +119,29 @@ files:
123
119
  - spec/worker_spec.rb
124
120
  homepage: http://github.com/polleverywhere/quebert
125
121
  licenses: []
126
-
127
122
  post_install_message:
128
123
  rdoc_options: []
129
-
130
- require_paths:
124
+ require_paths:
131
125
  - lib
132
- required_ruby_version: !ruby/object:Gem::Requirement
126
+ required_ruby_version: !ruby/object:Gem::Requirement
133
127
  none: false
134
- requirements:
135
- - - ">="
136
- - !ruby/object:Gem::Version
137
- hash: 3
138
- segments:
139
- - 0
140
- version: "0"
141
- required_rubygems_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ required_rubygems_version: !ruby/object:Gem::Requirement
142
133
  none: false
143
- requirements:
144
- - - ">="
145
- - !ruby/object:Gem::Version
146
- hash: 3
147
- segments:
148
- - 0
149
- version: "0"
134
+ requirements:
135
+ - - ! '>='
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
150
138
  requirements: []
151
-
152
139
  rubyforge_project: quebert
153
- rubygems_version: 1.8.21
140
+ rubygems_version: 1.8.24
154
141
  signing_key:
155
142
  specification_version: 3
156
143
  summary: A worker queue framework built around beanstalkd
157
- test_files:
144
+ test_files:
158
145
  - spec/async_sender_spec.rb
159
146
  - spec/backend_spec.rb
160
147
  - spec/command_line_runner_spec.rb