parallel_rspec 0.5.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +2 -0
- data/lib/parallel_rspec/railtie.rb +9 -6
- data/lib/parallel_rspec/version.rb +1 -1
- data/parallel_rspec.gemspec +2 -1
- metadata +24 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 19b61a06eaf02d7e86e49dbb7287884f351d3649accaa3d43fd7b59b11a70630
|
4
|
+
data.tar.gz: 54902af922e58c98d47ae265c1d471a4ac819ac2aac8f31925cf4154c7630317
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a54b4e9e0e0d8628bfb7fd33ad08a6f500dd7e1dd003bea96379dcfff623790b3ac3cb1f3fd76a53b127cbe62a75e5db4c8f3185994b23389e912da07e225f7
|
7
|
+
data.tar.gz: fe3e3185122faa62befdb5d233cb82d51d4740ecb84ad0aaff3538bb5075c2d525927cc125e5fc56fee9546105996d3ad4e3f014b587618cc01a0188a4bbd144
|
data/README.md
CHANGED
@@ -56,6 +56,8 @@ When you change WORKERS, don't forget to restart Spring and re-run the create an
|
|
56
56
|
To set up a rake task which uses parallel_rspec, use, for example:
|
57
57
|
|
58
58
|
```ruby
|
59
|
+
require 'parallel_rspec'
|
60
|
+
|
59
61
|
ParallelRSpec::RakeTask.new(:prspec) do |t|
|
60
62
|
ENV['WORKERS'] = '4'
|
61
63
|
t.pattern = "**/spec/*_spec.rb"
|
@@ -1,11 +1,14 @@
|
|
1
|
-
|
1
|
+
begin
|
2
|
+
require 'rails'
|
2
3
|
|
3
|
-
module ParallelRSpec
|
4
|
-
|
5
|
-
|
4
|
+
module ParallelRSpec
|
5
|
+
class Railtie < Rails::Railtie
|
6
|
+
railtie_name :parallel_rspec
|
6
7
|
|
7
|
-
|
8
|
-
|
8
|
+
rake_tasks do
|
9
|
+
load "parallel_rspec/tasks.rake"
|
10
|
+
end
|
9
11
|
end
|
10
12
|
end
|
13
|
+
rescue LoadError
|
11
14
|
end
|
data/parallel_rspec.gemspec
CHANGED
@@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
+
spec.add_dependency "rake", "~> 10.0"
|
23
|
+
spec.add_dependency "rspec"
|
22
24
|
spec.add_development_dependency "bundler", "~> 1.10"
|
23
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
24
25
|
end
|
metadata
CHANGED
@@ -1,43 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parallel_rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Will Bryant, Powershop New Zealand Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
type: :
|
19
|
+
version: '10.0'
|
20
|
+
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '10.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version: '10
|
47
|
+
version: '1.10'
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
52
|
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version: '10
|
54
|
+
version: '1.10'
|
41
55
|
description: This gem lets you run your RSpec examples in parallel across across your
|
42
56
|
CPUs. Each worker automatically gets its own database to avoid conflicts. The
|
43
57
|
optional spring-prspec gem adds support for running under Spring.
|
@@ -87,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
101
|
version: '0'
|
88
102
|
requirements: []
|
89
103
|
rubyforge_project:
|
90
|
-
rubygems_version: 2.
|
104
|
+
rubygems_version: 2.7.6
|
91
105
|
signing_key:
|
92
106
|
specification_version: 4
|
93
107
|
summary: This gem lets you run your RSpec examples in parallel across across your
|