specjour 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,13 @@
1
1
  History
2
2
  =======
3
3
 
4
+ 0.6.6 / 2012-11-13
5
+ ---------------------------
6
+ * [fixed] Not gathering all listeners (waits a full second for all replies)
7
+ * [fixed] Not killing all child processes
8
+
9
+ [Full Changelog](https://github.com/sandro/specjour/compare/v0.6.5...v0.6.6)
10
+
4
11
  0.6.5 / 2012-10-17
5
12
  ---------------------------
6
13
  * [fixed] RSpec 2.11 compatible
@@ -29,7 +29,7 @@ module Specjour
29
29
  autoload :Cucumber, 'specjour/cucumber'
30
30
  autoload :RSpec, 'specjour/rspec'
31
31
 
32
- VERSION ||= "0.6.5"
32
+ VERSION ||= "0.6.6"
33
33
  HOOKS_PATH ||= "./.specjour/hooks.rb"
34
34
  PROGRAM_NAME ||= $PROGRAM_NAME # keep a reference of the original program name
35
35
 
@@ -98,7 +98,6 @@ module Specjour
98
98
  Timeout.timeout(1) do
99
99
  DNSSD.browse!('_druby._tcp') do |reply|
100
100
  replies << reply if reply.flags.add?
101
- break unless reply.flags.more_coming?
102
101
  end
103
102
  raise Timeout::Error
104
103
  end
@@ -118,7 +118,8 @@ module Specjour
118
118
  end
119
119
 
120
120
  def kill_worker_processes
121
- Process.kill('KILL', *worker_pids) rescue Errno::ESRCH
121
+ signal = Specjour.interrupted? ? 'INT' : 'TERM'
122
+ Process.kill(signal, *worker_pids) rescue Errno::ESRCH
122
123
  end
123
124
 
124
125
  def connection
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specjour
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-17 00:00:00.000000000 Z
12
+ date: 2012-11-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dnssd
@@ -177,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
177
  version: '0'
178
178
  segments:
179
179
  - 0
180
- hash: -1114893642292991432
180
+ hash: -327981842823844715
181
181
  required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  none: false
183
183
  requirements: