geordi 0.9.8 → 0.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/geordi/cuc.rb CHANGED
@@ -41,7 +41,7 @@ module Geordi
41
41
  self.argv = argv - command_line_features
42
42
  require 'parallel_tests'
43
43
  type_arg = Gem::Version.new(::ParallelTests::VERSION) > Gem::Version.new('0.7.0') ? 'cucumber' : 'features'
44
- parallel_tests_args = "-t #{type_arg} #{command_line_features.join(' ')}"
44
+ parallel_tests_args = "-t #{type_arg} #{features_to_run.join(' ')}"
45
45
  cucumber_args = argv.empty? ? '' : "-o '#{escape_shell_args(argv).join(" ")}'"
46
46
  [use_firefox_for_selenium, 'b', 'parallel_test', parallel_tests_args, cucumber_args].flatten.compact.join(" ")
47
47
  end
@@ -73,6 +73,7 @@ module Geordi
73
73
  @features_to_run ||= begin
74
74
  features = command_line_features
75
75
  features = rerun_txt_features if features.empty?
76
+ features = Dir["features/**/*.feature"] if features.empty?
76
77
  features
77
78
  end
78
79
  end
@@ -1,3 +1,3 @@
1
1
  module Geordi
2
- VERSION = '0.9.8'
2
+ VERSION = '0.9.9'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geordi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 43
4
+ hash: 41
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 8
10
- version: 0.9.8
9
+ - 9
10
+ version: 0.9.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Henning Koch
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-12 00:00:00 Z
18
+ date: 2012-03-20 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.