parallel_tests 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Readme.md +3 -0
- data/lib/parallel_tests/tasks.rb +2 -2
- data/lib/parallel_tests/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 198e35adc7c491a1c8f963626020e2b7ef402c11
|
4
|
+
data.tar.gz: 94417dfb4ec63b9e3262c10d7b8a81ce29037c36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b892f5d9e66966b1fe28c4d5fc41a84a884927414099275934bc2888e4ea4f517f881113179630c5dc91f49d8b90734efda476da752f7466e9f0993b936aac75
|
7
|
+
data.tar.gz: 5b504d76c616cb24f3b7b128d7dbfd0c76d7ae99a5c76975ade0a13f434e6793c4cda04b9fd562d9c2a49a3da0d43ff0ca3d7d72401560767001db6efa9de89f
|
data/Readme.md
CHANGED
@@ -68,6 +68,8 @@ Test by pattern (e.g. use one integration server per subfolder / see if you brok
|
|
68
68
|
RAILS_ENV=test parallel_test -e "rake my:custom:task"
|
69
69
|
# or
|
70
70
|
rake parallel:rake[my:custom:task]
|
71
|
+
# limited parallelism
|
72
|
+
rake parallel:rake[my:custom:task,2]
|
71
73
|
```
|
72
74
|
|
73
75
|
|
@@ -330,6 +332,7 @@ inspired by [pivotal labs](https://blog.pivotal.io/labs/labs/parallelize-your-rs
|
|
330
332
|
- [Marius Ioana](https://github.com/mariusioana)
|
331
333
|
- [Lukas Oberhuber](https://github.com/lukaso)
|
332
334
|
- [Ryan Zhang](https://github.com/ryanus)
|
335
|
+
- [Rhett Sutphin](https://github.com/rsutphin)
|
333
336
|
|
334
337
|
|
335
338
|
[Michael Grosser](http://grosser.it)<br/>
|
data/lib/parallel_tests/tasks.rb
CHANGED
@@ -122,8 +122,8 @@ namespace :parallel do
|
|
122
122
|
end
|
123
123
|
|
124
124
|
desc "launch given rake command in parallel"
|
125
|
-
task :rake, :command do |_, args|
|
126
|
-
ParallelTests::Tasks.run_in_parallel("RAILS_ENV=#{ParallelTests::Tasks.rails_env} rake #{args.command}")
|
125
|
+
task :rake, :command, :count do |_, args|
|
126
|
+
ParallelTests::Tasks.run_in_parallel("RAILS_ENV=#{ParallelTests::Tasks.rails_env} rake #{args.command}", args)
|
127
127
|
end
|
128
128
|
|
129
129
|
['test', 'spec', 'features', 'features-spinach'].each do |type|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parallel_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|