qwirk 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/History.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Qwirk Changelog
2
2
  =====================
3
3
 
4
+ 0.2.4
5
+ -----
6
+
7
+ - Don't try to wakeup a thread that may have exited already.
8
+
4
9
  0.2.3
5
10
  -----
6
11
 
@@ -1,5 +1,5 @@
1
1
  module Qwirk
2
2
  class Engine < ::Rails::Engine
3
- #isolate_namespace Qwirk
3
+ isolate_namespace(Qwirk) if self.respond_to?(:isolate_namespace)
4
4
  end
5
5
  end
@@ -77,7 +77,6 @@ module Qwirk
77
77
  return if @stopped
78
78
  @stopped = true
79
79
  Qwirk.logger.info "Stopping manager"
80
- @timer_thread.wakeup rescue nil
81
80
  @worker_configs.each { |worker_config| worker_config.stop }
82
81
  if @stop_time
83
82
  end_time = Time.now + @stop_time
@@ -89,6 +88,7 @@ module Qwirk
89
88
  else
90
89
  @worker_configs.each { |worker_config| worker_config.join }
91
90
  end
91
+ @timer_thread.join
92
92
  Qwirk.logger.info "Done stopping manager"
93
93
  end
94
94
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qwirk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -283,7 +283,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
283
283
  version: '0'
284
284
  segments:
285
285
  - 0
286
- hash: 3407580801335980464
286
+ hash: -77204235975006640
287
287
  required_rubygems_version: !ruby/object:Gem::Requirement
288
288
  none: false
289
289
  requirements:
@@ -292,7 +292,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
292
292
  version: '0'
293
293
  segments:
294
294
  - 0
295
- hash: 3407580801335980464
295
+ hash: -77204235975006640
296
296
  requirements: []
297
297
  rubyforge_project:
298
298
  rubygems_version: 1.8.23