coney_island 0.12.7 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coney_island.rb +3 -1
- data/lib/coney_island/coney_island_adapter.rb +36 -26
- data/lib/coney_island/version.rb +1 -1
- data/test/dummy/log/test.log +0 -188
- metadata +31 -32
- data/lib/coney_island/railtie.rb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ec1c9d48a61d54adce704ec30ec70f798752c60
|
4
|
+
data.tar.gz: 2fe20390434b9ab486b43710a2683f3a102d832b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a5f907b5bc00645495d3b37cec20b4cbfb483a6e7ab303d50bf555810f2ab4b7f7b9f6f2680f46a38493d629d8d537039c451e6bb18c18161d795dce3a31c80
|
7
|
+
data.tar.gz: 276629a0aa6d42aa49a88991a36e6feb046ef40012178e1af8158a68464b0432f8c8d9c5f80a29b300faa00bf83618c3953ad10a94c404f556ce674472d3f5fc
|
data/lib/coney_island.rb
CHANGED
@@ -121,6 +121,8 @@ require 'coney_island/worker'
|
|
121
121
|
require 'coney_island/job'
|
122
122
|
require 'coney_island/submitter'
|
123
123
|
require 'coney_island/job_argument_error'
|
124
|
-
|
124
|
+
if defined?(Rails) && defined?(ActiveJob)
|
125
|
+
require 'coney_island/coney_island_adapter'
|
126
|
+
end
|
125
127
|
require 'coney_island/performer'
|
126
128
|
require 'bunny'
|
@@ -1,32 +1,42 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
1
|
+
module ActiveJob
|
2
|
+
module QueueAdapters
|
3
|
+
class ConeyIslandAdapter
|
4
|
+
# == ConeyIsland adapter for Active Job
|
5
|
+
#
|
6
|
+
# ConeyIsland is an industrial-strength background worker system for Rails using RabbitMQ. Read more about
|
7
|
+
# {here}[http://edraut.github.io/coney_island/].
|
8
|
+
#
|
9
|
+
# To use ConeyIsland set the queue_adapter config to +:coney_island+.
|
10
|
+
#
|
11
|
+
# Rails.application.config.active_job.queue_adapter = :coney_island
|
12
|
+
class << self
|
13
|
+
def enqueue(job) #:nodoc:
|
14
|
+
ConeyIsland::Submitter.submit JobWrapper, :perform, args: [job.serialize], work_queue: job.queue_name, timeout: get_timeout_from_args(job), retry_limit: get_retry_from_args(job)
|
15
|
+
end
|
14
16
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
17
|
+
def enqueue_at(job, timestamp) #:nodoc:
|
18
|
+
delay = timestamp - Time.current.to_f
|
19
|
+
ConeyIsland::Submitter.submit JobWrapper, :perform, args: [job.serialize], work_queue: job.queue_name, delay: delay, timeout: get_timeout_from_args(job), retry_limit: get_retry_from_args(job)
|
20
|
+
end
|
19
21
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
22
|
+
def get_timeout_from_args(job)
|
23
|
+
job.class::TIMEOUT if job.class.const_defined? :TIMEOUT
|
24
|
+
end
|
25
|
+
|
26
|
+
def get_retry_from_args(job)
|
27
|
+
job.class::RETRY_LIMIT if job.class.const_defined? :RETRY_LIMIT
|
28
|
+
end
|
29
|
+
|
30
|
+
|
31
|
+
end
|
24
32
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
33
|
+
class JobWrapper #:nodoc:
|
34
|
+
class << self
|
35
|
+
def perform(job_data)
|
36
|
+
Base.execute job_data.stringify_keys!
|
37
|
+
end
|
38
|
+
end
|
29
39
|
end
|
30
40
|
end
|
31
41
|
end
|
32
|
-
end
|
42
|
+
end
|
data/lib/coney_island/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -1,196 +1,8 @@
|
|
1
|
-
undefined method `pry' for #<Binding:0x007f08a9ff6dc0>
|
2
|
-
undefined method `pry' for #<Binding:0x007f08a9fd5120>
|
3
|
-
undefined method `pry' for #<Binding:0x007f08a9fb4bf0>
|
4
1
|
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
5
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
6
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
7
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
8
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
9
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
10
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
11
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
12
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
13
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
14
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
15
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
16
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
17
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
18
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
19
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
20
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
21
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
22
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
23
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
24
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
25
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
26
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
27
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
28
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
29
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
30
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
31
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
32
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
33
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
34
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
35
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
36
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
37
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
38
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
39
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
40
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
41
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
42
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
43
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
44
|
-
undefined method `publish' for nil:NilClass
|
45
|
-
undefined method `publish' for nil:NilClass
|
46
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
47
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
48
|
-
undefined method `publish' for nil:NilClass
|
49
|
-
undefined method `publish' for nil:NilClass
|
50
|
-
undefined method `publish' for nil:NilClass
|
51
|
-
undefined method `publish' for nil:NilClass
|
52
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
53
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
54
|
-
undefined method `publish' for nil:NilClass
|
55
|
-
undefined method `publish' for nil:NilClass
|
56
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
57
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
58
|
-
mocked method :publish called with unexpected arguments ["{\"args\":[[]],\"klass\":\"TestModel\",\"method_name\":\"add_to_list\"}", {:routing_key=>"carousels.default"}]
|
59
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
60
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
61
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
62
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
63
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
64
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
65
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
66
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
67
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
68
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
69
|
-
undefined local variable or method `klass_name' for ConeyIsland::Submitter:Class
|
70
|
-
undefined local variable or method `klass_name' for ConeyIsland::Submitter:Class
|
71
|
-
undefined local variable or method `klass_name' for ConeyIsland::Submitter:Class
|
72
|
-
Expected MyPerformer to respond to add_to_list
|
73
|
-
Expected MyInheritedPerformer to respond to perform
|
74
|
-
Expected MyPerformer to respond to perform
|
75
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
76
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
77
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
78
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
79
|
-
Expected DummyPerformer to respond to perform
|
80
|
-
Expected DummyPerformer to respond to perform
|
81
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
82
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
83
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
84
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
85
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
86
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
87
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
88
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
89
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
90
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
91
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
92
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
93
|
-
Expected MyPerformer to respond to perform
|
94
|
-
Expected MyPerformer to respond to add_to_list
|
95
|
-
Expected MyInheritedPerformer to respond to perform
|
96
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
97
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
98
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
99
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
100
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
101
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
102
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
103
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
104
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
105
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
106
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
107
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
108
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
109
|
-
Expected DummyPerformer to respond to perform
|
110
|
-
Expected DummyPerformer to respond to perform
|
111
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
112
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
113
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
114
|
-
Expected MyInheritedPerformer to respond to perform
|
115
|
-
Expected MyPerformer to respond to perform
|
116
|
-
Expected MyPerformer to respond to add_to_list
|
117
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
118
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
119
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
120
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
121
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
122
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
123
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
124
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
125
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
126
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
127
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
128
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
129
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
130
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
131
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
132
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
133
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
134
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
135
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
136
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
137
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
138
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
139
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
140
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
141
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
142
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
143
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
144
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
145
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
146
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
147
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
148
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
149
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
150
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
151
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
152
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
153
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
154
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
155
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
156
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
157
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
158
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
159
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
160
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
161
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
162
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
163
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
164
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
165
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
166
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
167
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
168
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
169
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
170
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
171
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
172
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
173
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
174
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
175
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
176
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
177
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
178
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
179
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
180
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
181
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
182
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
183
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
184
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
185
2
|
ConeyIsland::Submitter.handle_connection connecting...
|
186
3
|
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
187
4
|
ConeyIsland::Submitter.handle_connection connecting...
|
188
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
189
5
|
ConeyIsland::Submitter.handle_connection connecting...
|
190
6
|
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
191
7
|
ConeyIsland::Submitter.handle_connection connecting...
|
192
8
|
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
193
|
-
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
194
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
195
|
-
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
196
|
-
ConeyIsland::Submitter.handle_connection connecting...
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coney_island
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut
|
@@ -10,22 +10,22 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2016-01-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 4.
|
21
|
+
version: 4.0.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 4.
|
28
|
+
version: 4.0.1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: amqp
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,7 +128,6 @@ files:
|
|
128
128
|
- lib/coney_island/notifiers/airbrake_notifier.rb
|
129
129
|
- lib/coney_island/notifiers/honeybadger_notifier.rb
|
130
130
|
- lib/coney_island/performer.rb
|
131
|
-
- lib/coney_island/railtie.rb
|
132
131
|
- lib/coney_island/submitter.rb
|
133
132
|
- lib/coney_island/version.rb
|
134
133
|
- lib/coney_island/worker.rb
|
@@ -194,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
193
|
version: '0'
|
195
194
|
requirements: []
|
196
195
|
rubyforge_project:
|
197
|
-
rubygems_version: 2.4.5
|
196
|
+
rubygems_version: 2.4.5.1
|
198
197
|
signing_key:
|
199
198
|
specification_version: 4
|
200
199
|
summary: Want guaranteed delivery between your queue and your workers using ACKs?
|
@@ -202,44 +201,44 @@ summary: Want guaranteed delivery between your queue and your workers using ACKs
|
|
202
201
|
features other background worker systems offer and you must have a ticket to ride
|
203
202
|
at Coney Island.
|
204
203
|
test_files:
|
205
|
-
- test/
|
204
|
+
- test/coney_island_test.rb
|
206
205
|
- test/dummy/app/assets/javascripts/application.js
|
206
|
+
- test/dummy/app/assets/stylesheets/application.css
|
207
207
|
- test/dummy/app/controllers/application_controller.rb
|
208
208
|
- test/dummy/app/helpers/application_helper.rb
|
209
209
|
- test/dummy/app/views/layouts/application.html.erb
|
210
|
+
- test/dummy/bin/bundle
|
211
|
+
- test/dummy/bin/rails
|
212
|
+
- test/dummy/bin/rake
|
213
|
+
- test/dummy/config/application.rb
|
214
|
+
- test/dummy/config/boot.rb
|
210
215
|
- test/dummy/config/database.yml
|
211
|
-
- test/dummy/config/
|
212
|
-
- test/dummy/config/
|
216
|
+
- test/dummy/config/environment.rb
|
217
|
+
- test/dummy/config/environments/development.rb
|
218
|
+
- test/dummy/config/environments/production.rb
|
219
|
+
- test/dummy/config/environments/test.rb
|
220
|
+
- test/dummy/config/initializers/assets.rb
|
213
221
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
214
|
-
- test/dummy/config/initializers/
|
222
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
223
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
215
224
|
- test/dummy/config/initializers/inflections.rb
|
216
|
-
- test/dummy/config/initializers/
|
225
|
+
- test/dummy/config/initializers/mime_types.rb
|
217
226
|
- test/dummy/config/initializers/session_store.rb
|
218
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
219
227
|
- test/dummy/config/initializers/wrap_parameters.rb
|
220
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
221
|
-
- test/dummy/config/application.rb
|
222
228
|
- test/dummy/config/locales/en.yml
|
223
|
-
- test/dummy/config/
|
224
|
-
- test/dummy/config/
|
225
|
-
- test/dummy/config
|
226
|
-
- test/dummy/
|
227
|
-
- test/dummy/
|
229
|
+
- test/dummy/config/routes.rb
|
230
|
+
- test/dummy/config/secrets.yml
|
231
|
+
- test/dummy/config.ru
|
232
|
+
- test/dummy/db/test.sqlite3
|
233
|
+
- test/dummy/log/test.log
|
228
234
|
- test/dummy/public/404.html
|
229
235
|
- test/dummy/public/422.html
|
230
|
-
- test/dummy/public/favicon.ico
|
231
236
|
- test/dummy/public/500.html
|
232
|
-
- test/dummy/
|
233
|
-
- test/dummy/README.rdoc
|
234
|
-
- test/dummy/bin/rails
|
235
|
-
- test/dummy/bin/rake
|
236
|
-
- test/dummy/bin/bundle
|
237
|
-
- test/dummy/config.ru
|
238
|
-
- test/dummy/log/test.log
|
237
|
+
- test/dummy/public/favicon.ico
|
239
238
|
- test/dummy/Rakefile
|
240
|
-
- test/
|
239
|
+
- test/dummy/README.rdoc
|
241
240
|
- test/job_test.rb
|
241
|
+
- test/performer_test.rb
|
242
|
+
- test/submitter_test.rb
|
242
243
|
- test/test_helper.rb
|
243
244
|
- test/worker_test.rb
|
244
|
-
- test/performer_test.rb
|
245
|
-
- test/coney_island_test.rb
|
data/lib/coney_island/railtie.rb
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
require 'coney_island/coney_island_adapter'
|
2
|
-
module ConeyIsland
|
3
|
-
class Railtie < Rails::Railtie
|
4
|
-
initializer "coney_island.coney_island_adapter" do
|
5
|
-
if defined? ActiveJob
|
6
|
-
ActiveJob::QueueAdapters.send :autoload, :ConeyIslandAdapter
|
7
|
-
end
|
8
|
-
end
|
9
|
-
end
|
10
|
-
end
|