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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf3c37871a820f86c06a1f2a5a5a9dabadf6e7c5
4
- data.tar.gz: aa7f9ae0f442390ddd4fb38ad5bfe5dc46448806
3
+ metadata.gz: 198e35adc7c491a1c8f963626020e2b7ef402c11
4
+ data.tar.gz: 94417dfb4ec63b9e3262c10d7b8a81ce29037c36
5
5
  SHA512:
6
- metadata.gz: 4d63c6145253a47d09b065b76acc923b6ee2acc37189523b8ffef02854e8a0127ba6b1f10d732820482a15f13ac518481b30cf81b2bcd3331b6f0988283ec557
7
- data.tar.gz: f158a3f0c44ffa43411c43a86dbc8ef89a415bb7a0862489acc84895249e6d9697d12f5d5d840f578911beabeebef5639725e7e8402e28a9114f8eb891fa4287
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/>
@@ -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|
@@ -1,3 +1,3 @@
1
1
  module ParallelTests
2
- VERSION = Version = '2.3.0'
2
+ VERSION = Version = '2.3.1'
3
3
  end
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.0
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-21 00:00:00.000000000 Z
11
+ date: 2016-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel