flatware-rspec 2.3.1 → 2.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -3
- data/lib/flatware/rspec/formatters/console.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 827b2d87ef8c34d43a7f79fecf6dbc34e458ccd6fa1e2c93cdfa80c0f911ca11
|
4
|
+
data.tar.gz: '08f142fcabbe23c9b8d94c92b16b0ecddacabf4facd0eaae78766322e261d459'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb311a7b2d0f7188cb0573e87c8c9f3fc892f181f0d49126903e2bea4499a04befba237e39e3f1e5220defb490a80269857fa353aeedcb27a18b73cb0015ce53
|
7
|
+
data.tar.gz: 2259041f4cbc3dbe588815d94a7851ad06b9a82fe987aca2f2390c3feb945f39ef892d586d567690e7f214afe246e4b66598afa3afc851bebb1f66d9c7dda774
|
data/README.md
CHANGED
@@ -40,13 +40,16 @@ $ flatware rspec
|
|
40
40
|
|
41
41
|
The rspec runner can balance worker loads, making your suite even faster.
|
42
42
|
|
43
|
-
It forms
|
43
|
+
It forms balanced groups of spec files according to their last run times, if
|
44
|
+
you've set `example_status_persistence_file_path` in your [RSpec config].
|
44
45
|
|
45
|
-
|
46
|
+
[RSpec config]: https://rspec.info/features/3-13/rspec-core/command-line/only-failures/
|
47
|
+
|
48
|
+
For this to work the configuration option must be loaded before any specs are run. The `.rspec` file is one way to achieve this:
|
46
49
|
|
47
50
|
--require spec_helper
|
48
51
|
|
49
|
-
But beware, if you're using ActiveRecord in your suite you'll need to avoid doing things that cause it to establish a database connection in `spec_helper.rb`. If ActiveRecord connects before flatware forks off workers, each will die messily. All of this will just work if you're following [the
|
52
|
+
But beware, if you're using ActiveRecord in your suite you'll need to avoid doing things that cause it to establish a database connection in `spec_helper.rb`. If ActiveRecord connects before flatware forks off workers, each will die messily. All of this will just work if you're following [the recommended pattern of splitting your helpers into `spec_helper` and `rails_helper`](https://github.com/rspec/rspec-rails/blob/v3.8.2/lib/generators/rspec/install/templates/spec/rails_helper.rb). Another option is to use [the configurable hooks](
|
50
53
|
#faster-startup-with-activerecord
|
51
54
|
).
|
52
55
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flatware-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Dunn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flatware
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.3.
|
19
|
+
version: 2.3.3
|
20
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: 2.3.
|
26
|
+
version: 2.3.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
|
-
rubygems_version: 3.
|
89
|
+
rubygems_version: 3.5.17
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: A distributed rspec runner
|