parallel_coverage 0.1.4 → 0.1.5

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: 4e6266650a6a503de6d28560f35c0e07a5a32394d83442d1283b6ed72858abb9
4
- data.tar.gz: 7f49f465884f2780752e8d6f0906c35c35f9919249fd05274719fc47fb14f176
3
+ metadata.gz: fc5d1cd0fa84d14a150c10599dc01ab5756b7da9ed882a7d2605e244bf40aaf4
4
+ data.tar.gz: 8a5806d245400211adc8db05357d3b4f17d696ae38a4d786a1c8c9415fc67eeb
5
5
  SHA512:
6
- metadata.gz: eac81ab4a6545ef7633aacd057d992cd3392fdf3048b80ed5209cef2277b2876f862cf3c71edb33892113b2fa743741f08a995433b7f144549bef66ba98fa4b1
7
- data.tar.gz: 758e6c12bd3b49100693bb13d189f1800a0245377f8073cd492b3b57b100d6859e09074a3a5c405878a92b706856a1c2d6e5728a3a114a8a7f4ac5d8f688f62b
6
+ metadata.gz: f3b33c3dd152355c254b0d6065bc98b0944ea71b9e5fe5fb211cfcc54afe98cc905343bda7a8f5e70da291e44ec7f107a936784a6ed34e1ecbf1480b8088c56f
7
+ data.tar.gz: e142a278a4e47029f0337f18333079703f40e3d484ecfa730e020a48dc95a5603ac59e1fa52daa04413e86a4b260cef46521ed2a9bc5c81816f01e9df91e3e80
data/README.md CHANGED
@@ -19,14 +19,19 @@ COVERAGE=true bin/rails test:system test
19
19
 
20
20
  The default SimpleCov config passed to the `SimpleCov.start 'rails'` call is the following:
21
21
  ```ruby
22
- track_files '**/*.rb'
22
+ track_files 'app/**/*.rb'
23
+
23
24
  add_filter '/bin/'
24
25
  add_filter '/config/'
25
26
  add_filter '/db/'
26
27
  add_filter '/lib/'
27
28
  add_filter '/test/'
29
+ add_filter 'vendor'
30
+ add_filter 'node_modules'
28
31
  add_filter '/Rakefile'
29
- add_filter '/app/controllers/admin'
32
+ add_filter '/app/controllers/admin/'
33
+
34
+ add_group 'Services', 'app/services'
30
35
  ```
31
36
  We assume that admin controllers are not critical enought to be tracked in the coverage, but if you need to, you can override those settings by adding a `config/initializers/coverage.rb` with:
32
37
  ```ruby
@@ -38,10 +43,10 @@ end
38
43
  ```
39
44
  Keep in mind that by doing this you will totally disable the default config, so you'll have to put it back in your `config/initializers/coverage.rb` if you want to extend the config.
40
45
 
41
- ## Release (for Codeur dev team members)
42
- Before all, configure your credentials for `dev-codeur` RubyGems account:
46
+ ## Release
47
+ Before all, configure your credentials for RubyGems :
43
48
 
44
- 1. Login to RubyGems with the `dev-codeur` account
49
+ 1. Login to RubyGems
45
50
  2. Create a token which have rights to push gems (https://rubygems.org/profile/api_keys)
46
51
  3. Add it to your config:
47
52
  ```
@@ -58,3 +63,6 @@ Else, to publish a new version of this gem, you'll need to build it with
58
63
  ```
59
64
  gem push parallel_coverage-X.X.X.gem
60
65
  ```
66
+
67
+ ## License
68
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). Copyright 2021 Codeur SARL.
@@ -39,6 +39,9 @@ ParallelCoverage.simple_cov_config = proc do
39
39
  add_filter 'node_modules'
40
40
  add_filter '/Rakefile'
41
41
  add_filter '/app/controllers/admin/'
42
+ add_filter '/app/presenters/admin/'
43
+ add_filter '/app/decorators/admin/'
44
+ add_filter '/app/helpers/admin/'
42
45
 
43
46
  add_group 'Services', 'app/services'
44
47
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class ParallelCoverage
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel_coverage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dev-team Codeur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-11 00:00:00.000000000 Z
11
+ date: 2021-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubygems_version: 3.0.3
88
+ rubygems_version: 3.2.7
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: Setup code coverage for parallelized rails tests