guillaumegentil-rspactor 0.4 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,12 +15,12 @@ module CucumberGrowler
15
15
  [:failed, :skipped, :undefined, :pending, :passed].reverse.each do |status|
16
16
  if step_mother.steps(status).any?
17
17
  icon = icon_for(status)
18
- title = title_for(status)
18
+ # title = title_for(status)
19
19
  messages << dump_count(step_mother.steps(status).length, "step", status.to_s)
20
20
  end
21
21
  end
22
22
 
23
- notify "Cucumber Results", messages.reverse.join(' - '), icon
23
+ notify "Cucumber Results", messages.reverse.join(", "), icon
24
24
  original_print_stats(features)
25
25
  end
26
26
  end
@@ -2,7 +2,7 @@ module RSpactor
2
2
  # Maps the changed filenames to list of specs to run in the next go.
3
3
  # Assumes Rails-like directory structure
4
4
  class Inspector
5
- EXTENSIONS = %w(rb erb builder haml rhtml rxml yml conf opts)
5
+ EXTENSIONS = %w(rb erb builder haml rhtml rxml yml conf opts feature)
6
6
 
7
7
  def initialize(dir)
8
8
  @root = dir
@@ -65,6 +65,8 @@ module RSpactor
65
65
  def run_cucumber_command
66
66
  cmd = [ruby_opts, cucumber_runner, cucumber_opts].flatten.join(' ')
67
67
  @last_run_failed = run_command(cmd)
68
+ # Workaround for killing jruby process when used with celerity, cucumber and spork
69
+ # if you know how doing that better, please tell me: guillaumegentil@gmail.com
68
70
  system('killall java') if options[:kill]
69
71
  end
70
72
 
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"
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Mislav Marohni\xC4\x87"