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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d64dc85017a3e37989dc7622f31efbf66dc2f5db
4
- data.tar.gz: e7be200563e7b4c7bce5219fca0f51aaeee868fb
2
+ SHA256:
3
+ metadata.gz: 19b61a06eaf02d7e86e49dbb7287884f351d3649accaa3d43fd7b59b11a70630
4
+ data.tar.gz: 54902af922e58c98d47ae265c1d471a4ac819ac2aac8f31925cf4154c7630317
5
5
  SHA512:
6
- metadata.gz: bda496ce03c066b1f0c72c7b880921d5f39b6d5863337673c8e47422395fccf3bef08bc418892ad052867d73a7575719cf94878ba8a5347540ef00bc0fd396ac
7
- data.tar.gz: e842d8a1b930b4ab6f39aa6c86c4c581b480aa1ca53ab42c6fa33a7756107054ff10b61f68e3d820c8bef79e14252f2ce59c062327e2b8d79f6b8044f5bfd620
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
- require 'rails'
1
+ begin
2
+ require 'rails'
2
3
 
3
- module ParallelRSpec
4
- class Railtie < Rails::Railtie
5
- railtie_name :parallel_rspec
4
+ module ParallelRSpec
5
+ class Railtie < Rails::Railtie
6
+ railtie_name :parallel_rspec
6
7
 
7
- rake_tasks do
8
- load "parallel_rspec/tasks.rake"
8
+ rake_tasks do
9
+ load "parallel_rspec/tasks.rake"
10
+ end
9
11
  end
10
12
  end
13
+ rescue LoadError
11
14
  end
@@ -1,3 +1,3 @@
1
1
  module ParallelRSpec
2
- VERSION = "0.5.0"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -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: 0.5.0
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: 2016-01-06 00:00:00.000000000 Z
11
+ date: 2020-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
14
+ name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.10'
20
- type: :development
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: '1.10'
26
+ version: '10.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
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.0'
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.0'
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.2.5
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