torquebox-sidekiq-service 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.md +5 -0
- data/VERSION +1 -1
- data/lib/torque_box/sidekiq_service.rb +0 -7
- data/lib/torquebox-sidekiq-service.rb +4 -0
- data/torquebox-sidekiq-service.gemspec +5 -2
- metadata +55 -57
data/ChangeLog.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
@@ -35,18 +35,11 @@ module TorqueBox
|
|
35
35
|
Sidekiq::Logging.logger = TorqueBox::Logger.new('sidekiq') if ENV.has_key?('TORQUEBOX_CONTEXT')
|
36
36
|
end
|
37
37
|
|
38
|
-
require 'celluloid'
|
39
|
-
Celluloid.task_class = Celluloid::TaskThread
|
40
|
-
|
41
|
-
require 'celluloid/autostart'
|
42
|
-
|
43
38
|
if Sidekiq.options.has_key?(:verbose)
|
44
39
|
Sidekiq.logger.level = Logger::DEBUG
|
45
40
|
Celluloid.logger = Sidekiq.logger
|
46
41
|
end
|
47
42
|
|
48
|
-
require 'sidekiq/manager'
|
49
|
-
require 'sidekiq/scheduled'
|
50
43
|
require 'sidekiq/launcher'
|
51
44
|
|
52
45
|
@launcher = Sidekiq::Launcher.new(Sidekiq.options)
|
@@ -5,7 +5,11 @@ module Sidekiq
|
|
5
5
|
class CLI; end
|
6
6
|
end
|
7
7
|
|
8
|
+
# Sidekiq requires the Celluloid module to be in scope before it can start.
|
9
|
+
require 'celluloid/autostart'
|
10
|
+
|
8
11
|
# Sidekiq requires its processor to be available if configuring server middleware.
|
9
12
|
require 'sidekiq/processor'
|
10
13
|
|
14
|
+
|
11
15
|
require 'torque_box/sidekiq_service'
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "torquebox-sidekiq-service"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kevin Menard"]
|
12
|
-
s.date = "2013-05-
|
12
|
+
s.date = "2013-05-20"
|
13
13
|
s.description = " The TorqueBox Sidekiq service replaces the traditional Sidekiq CLI client for starting a Sidekiq processor. This\n allows TorqueBox features only available in-container to be usable by all your Sidekiq workers. It has the added\n benefit of reducing memory overhead by running in a single JVM and allows for better optimization through JIT and\n better debugging & profiling through TorqueBox's runtime inspection facilities.\n"
|
14
14
|
s.email = "nirvdrum@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -50,6 +50,7 @@ Gem::Specification.new do |s|
|
|
50
50
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
51
51
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
52
52
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
53
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
53
54
|
else
|
54
55
|
s.add_dependency(%q<torquebox-sidekiq-service>, [">= 0"])
|
55
56
|
s.add_dependency(%q<sidekiq>, [">= 0"])
|
@@ -59,6 +60,7 @@ Gem::Specification.new do |s|
|
|
59
60
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
60
61
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
61
62
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
63
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
62
64
|
end
|
63
65
|
else
|
64
66
|
s.add_dependency(%q<torquebox-sidekiq-service>, [">= 0"])
|
@@ -69,6 +71,7 @@ Gem::Specification.new do |s|
|
|
69
71
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
70
72
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
71
73
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
74
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
72
75
|
end
|
73
76
|
end
|
74
77
|
|
metadata
CHANGED
@@ -1,31 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: torquebox-sidekiq-service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
4
5
|
prerelease:
|
5
|
-
version: 0.2.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Kevin Menard
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: torquebox-sidekiq-service
|
16
16
|
version_requirements: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - '>='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
21
|
-
MA==
|
20
|
+
version: '0'
|
22
21
|
none: false
|
23
22
|
requirement: !ruby/object:Gem::Requirement
|
24
23
|
requirements:
|
25
|
-
- -
|
24
|
+
- - '>='
|
26
25
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
28
|
-
MA==
|
26
|
+
version: '0'
|
29
27
|
none: false
|
30
28
|
prerelease: false
|
31
29
|
type: :runtime
|
@@ -33,17 +31,15 @@ dependencies:
|
|
33
31
|
name: sidekiq
|
34
32
|
version_requirements: !ruby/object:Gem::Requirement
|
35
33
|
requirements:
|
36
|
-
- -
|
34
|
+
- - '>='
|
37
35
|
- !ruby/object:Gem::Version
|
38
|
-
version:
|
39
|
-
MA==
|
36
|
+
version: '0'
|
40
37
|
none: false
|
41
38
|
requirement: !ruby/object:Gem::Requirement
|
42
39
|
requirements:
|
43
|
-
- -
|
40
|
+
- - '>='
|
44
41
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
46
|
-
MA==
|
42
|
+
version: '0'
|
47
43
|
none: false
|
48
44
|
prerelease: false
|
49
45
|
type: :runtime
|
@@ -51,17 +47,15 @@ dependencies:
|
|
51
47
|
name: jeweler
|
52
48
|
version_requirements: !ruby/object:Gem::Requirement
|
53
49
|
requirements:
|
54
|
-
- -
|
50
|
+
- - '>='
|
55
51
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
57
|
-
MA==
|
52
|
+
version: '0'
|
58
53
|
none: false
|
59
54
|
requirement: !ruby/object:Gem::Requirement
|
60
55
|
requirements:
|
61
|
-
- -
|
56
|
+
- - '>='
|
62
57
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
64
|
-
MA==
|
58
|
+
version: '0'
|
65
59
|
none: false
|
66
60
|
prerelease: false
|
67
61
|
type: :development
|
@@ -69,17 +63,15 @@ dependencies:
|
|
69
63
|
name: jeweler
|
70
64
|
version_requirements: !ruby/object:Gem::Requirement
|
71
65
|
requirements:
|
72
|
-
- -
|
66
|
+
- - '>='
|
73
67
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
75
|
-
MA==
|
68
|
+
version: '0'
|
76
69
|
none: false
|
77
70
|
requirement: !ruby/object:Gem::Requirement
|
78
71
|
requirements:
|
79
|
-
- -
|
72
|
+
- - '>='
|
80
73
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
82
|
-
MA==
|
74
|
+
version: '0'
|
83
75
|
none: false
|
84
76
|
prerelease: false
|
85
77
|
type: :development
|
@@ -87,17 +79,15 @@ dependencies:
|
|
87
79
|
name: jeweler
|
88
80
|
version_requirements: !ruby/object:Gem::Requirement
|
89
81
|
requirements:
|
90
|
-
- -
|
82
|
+
- - '>='
|
91
83
|
- !ruby/object:Gem::Version
|
92
|
-
version:
|
93
|
-
MA==
|
84
|
+
version: '0'
|
94
85
|
none: false
|
95
86
|
requirement: !ruby/object:Gem::Requirement
|
96
87
|
requirements:
|
97
|
-
- -
|
88
|
+
- - '>='
|
98
89
|
- !ruby/object:Gem::Version
|
99
|
-
version:
|
100
|
-
MA==
|
90
|
+
version: '0'
|
101
91
|
none: false
|
102
92
|
prerelease: false
|
103
93
|
type: :development
|
@@ -105,17 +95,15 @@ dependencies:
|
|
105
95
|
name: jeweler
|
106
96
|
version_requirements: !ruby/object:Gem::Requirement
|
107
97
|
requirements:
|
108
|
-
- -
|
98
|
+
- - '>='
|
109
99
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
111
|
-
MA==
|
100
|
+
version: '0'
|
112
101
|
none: false
|
113
102
|
requirement: !ruby/object:Gem::Requirement
|
114
103
|
requirements:
|
115
|
-
- -
|
104
|
+
- - '>='
|
116
105
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
118
|
-
MA==
|
106
|
+
version: '0'
|
119
107
|
none: false
|
120
108
|
prerelease: false
|
121
109
|
type: :development
|
@@ -123,17 +111,15 @@ dependencies:
|
|
123
111
|
name: jeweler
|
124
112
|
version_requirements: !ruby/object:Gem::Requirement
|
125
113
|
requirements:
|
126
|
-
- -
|
114
|
+
- - '>='
|
127
115
|
- !ruby/object:Gem::Version
|
128
|
-
version:
|
129
|
-
MA==
|
116
|
+
version: '0'
|
130
117
|
none: false
|
131
118
|
requirement: !ruby/object:Gem::Requirement
|
132
119
|
requirements:
|
133
|
-
- -
|
120
|
+
- - '>='
|
134
121
|
- !ruby/object:Gem::Version
|
135
|
-
version:
|
136
|
-
MA==
|
122
|
+
version: '0'
|
137
123
|
none: false
|
138
124
|
prerelease: false
|
139
125
|
type: :development
|
@@ -141,17 +127,31 @@ dependencies:
|
|
141
127
|
name: jeweler
|
142
128
|
version_requirements: !ruby/object:Gem::Requirement
|
143
129
|
requirements:
|
144
|
-
- -
|
130
|
+
- - '>='
|
145
131
|
- !ruby/object:Gem::Version
|
146
|
-
version:
|
147
|
-
MA==
|
132
|
+
version: '0'
|
148
133
|
none: false
|
149
134
|
requirement: !ruby/object:Gem::Requirement
|
150
135
|
requirements:
|
151
|
-
- -
|
136
|
+
- - '>='
|
152
137
|
- !ruby/object:Gem::Version
|
153
|
-
version:
|
154
|
-
|
138
|
+
version: '0'
|
139
|
+
none: false
|
140
|
+
prerelease: false
|
141
|
+
type: :development
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: jeweler
|
144
|
+
version_requirements: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - '>='
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
149
|
+
none: false
|
150
|
+
requirement: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - '>='
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
155
|
none: false
|
156
156
|
prerelease: false
|
157
157
|
type: :development
|
@@ -168,7 +168,7 @@ extra_rdoc_files:
|
|
168
168
|
- LICENSE.txt
|
169
169
|
- README.md
|
170
170
|
files:
|
171
|
-
-
|
171
|
+
- .travis.yml
|
172
172
|
- ChangeLog.md
|
173
173
|
- Gemfile
|
174
174
|
- LICENSE.txt
|
@@ -190,20 +190,18 @@ require_paths:
|
|
190
190
|
- lib
|
191
191
|
required_ruby_version: !ruby/object:Gem::Requirement
|
192
192
|
requirements:
|
193
|
-
- -
|
193
|
+
- - '>='
|
194
194
|
- !ruby/object:Gem::Version
|
195
|
-
version: !binary |-
|
196
|
-
MA==
|
197
195
|
segments:
|
198
196
|
- 0
|
197
|
+
version: '0'
|
199
198
|
hash: 2
|
200
199
|
none: false
|
201
200
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
201
|
requirements:
|
203
|
-
- -
|
202
|
+
- - '>='
|
204
203
|
- !ruby/object:Gem::Version
|
205
|
-
version:
|
206
|
-
MA==
|
204
|
+
version: '0'
|
207
205
|
none: false
|
208
206
|
requirements: []
|
209
207
|
rubyforge_project:
|