promiscuous 0.18.2 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,18 @@ class Promiscuous::CLI
27
27
  EM.stop
28
28
  end
29
29
  end
30
+
31
+ Signal.trap 'SIGUSR2' do
32
+ Thread.list.each do |thread|
33
+ print_status '-' * 80
34
+ if thread.backtrace
35
+ print_status "Thread #{thread} #{thread['label']}"
36
+ print_status thread.backtrace.join("\n")
37
+ else
38
+ print_status "Thread #{thread} #{thread['label']} -- no backtrace"
39
+ end
40
+ end
41
+ end
30
42
  end
31
43
 
32
44
  def publish(options={})
@@ -1,3 +1,3 @@
1
1
  module Promiscuous
2
- VERSION = '0.18.2'
2
+ VERSION = '0.19.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promiscuous
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.2
4
+ version: 0.19.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-12-19 00:00:00.000000000 Z
13
+ date: 2012-12-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -117,67 +117,67 @@ executables:
117
117
  extensions: []
118
118
  extra_rdoc_files: []
119
119
  files:
120
+ - lib/promiscuous/amqp/bunny.rb
120
121
  - lib/promiscuous/amqp/null.rb
121
122
  - lib/promiscuous/amqp/rubyamqp.rb
122
- - lib/promiscuous/amqp/bunny.rb
123
+ - lib/promiscuous/common.rb
124
+ - lib/promiscuous/common/class_helpers.rb
123
125
  - lib/promiscuous/common/lint.rb
124
126
  - lib/promiscuous/common/lint/base.rb
125
- - lib/promiscuous/common/class_helpers.rb
126
127
  - lib/promiscuous/common/options.rb
127
128
  - lib/promiscuous/common/worker.rb
129
+ - lib/promiscuous/config.rb
128
130
  - lib/promiscuous/loader.rb
131
+ - lib/promiscuous/observer.rb
132
+ - lib/promiscuous/publisher.rb
133
+ - lib/promiscuous/publisher/active_record.rb
129
134
  - lib/promiscuous/publisher/envelope.rb
135
+ - lib/promiscuous/publisher/ephemeral.rb
136
+ - lib/promiscuous/publisher/error.rb
130
137
  - lib/promiscuous/publisher/lint.rb
131
138
  - lib/promiscuous/publisher/lint/amqp.rb
132
139
  - lib/promiscuous/publisher/lint/attributes.rb
133
140
  - lib/promiscuous/publisher/lint/base.rb
134
141
  - lib/promiscuous/publisher/lint/class.rb
135
142
  - lib/promiscuous/publisher/lint/polymorphic.rb
143
+ - lib/promiscuous/publisher/mock.rb
136
144
  - lib/promiscuous/publisher/mongoid/embedded.rb
137
145
  - lib/promiscuous/publisher/mongoid/defer_embedded.rb
138
146
  - lib/promiscuous/publisher/mongoid/embedded_many.rb
139
147
  - lib/promiscuous/publisher/mongoid/defer.rb
140
148
  - lib/promiscuous/publisher/polymorphic.rb
141
- - lib/promiscuous/publisher/mock.rb
142
- - lib/promiscuous/publisher/error.rb
143
149
  - lib/promiscuous/publisher/attributes.rb
144
150
  - lib/promiscuous/publisher/amqp.rb
145
- - lib/promiscuous/publisher/model.rb
146
- - lib/promiscuous/publisher/active_record.rb
147
151
  - lib/promiscuous/publisher/base.rb
148
- - lib/promiscuous/publisher/class.rb
149
- - lib/promiscuous/publisher/ephemeral.rb
150
152
  - lib/promiscuous/publisher/mongoid.rb
153
+ - lib/promiscuous/publisher/class.rb
154
+ - lib/promiscuous/publisher/model.rb
151
155
  - lib/promiscuous/publisher/worker.rb
152
156
  - lib/promiscuous/subscriber/active_record.rb
153
157
  - lib/promiscuous/subscriber/envelope.rb
154
158
  - lib/promiscuous/subscriber/error.rb
155
159
  - lib/promiscuous/subscriber/lint.rb
156
160
  - lib/promiscuous/subscriber/lint/amqp.rb
161
+ - lib/promiscuous/subscriber/lint/attributes.rb
157
162
  - lib/promiscuous/subscriber/lint/base.rb
158
163
  - lib/promiscuous/subscriber/lint/class.rb
159
164
  - lib/promiscuous/subscriber/lint/polymorphic.rb
160
- - lib/promiscuous/subscriber/lint/attributes.rb
161
- - lib/promiscuous/subscriber/mongoid/embedded_many.rb
162
165
  - lib/promiscuous/subscriber/mongoid/embedded.rb
166
+ - lib/promiscuous/subscriber/mongoid/embedded_many.rb
163
167
  - lib/promiscuous/subscriber/mongoid/versioning.rb
164
- - lib/promiscuous/subscriber/upsert.rb
165
168
  - lib/promiscuous/subscriber/observer.rb
166
169
  - lib/promiscuous/subscriber/polymorphic.rb
170
+ - lib/promiscuous/subscriber/upsert.rb
167
171
  - lib/promiscuous/subscriber/amqp.rb
168
172
  - lib/promiscuous/subscriber/attributes.rb
169
- - lib/promiscuous/subscriber/model.rb
170
173
  - lib/promiscuous/subscriber/base.rb
174
+ - lib/promiscuous/subscriber/model.rb
171
175
  - lib/promiscuous/subscriber/class.rb
172
176
  - lib/promiscuous/subscriber/mongoid.rb
173
177
  - lib/promiscuous/subscriber/worker.rb
174
- - lib/promiscuous/observer.rb
175
- - lib/promiscuous/common.rb
176
- - lib/promiscuous/config.rb
177
- - lib/promiscuous/amqp.rb
178
- - lib/promiscuous/ephemeral.rb
179
178
  - lib/promiscuous/subscriber.rb
180
- - lib/promiscuous/publisher.rb
179
+ - lib/promiscuous/ephemeral.rb
180
+ - lib/promiscuous/amqp.rb
181
181
  - lib/promiscuous/railtie.rb
182
182
  - lib/promiscuous/worker.rb
183
183
  - lib/promiscuous/cli.rb