modern_times 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/TODO.md +1 -3
  2. data/VERSION +1 -1
  3. data/lib/modern_times/manager.rb +5 -5
  4. metadata +2 -2
data/TODO.md CHANGED
@@ -1,10 +1,8 @@
1
1
  TODO
2
2
  ========
3
3
 
4
- * jms/consumer.rb - is it needed? is dummy stuff needed?
5
4
  * Better API documentation
6
5
  * jms_test and jms_requestor_test don't exit
7
- * Responses aren't non-persistent? Why are timed out responses ending up in the DLQ?
8
- * RequestWorker needs option for failure queue as well as sending exception in response
9
6
  * Batch file handling coming soon
10
7
  * More thorough test coverage, especially the various options, Railsable, etc.
8
+ * Investigate intermittent test errors "Exception, thread terminating: undefined method `consumer' for #<#<Class:0x10ca5f99b>:0x2d63c5bb>"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.4
1
+ 0.3.5
@@ -10,6 +10,11 @@ module ModernTimes
10
10
  @stopped = false
11
11
  @config = config
12
12
  @domain = config[:domain] || ModernTimes::DEFAULT_DOMAIN
13
+ if config[:jmx] != false
14
+ @jmx_server = JMX::MBeanServer.new
15
+ bean = ManagerMBean.new(@domain, self)
16
+ @jmx_server.register_mbean(bean, ModernTimes.manager_mbean_object_name(@domain))
17
+ end
13
18
  @supervisors = []
14
19
  @dummy_host = config[:dummy_host]
15
20
  self.persist_file = config[:persist_file]
@@ -17,11 +22,6 @@ module ModernTimes
17
22
  @allowed_workers = config[:allowed_workers]
18
23
  stop_on_signal if config[:stop_on_signal]
19
24
  # Unless specifically unconfigured (i.e., Rails.env == test), then enable jmx
20
- if config[:jmx] != false
21
- @jmx_server = JMX::MBeanServer.new
22
- bean = ManagerMBean.new(@domain, self)
23
- @jmx_server.register_mbean(bean, ModernTimes.manager_mbean_object_name(@domain))
24
- end
25
25
  end
26
26
 
27
27
  def add(worker_klass, num_workers, worker_options={})
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: modern_times
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.4
5
+ version: 0.3.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brad Pardee
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-06-01 00:00:00 -04:00
14
+ date: 2011-06-02 00:00:00 -04:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency