parallel_tests 0.7.0 → 0.7.1

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.7.0)
4
+ parallel_tests (0.7.1)
5
5
  parallel
6
6
 
7
7
  GEM
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ end
8
8
  rule /^version:bump:.*/ do |t|
9
9
  sh "git status | grep 'nothing to commit'" # ensure we are not dirty
10
10
  index = ['major', 'minor','patch'].index(t.name.split(':').last)
11
- file = 'lib/GEM_NAME/version.rb'
11
+ file = 'lib/parallel_tests/version.rb'
12
12
 
13
13
  version_file = File.read(file)
14
14
  old_version, *version_parts = version_file.match(/(\d+)\.(\d+)\.(\d+)/).to_a
data/Readme.md CHANGED
@@ -206,6 +206,7 @@ inspired by [pivotal labs](http://pivotallabs.com/users/miked/blog/articles/849-
206
206
  - [Lawrence Wang](https://github.com/levity)
207
207
  - [Sean Walbran](https://github.com/seanwalbran)
208
208
  - [Lawrence Wang](https://github.com/levity)
209
+ - [Potapov Sergey](https://github.com/greyblake)
209
210
 
210
211
  [Michael Grosser](http://grosser.it)<br/>
211
212
  michael@grosser.it<br/>
@@ -41,6 +41,11 @@ namespace :parallel do
41
41
  run_in_parallel('rake db:test:load', args)
42
42
  end
43
43
 
44
+ desc "load the seed data from db/seeds.rb via db:seed --> parallel::seed[num_cpus]"
45
+ task :seed, :count do |t,args|
46
+ run_in_parallel('rake db:seed RAILS_ENV=test', args)
47
+ end
48
+
44
49
  ['test', 'spec', 'features'].each do |type|
45
50
  desc "run #{type} in parallel with parallel:#{type}[num_cpus]"
46
51
  task type, [:count, :pattern, :options] => 'db:abort_if_pending_migrations' do |t,args|
@@ -1,3 +1,3 @@
1
1
  module ParallelTests
2
- VERSION = Version = '0.7.0'
2
+ VERSION = Version = '0.7.1'
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.7.0
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: parallel
16
- requirement: &9544300 !ruby/object:Gem::Requirement
16
+ requirement: &12785940 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *9544300
24
+ version_requirements: *12785940
25
25
  description:
26
26
  email: michael@grosser.it
27
27
  executables:
@@ -81,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  segments:
83
83
  - 0
84
- hash: -3644538146988525374
84
+ hash: 4133315305097706651
85
85
  required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  none: false
87
87
  requirements:
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  segments:
92
92
  - 0
93
- hash: -3644538146988525374
93
+ hash: 4133315305097706651
94
94
  requirements: []
95
95
  rubyforge_project:
96
96
  rubygems_version: 1.8.15