coney_island 0.11.1 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a2c8ec4f4899725ab76ece82b50bb13c9bfc1cb
4
- data.tar.gz: 4f2dc9c0ce8897c03f05f880f507d794fa87208c
3
+ metadata.gz: 25ee00823bc525865ba55d084aedbc1047135637
4
+ data.tar.gz: aa95b4faf24acb3dc6e8cdcedd9a6a8a5d7412ea
5
5
  SHA512:
6
- metadata.gz: 0ef8d2beed8302ee04a4be2d0affacfb6e2803ff2eaaae1fd9802235daf6125ffc5f77271c42434b195afe09f10d362cf3a12e839e182863b0522d9f270e6dc3
7
- data.tar.gz: e9526c3ccf4ce3aa5e178d606db9d5679ddced9d21c35b55557435935614d3071b4bbcc1119ae1ec2dfa746d4ab2e2d4e7f5d62e3197f84a4bbb81f0ee653108
6
+ metadata.gz: da2f56b1c9ece17f9d619366e3bd52a3a85338aa075c5a8c722b8459814f24816e8da3a4d64987e3ccda5e69e5cf06476671a6c0ab6698456ba20339b8fd8f04
7
+ data.tar.gz: 55daee0d49bb03cfcb2a98a7d36c0c21c25286b74c5ade16a532ea373c772af37abdc07664e6edf8bdcdd20c01fe45da230b35014d71f01131d2bcdffd1b02a1
@@ -1,3 +1,3 @@
1
1
  module ConeyIsland
2
- VERSION = "0.11.1"
2
+ VERSION = "0.11.2"
3
3
  end
@@ -115,7 +115,23 @@ module ConeyIsland
115
115
 
116
116
  AMQP.connect(self.amqp_parameters) do |connection|
117
117
  self.log.info("Connected to AMQP broker. Running #{AMQP::VERSION}")
118
+ connection.on_error do |conn, connection_close|
119
+ self.log.error "Handling a connection-level exception."
120
+ self.log.error
121
+ self.log.error "AMQP class id : #{connection_close.class_id}"
122
+ self.log.error "AMQP method id: #{connection_close.method_id}"
123
+ self.log.error "Status code : #{connection_close.reply_code}"
124
+ self.log.error "Error message : #{connection_close.reply_text}"
125
+ end
118
126
  @channel = AMQP::Channel.new(connection)
127
+ channel.on_error do |ch, channel_close|
128
+ self.log.error "Handling a channel-level exception."
129
+ self.log.error
130
+ self.log.error "AMQP class id : #{channel_close.class_id}"
131
+ self.log.error "AMQP method id: #{channel_close.method_id}"
132
+ self.log.error "Status code : #{channel_close.reply_code}"
133
+ self.log.error "Error message : #{channel_close.reply_text}"
134
+ end
119
135
  @exchange = @channel.topic('coney_island')
120
136
  #Handle a lost connection to rabbitMQ
121
137
  connection.on_tcp_connection_loss do |connection, settings|
@@ -1,63 +1,33 @@
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
2
  Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
6
3
  ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
7
4
  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
5
  ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
20
6
  Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
21
7
  ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
22
- ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
23
8
  Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
24
9
  Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
25
10
  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
11
  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
12
  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...
13
+ undefined method `[]' for nil:NilClass
14
+ undefined method `[]' for nil:NilClass
34
15
  ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
35
16
  Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
17
+ undefined method `[]' for nil:NilClass
18
+ undefined method `[]' for nil:NilClass
19
+ undefined method `[]' for nil:NilClass
36
20
  Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
37
21
  ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
22
+ undefined method `[]' for nil:NilClass
38
23
  ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
39
24
  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
25
  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
26
  ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
47
27
  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
28
  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
29
  Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
57
30
  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
31
  ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
62
32
  Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
63
33
  ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
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.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-05-05 00:00:00.000000000 Z
13
+ date: 2015-05-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  version: '0'
181
181
  requirements: []
182
182
  rubyforge_project:
183
- rubygems_version: 2.2.2
183
+ rubygems_version: 2.4.3
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: Want guaranteed delivery between your queue and your workers using ACKs?
@@ -188,44 +188,44 @@ summary: Want guaranteed delivery between your queue and your workers using ACKs
188
188
  features other background worker systems offer and you must have a ticket to ride
189
189
  at Coney Island.
190
190
  test_files:
191
- - test/dummy/app/assets/stylesheets/application.css
191
+ - test/coney_island_test.rb
192
192
  - test/dummy/app/assets/javascripts/application.js
193
+ - test/dummy/app/assets/stylesheets/application.css
193
194
  - test/dummy/app/controllers/application_controller.rb
194
195
  - test/dummy/app/helpers/application_helper.rb
195
196
  - test/dummy/app/views/layouts/application.html.erb
197
+ - test/dummy/bin/bundle
198
+ - test/dummy/bin/rails
199
+ - test/dummy/bin/rake
200
+ - test/dummy/config/application.rb
201
+ - test/dummy/config/boot.rb
196
202
  - test/dummy/config/database.yml
197
- - test/dummy/config/routes.rb
198
- - test/dummy/config/secrets.yml
203
+ - test/dummy/config/environment.rb
204
+ - test/dummy/config/environments/development.rb
205
+ - test/dummy/config/environments/production.rb
206
+ - test/dummy/config/environments/test.rb
207
+ - test/dummy/config/initializers/assets.rb
199
208
  - test/dummy/config/initializers/backtrace_silencers.rb
200
- - test/dummy/config/initializers/mime_types.rb
209
+ - test/dummy/config/initializers/cookies_serializer.rb
210
+ - test/dummy/config/initializers/filter_parameter_logging.rb
201
211
  - test/dummy/config/initializers/inflections.rb
202
- - test/dummy/config/initializers/assets.rb
212
+ - test/dummy/config/initializers/mime_types.rb
203
213
  - test/dummy/config/initializers/session_store.rb
204
- - test/dummy/config/initializers/cookies_serializer.rb
205
214
  - test/dummy/config/initializers/wrap_parameters.rb
206
- - test/dummy/config/initializers/filter_parameter_logging.rb
207
- - test/dummy/config/application.rb
208
215
  - test/dummy/config/locales/en.yml
209
- - test/dummy/config/environment.rb
210
- - test/dummy/config/environments/production.rb
211
- - test/dummy/config/environments/development.rb
212
- - test/dummy/config/environments/test.rb
213
- - test/dummy/config/boot.rb
216
+ - test/dummy/config/routes.rb
217
+ - test/dummy/config/secrets.yml
218
+ - test/dummy/config.ru
219
+ - test/dummy/db/test.sqlite3
220
+ - test/dummy/log/test.log
214
221
  - test/dummy/public/404.html
215
222
  - test/dummy/public/422.html
216
- - test/dummy/public/favicon.ico
217
223
  - test/dummy/public/500.html
218
- - test/dummy/db/test.sqlite3
219
- - test/dummy/README.rdoc
220
- - test/dummy/bin/rails
221
- - test/dummy/bin/rake
222
- - test/dummy/bin/bundle
223
- - test/dummy/config.ru
224
- - test/dummy/log/test.log
224
+ - test/dummy/public/favicon.ico
225
225
  - test/dummy/Rakefile
226
- - test/submitter_test.rb
226
+ - test/dummy/README.rdoc
227
227
  - test/job_test.rb
228
+ - test/performer_test.rb
229
+ - test/submitter_test.rb
228
230
  - test/test_helper.rb
229
231
  - test/worker_test.rb
230
- - test/performer_test.rb
231
- - test/coney_island_test.rb