guillaumegentil-rspactor 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rspactor/runner.rb +1 -2
  2. metadata +4 -3
@@ -68,8 +68,7 @@ module RSpactor
68
68
  cmd = [ruby_opts, cucumber_runner, cucumber_opts(tags)].flatten.join(' ')
69
69
  @last_run_failed = run_command(cmd)
70
70
  # Workaround for killing jruby process when used with celerity, cucumber and spork
71
- # if you know how doing that better, please tell me: guillaumegentil@gmail.com
72
- system('killall java') if options[:kill]
71
+ system("kill $(ps aux | grep jruby | grep -v grep | awk '//{print $2;}')") if options[:kill]
73
72
  end
74
73
 
75
74
  def last_run_failed?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guillaumegentil-rspactor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Mislav Marohni\xC4\x87"
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2009-07-22 00:00:00 -07:00
15
+ date: 2009-08-04 00:00:00 -07:00
16
16
  default_executable:
17
17
  dependencies: []
18
18
 
@@ -47,6 +47,7 @@ files:
47
47
  - LICENSE
48
48
  has_rdoc: false
49
49
  homepage: http://github.com/mislav/rspactor
50
+ licenses:
50
51
  post_install_message:
51
52
  rdoc_options: []
52
53
 
@@ -67,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
68
  requirements: []
68
69
 
69
70
  rubyforge_project:
70
- rubygems_version: 1.2.0
71
+ rubygems_version: 1.3.5
71
72
  signing_key:
72
73
  specification_version: 3
73
74
  summary: RSpactor is a command line tool to automatically run your changed specs (much like autotest).