parallel_tests 0.8.7 → 0.8.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/parallel_tests/tasks.rb +9 -1
- data/lib/parallel_tests/version.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/lib/parallel_tests/tasks.rb
CHANGED
@@ -40,7 +40,7 @@ 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
|
-
run_in_parallel("rake db:schema:load RAILS_ENV=#{rails_env}", args)
|
43
|
+
run_in_parallel("rake db:schema:silence db:schema:load RAILS_ENV=#{rails_env}", args)
|
44
44
|
end
|
45
45
|
|
46
46
|
desc "load the seed data from db/seeds.rb via db:seed --> parallel:seed[num_cpus]"
|
@@ -65,3 +65,11 @@ namespace :parallel do
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
end
|
68
|
+
|
69
|
+
namespace :db do
|
70
|
+
namespace :schema do
|
71
|
+
task :silence => :environment do
|
72
|
+
ActiveRecord::Schema.verbose = false
|
73
|
+
end
|
74
|
+
end
|
75
|
+
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.
|
4
|
+
version: 0.8.8
|
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-07
|
12
|
+
date: 2012-08-07 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: -
|
93
|
+
hash: -2250442412930844534
|
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: -
|
102
|
+
hash: -2250442412930844534
|
103
103
|
requirements: []
|
104
104
|
rubyforge_project:
|
105
105
|
rubygems_version: 1.8.24
|