parallel_tests 0.8.10 → 0.8.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- parallel_tests (0.8.10)
4
+ parallel_tests (0.8.11)
5
5
  parallel
6
6
 
7
7
  GEM
data/Readme.md CHANGED
@@ -172,6 +172,7 @@ TIPS
172
172
 
173
173
  TODO
174
174
  ====
175
+ - add tests for the rake tasks, maybe generate a rails project ...
175
176
  - add unit tests for cucumber runtime formatter
176
177
  - make jRuby compatible [basics](http://yehudakatz.com/2009/07/01/new-rails-isolation-testing/)
177
178
  - make windows compatible
@@ -40,8 +40,12 @@ namespace :parallel do
40
40
  # just load the schema (good for integration server <-> no development db)
41
41
  desc "load dumped schema for test databases via db:schema:load --> parallel:load_schema[num_cpus]"
42
42
  task :load_schema, :count do |t,args|
43
- suppress_schema_noise = '| grep -v "^-- \|^ ->"'
44
- run_in_parallel("rake db:schema:load RAILS_ENV=#{rails_env} #{suppress_schema_noise}", args)
43
+ # sed does not support | without -r -> stay basic
44
+ # grep changes the exitstatus if nothing matches
45
+ # without pipefail parallel:prepare would exit 0 even if it failed due to sed exiting with 0
46
+ # defining a new rake task like silence_schema would force users to load parallel_tests in test env
47
+ suppress_schema_noise = '| sed "/^-- /d" | sed "/^ ->/d"'
48
+ run_in_parallel("set -o pipefail ; rake db:schema:load RAILS_ENV=#{rails_env} #{suppress_schema_noise}", args)
45
49
  end
46
50
 
47
51
  desc "load the seed data from db/seeds.rb via db:seed --> parallel:seed[num_cpus]"
@@ -1,3 +1,3 @@
1
1
  module ParallelTests
2
- VERSION = Version = '0.8.10'
2
+ VERSION = Version = '0.8.11'
3
3
  end
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.8.10
4
+ version: 0.8.11
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: 2012-09-12 00:00:00.000000000 Z
12
+ date: 2012-09-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: parallel
@@ -90,7 +90,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  segments:
92
92
  - 0
93
- hash: 3854883312614035976
93
+ hash: -591028116551061521
94
94
  required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  version: '0'
100
100
  segments:
101
101
  - 0
102
- hash: 3854883312614035976
102
+ hash: -591028116551061521
103
103
  requirements: []
104
104
  rubyforge_project:
105
105
  rubygems_version: 1.8.24