rails-quality-assurance 1.0.8 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: af620abf8dc16da64d1bd181cfe9e4dc0edbd8fda42c1c3fbe3a63bb0bbed993
|
|
4
|
+
data.tar.gz: 34c9e428d1a4280eb7b4903a961422247a7d2e04fc58a1644b2b29fabc71050e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 38faec8bae9f7487285056ca8d533bda0cd98cb0217ff3c50b4541c9377ae9822e6a4946e3b326251c5bdad9134a1c70cacab0dc8f4c31ce59d01aecbf80e4b7
|
|
7
|
+
data.tar.gz: a94e1630eaa5eabd0cc8455e5751209344951a4966b378e39b5582525f14ae14aa6a547509af285fefac3701ce7f34d86bc6e398b5baca79aa2db461a207ff48
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module RailsQualityAssurance
|
|
4
|
+
# Configures SimpleCov with parallel_tests support.
|
|
5
|
+
#
|
|
6
|
+
# SimpleCov 1.2+ infers `finalize_merge false` for parallel workers that
|
|
7
|
+
# merge into an explicit coverage destination (assumed external `collate`),
|
|
8
|
+
# which silently skips threshold enforcement. We do a plain parallel run, so
|
|
9
|
+
# we set it true: the first worker waits for its siblings, merges, formats,
|
|
10
|
+
# enforces thresholds, and writes `.last_run.json` exactly once.
|
|
4
11
|
module SimpleCovHelper
|
|
5
12
|
def self.configure!
|
|
6
13
|
return if ENV['NO_COVERAGE']
|
|
@@ -45,6 +52,8 @@ module RailsQualityAssurance
|
|
|
45
52
|
add_filter '/config/'
|
|
46
53
|
add_filter '/vendor/'
|
|
47
54
|
|
|
55
|
+
finalize_merge true
|
|
56
|
+
|
|
48
57
|
SimpleCov.minimum_coverage line: 100, branch: 100
|
|
49
58
|
end
|
|
50
59
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails-quality-assurance
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mauricio Zaffari
|
|
@@ -225,28 +225,28 @@ dependencies:
|
|
|
225
225
|
requirements:
|
|
226
226
|
- - "~>"
|
|
227
227
|
- !ruby/object:Gem::Version
|
|
228
|
-
version:
|
|
228
|
+
version: 1.3.0
|
|
229
229
|
type: :runtime
|
|
230
230
|
prerelease: false
|
|
231
231
|
version_requirements: !ruby/object:Gem::Requirement
|
|
232
232
|
requirements:
|
|
233
233
|
- - "~>"
|
|
234
234
|
- !ruby/object:Gem::Version
|
|
235
|
-
version:
|
|
235
|
+
version: 1.3.0
|
|
236
236
|
- !ruby/object:Gem::Dependency
|
|
237
237
|
name: simplecov-lcov
|
|
238
238
|
requirement: !ruby/object:Gem::Requirement
|
|
239
239
|
requirements:
|
|
240
|
-
- - "
|
|
240
|
+
- - ">="
|
|
241
241
|
- !ruby/object:Gem::Version
|
|
242
|
-
version: 0.9
|
|
242
|
+
version: '0.9'
|
|
243
243
|
type: :runtime
|
|
244
244
|
prerelease: false
|
|
245
245
|
version_requirements: !ruby/object:Gem::Requirement
|
|
246
246
|
requirements:
|
|
247
|
-
- - "
|
|
247
|
+
- - ">="
|
|
248
248
|
- !ruby/object:Gem::Version
|
|
249
|
-
version: 0.9
|
|
249
|
+
version: '0.9'
|
|
250
250
|
- !ruby/object:Gem::Dependency
|
|
251
251
|
name: capybara
|
|
252
252
|
requirement: !ruby/object:Gem::Requirement
|