queue_map 0.6 → 0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/queue_map/consumer.rb +1 -1
- data/lib/queue_map/version.rb +1 -1
- metadata +53 -89
data/lib/queue_map/consumer.rb
CHANGED
@@ -114,7 +114,7 @@ class QueueMap::Consumer
|
|
114
114
|
end
|
115
115
|
rescue Qrack::ClientTimeout
|
116
116
|
rescue Timeout::Error
|
117
|
-
logger.info "Job took longer than #{
|
117
|
+
logger.info "Job took longer than #{job_timeout} seconds to complete. Aborting"
|
118
118
|
end while ! @shutting_down
|
119
119
|
end
|
120
120
|
rescue Exception => e # Bunny gets into a strange state when exceptions are raised, so reconnect to queue server if it happens
|
data/lib/queue_map/version.rb
CHANGED
metadata
CHANGED
@@ -1,134 +1,98 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: queue_map
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '0.7'
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 6
|
9
|
-
version: "0.6"
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Tim Harper
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-01-11 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: bunny
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70302000247380 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 13
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 5
|
32
|
-
- 3
|
18
|
+
requirements:
|
19
|
+
- - =
|
20
|
+
- !ruby/object:Gem::Version
|
33
21
|
version: 0.5.3
|
34
22
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: rspec
|
38
23
|
prerelease: false
|
39
|
-
|
24
|
+
version_requirements: *70302000247380
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rspec
|
27
|
+
requirement: &70302000246900 !ruby/object:Gem::Requirement
|
40
28
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
hash: 7712058
|
45
|
-
segments:
|
46
|
-
- 2
|
47
|
-
- 0
|
48
|
-
- 0
|
49
|
-
- rc
|
29
|
+
requirements:
|
30
|
+
- - =
|
31
|
+
- !ruby/object:Gem::Version
|
50
32
|
version: 2.0.0.rc
|
51
33
|
type: :development
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: background_process
|
55
34
|
prerelease: false
|
56
|
-
|
35
|
+
version_requirements: *70302000246900
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: background_process
|
38
|
+
requirement: &70302000246520 !ruby/object:Gem::Requirement
|
57
39
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
segments:
|
63
|
-
- 0
|
64
|
-
version: "0"
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
65
44
|
type: :development
|
66
|
-
version_requirements: *id003
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: ruby-debug
|
69
45
|
prerelease: false
|
70
|
-
|
46
|
+
version_requirements: *70302000246520
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: ruby-debug
|
49
|
+
requirement: &70302000246060 !ruby/object:Gem::Requirement
|
71
50
|
none: false
|
72
|
-
requirements:
|
73
|
-
- -
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
|
76
|
-
segments:
|
77
|
-
- 0
|
78
|
-
version: "0"
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
79
55
|
type: :development
|
80
|
-
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70302000246060
|
81
58
|
description: Queue Map
|
82
|
-
email:
|
59
|
+
email:
|
83
60
|
- tim@leadtune.com
|
84
|
-
executables:
|
61
|
+
executables:
|
85
62
|
- queue_map_consumer
|
86
63
|
extensions: []
|
87
|
-
|
88
64
|
extra_rdoc_files: []
|
89
|
-
|
90
|
-
files:
|
65
|
+
files:
|
91
66
|
- bin/queue_map_consumer
|
92
67
|
- lib/ext/enumerable.rb
|
93
68
|
- lib/queue_map/consumer.rb
|
94
69
|
- lib/queue_map/version.rb
|
95
70
|
- lib/queue_map.rb
|
96
71
|
- MIT_LICENSE
|
97
|
-
has_rdoc: true
|
98
72
|
homepage: http://github.com/leadtune/queue_map
|
99
73
|
licenses: []
|
100
|
-
|
101
74
|
post_install_message:
|
102
75
|
rdoc_options: []
|
103
|
-
|
104
|
-
require_paths:
|
76
|
+
require_paths:
|
105
77
|
- lib
|
106
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
107
79
|
none: false
|
108
|
-
requirements:
|
109
|
-
- -
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
|
112
|
-
|
113
|
-
- 0
|
114
|
-
version: "0"
|
115
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ! '>='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
85
|
none: false
|
117
|
-
requirements:
|
118
|
-
- -
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
hash: 23
|
121
|
-
segments:
|
122
|
-
- 1
|
123
|
-
- 3
|
124
|
-
- 6
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
125
89
|
version: 1.3.6
|
126
90
|
requirements: []
|
127
|
-
|
128
91
|
rubyforge_project:
|
129
|
-
rubygems_version: 1.
|
92
|
+
rubygems_version: 1.8.7
|
130
93
|
signing_key:
|
131
94
|
specification_version: 3
|
132
|
-
summary: Map a task across a pool of consumers, and recieve the result when the consumers
|
95
|
+
summary: Map a task across a pool of consumers, and recieve the result when the consumers
|
96
|
+
are done
|
133
97
|
test_files: []
|
134
|
-
|
98
|
+
has_rdoc:
|