geordi 0.9.11 → 0.9.12

Sign up to get free protection for your applications and to get access to all the features.
data/lib/geordi/cuc.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  require "rubygems"
2
2
  require 'geordi/setup_firefox_for_selenium'
3
- require "bundler/setup"
4
3
 
5
4
  module Geordi
6
5
  class Cucumber
@@ -39,6 +38,8 @@ module Geordi
39
38
  def parallel_execution_command
40
39
  puts "Using parallel_tests ...\n\n"
41
40
  self.argv = argv - command_line_features
41
+ version = File.exists?('Gemfile.lock') && File.open('Gemfile.lock').read.scan(/parallel_tests \([^\d\.]*([\d\.]+)\)/).flatten.first
42
+ gem 'parallel_tests', version if version
42
43
  require 'parallel_tests'
43
44
  type_arg = Gem::Version.new(::ParallelTests::VERSION) > Gem::Version.new('0.7.0') ? 'cucumber' : 'features'
44
45
  parallel_tests_args = "-t #{type_arg} #{command_line_features.join(' ')}"
@@ -1,3 +1,3 @@
1
1
  module Geordi
2
- VERSION = '0.9.11'
2
+ VERSION = '0.9.12'
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: 45
4
+ hash: 35
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 11
10
- version: 0.9.11
9
+ - 12
10
+ version: 0.9.12
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-04-10 00:00:00 +02:00
18
+ date: 2012-04-11 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  requirements: []
107
107
 
108
108
  rubyforge_project: geordi
109
- rubygems_version: 1.3.9.3
109
+ rubygems_version: 1.3.9.4
110
110
  signing_key:
111
111
  specification_version: 3
112
112
  summary: Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.