quebert 1.0.2 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/quebert/job.rb +3 -2
- data/lib/quebert/version.rb +1 -1
- 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
|
-
|
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
|
|
data/lib/quebert/version.rb
CHANGED
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
|
-
|
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
|
-
|
21
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
27
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
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
|
-
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
43
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
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
|
-
|
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
|
-
|
138
|
-
|
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
|
-
|
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.
|
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
|