coney_island 0.12.0 → 0.12.1

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: 9d7de8831780fa5e55f081b31b1ea4ff3bd5746a
4
- data.tar.gz: d81c0b9d57bcb47417c98d7a3ee0526b9d3301ac
3
+ metadata.gz: 08d662859ba89c5b1e3779f5c125b0a973018338
4
+ data.tar.gz: e38a6ffb39c7aceff22b5b39497d7d8b7a622f3b
5
5
  SHA512:
6
- metadata.gz: 4899460a0a4cc18c1ae5b940d19e1ecaa348892c1ee06c96d23a536607b760cd9b2033dd8fa14e5f2796c404105ef069146955cb11df45f78bd49e013b629ce1
7
- data.tar.gz: 96477363c431dda08e3aa78d5464cd2d25df4f1a950c706377e62e8acc1f4adb19b17c017273a949db375b78b890d8d9913eb12e8ce2be21ed7f99f78c0f5a31
6
+ metadata.gz: cd90b0a313b9c95f555ec7211f0345977f51c43d329a8d20c42da36d9e7819dded36d64ba72b1f344b439030e8cca182af74e072a9e3ec05ecbcdd9ced09de87
7
+ data.tar.gz: 2535f891d70418e16796bba12a0a15bc1fa4fdeeb8a9ea42f7720ccf4ebcc727406457b2ccf3bc4f235602a36c310920cd447024f40ac55e507a58823c4b0ec7
@@ -37,7 +37,7 @@ module ConeyIsland
37
37
  else
38
38
  @object = @klass
39
39
  end
40
- rescue Exception => e
40
+ rescue StandardError => e
41
41
  metadata.ack if !ConeyIsland.running_inline?
42
42
  self.initialization_errors = true
43
43
  log.error("Error initializing with args #{args}:")
@@ -77,7 +77,7 @@ module ConeyIsland
77
77
  self.attempts += 1
78
78
  ConeyIsland.submit(self.klass, self.method_name, self.resubmit_args)
79
79
  end
80
- rescue Exception => e
80
+ rescue StandardError => e
81
81
  log.error("Error executing #{self.class_name}##{self.method_name} #{self.id} for id #{self.instance_id} with args #{self.args}:")
82
82
  log.error(e.message)
83
83
  log.error(e.backtrace.join("\n"))
@@ -36,7 +36,7 @@ module ConeyIsland
36
36
  else
37
37
  begin
38
38
  self.submit_all!(args)
39
- rescue Exception => e
39
+ rescue StandardError => e
40
40
  Rails.logger.error(e)
41
41
  ConeyIsland.poke_the_badger(e,{
42
42
  code_source: "ConeyIsland::Submitter.submit!",
@@ -1,3 +1,3 @@
1
1
  module ConeyIsland
2
- VERSION = "0.12.0"
2
+ VERSION = "0.12.1"
3
3
  end
@@ -194,7 +194,7 @@ module ConeyIsland
194
194
  args = JSON.parse(payload)
195
195
  job = Job.new(metadata, args)
196
196
  job.handle_job unless job.initialization_errors
197
- rescue Exception => e
197
+ rescue StandardError => e
198
198
  metadata.ack if !ConeyIsland.running_inline?
199
199
  ConeyIsland.poke_the_badger(e, {code_source: 'ConeyIsland', job_payload: args})
200
200
  self.log.error("ConeyIsland code error, not application code:\n#{e.inspect}\nARGS: #{args}")
@@ -0,0 +1,68 @@
1
+ undefined method `pry' for #<Binding:0x007f08a9ff6dc0>
2
+ undefined method `pry' for #<Binding:0x007f08a9fd5120>
3
+ undefined method `pry' for #<Binding:0x007f08a9fb4bf0>
4
+ 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
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.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut
@@ -164,6 +164,7 @@ files:
164
164
  - test/dummy/config/routes.rb
165
165
  - test/dummy/config/secrets.yml
166
166
  - test/dummy/db/test.sqlite3
167
+ - test/dummy/log/test.log
167
168
  - test/dummy/public/404.html
168
169
  - test/dummy/public/422.html
169
170
  - test/dummy/public/500.html
@@ -193,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
194
  version: '0'
194
195
  requirements: []
195
196
  rubyforge_project:
196
- rubygems_version: 2.4.3
197
+ rubygems_version: 2.2.2
197
198
  signing_key:
198
199
  specification_version: 4
199
200
  summary: Want guaranteed delivery between your queue and your workers using ACKs?
@@ -201,43 +202,44 @@ summary: Want guaranteed delivery between your queue and your workers using ACKs
201
202
  features other background worker systems offer and you must have a ticket to ride
202
203
  at Coney Island.
203
204
  test_files:
204
- - test/coney_island_test.rb
205
- - test/dummy/app/assets/javascripts/application.js
206
205
  - test/dummy/app/assets/stylesheets/application.css
206
+ - test/dummy/app/assets/javascripts/application.js
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
215
210
  - test/dummy/config/database.yml
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
211
+ - test/dummy/config/routes.rb
212
+ - test/dummy/config/secrets.yml
221
213
  - test/dummy/config/initializers/backtrace_silencers.rb
222
- - test/dummy/config/initializers/cookies_serializer.rb
223
- - test/dummy/config/initializers/filter_parameter_logging.rb
224
- - test/dummy/config/initializers/inflections.rb
225
214
  - test/dummy/config/initializers/mime_types.rb
215
+ - test/dummy/config/initializers/inflections.rb
216
+ - test/dummy/config/initializers/assets.rb
226
217
  - test/dummy/config/initializers/session_store.rb
218
+ - test/dummy/config/initializers/cookies_serializer.rb
227
219
  - test/dummy/config/initializers/wrap_parameters.rb
220
+ - test/dummy/config/initializers/filter_parameter_logging.rb
221
+ - test/dummy/config/application.rb
228
222
  - test/dummy/config/locales/en.yml
229
- - test/dummy/config/routes.rb
230
- - test/dummy/config/secrets.yml
231
- - test/dummy/config.ru
232
- - test/dummy/db/test.sqlite3
223
+ - test/dummy/config/environment.rb
224
+ - test/dummy/config/environments/production.rb
225
+ - test/dummy/config/environments/development.rb
226
+ - test/dummy/config/environments/test.rb
227
+ - test/dummy/config/boot.rb
233
228
  - test/dummy/public/404.html
234
229
  - test/dummy/public/422.html
235
- - test/dummy/public/500.html
236
230
  - test/dummy/public/favicon.ico
237
- - test/dummy/Rakefile
231
+ - test/dummy/public/500.html
232
+ - test/dummy/db/test.sqlite3
238
233
  - test/dummy/README.rdoc
239
- - test/job_test.rb
240
- - test/performer_test.rb
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
239
+ - test/dummy/Rakefile
241
240
  - test/submitter_test.rb
241
+ - test/job_test.rb
242
242
  - test/test_helper.rb
243
243
  - test/worker_test.rb
244
+ - test/performer_test.rb
245
+ - test/coney_island_test.rb