parallel_tests 0.10.1 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +1 -1
- data/Gemfile.lock +1 -1
- data/Readme.md +2 -0
- data/lib/parallel_tests/tasks.rb +1 -1
- data/lib/parallel_tests/version.rb +1 -1
- data/spec/parallel_tests/tasks_spec.rb +2 -2
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/Readme.md
CHANGED
@@ -257,6 +257,8 @@ inspired by [pivotal labs](http://pivotallabs.com/users/miked/blog/articles/849-
|
|
257
257
|
- [Artem Kuzko](https://github.com/akuzko)
|
258
258
|
- [Zeke Fast](https://github.com/zekefast)
|
259
259
|
- [Joseph Shraibman](https://github.com/jshraibman-mdsol)
|
260
|
+
- [David Davis](https://github.com/daviddavis)
|
261
|
+
- [Ari Pollak](https://github.com/aripollak)
|
260
262
|
|
261
263
|
[Michael Grosser](http://grosser.it)<br/>
|
262
264
|
michael@grosser.it<br/>
|
data/lib/parallel_tests/tasks.rb
CHANGED
@@ -30,7 +30,7 @@ module ParallelTests
|
|
30
30
|
activate_pipefail = "set -o pipefail"
|
31
31
|
remove_ignored_lines = %Q{(grep -v "#{ignore_regex}" || test 1)}
|
32
32
|
|
33
|
-
if system("#{activate_pipefail} && test 1")
|
33
|
+
if system("#{activate_pipefail} 2>/dev/null && test 1")
|
34
34
|
"#{activate_pipefail} && (#{command}) | #{remove_ignored_lines}"
|
35
35
|
else
|
36
36
|
command
|
@@ -83,7 +83,7 @@ describe ParallelTests::Tasks do
|
|
83
83
|
|
84
84
|
context "with pipefail supported" do
|
85
85
|
before :all do
|
86
|
-
if not system("set -o pipefail && test 1")
|
86
|
+
if not system("set -o pipefail 2>/dev/null && test 1")
|
87
87
|
pending "pipefail is not supported on your system"
|
88
88
|
end
|
89
89
|
end
|
@@ -107,7 +107,7 @@ describe ParallelTests::Tasks do
|
|
107
107
|
|
108
108
|
context "without pipefail supported" do
|
109
109
|
before do
|
110
|
-
ParallelTests::Tasks.should_receive(:system).with("set -o pipefail && test 1").and_return false
|
110
|
+
ParallelTests::Tasks.should_receive(:system).with("set -o pipefail 2>/dev/null && test 1").and_return false
|
111
111
|
end
|
112
112
|
|
113
113
|
it "should not filter and succeed" do
|
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.10.
|
4
|
+
version: 0.10.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: parallel
|
@@ -93,7 +93,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
93
|
version: '0'
|
94
94
|
segments:
|
95
95
|
- 0
|
96
|
-
hash:
|
96
|
+
hash: 2796849733728312962
|
97
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
98
|
none: false
|
99
99
|
requirements:
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
version: '0'
|
103
103
|
segments:
|
104
104
|
- 0
|
105
|
-
hash:
|
105
|
+
hash: 2796849733728312962
|
106
106
|
requirements: []
|
107
107
|
rubyforge_project:
|
108
108
|
rubygems_version: 1.8.25
|