parallel_tests 0.6.5 → 0.6.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/parallel_tests.rb +1 -1
- data/parallel_tests.gemspec +1 -1
- data/spec/parallel_tests_spec.rb +1 -1
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.6
|
data/lib/parallel_tests.rb
CHANGED
@@ -36,7 +36,7 @@ class ParallelTests
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def self.run_tests(test_files, process_number, options)
|
39
|
-
require_list = test_files.map { |filename| "
|
39
|
+
require_list = test_files.map { |filename| %{"#{File.expand_path filename}"} }.join(",")
|
40
40
|
test_options = "- #{options[:test_options]}" unless RUBY_VERSION > '1.9.2' # test options passing is broken on 1.9.3 see issue #64
|
41
41
|
cmd = "ruby -Itest -e '[#{require_list}].each {|f| require f }' -- #{options[:test_options]}"
|
42
42
|
execute_command(cmd, process_number, options)
|
data/parallel_tests.gemspec
CHANGED
data/spec/parallel_tests_spec.rb
CHANGED
@@ -48,7 +48,7 @@ describe ParallelTests do
|
|
48
48
|
end
|
49
49
|
|
50
50
|
it "uses options" do
|
51
|
-
ParallelTests.should_receive(:open).with{|x,y| x=~ %r{ruby -Itest .*
|
51
|
+
ParallelTests.should_receive(:open).with{|x,y| x=~ %r{ruby -Itest .* -- -v}}.and_return mocked_process
|
52
52
|
ParallelTests.run_tests(['xxx'],1,:test_options => '-v')
|
53
53
|
end
|
54
54
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parallel_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-09-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: parallel
|
16
|
-
requirement: &
|
16
|
+
requirement: &69112950 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *69112950
|
25
25
|
description:
|
26
26
|
email: grosser.michael@gmail.com
|
27
27
|
executables:
|
@@ -71,7 +71,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
71
71
|
version: '0'
|
72
72
|
segments:
|
73
73
|
- 0
|
74
|
-
hash: -
|
74
|
+
hash: -187444499
|
75
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
76
|
none: false
|
77
77
|
requirements:
|