parallel_tests 0.4.9 → 0.4.10

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,6 +1,9 @@
1
- source 'http://rubygems.org'
1
+ source :rubygems
2
2
 
3
- gem 'rake'
4
- gem 'rspec', '~>2'
5
3
  gem 'parallel'
6
- gem 'jeweler'
4
+
5
+ group :dev do
6
+ gem 'rake'
7
+ gem 'rspec', '~>2'
8
+ gem 'jeweler'
9
+ end
data/Readme.md CHANGED
@@ -117,7 +117,9 @@ TIPS
117
117
  - [RSpec] if `script/spec` is missing parallel:spec uses just `spec` (which solves some issues with double-loaded environment.rb)
118
118
  - [RSpec] 'script/spec_server' or [spork](http://github.com/timcharper/spork/tree/master) do not work in parallel
119
119
  - [RSpec] `./script/generate rspec` if you are running rspec from gems (this plugin uses script/spec which may fail if rspec files are outdated)
120
- - [Bundler] if you have a `Gemfile` then `bundle exec` will be used to run tests
120
+ - [Bundler] if you have a `Gemfile` then `bundle exec` will be used to run tests
121
+ - [Capybara setup](https://github.com/grosser/parallel_tests/wiki)
122
+ - [Sphinx setup](https://github.com/grosser/parallel_tests/wiki)
121
123
  - with zsh this would be `rake "parallel:prepare[3]"`
122
124
 
123
125
  TODO
@@ -145,6 +147,7 @@ inspired by [pivotal labs](http://pivotallabs.com/users/miked/blog/articles/849-
145
147
  - [Will Bryant](http://willbryant.net/)
146
148
  - [Fred Wu](http://fredwu.me)
147
149
  - [xxx](https://github.com/xxx)
150
+ - [Levent Ali](http://purebreeze.com/)
148
151
 
149
152
  [Michael Grosser](http://pragmatig.wordpress.com)
150
153
  grosser.michael@gmail.com
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.9
1
+ 0.4.10
@@ -11,6 +11,11 @@ namespace :parallel do
11
11
  run_in_parallel('rake db:create RAILS_ENV=test', args)
12
12
  end
13
13
 
14
+ desc "drop test databases via db:drop --> parallel:drop[num_cpus]"
15
+ task :drop, :count do |t,args|
16
+ run_in_parallel('rake db:drop RAILS_ENV=test', args)
17
+ end
18
+
14
19
  desc "update test databases by dumping and loading --> parallel:prepare[num_cpus]"
15
20
  task(:prepare, [:count] => 'db:abort_if_pending_migrations') do |t,args|
16
21
  if ActiveRecord::Base.schema_format == :ruby
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{parallel_tests}
8
- s.version = "0.4.9"
8
+ s.version = "0.4.10"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
12
- s.date = %q{2010-12-01}
12
+ s.date = %q{2011-01-21}
13
13
  s.email = %q{grosser.michael@gmail.com}
14
14
  s.executables = ["parallel_spec", "parallel_cucumber", "parallel_test"]
15
15
  s.files = [
@@ -40,7 +40,7 @@ Gem::Specification.new do |s|
40
40
  s.homepage = %q{http://github.com/grosser/parallel_tests}
41
41
  s.rdoc_options = ["--charset=UTF-8"]
42
42
  s.require_paths = ["lib"]
43
- s.rubygems_version = %q{1.3.7}
43
+ s.rubygems_version = %q{1.4.2}
44
44
  s.summary = %q{Run tests / specs / features in parallel}
45
45
  s.test_files = [
46
46
  "spec/parallel_cucumber_spec.rb",
@@ -51,7 +51,6 @@ Gem::Specification.new do |s|
51
51
  ]
52
52
 
53
53
  if s.respond_to? :specification_version then
54
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
55
54
  s.specification_version = 3
56
55
 
57
56
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel_tests
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease: false
4
+ hash: 27
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 9
10
- version: 0.4.9
9
+ - 10
10
+ version: 0.4.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Grosser
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-01 00:00:00 +01:00
18
+ date: 2011-01-21 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -28,10 +28,10 @@ dependencies:
28
28
  segments:
29
29
  - 0
30
30
  version: "0"
31
- name: parallel
32
31
  prerelease: false
33
- type: :runtime
34
32
  version_requirements: *id001
33
+ type: :runtime
34
+ name: parallel
35
35
  description:
36
36
  email: grosser.michael@gmail.com
37
37
  executables:
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  requirements: []
97
97
 
98
98
  rubyforge_project:
99
- rubygems_version: 1.3.7
99
+ rubygems_version: 1.4.2
100
100
  signing_key:
101
101
  specification_version: 3
102
102
  summary: Run tests / specs / features in parallel